From 8936854b2db198bee1c71e260a3671157e32d0cf Mon Sep 17 00:00:00 2001 From: next-team Date: Mon, 29 Apr 2024 09:32:46 +0000 Subject: [PATCH] Deploy Storybook [skip ci] --- 0.9ba9366dd2b5ab76fdcc.manager.bundle.js | 2 + ...d2b5ab76fdcc.manager.bundle.js.LICENSE.txt | 8 + 0.eea8c559.iframe.bundle.js | 3 + 0.eea8c559.iframe.bundle.js.LICENSE.txt | 8 + 0.eea8c559.iframe.bundle.js.map | 1 + 1.1ac8715f.iframe.bundle.js | 3 + 1.1ac8715f.iframe.bundle.js.LICENSE.txt | 14 + 1.1ac8715f.iframe.bundle.js.map | 1 + 1.87661c733251f8514cfc.manager.bundle.js | 1 + 10.57ff2c7b.iframe.bundle.js | 3 + 10.57ff2c7b.iframe.bundle.js.LICENSE.txt | 12 + 10.57ff2c7b.iframe.bundle.js.map | 1 + 2.44e5e8cc.iframe.bundle.js | 1 + 3.4293b3a0.iframe.bundle.js | 1 + 5.3636e952a31b18558f5e.manager.bundle.js | 2 + ...a31b18558f5e.manager.bundle.js.LICENSE.txt | 31 ++ 6.4484cd7492075a8b2bc9.manager.bundle.js | 1 + 7.199ea7b9.iframe.bundle.js | 3 + 7.199ea7b9.iframe.bundle.js.LICENSE.txt | 31 ++ 7.199ea7b9.iframe.bundle.js.map | 1 + 7.ee6337d23cbb5bfac5a8.manager.bundle.js | 1 + 8.5538f2cc2d527002659b.manager.bundle.js | 2 + ...2d527002659b.manager.bundle.js.LICENSE.txt | 12 + 8.7733e41f.iframe.bundle.js | 1 + 9.344f8b3e8be455e1f5fc.manager.bundle.js | 1 + 9.7ec395b9.iframe.bundle.js | 1 + favicon.ico | Bin 0 -> 32988 bytes iframe.html | 382 ++++++++++++++++++ index.html | 59 +++ main.159fda92.iframe.bundle.js | 3 + main.159fda92.iframe.bundle.js.LICENSE.txt | 1 + main.159fda92.iframe.bundle.js.map | 1 + main.ee5399509e69147831c9.manager.bundle.js | 1 + project.json | 1 + runtime~main.4f8d7fc1.iframe.bundle.js | 1 + ...ain.f7bdb65cd2ed2f21f76f.manager.bundle.js | 1 + vendors~main.7cb6e9a5.iframe.bundle.js | 3 + ...main.7cb6e9a5.iframe.bundle.js.LICENSE.txt | 108 +++++ vendors~main.7cb6e9a5.iframe.bundle.js.map | 1 + ...ain.e8734bb6fed88fef37b7.manager.bundle.js | 2 + ...fed88fef37b7.manager.bundle.js.LICENSE.txt | 104 +++++ 41 files changed, 814 insertions(+) create mode 100644 0.9ba9366dd2b5ab76fdcc.manager.bundle.js create mode 100644 0.9ba9366dd2b5ab76fdcc.manager.bundle.js.LICENSE.txt create mode 100644 0.eea8c559.iframe.bundle.js create mode 100644 0.eea8c559.iframe.bundle.js.LICENSE.txt create mode 100644 0.eea8c559.iframe.bundle.js.map create mode 100644 1.1ac8715f.iframe.bundle.js create mode 100644 1.1ac8715f.iframe.bundle.js.LICENSE.txt create mode 100644 1.1ac8715f.iframe.bundle.js.map create mode 100644 1.87661c733251f8514cfc.manager.bundle.js create mode 100644 10.57ff2c7b.iframe.bundle.js create mode 100644 10.57ff2c7b.iframe.bundle.js.LICENSE.txt create mode 100644 10.57ff2c7b.iframe.bundle.js.map create mode 100644 2.44e5e8cc.iframe.bundle.js create mode 100644 3.4293b3a0.iframe.bundle.js create mode 100644 5.3636e952a31b18558f5e.manager.bundle.js create mode 100644 5.3636e952a31b18558f5e.manager.bundle.js.LICENSE.txt create mode 100644 6.4484cd7492075a8b2bc9.manager.bundle.js create mode 100644 7.199ea7b9.iframe.bundle.js create mode 100644 7.199ea7b9.iframe.bundle.js.LICENSE.txt create mode 100644 7.199ea7b9.iframe.bundle.js.map create mode 100644 7.ee6337d23cbb5bfac5a8.manager.bundle.js create mode 100644 8.5538f2cc2d527002659b.manager.bundle.js create mode 100644 8.5538f2cc2d527002659b.manager.bundle.js.LICENSE.txt create mode 100644 8.7733e41f.iframe.bundle.js create mode 100644 9.344f8b3e8be455e1f5fc.manager.bundle.js create mode 100644 9.7ec395b9.iframe.bundle.js create mode 100644 favicon.ico create mode 100644 iframe.html create mode 100644 index.html create mode 100644 main.159fda92.iframe.bundle.js create mode 100644 main.159fda92.iframe.bundle.js.LICENSE.txt create mode 100644 main.159fda92.iframe.bundle.js.map create mode 100644 main.ee5399509e69147831c9.manager.bundle.js create mode 100644 project.json create mode 100644 runtime~main.4f8d7fc1.iframe.bundle.js create mode 100644 runtime~main.f7bdb65cd2ed2f21f76f.manager.bundle.js create mode 100644 vendors~main.7cb6e9a5.iframe.bundle.js create mode 100644 vendors~main.7cb6e9a5.iframe.bundle.js.LICENSE.txt create mode 100644 vendors~main.7cb6e9a5.iframe.bundle.js.map create mode 100644 vendors~main.e8734bb6fed88fef37b7.manager.bundle.js create mode 100644 vendors~main.e8734bb6fed88fef37b7.manager.bundle.js.LICENSE.txt diff --git a/0.9ba9366dd2b5ab76fdcc.manager.bundle.js b/0.9ba9366dd2b5ab76fdcc.manager.bundle.js new file mode 100644 index 000000000..7e83d74ca --- /dev/null +++ b/0.9ba9366dd2b5ab76fdcc.manager.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 0.9ba9366dd2b5ab76fdcc.manager.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{321:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SyntaxHighlighter",(function(){return SyntaxHighlighter})),__webpack_require__.d(__webpack_exports__,"createCopyToClipboardFunction",(function(){return createCopyToClipboardFunction})),__webpack_require__.d(__webpack_exports__,"default",(function(){return SyntaxHighlighter}));__webpack_require__(75),__webpack_require__(16),__webpack_require__(93),__webpack_require__(143),__webpack_require__(94),__webpack_require__(74),__webpack_require__(33),__webpack_require__(306),__webpack_require__(46),__webpack_require__(7),__webpack_require__(855),__webpack_require__(23),__webpack_require__(144),__webpack_require__(305),__webpack_require__(14),__webpack_require__(19),__webpack_require__(20),__webpack_require__(13),__webpack_require__(18),__webpack_require__(15),__webpack_require__(26),__webpack_require__(22),__webpack_require__(42),__webpack_require__(223),__webpack_require__(36),__webpack_require__(29),__webpack_require__(95),__webpack_require__(59),__webpack_require__(85),__webpack_require__(27),__webpack_require__(47),__webpack_require__(123),__webpack_require__(104),__webpack_require__(178),__webpack_require__(48);var _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__(2),react__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_36___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_36__),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__(10),_storybook_theming__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__(1),memoizerific__WEBPACK_IMPORTED_MODULE_39__=__webpack_require__(24),memoizerific__WEBPACK_IMPORTED_MODULE_39___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_39__);__webpack_require__(51),__webpack_require__(83);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray2(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray2(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray2(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray2(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i*\.{3}(?:[^{}]|)*\})/.source;function re(source,flags){return source=source.replace(//g,(function(){return space})).replace(//g,(function(){return braces})).replace(//g,(function(){return spread})),RegExp(source,flags)}spread=re(spread).source,Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.jsx.tag.inside.comment=javascript.comment,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:re(//.source),inside:Prism.languages.jsx}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism.languages.jsx}}},Prism.languages.jsx.tag);var stringifyToken=function stringifyToken(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function walkTokens(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}jsx.displayName="jsx",jsx.aliases=[];var jsx$1=jsx_1,bash_1=bash;function bash(Prism){!function(Prism){var envVars="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",commandAfterHeredoc={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},insideString={bash:commandAfterHeredoc,environment:{pattern:RegExp("\\$"+envVars),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};Prism.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:insideString.entity}}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i0)){var mutationEnd=findClosingBracket(/^\{$/,/^\}$/);if(-1===mutationEnd)continue;for(var i=currentIndex;i=0&&addAlias(varToken,"variable-input")}}}}function getToken(offset){return validTokens[currentIndex+offset]}function isTokenType(types,offset){offset=offset||0;for(var i=0;i/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function value(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}markup$1.displayName="markup",markup$1.aliases=["html","mathml","svg","xml","ssml","atom","rss"];var markup$2=markup_1,markdown_1=markdown;function markdown(Prism){!function(Prism){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike","code-snippet"].forEach((function(inside){token!==inside&&(Prism.languages.markdown[token].inside.content.inside[inside]=Prism.languages.markdown[inside])}))})),Prism.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i",quot:'"'},fromCodePoint=String.fromCodePoint||String.fromCharCode;Prism.languages.md=Prism.languages.markdown}(Prism)}markdown.displayName="markdown",markdown.aliases=["md"];var markdown$1=markdown_1,yaml_1=yaml;function yaml(Prism){!function(Prism){var anchorOrAlias=/[*&][^\s[\]{},]+/,tag=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml}(Prism)}yaml.displayName="yaml",yaml.aliases=["yml"];var yaml$1=yaml_1,typescript_1=typescript;function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),Prism.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete Prism.languages.typescript.parameter,delete Prism.languages.typescript["literal-property"];var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}typescript.displayName="typescript",typescript.aliases=["ts"];var typescript$1=typescript_1,refractorJsx=jsx_1,refractorTypescript=typescript_1,tsx_1=tsx;function tsx(Prism){Prism.register(refractorJsx),Prism.register(refractorTypescript),function(Prism){var typescript=Prism.util.clone(Prism.languages.typescript);Prism.languages.tsx=Prism.languages.extend("jsx",typescript),delete Prism.languages.tsx.parameter,delete Prism.languages.tsx["literal-property"];var tag=Prism.languages.tsx.tag;tag.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+tag.pattern.source+")",tag.pattern.flags),tag.lookbehind=!0}(Prism)}tsx.displayName="tsx",tsx.aliases=[];var tsx$1=tsx_1;function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return function getClassNameCombinations(classNames){if(0===classNames.length||1===classNames.length)return classNames;var key=classNames.join(".");return classNameCombinations[key]||(classNameCombinations[key]=function powerSetPermutations(arr){var arrLength=arr.length;return 0===arrLength||1===arrLength?arr:2===arrLength?[arr[0],arr[1],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0])]:3===arrLength?[arr[0],arr[1],arr[2],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0])]:arrLength>=4?[arr[0],arr[1],arr[2],arr[3],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3]),"".concat(arr[3],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1],".").concat(arr[0])]:void 0}(classNames)),classNameCombinations[key]}(classNames.filter((function(className){return"token"!==className}))).reduce((function(styleObject,className){return _objectSpread({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var props,childrenCreator=function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}(stylesheet,useInlineStyles);if(useInlineStyles){var allStylesheetSelectors=Object.keys(stylesheet).reduce((function(classes,selector){return selector.split(".").forEach((function(className){classes.includes(className)||classes.push(className)})),classes}),[]),startingClassName=properties.className&&properties.className.includes("token")?["token"]:[],className=properties.className&&startingClassName.concat(properties.className.filter((function(className){return!allStylesheetSelectors.includes(className)})));props=_objectSpread({},properties,{className:createClassNameString(className)||void 0,style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)})}else props=_objectSpread({},properties,{className:createClassNameString(properties.className)});var children=childrenCreator(node.children);return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(TagName,Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.h)({key:key},props),children)}}var checkForListedLanguage=function checkForListedLanguage(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)},newLineRegex=/\n/g;function AllLineNumbers(_ref2){var codeString=_ref2.codeString,codeStyle=_ref2.codeStyle,_ref2$containerStyle=_ref2.containerStyle,containerStyle=void 0===_ref2$containerStyle?{float:"left",paddingRight:"10px"}:_ref2$containerStyle,_ref2$numberStyle=_ref2.numberStyle,numberStyle=void 0===_ref2$numberStyle?{}:_ref2$numberStyle,startingLineNumber=_ref2.startingLineNumber;return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement("code",{style:Object.assign({},codeStyle,containerStyle)},function getAllLineNumbers(_ref){var lines=_ref.lines,startingLineNumber=_ref.startingLineNumber,style=_ref.style;return lines.map((function(_,i){var number=i+startingLineNumber;return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:"function"==typeof style?style(number):style},"".concat(number,"\n"))}))}({lines:codeString.replace(/\n$/,"").split("\n"),style:numberStyle,startingLineNumber:startingLineNumber}))}function getEmWidthOfNumber(num){return"".concat(num.toString().length,".25em")}function getInlineLineNumber(lineNumber,inlineLineNumberStyle){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(lineNumber),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:inlineLineNumberStyle},children:[{type:"text",value:lineNumber}]}}function assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber){return _objectSpread({},{display:"inline-block",minWidth:getEmWidthOfNumber(largestLineNumber),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"==typeof lineNumberStyle?lineNumberStyle(lineNumber):lineNumberStyle)}function createLineElement(_ref3){var children=_ref3.children,lineNumber=_ref3.lineNumber,lineNumberStyle=_ref3.lineNumberStyle,largestLineNumber=_ref3.largestLineNumber,showInlineLineNumbers=_ref3.showInlineLineNumbers,_ref3$lineProps=_ref3.lineProps,lineProps=void 0===_ref3$lineProps?{}:_ref3$lineProps,_ref3$className=_ref3.className,className=void 0===_ref3$className?[]:_ref3$className,showLineNumbers=_ref3.showLineNumbers,wrapLongLines=_ref3.wrapLongLines,properties="function"==typeof lineProps?lineProps(lineNumber):lineProps;if(properties.className=className,lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return wrapLongLines&showLineNumbers&&(properties.style=_objectSpread({},properties.style,{display:"flex"})),{type:"element",tagName:"span",properties:properties,children:children}}function flattenCodeTree(tree){for(var className=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?function createWrappedLine(children,lineNumber){return createLineElement({children:children,lineNumber:lineNumber,lineNumberStyle:lineNumberStyle,largestLineNumber:largestLineNumber,showInlineLineNumbers:showInlineLineNumbers,lineProps:lineProps,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:showLineNumbers,wrapLongLines:wrapLongLines})}(children,lineNumber,className):function createUnwrappedLine(children,lineNumber){if(showLineNumbers&&lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return children}(children,lineNumber)}for(var _loop=function _loop(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber);newTree.push(_line)}else if(i===splitValue.length-1){if(tree[index+1]&&tree[index+1].children&&tree[index+1].children[0]){var newElem=createLineElement({children:[{type:"text",value:"".concat(text)}],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};index4&&normal.slice(0,4)===data&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash$1,camelcase);return data+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);if(dash$1.test(value))return property;value=value.replace(cap$1,kebab),"-"!==value.charAt(0)&&(value="-"+value);return data+value}(value),Type=DefinedInfo);return new Type(prop,value)},valid=/^data[-\w.:]+$/i,dash$1=/-[a-z]/g,cap$1=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}var hastUtilParseSelector=function parse$3(selector,defaultTagName){var subvalue,previous,match,value=selector||"",name=defaultTagName||"div",props={},start=0;for(;start=48&&code<=57};var alphabetical=function alphabetical$1(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90},decimal$1=isDecimal;var characterEntities={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"⁡",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"⁣",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"­",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},decodeEntity_1=function decodeEntity$1(characters){return!!own$2.call(characterEntities,characters)&&characterEntities[characters]},own$2={}.hasOwnProperty;var legacy={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"},invalid={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},decimal=isDecimal,hexadecimal=function hexadecimal$1(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57},alphanumerical=function alphanumerical$1(character){return alphabetical(character)||decimal$1(character)},decodeEntity=decodeEntity_1,parseEntities_1=function parseEntities(value,options){var option,key,settings={};options||(options={});for(key in defaults)option=options[key],settings[key]=null==option?defaults[key]:option;(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start);return function parse(value,settings){var entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end,additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[];"string"==typeof additional&&(additional=additional.charCodeAt(0));prev=now(),warning=handleWarning?parseError:noop,index--,length++;for(;++index65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(numericEmpty,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();return result.join("");function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)},own$1={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},tab=9,lineFeed=10,formFeed=12,space=32,ampersand=38,semicolon=59,lessThan=60,equalsTo=61,numberSign=35,uppercaseX=88,lowercaseX=120,replacementCharacter=65533,name="named",hexa="hexadecimal",deci="decimal",bases={};bases[hexa]=16,bases[deci]=10;var tests={};tests[name]=alphanumerical,tests[deci]=decimal,tests[hexa]=hexadecimal;var namedNotTerminated=1,numericNotTerminated=2,namedEmpty=3,numericEmpty=4,namedUnknown=5,numericDisallowed=6,numericProhibited=7,messages={};function prohibited(code){return code>=55296&&code<=57343||code>1114111}function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[namedNotTerminated]="Named character references must be terminated by a semicolon",messages[numericNotTerminated]="Numeric character references must be terminated by a semicolon",messages[namedEmpty]="Named character references cannot be empty",messages[numericEmpty]="Numeric character references cannot be empty",messages[namedUnknown]="Named character references must be known",messages[numericDisallowed]="Numeric character references cannot be disallowed",messages[numericProhibited]="Numeric character references cannot be outside the permissible Unicode range";var prismCore={exports:{}};!function(module){var Prism=function(_self){var lang=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,uniqueId=0,plainTextGrammar={},_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind))||match.index>=text.length)break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)p+=(currentNode=currentNode.next).value.length;if(pos=p-=currentNode.value.length,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;if(before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount),currentNode=addAfter(tokenList,removeFrom,new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr)),after&&addAfter(tokenList,currentNode,after),removeCount>1){var nestedRematch={cause:token+","+j,reach:reach};matchGrammar(text,tokenList,grammar,currentNode.prev,pos,nestedRematch),rematch&&nestedRematch.reach>rematch.reach&&(rematch.reach=nestedRematch.reach)}}}}}}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value:value,prev:node,next:next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.F&&(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.F.Prism=Prism)}(prismCore);var clike_1=clike$1;function clike$1(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}clike$1.displayName="clike",clike$1.aliases=[];var javascript_1=javascript;function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript}javascript.displayName="javascript",javascript.aliases=["js"];var ctx="object"===("undefined"==typeof globalThis?"undefined":_typeof(globalThis))?globalThis:"object"===("undefined"==typeof self?"undefined":_typeof(self))?self:"object"===("undefined"==typeof window?"undefined":_typeof(window))?window:"object"===_typeof(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.F)?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.F:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore(){defined?ctx.Prism=current:delete ctx.Prism;defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=hastscript,decode=parseEntities_1,Prism=prismCore.exports,markup=markup_1,css=css_1,clike=clike_1,js=javascript_1;restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor,core=refract;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias){var key,list,length,index,languages=refract.languages,map=name;alias&&((map={})[name]=alias);for(key in map)for(length=(list="string"==typeof(list=map[key])?[list]:list).length,index=-1;++index=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber:startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(PreTag,preProps,allLineNumbers,react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(CodeTag,codeTagProps,code));(void 0===wrapLines&&renderer||wrapLongLines)&&(wrapLines=!0),renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch(e){return{value:defaultCodeValue}}}({astGenerator:astGenerator,language:language,code:code,defaultCodeValue:defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,codeTree.value.length+startingLineNumber,lineNumberStyle,wrapLongLines);return codeTagProps.style=_objectSpread({},codeTagProps.style,wrapLongLines?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(PreTag,preProps,react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows:rows,stylesheet:style,useInlineStyles:useInlineStyles})))}}(core,{});SyntaxHighlighter$1.registerLanguage=function(_,language){return core.register(language)};var ReactSyntaxHighlighter=SyntaxHighlighter$1,navigator=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.Z.navigator,document$1=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.Z.document,globalWindow=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.Z.window;ReactSyntaxHighlighter.registerLanguage("jsextra",jsExtras$1),ReactSyntaxHighlighter.registerLanguage("jsx",jsx$1),ReactSyntaxHighlighter.registerLanguage("json",json$1),ReactSyntaxHighlighter.registerLanguage("yml",yaml$1),ReactSyntaxHighlighter.registerLanguage("md",markdown$1),ReactSyntaxHighlighter.registerLanguage("bash",bash$1),ReactSyntaxHighlighter.registerLanguage("css",css$2),ReactSyntaxHighlighter.registerLanguage("html",markup$2),ReactSyntaxHighlighter.registerLanguage("tsx",tsx$1),ReactSyntaxHighlighter.registerLanguage("typescript",typescript$1),ReactSyntaxHighlighter.registerLanguage("graphql",graphql$1);var themedSyntax=memoizerific__WEBPACK_IMPORTED_MODULE_39___default()(2)((function(theme){return Object.entries(theme.code||{}).reduce((function(acc,_ref8){var _ref9=_slicedToArray(_ref8,2),key=_ref9[0],val=_ref9[1];return Object.assign(Object.assign({},acc),function _defineProperty2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},"* .".concat(key),val))}),{})})),copyToClipboard=createCopyToClipboardFunction();function createCopyToClipboardFunction(){var _this=this;return(null==navigator?void 0:navigator.clipboard)?function(text){return navigator.clipboard.writeText(text)}:function(text){return Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.E)(_this,void 0,void 0,regeneratorRuntime.mark((function _callee(){var tmp,focus;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:tmp=document$1.createElement("TEXTAREA"),focus=document$1.activeElement,tmp.value=text,document$1.body.appendChild(tmp),tmp.select(),document$1.execCommand("copy"),document$1.body.removeChild(tmp),focus.focus();case 8:case"end":return _context.stop()}}),_callee)})))}}var Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_38__.l.div((function(_ref10){return{position:"relative",overflow:"hidden",color:_ref10.theme.color.defaultText}}),(function(_ref11){var theme=_ref11.theme;return _ref11.bordered?{border:"1px solid ".concat(theme.appBorderColor),borderRadius:theme.borderRadius,background:theme.background.content}:{}})),Scroller=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_38__.l)((function(_ref12){var children=_ref12.children,className=_ref12.className;return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.d,{horizontal:!0,vertical:!0,className:className},children)}))({position:"relative"},(function(_ref13){var theme=_ref13.theme;return themedSyntax(theme)})),Pre=_storybook_theming__WEBPACK_IMPORTED_MODULE_38__.l.pre((function(_ref14){var theme=_ref14.theme;return{display:"flex",justifyContent:"flex-start",margin:0,padding:_ref14.padded?theme.layoutMargin:0}})),Code=_storybook_theming__WEBPACK_IMPORTED_MODULE_38__.l.div((function(_ref15){return{flex:1,paddingLeft:2,paddingRight:_ref15.theme.layoutMargin,opacity:1}})),SyntaxHighlighter=function SyntaxHighlighter(_a){var children=_a.children,_a$language=_a.language,language=void 0===_a$language?"jsx":_a$language,_a$copyable=_a.copyable,copyable=void 0!==_a$copyable&&_a$copyable,_a$bordered=_a.bordered,bordered=void 0!==_a$bordered&&_a$bordered,_a$padded=_a.padded,padded=void 0!==_a$padded&&_a$padded,_a$format=_a.format,format=void 0===_a$format||_a$format,_a$formatter=_a.formatter,formatter=void 0===_a$formatter?null:_a$formatter,_a$className=_a.className,className=void 0===_a$className?null:_a$className,_a$showLineNumbers=_a.showLineNumbers,showLineNumbers=void 0!==_a$showLineNumbers&&_a$showLineNumbers,rest=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.G)(_a,["children","language","copyable","bordered","padded","format","formatter","className","showLineNumbers"]);if("string"!=typeof children||!children.trim())return null;var highlightableCode=formatter?formatter(format,children):children.trim(),_useState2=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_36__.useState)(!1),2),copied=_useState2[0],setCopied=_useState2[1],onClick=Object(react__WEBPACK_IMPORTED_MODULE_36__.useCallback)((function(e){e.preventDefault();var selectedText=globalWindow.getSelection().toString(),textToCopy="click"!==e.type&&selectedText?selectedText:highlightableCode;copyToClipboard(textToCopy).then((function(){setCopied(!0),globalWindow.setTimeout((function(){return setCopied(!1)}),1500)})).catch(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_37__.a.error)}),[]);return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(Wrapper,{bordered:bordered,padded:padded,className:className,onCopyCapture:onClick},react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(Scroller,null,react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(ReactSyntaxHighlighter,Object.assign({padded:padded||bordered,language:language,showLineNumbers:showLineNumbers,showInlineLineNumbers:showLineNumbers,useInlineStyles:!1,PreTag:Pre,CodeTag:Code,lineNumberContainerStyle:{}},rest),highlightableCode)),copyable?react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.a,{actionItems:[{title:copied?"Copied":"Copy",onClick:onClick}]}):null)}},855:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(3),uncurryThis=__webpack_require__(12),toAbsoluteIndex=__webpack_require__(141),$RangeError=RangeError,fromCharCode=String.fromCharCode,$fromCodePoint=String.fromCodePoint,join=uncurryThis([].join);$({target:"String",stat:!0,arity:1,forced:!!$fromCodePoint&&1!==$fromCodePoint.length},{fromCodePoint:function fromCodePoint(x){for(var code,elements=[],length=arguments.length,i=0;length>i;){if(code=+arguments[i++],toAbsoluteIndex(code,1114111)!==code)throw new $RangeError(code+" is not a valid code point");elements[i]=code<65536?fromCharCode(code):fromCharCode(55296+((code-=65536)>>10),code%1024+56320)}return join(elements,"")}})}}]); \ No newline at end of file diff --git a/0.9ba9366dd2b5ab76fdcc.manager.bundle.js.LICENSE.txt b/0.9ba9366dd2b5ab76fdcc.manager.bundle.js.LICENSE.txt new file mode 100644 index 000000000..7a4147477 --- /dev/null +++ b/0.9ba9366dd2b5ab76fdcc.manager.bundle.js.LICENSE.txt @@ -0,0 +1,8 @@ +/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */ diff --git a/0.eea8c559.iframe.bundle.js b/0.eea8c559.iframe.bundle.js new file mode 100644 index 000000000..a27bf9092 --- /dev/null +++ b/0.eea8c559.iframe.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see 0.eea8c559.iframe.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"./node_modules/@storybook/components/dist/esm/syntaxhighlighter-b07b042a.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SyntaxHighlighter",(function(){return SyntaxHighlighter})),__webpack_require__.d(__webpack_exports__,"createCopyToClipboardFunction",(function(){return createCopyToClipboardFunction})),__webpack_require__.d(__webpack_exports__,"default",(function(){return SyntaxHighlighter}));__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.splice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.from-code-point.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.flags.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/core-js/modules/esnext.global-this.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js");var _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("./node_modules/@storybook/components/dist/esm/index-681e4b07.js"),react__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("./node_modules/react/index.js"),react__WEBPACK_IMPORTED_MODULE_36___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_36__),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),_storybook_theming__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),memoizerific__WEBPACK_IMPORTED_MODULE_39__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_39___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_39__);__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),__webpack_require__("./node_modules/qs/lib/index.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray2(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray2(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray2(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray2(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i*\.{3}(?:[^{}]|)*\})/.source;function re(source,flags){return source=source.replace(//g,(function(){return space})).replace(//g,(function(){return braces})).replace(//g,(function(){return spread})),RegExp(source,flags)}spread=re(spread).source,Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.jsx.tag.inside.comment=javascript.comment,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:re(//.source),inside:Prism.languages.jsx}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism.languages.jsx}}},Prism.languages.jsx.tag);var stringifyToken=function stringifyToken(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function walkTokens(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}jsx.displayName="jsx",jsx.aliases=[];var jsx$1=jsx_1,bash_1=bash;function bash(Prism){!function(Prism){var envVars="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",commandAfterHeredoc={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},insideString={bash:commandAfterHeredoc,environment:{pattern:RegExp("\\$"+envVars),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};Prism.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:insideString.entity}}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i0)){var mutationEnd=findClosingBracket(/^\{$/,/^\}$/);if(-1===mutationEnd)continue;for(var i=currentIndex;i=0&&addAlias(varToken,"variable-input")}}}}function getToken(offset){return validTokens[currentIndex+offset]}function isTokenType(types,offset){offset=offset||0;for(var i=0;i/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function value(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}markup$1.displayName="markup",markup$1.aliases=["html","mathml","svg","xml","ssml","atom","rss"];var markup$2=markup_1,markdown_1=markdown;function markdown(Prism){!function(Prism){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike","code-snippet"].forEach((function(inside){token!==inside&&(Prism.languages.markdown[token].inside.content.inside[inside]=Prism.languages.markdown[inside])}))})),Prism.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i",quot:'"'},fromCodePoint=String.fromCodePoint||String.fromCharCode;Prism.languages.md=Prism.languages.markdown}(Prism)}markdown.displayName="markdown",markdown.aliases=["md"];var markdown$1=markdown_1,yaml_1=yaml;function yaml(Prism){!function(Prism){var anchorOrAlias=/[*&][^\s[\]{},]+/,tag=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml}(Prism)}yaml.displayName="yaml",yaml.aliases=["yml"];var yaml$1=yaml_1,typescript_1=typescript;function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),Prism.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete Prism.languages.typescript.parameter,delete Prism.languages.typescript["literal-property"];var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}typescript.displayName="typescript",typescript.aliases=["ts"];var typescript$1=typescript_1,refractorJsx=jsx_1,refractorTypescript=typescript_1,tsx_1=tsx;function tsx(Prism){Prism.register(refractorJsx),Prism.register(refractorTypescript),function(Prism){var typescript=Prism.util.clone(Prism.languages.typescript);Prism.languages.tsx=Prism.languages.extend("jsx",typescript),delete Prism.languages.tsx.parameter,delete Prism.languages.tsx["literal-property"];var tag=Prism.languages.tsx.tag;tag.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+tag.pattern.source+")",tag.pattern.flags),tag.lookbehind=!0}(Prism)}tsx.displayName="tsx",tsx.aliases=[];var tsx$1=tsx_1;function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return function getClassNameCombinations(classNames){if(0===classNames.length||1===classNames.length)return classNames;var key=classNames.join(".");return classNameCombinations[key]||(classNameCombinations[key]=function powerSetPermutations(arr){var arrLength=arr.length;return 0===arrLength||1===arrLength?arr:2===arrLength?[arr[0],arr[1],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0])]:3===arrLength?[arr[0],arr[1],arr[2],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0])]:arrLength>=4?[arr[0],arr[1],arr[2],arr[3],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3]),"".concat(arr[3],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1],".").concat(arr[0])]:void 0}(classNames)),classNameCombinations[key]}(classNames.filter((function(className){return"token"!==className}))).reduce((function(styleObject,className){return _objectSpread({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var props,childrenCreator=function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}(stylesheet,useInlineStyles);if(useInlineStyles){var allStylesheetSelectors=Object.keys(stylesheet).reduce((function(classes,selector){return selector.split(".").forEach((function(className){classes.includes(className)||classes.push(className)})),classes}),[]),startingClassName=properties.className&&properties.className.includes("token")?["token"]:[],className=properties.className&&startingClassName.concat(properties.className.filter((function(className){return!allStylesheetSelectors.includes(className)})));props=_objectSpread({},properties,{className:createClassNameString(className)||void 0,style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)})}else props=_objectSpread({},properties,{className:createClassNameString(properties.className)});var children=childrenCreator(node.children);return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(TagName,Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.m)({key:key},props),children)}}var checkForListedLanguage=function checkForListedLanguage(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)},newLineRegex=/\n/g;function AllLineNumbers(_ref2){var codeString=_ref2.codeString,codeStyle=_ref2.codeStyle,_ref2$containerStyle=_ref2.containerStyle,containerStyle=void 0===_ref2$containerStyle?{float:"left",paddingRight:"10px"}:_ref2$containerStyle,_ref2$numberStyle=_ref2.numberStyle,numberStyle=void 0===_ref2$numberStyle?{}:_ref2$numberStyle,startingLineNumber=_ref2.startingLineNumber;return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement("code",{style:Object.assign({},codeStyle,containerStyle)},function getAllLineNumbers(_ref){var lines=_ref.lines,startingLineNumber=_ref.startingLineNumber,style=_ref.style;return lines.map((function(_,i){var number=i+startingLineNumber;return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:"function"==typeof style?style(number):style},"".concat(number,"\n"))}))}({lines:codeString.replace(/\n$/,"").split("\n"),style:numberStyle,startingLineNumber:startingLineNumber}))}function getEmWidthOfNumber(num){return"".concat(num.toString().length,".25em")}function getInlineLineNumber(lineNumber,inlineLineNumberStyle){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(lineNumber),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:inlineLineNumberStyle},children:[{type:"text",value:lineNumber}]}}function assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber){return _objectSpread({},{display:"inline-block",minWidth:getEmWidthOfNumber(largestLineNumber),paddingRight:"1em",textAlign:"right",userSelect:"none"},"function"==typeof lineNumberStyle?lineNumberStyle(lineNumber):lineNumberStyle)}function createLineElement(_ref3){var children=_ref3.children,lineNumber=_ref3.lineNumber,lineNumberStyle=_ref3.lineNumberStyle,largestLineNumber=_ref3.largestLineNumber,showInlineLineNumbers=_ref3.showInlineLineNumbers,_ref3$lineProps=_ref3.lineProps,lineProps=void 0===_ref3$lineProps?{}:_ref3$lineProps,_ref3$className=_ref3.className,className=void 0===_ref3$className?[]:_ref3$className,showLineNumbers=_ref3.showLineNumbers,wrapLongLines=_ref3.wrapLongLines,properties="function"==typeof lineProps?lineProps(lineNumber):lineProps;if(properties.className=className,lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return wrapLongLines&showLineNumbers&&(properties.style=_objectSpread({},properties.style,{display:"flex"})),{type:"element",tagName:"span",properties:properties,children:children}}function flattenCodeTree(tree){for(var className=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?function createWrappedLine(children,lineNumber){return createLineElement({children:children,lineNumber:lineNumber,lineNumberStyle:lineNumberStyle,largestLineNumber:largestLineNumber,showInlineLineNumbers:showInlineLineNumbers,lineProps:lineProps,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:showLineNumbers,wrapLongLines:wrapLongLines})}(children,lineNumber,className):function createUnwrappedLine(children,lineNumber){if(showLineNumbers&&lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return children}(children,lineNumber)}for(var _loop=function _loop(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber);newTree.push(_line)}else if(i===splitValue.length-1){if(tree[index+1]&&tree[index+1].children&&tree[index+1].children[0]){var newElem=createLineElement({children:[{type:"text",value:"".concat(text)}],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};index4&&normal.slice(0,4)===data&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash$1,camelcase);return data+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);if(dash$1.test(value))return property;value=value.replace(cap$1,kebab),"-"!==value.charAt(0)&&(value="-"+value);return data+value}(value),Type=DefinedInfo);return new Type(prop,value)},valid=/^data[-\w.:]+$/i,dash$1=/-[a-z]/g,cap$1=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}var hastUtilParseSelector=function parse$3(selector,defaultTagName){var subvalue,previous,match,value=selector||"",name=defaultTagName||"div",props={},start=0;for(;start=48&&code<=57};var alphabetical=function alphabetical$1(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90},decimal$1=isDecimal;var characterEntities={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"⁡",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"⁣",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"­",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},decodeEntity_1=function decodeEntity$1(characters){return!!own$2.call(characterEntities,characters)&&characterEntities[characters]},own$2={}.hasOwnProperty;var legacy={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"},invalid={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},decimal=isDecimal,hexadecimal=function hexadecimal$1(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57},alphanumerical=function alphanumerical$1(character){return alphabetical(character)||decimal$1(character)},decodeEntity=decodeEntity_1,parseEntities_1=function parseEntities(value,options){var option,key,settings={};options||(options={});for(key in defaults)option=options[key],settings[key]=null==option?defaults[key]:option;(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start);return function parse(value,settings){var entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end,additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[];"string"==typeof additional&&(additional=additional.charCodeAt(0));prev=now(),warning=handleWarning?parseError:noop,index--,length++;for(;++index65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(numericEmpty,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();return result.join("");function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)},own$1={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},tab=9,lineFeed=10,formFeed=12,space=32,ampersand=38,semicolon=59,lessThan=60,equalsTo=61,numberSign=35,uppercaseX=88,lowercaseX=120,replacementCharacter=65533,name="named",hexa="hexadecimal",deci="decimal",bases={};bases[hexa]=16,bases[deci]=10;var tests={};tests[name]=alphanumerical,tests[deci]=decimal,tests[hexa]=hexadecimal;var namedNotTerminated=1,numericNotTerminated=2,namedEmpty=3,numericEmpty=4,namedUnknown=5,numericDisallowed=6,numericProhibited=7,messages={};function prohibited(code){return code>=55296&&code<=57343||code>1114111}function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[namedNotTerminated]="Named character references must be terminated by a semicolon",messages[numericNotTerminated]="Numeric character references must be terminated by a semicolon",messages[namedEmpty]="Named character references cannot be empty",messages[numericEmpty]="Numeric character references cannot be empty",messages[namedUnknown]="Named character references must be known",messages[numericDisallowed]="Numeric character references cannot be disallowed",messages[numericProhibited]="Numeric character references cannot be outside the permissible Unicode range";var prismCore={exports:{}};!function(module){var Prism=function(_self){var lang=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,uniqueId=0,plainTextGrammar={},_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind))||match.index>=text.length)break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)p+=(currentNode=currentNode.next).value.length;if(pos=p-=currentNode.value.length,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;if(before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount),currentNode=addAfter(tokenList,removeFrom,new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr)),after&&addAfter(tokenList,currentNode,after),removeCount>1){var nestedRematch={cause:token+","+j,reach:reach};matchGrammar(text,tokenList,grammar,currentNode.prev,pos,nestedRematch),rematch&&nestedRematch.reach>rematch.reach&&(rematch.reach=nestedRematch.reach)}}}}}}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value:value,prev:node,next:next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.H&&(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.H.Prism=Prism)}(prismCore);var clike_1=clike$1;function clike$1(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}clike$1.displayName="clike",clike$1.aliases=[];var javascript_1=javascript;function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript}javascript.displayName="javascript",javascript.aliases=["js"];var ctx="object"===("undefined"==typeof globalThis?"undefined":_typeof(globalThis))?globalThis:"object"===("undefined"==typeof self?"undefined":_typeof(self))?self:"object"===("undefined"==typeof window?"undefined":_typeof(window))?window:"object"===_typeof(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.H)?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.H:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore(){defined?ctx.Prism=current:delete ctx.Prism;defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=hastscript,decode=parseEntities_1,Prism=prismCore.exports,markup=markup_1,css=css_1,clike=clike_1,js=javascript_1;restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor,core=refract;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias){var key,list,length,index,languages=refract.languages,map=name;alias&&((map={})[name]=alias);for(key in map)for(length=(list="string"==typeof(list=map[key])?[list]:list).length,index=-1;++index=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber:startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(PreTag,preProps,allLineNumbers,react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(CodeTag,codeTagProps,code));(void 0===wrapLines&&renderer||wrapLongLines)&&(wrapLines=!0),renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch(e){return{value:defaultCodeValue}}}({astGenerator:astGenerator,language:language,code:code,defaultCodeValue:defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,codeTree.value.length+startingLineNumber,lineNumberStyle,wrapLongLines);return codeTagProps.style=_objectSpread({},codeTagProps.style,wrapLongLines?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(PreTag,preProps,react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows:rows,stylesheet:style,useInlineStyles:useInlineStyles})))}}(core,{});SyntaxHighlighter$1.registerLanguage=function(_,language){return core.register(language)};var ReactSyntaxHighlighter=SyntaxHighlighter$1,navigator=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.bb.navigator,document$1=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.bb.document,globalWindow=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.bb.window;ReactSyntaxHighlighter.registerLanguage("jsextra",jsExtras$1),ReactSyntaxHighlighter.registerLanguage("jsx",jsx$1),ReactSyntaxHighlighter.registerLanguage("json",json$1),ReactSyntaxHighlighter.registerLanguage("yml",yaml$1),ReactSyntaxHighlighter.registerLanguage("md",markdown$1),ReactSyntaxHighlighter.registerLanguage("bash",bash$1),ReactSyntaxHighlighter.registerLanguage("css",css$2),ReactSyntaxHighlighter.registerLanguage("html",markup$2),ReactSyntaxHighlighter.registerLanguage("tsx",tsx$1),ReactSyntaxHighlighter.registerLanguage("typescript",typescript$1),ReactSyntaxHighlighter.registerLanguage("graphql",graphql$1);var themedSyntax=memoizerific__WEBPACK_IMPORTED_MODULE_39___default()(2)((function(theme){return Object.entries(theme.code||{}).reduce((function(acc,_ref8){var _ref9=_slicedToArray(_ref8,2),key=_ref9[0],val=_ref9[1];return Object.assign(Object.assign({},acc),function _defineProperty2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},"* .".concat(key),val))}),{})})),copyToClipboard=createCopyToClipboardFunction();function createCopyToClipboardFunction(){var _this=this;return(null==navigator?void 0:navigator.clipboard)?function(text){return navigator.clipboard.writeText(text)}:function(text){return Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.G)(_this,void 0,void 0,regeneratorRuntime.mark((function _callee(){var tmp,focus;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:tmp=document$1.createElement("TEXTAREA"),focus=document$1.activeElement,tmp.value=text,document$1.body.appendChild(tmp),tmp.select(),document$1.execCommand("copy"),document$1.body.removeChild(tmp),focus.focus();case 8:case"end":return _context.stop()}}),_callee)})))}}var Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_38__.i.div((function(_ref10){return{position:"relative",overflow:"hidden",color:_ref10.theme.color.defaultText}}),(function(_ref11){var theme=_ref11.theme;return _ref11.bordered?{border:"1px solid ".concat(theme.appBorderColor),borderRadius:theme.borderRadius,background:theme.background.content}:{}})),Scroller=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_38__.i)((function(_ref12){var children=_ref12.children,className=_ref12.className;return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.i,{horizontal:!0,vertical:!0,className:className},children)}))({position:"relative"},(function(_ref13){var theme=_ref13.theme;return themedSyntax(theme)})),Pre=_storybook_theming__WEBPACK_IMPORTED_MODULE_38__.i.pre((function(_ref14){var theme=_ref14.theme;return{display:"flex",justifyContent:"flex-start",margin:0,padding:_ref14.padded?theme.layoutMargin:0}})),Code=_storybook_theming__WEBPACK_IMPORTED_MODULE_38__.i.div((function(_ref15){return{flex:1,paddingLeft:2,paddingRight:_ref15.theme.layoutMargin,opacity:1}})),SyntaxHighlighter=function SyntaxHighlighter(_a){var children=_a.children,_a$language=_a.language,language=void 0===_a$language?"jsx":_a$language,_a$copyable=_a.copyable,copyable=void 0!==_a$copyable&&_a$copyable,_a$bordered=_a.bordered,bordered=void 0!==_a$bordered&&_a$bordered,_a$padded=_a.padded,padded=void 0!==_a$padded&&_a$padded,_a$format=_a.format,format=void 0===_a$format||_a$format,_a$formatter=_a.formatter,formatter=void 0===_a$formatter?null:_a$formatter,_a$className=_a.className,className=void 0===_a$className?null:_a$className,_a$showLineNumbers=_a.showLineNumbers,showLineNumbers=void 0!==_a$showLineNumbers&&_a$showLineNumbers,rest=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.I)(_a,["children","language","copyable","bordered","padded","format","formatter","className","showLineNumbers"]);if("string"!=typeof children||!children.trim())return null;var highlightableCode=formatter?formatter(format,children):children.trim(),_useState2=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_36__.useState)(!1),2),copied=_useState2[0],setCopied=_useState2[1],onClick=Object(react__WEBPACK_IMPORTED_MODULE_36__.useCallback)((function(e){e.preventDefault();var selectedText=globalWindow.getSelection().toString(),textToCopy="click"!==e.type&&selectedText?selectedText:highlightableCode;copyToClipboard(textToCopy).then((function(){setCopied(!0),globalWindow.setTimeout((function(){return setCopied(!1)}),1500)})).catch(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_37__.a.error)}),[]);return react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(Wrapper,{bordered:bordered,padded:padded,className:className,onCopyCapture:onClick},react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(Scroller,null,react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(ReactSyntaxHighlighter,Object.assign({padded:padded||bordered,language:language,showLineNumbers:showLineNumbers,showInlineLineNumbers:showLineNumbers,useInlineStyles:!1,PreTag:Pre,CodeTag:Code,lineNumberContainerStyle:{}},rest),highlightableCode)),copyable?react__WEBPACK_IMPORTED_MODULE_36___default.a.createElement(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_35__.a,{actionItems:[{title:copied?"Copied":"Copy",onClick:onClick}]}):null)}},"./node_modules/core-js/modules/es.regexp.flags.js":function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),defineBuiltInAccessor=__webpack_require__("./node_modules/core-js/internals/define-built-in-accessor.js"),regExpFlags=__webpack_require__("./node_modules/core-js/internals/regexp-flags.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),RegExp=global.RegExp,RegExpPrototype=RegExp.prototype;DESCRIPTORS&&fails((function(){var INDICES_SUPPORT=!0;try{RegExp(".","d")}catch(error){INDICES_SUPPORT=!1}var O={},calls="",expected=INDICES_SUPPORT?"dgimsy":"gimsy",addGetter=function(key,chr){Object.defineProperty(O,key,{get:function(){return calls+=chr,!0}})},pairs={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var key in INDICES_SUPPORT&&(pairs.hasIndices="d"),pairs)addGetter(key,pairs[key]);return Object.getOwnPropertyDescriptor(RegExpPrototype,"flags").get.call(O)!==expected||calls!==expected}))&&defineBuiltInAccessor(RegExpPrototype,"flags",{configurable:!0,get:regExpFlags})},"./node_modules/core-js/modules/es.string.from-code-point.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),$RangeError=RangeError,fromCharCode=String.fromCharCode,$fromCodePoint=String.fromCodePoint,join=uncurryThis([].join);$({target:"String",stat:!0,arity:1,forced:!!$fromCodePoint&&1!==$fromCodePoint.length},{fromCodePoint:function fromCodePoint(x){for(var code,elements=[],length=arguments.length,i=0;length>i;){if(code=+arguments[i++],toAbsoluteIndex(code,1114111)!==code)throw new $RangeError(code+" is not a valid code point");elements[i]=code<65536?fromCharCode(code):fromCharCode(55296+((code-=65536)>>10),code%1024+56320)}return join(elements,"")}})}}]); +//# sourceMappingURL=0.eea8c559.iframe.bundle.js.map \ No newline at end of file diff --git a/0.eea8c559.iframe.bundle.js.LICENSE.txt b/0.eea8c559.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..7a4147477 --- /dev/null +++ b/0.eea8c559.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,8 @@ +/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */ diff --git a/0.eea8c559.iframe.bundle.js.map b/0.eea8c559.iframe.bundle.js.map new file mode 100644 index 000000000..07f6b9ed0 --- /dev/null +++ b/0.eea8c559.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"0.eea8c559.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/1.1ac8715f.iframe.bundle.js b/1.1ac8715f.iframe.bundle.js new file mode 100644 index 000000000..749933e71 --- /dev/null +++ b/1.1ac8715f.iframe.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see 1.1ac8715f.iframe.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"./node_modules/@storybook/addon-docs/dist/esm/blocks/index.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorPalette",(function(){return index_681e4b07.x})),__webpack_require__.d(__webpack_exports__,"ColorItem",(function(){return index_681e4b07.w})),__webpack_require__.d(__webpack_exports__,"IconGallery",(function(){return index_681e4b07.z})),__webpack_require__.d(__webpack_exports__,"IconItem",(function(){return index_681e4b07.y})),__webpack_require__.d(__webpack_exports__,"Typeset",(function(){return index_681e4b07.v})),__webpack_require__.d(__webpack_exports__,"anchorBlockIdFromId",(function(){return anchorBlockIdFromId})),__webpack_require__.d(__webpack_exports__,"Anchor",(function(){return Anchor_Anchor})),__webpack_require__.d(__webpack_exports__,"extractComponentArgTypes",(function(){return ArgsTable_extractComponentArgTypes})),__webpack_require__.d(__webpack_exports__,"getComponent",(function(){return ArgsTable_getComponent})),__webpack_require__.d(__webpack_exports__,"StoryTable",(function(){return ArgsTable_StoryTable})),__webpack_require__.d(__webpack_exports__,"ComponentsTable",(function(){return ArgsTable_ComponentsTable})),__webpack_require__.d(__webpack_exports__,"ArgsTable",(function(){return ArgsTable_ArgsTable})),__webpack_require__.d(__webpack_exports__,"SourceState",(function(){return SourceState})),__webpack_require__.d(__webpack_exports__,"Canvas",(function(){return Canvas_Canvas})),__webpack_require__.d(__webpack_exports__,"DescriptionType",(function(){return DescriptionType})),__webpack_require__.d(__webpack_exports__,"getDescriptionProps",(function(){return Description_getDescriptionProps})),__webpack_require__.d(__webpack_exports__,"Description",(function(){return Description_DescriptionContainer})),__webpack_require__.d(__webpack_exports__,"DocsContext",(function(){return DocsContext})),__webpack_require__.d(__webpack_exports__,"DocsPage",(function(){return DocsPage_DocsPage})),__webpack_require__.d(__webpack_exports__,"DocsContainer",(function(){return DocsContainer_DocsContainer})),__webpack_require__.d(__webpack_exports__,"DocsStory",(function(){return DocsStory_DocsStory})),__webpack_require__.d(__webpack_exports__,"Heading",(function(){return Heading_Heading})),__webpack_require__.d(__webpack_exports__,"Meta",(function(){return Meta})),__webpack_require__.d(__webpack_exports__,"Preview",(function(){return Preview})),__webpack_require__.d(__webpack_exports__,"Primary",(function(){return Primary_Primary})),__webpack_require__.d(__webpack_exports__,"Props",(function(){return Props})),__webpack_require__.d(__webpack_exports__,"getSourceProps",(function(){return Source_getSourceProps})),__webpack_require__.d(__webpack_exports__,"Source",(function(){return Source_Source})),__webpack_require__.d(__webpack_exports__,"SourceContext",(function(){return SourceContext})),__webpack_require__.d(__webpack_exports__,"SourceContainer",(function(){return SourceContainer_SourceContainer})),__webpack_require__.d(__webpack_exports__,"Stories",(function(){return Stories_Stories})),__webpack_require__.d(__webpack_exports__,"storyBlockIdFromId",(function(){return storyBlockIdFromId})),__webpack_require__.d(__webpack_exports__,"lookupStoryId",(function(){return Story_lookupStoryId})),__webpack_require__.d(__webpack_exports__,"getStoryId",(function(){return Story_getStoryId})),__webpack_require__.d(__webpack_exports__,"getStoryProps",(function(){return getStoryProps})),__webpack_require__.d(__webpack_exports__,"Story",(function(){return Story_Story})),__webpack_require__.d(__webpack_exports__,"Subheading",(function(){return Subheading_Subheading})),__webpack_require__.d(__webpack_exports__,"Subtitle",(function(){return Subtitle_Subtitle})),__webpack_require__.d(__webpack_exports__,"extractTitle",(function(){return extractTitle})),__webpack_require__.d(__webpack_exports__,"Title",(function(){return Title_Title})),__webpack_require__.d(__webpack_exports__,"Wrapper",(function(){return Wrapper_Wrapper})),__webpack_require__.d(__webpack_exports__,"CURRENT_SELECTION",(function(){return CURRENT_SELECTION})),__webpack_require__.d(__webpack_exports__,"PRIMARY_STORY",(function(){return PRIMARY_STORY})),__webpack_require__.d(__webpack_exports__,"assertIsFn",(function(){return assertIsFn})),__webpack_require__.d(__webpack_exports__,"AddContext",(function(){return mdx_AddContext})),__webpack_require__.d(__webpack_exports__,"CodeOrSourceMdx",(function(){return mdx_CodeOrSourceMdx})),__webpack_require__.d(__webpack_exports__,"AnchorMdx",(function(){return mdx_AnchorMdx})),__webpack_require__.d(__webpack_exports__,"HeaderMdx",(function(){return mdx_HeaderMdx})),__webpack_require__.d(__webpack_exports__,"HeadersMdx",(function(){return HeadersMdx}));var index_681e4b07=__webpack_require__("./node_modules/@storybook/components/dist/esm/index-681e4b07.js"),react=__webpack_require__("./node_modules/react/index.js"),react_default=__webpack_require__.n(react),anchorBlockIdFromId=function anchorBlockIdFromId(storyId){return"anchor--".concat(storyId)},Anchor_Anchor=function Anchor(_ref){var storyId=_ref.storyId,children=_ref.children;return react_default.a.createElement("div",{id:anchorBlockIdFromId(storyId)},children)},mapValues=(__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.sort.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/lodash/mapValues.js")),mapValues_default=__webpack_require__.n(mapValues),esm=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js"),filterArgTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/filterArgTypes.js"),dist_esm=__webpack_require__("./node_modules/@storybook/core-events/dist/esm/index.js"),global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window);global_window.window&&void 0===global_window.window.__DOCS_CONTEXT__&&(global_window.window.__DOCS_CONTEXT__=Object(react.createContext)({}),global_window.window.__DOCS_CONTEXT__.displayName="DocsContext");var DocsContext=global_window.window?global_window.window.__DOCS_CONTEXT__:Object(react.createContext)({}),CURRENT_SELECTION=".",PRIMARY_STORY="^",getComponentName=(__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),function getComponentName(component){if(component)return"string"==typeof component?component.includes("-")?function titleCase(str){return str.split("-").map((function(part){return part.charAt(0).toUpperCase()+part.slice(1)})).join("")}(component):component:component.__docgenInfo&&component.__docgenInfo.displayName?component.__docgenInfo.displayName:component.name});function scrollToElement(element){var block=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";element.scrollIntoView({behavior:"smooth",block:block,inline:"nearest"})}__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js");function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread2(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var MDXContext=react_default.a.createContext({}),esm_useMDXComponents=function useMDXComponents(components){var contextComponents=react_default.a.useContext(MDXContext),allComponents=contextComponents;return components&&(allComponents=function isFunction(obj){return"function"==typeof obj}(components)?components(contextComponents):_objectSpread2(_objectSpread2({},contextComponents),components)),allComponents},esm_MDXProvider=function MDXProvider(props){var allComponents=esm_useMDXComponents(props.components);return react_default.a.createElement(MDXContext.Provider,{value:allComponents},props.children)},DEFAULTS={inlineCode:"code",wrapper:function wrapper(_ref){var children=_ref.children;return react_default.a.createElement(react_default.a.Fragment,{},children)}},MDXCreateElement=react_default.a.forwardRef((function(props,ref){var propComponents=props.components,mdxType=props.mdxType,originalType=props.originalType,parentName=props.parentName,etc=_objectWithoutProperties(props,["components","mdxType","originalType","parentName"]),components=esm_useMDXComponents(propComponents),type=mdxType,Component=components["".concat(parentName,".").concat(type)]||components[type]||DEFAULTS[type]||originalType;return propComponents?react_default.a.createElement(Component,_objectSpread2(_objectSpread2({ref:ref},etc),{},{components:propComponents})):react_default.a.createElement(Component,_objectSpread2({ref:ref},etc))}));MDXCreateElement.displayName="MDXCreateElement";var dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.js");__webpack_require__("./node_modules/regenerator-runtime/runtime.js");function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i"}})))}Promise.all([storyFnRan,rendered]).then((function(){channel.emit(dist_esm.default.STORY_RENDERED,storyId)}))}return react_default.a.createElement("div",{id:storyBlockIdFromId(story.id)},react_default.a.createElement(esm_MDXProvider,{components:index_681e4b07.c},react_default.a.createElement(index_681e4b07.t,storyProps)))};function ArgsTable_extends(){return ArgsTable_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:{},_ref3=arguments.length>1?arguments[1]:void 0,id=_ref3.id,storyById=_ref3.storyById,of=props.of,story=props.story,component=storyById(id).component;if(ArgsTable_isShortcut(of)||ArgsTable_isShortcut(story))return component||null;if(!of)throw new Error(index_681e4b07.o.NO_COMPONENT);return of},ArgsTable_addComponentTabs=function addComponentTabs(tabs,components,context,include,exclude,sort){return Object.assign({},tabs,mapValues_default()(components,(function(comp){return{rows:ArgsTable_extractComponentArgTypes(comp,context,include,exclude),sort:sort}})))},ArgsTable_StoryTable=function StoryTable(props){var context=Object(react.useContext)(DocsContext),currentId=context.id,componentStories=context.componentStories,storyName=props.story,component=props.component,subcomponents=props.subcomponents,showComponent=props.showComponent,include=props.include,exclude=props.exclude,sort=props.sort;try{var storyId;switch(storyName){case CURRENT_SELECTION:storyId=currentId;break;case PRIMARY_STORY:storyId=componentStories()[0].id;break;default:storyId=Story_lookupStoryId(storyName,context)}var story=useStory(storyId,context),_useArgs=function useArgs(storyId,context){var channel=esm.a.getChannel(),storyContext=getContext(storyId,context),_useState2=ArgsTable_slicedToArray(Object(react.useState)(storyContext.args),2),args=_useState2[0],setArgs=_useState2[1];return Object(react.useEffect)((function(){var cb=function cb(changed){changed.storyId===storyId&&setArgs(changed.args)};return channel.on(dist_esm.default.STORY_ARGS_UPDATED,cb),function(){return channel.off(dist_esm.default.STORY_ARGS_UPDATED,cb)}}),[storyId]),[args,Object(react.useCallback)((function(updatedArgs){return channel.emit(dist_esm.default.UPDATE_STORY_ARGS,{storyId:storyId,updatedArgs:updatedArgs})}),[storyId]),Object(react.useCallback)((function(argNames){return channel.emit(dist_esm.default.RESET_STORY_ARGS,{storyId:storyId,argNames:argNames})}),[storyId])]}(storyId,context),_useArgs2=ArgsTable_slicedToArray(_useArgs,3),args=_useArgs2[0],updateArgs=_useArgs2[1],resetArgs=_useArgs2[2],_useGlobals=function useGlobals(storyId,context){var channel=esm.a.getChannel(),storyContext=getContext(storyId,context),_useState4=ArgsTable_slicedToArray(Object(react.useState)(storyContext.globals),2),globals=_useState4[0],setGlobals=_useState4[1];return Object(react.useEffect)((function(){var cb=function cb(changed){setGlobals(changed.globals)};return channel.on(dist_esm.default.GLOBALS_UPDATED,cb),function(){return channel.off(dist_esm.default.GLOBALS_UPDATED,cb)}}),[]),[globals]}(storyId,context),globals=ArgsTable_slicedToArray(_useGlobals,1)[0];if(!story)return react_default.a.createElement(index_681e4b07.p,{isLoading:!0,updateArgs:updateArgs,resetArgs:resetArgs});var argTypes=Object(filterArgTypes.a)(story.argTypes,include,exclude),mainLabel=getComponentName(component)||"Story",tabs=ArgsTable_defineProperty({},mainLabel,{rows:argTypes,args:args,globals:globals,updateArgs:updateArgs,resetArgs:resetArgs}),storyHasArgsWithControls=argTypes&&Object.values(argTypes).find((function(v){return!(null==v||!v.control)}));if(storyHasArgsWithControls||(updateArgs=null,resetArgs=null,tabs={}),!component||storyHasArgsWithControls&&!showComponent||(tabs=ArgsTable_addComponentTabs(tabs,ArgsTable_defineProperty({},mainLabel,component),context,include,exclude)),subcomponents){if(Array.isArray(subcomponents))throw new Error("Unexpected subcomponents array. Expected an object whose keys are tab labels and whose values are components.");tabs=ArgsTable_addComponentTabs(tabs,subcomponents,context,include,exclude)}return react_default.a.createElement(index_681e4b07.q,{tabs:tabs,sort:sort})}catch(err){return react_default.a.createElement(index_681e4b07.p,{error:err.message})}},ArgsTable_ComponentsTable=function ComponentsTable(props){var context=Object(react.useContext)(DocsContext),components=props.components,include=props.include,exclude=props.exclude,sort=props.sort,tabs=ArgsTable_addComponentTabs({},components,context,include,exclude);return react_default.a.createElement(index_681e4b07.q,{tabs:tabs,sort:sort})},ArgsTable_ArgsTable=function ArgsTable(props){var context=Object(react.useContext)(DocsContext),id=context.id,_storyById3=(0,context.storyById)(id),controls=_storyById3.parameters.controls,subcomponents=_storyById3.subcomponents,_ref6=props,include=_ref6.include,exclude=_ref6.exclude,components=_ref6.components,sortProp=_ref6.sort,storyName=props.story,sort=sortProp||(null==controls?void 0:controls.sort),main=ArgsTable_getComponent(props,context);if(storyName)return react_default.a.createElement(ArgsTable_StoryTable,ArgsTable_extends({},props,{component:main,subcomponents:subcomponents,sort:sort}));if(!components&&!subcomponents){var mainProps;try{mainProps={rows:ArgsTable_extractComponentArgTypes(main,context,include,exclude)}}catch(err){mainProps={error:err.message}}return react_default.a.createElement(index_681e4b07.p,ArgsTable_extends({},mainProps,{sort:sort}))}if(components)return react_default.a.createElement(ArgsTable_ComponentsTable,ArgsTable_extends({},props,{components:components,sort:sort}));var mainLabel=getComponentName(main);return react_default.a.createElement(ArgsTable_ComponentsTable,ArgsTable_extends({},props,{components:Object.assign(ArgsTable_defineProperty({},mainLabel,main),subcomponents),sort:sort}))};ArgsTable_ArgsTable.defaultProps={of:CURRENT_SELECTION};__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js");var SourceType,fast_deep_equal=__webpack_require__("./node_modules/fast-deep-equal/index.js"),fast_deep_equal_default=__webpack_require__.n(fast_deep_equal),SNIPPET_RENDERED=("".concat("storybook/docs","/panel"),"".concat("storybook/docs","/snippet-rendered"));function SourceContainer_slicedToArray(arr,i){return function SourceContainer_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function SourceContainer_iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function SourceContainer_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return SourceContainer_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return SourceContainer_arrayLikeToArray(o,minLen)}(arr,i)||function SourceContainer_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.")}()}function SourceContainer_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i2&&void 0!==arguments[2]&&arguments[2];sources[id]&&sources[id].code===newSource||setSources((function(current){var newSources=Object.assign({},current,function SourceContainer_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},id,{code:newSource,format:format}));return fast_deep_equal_default()(current,newSources)?current:newSources}))};return channel.on(SNIPPET_RENDERED,handleSnippetRendered),function(){return channel.off(SNIPPET_RENDERED,handleSnippetRendered)}}),[]),react_default.a.createElement(SourceContext.Provider,{value:{sources:sources}},children)},esm_parameters=(__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js"));function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return enhanceSource_arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||function enhanceSource_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return enhanceSource_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return enhanceSource_arrayLikeToArray(o,minLen)}(arr)||function _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.")}()}function enhanceSource_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var DescriptionType,Canvas_Canvas=function Canvas(props){var _getPreviewProps=function getPreviewProps(_ref,docsContext,sourceContext){var withSource=_ref.withSource,mdxSource=_ref.mdxSource,children=_ref.children,props=Canvas_objectWithoutProperties(_ref,_excluded),mdxComponentAnnotations=docsContext.mdxComponentAnnotations,mdxStoryNameToKey=docsContext.mdxStoryNameToKey,sourceState=withSource,isLoading=!1;if(sourceState===SourceState.NONE)return{isLoading:isLoading,previewProps:props};if(mdxSource)return{isLoading:isLoading,previewProps:Object.assign({},props,{withSource:Source_getSourceProps({code:decodeURI(mdxSource)},docsContext,sourceContext)})};var targetIds=(Array.isArray(children)?children:[children]).filter((function(c){return c.props&&(c.props.id||c.props.name)})).map((function(s){return s.props.id||Object(dist.toId)(mdxComponentAnnotations.id||mdxComponentAnnotations.title,Object(dist.storyNameFromExport)(mdxStoryNameToKey[s.props.name]))})),sourceProps=Source_getSourceProps({ids:targetIds},docsContext,sourceContext);return sourceState||(sourceState=sourceProps.state),{isLoading:isLoading=useStories(targetIds.map((function(targetId){return targetId===CURRENT_SELECTION?docsContext.id:targetId})),docsContext).some((function(s){return!s})),previewProps:Object.assign({},props,{withSource:sourceProps,isExpanded:sourceState===SourceState.OPEN})}}(props,Object(react.useContext)(DocsContext),Object(react.useContext)(SourceContext)),isLoading=_getPreviewProps.isLoading,previewProps=_getPreviewProps.previewProps,children=props.children;return isLoading?react_default.a.createElement(index_681e4b07.n,null):react_default.a.createElement(esm_MDXProvider,{components:index_681e4b07.c},react_default.a.createElement(index_681e4b07.F,previewProps,children))},string=(__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/@storybook/docs-tools/dist/esm/argTypes/docgen/utils/string.js"));!function(DescriptionType){DescriptionType.INFO="info",DescriptionType.NOTES="notes",DescriptionType.DOCGEN="docgen",DescriptionType.LEGACY_5_2="legacy-5.2",DescriptionType.AUTO="auto"}(DescriptionType||(DescriptionType={}));var Description_getNotes=function getNotes(notes){return notes&&("string"==typeof notes?notes:Object(string.a)(notes.markdown)||Object(string.a)(notes.text))},Description_getInfo=function getInfo(info){return info&&("string"==typeof info?info:Object(string.a)(info.text))},noDescription=function noDescription(component){return null},Description_getDescriptionProps=function getDescriptionProps(_ref,_ref2){var of=_ref.of,type=_ref.type,markdown=_ref.markdown,children=_ref.children,id=_ref2.id,_storyById=(0,_ref2.storyById)(id),component=_storyById.component,parameters=_storyById.parameters;if(children||markdown)return{markdown:children||markdown};var notes=parameters.notes,info=parameters.info,_ref3=parameters.docs||{},_ref3$extractComponen=_ref3.extractComponentDescription,extractComponentDescription=void 0===_ref3$extractComponen?noDescription:_ref3$extractComponen,description=_ref3.description,target=of===CURRENT_SELECTION?component:of,componentDescriptionParameter=null==description?void 0:description.component;if(componentDescriptionParameter)return{markdown:componentDescriptionParameter};switch(type){case DescriptionType.INFO:return{markdown:Description_getInfo(info)};case DescriptionType.NOTES:return{markdown:Description_getNotes(notes)};case DescriptionType.LEGACY_5_2:return{markdown:"\n".concat(Description_getNotes(notes)||Description_getInfo(info)||"","\n\n").concat(extractComponentDescription(target)||"","\n").trim()};case DescriptionType.DOCGEN:case DescriptionType.AUTO:default:return{markdown:extractComponentDescription(target,Object.assign({component:component},parameters))}}},Description_DescriptionContainer=function DescriptionContainer(props){var context=Object(react.useContext)(DocsContext),markdown=Description_getDescriptionProps(props,context).markdown;return markdown?react_default.a.createElement(index_681e4b07.A,{markdown:markdown}):null};Description_DescriptionContainer.defaultProps={of:"."};var STORY_KIND_PATH_SEPARATOR=/\s*\/\s*/,extractTitle=function extractTitle(_ref){var title=_ref.title,groups=title.trim().split(STORY_KIND_PATH_SEPARATOR);return groups&&groups[groups.length-1]||title},Title_Title=function Title(_ref2){var children=_ref2.children,context=Object(react.useContext)(DocsContext),text=children;return text||(text=extractTitle(context)),text?react_default.a.createElement(index_681e4b07.B,{className:"sbdocs-title"},text):null},Subtitle_Subtitle=function Subtitle(_ref){var children=_ref.children,_useContext=Object(react.useContext)(DocsContext),id=_useContext.id,parameters=(0,_useContext.storyById)(id).parameters,text=children;return text||(text=null==parameters?void 0:parameters.componentSubtitle),text?react_default.a.createElement(index_681e4b07.C,{className:"sbdocs-subtitle"},text):null},browser=(__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/util-deprecate/browser.js")),browser_default=__webpack_require__.n(browser),ts_dedent_esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),theming_dist_esm=(__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js")),mdx_excluded=["children"],_excluded2=["className","children"],_excluded3=["href","target","children"],_excluded4=["as","id","children"],_excluded5=["as","id","children"];function mdx_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function mdx_extends(){return mdx_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var mdx_document=window_default.a.document,assertIsFn=function assertIsFn(val){if("function"!=typeof val)throw new Error("Expected story function, got: ".concat(val));return val},mdx_AddContext=function AddContext(props){var children=props.children,rest=mdx_objectWithoutProperties(props,mdx_excluded),parentContext=react_default.a.useContext(DocsContext);return react_default.a.createElement(DocsContext.Provider,{value:Object.assign({},parentContext,rest)},children)},mdx_CodeOrSourceMdx=function CodeOrSourceMdx(_ref){var className=_ref.className,children=_ref.children,rest=mdx_objectWithoutProperties(_ref,_excluded2);if("string"!=typeof className&&("string"!=typeof children||!children.match(/[\n\r]/g)))return react_default.a.createElement(index_681e4b07.e,null,children);var language=className&&className.split("-");return react_default.a.createElement(index_681e4b07.s,mdx_extends({language:language&&language[1]||"plaintext",format:!1,code:children},rest))};function mdx_navigate(url){esm.a.getChannel().emit(dist_esm.NAVIGATE_URL,url)}var _templateObject,A=index_681e4b07.b.a,mdx_AnchorInPage=function AnchorInPage(_ref2){var hash=_ref2.hash,children=_ref2.children;return react_default.a.createElement(A,{href:hash,target:"_self",onClick:function onClick(event){var id=hash.substring(1);mdx_document.getElementById(id)&&mdx_navigate(hash)}},children)},mdx_AnchorMdx=function AnchorMdx(props){var href=props.href,target=props.target,children=props.children,rest=mdx_objectWithoutProperties(props,_excluded3);if(href){if(href.startsWith("#"))return react_default.a.createElement(mdx_AnchorInPage,{hash:href},children);if("_blank"!==target&&!href.startsWith("https://"))return react_default.a.createElement(A,mdx_extends({href:href,onClick:function onClick(event){event.preventDefault(),mdx_navigate(event.currentTarget.getAttribute("href"))},target:target},rest),children)}return react_default.a.createElement(A,props)},SUPPORTED_MDX_HEADERS=["h1","h2","h3","h4","h5","h6"],OcticonHeaders=SUPPORTED_MDX_HEADERS.reduce((function(acc,headerType){return Object.assign({},acc,mdx_defineProperty({},headerType,Object(theming_dist_esm.i)(index_681e4b07.b[headerType])({"& svg":{visibility:"hidden"},"&:hover svg":{visibility:"visible"}})))}),{}),OcticonAnchor=theming_dist_esm.i.a((function(){return{float:"left",paddingRight:"4px",marginLeft:"-20px",color:"inherit"}})),mdx_HeaderWithOcticonAnchor=function HeaderWithOcticonAnchor(_ref3){var as=_ref3.as,id=_ref3.id,children=_ref3.children,rest=mdx_objectWithoutProperties(_ref3,_excluded4),OcticonHeader=OcticonHeaders[as],hash="#".concat(id);return react_default.a.createElement(OcticonHeader,mdx_extends({id:id},rest),react_default.a.createElement(OcticonAnchor,{"aria-hidden":"true",href:hash,tabIndex:-1,target:"_self",onClick:function onClick(event){mdx_document.getElementById(id)&&mdx_navigate(hash)}},react_default.a.createElement("svg",{viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16","aria-hidden":"true",fill:"currentColor"},react_default.a.createElement("path",{fillRule:"evenodd",d:"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"}))),children)},mdx_HeaderMdx=function HeaderMdx(props){var as=props.as,id=props.id,children=props.children,rest=mdx_objectWithoutProperties(props,_excluded5);if(id)return react_default.a.createElement(mdx_HeaderWithOcticonAnchor,mdx_extends({as:as,id:id},rest),children);var Header=index_681e4b07.b[as];return react_default.a.createElement(Header,props)},HeadersMdx=SUPPORTED_MDX_HEADERS.reduce((function(acc,headerType){return Object.assign({},acc,mdx_defineProperty({},headerType,(function(props){return react_default.a.createElement(mdx_HeaderMdx,mdx_extends({as:headerType},props))})))}),{}),Subheading_Subheading=function Subheading(_ref){var children=_ref.children;if(_ref.disableAnchor||"string"!=typeof children)return react_default.a.createElement(index_681e4b07.h,null,children);var tagID=children.toLowerCase().replace(/[^a-z0-9]/gi,"-");return react_default.a.createElement(mdx_HeaderMdx,{as:"h3",id:tagID},children)};var warnStoryDescription=browser_default()((function(){}),Object(ts_dedent_esm.a)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Deprecated parameter: docs.storyDescription => docs.description.story\n \n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#docs-description-parameter\n "])))),DocsStory_DocsStory=function DocsStory(_ref){var description,_docs$description,id=_ref.id,name=_ref.name,_ref$expanded=_ref.expanded,expanded=void 0===_ref$expanded||_ref$expanded,_ref$withToolbar=_ref.withToolbar,withToolbar=void 0!==_ref$withToolbar&&_ref$withToolbar,_ref$parameters=_ref.parameters,parameters=void 0===_ref$parameters?{}:_ref$parameters,docs=parameters.docs;expanded&&docs&&((description=null===(_docs$description=docs.description)||void 0===_docs$description?void 0:_docs$description.story)||(description=docs.storyDescription)&&warnStoryDescription());var subheading=expanded&&name;return react_default.a.createElement(Anchor_Anchor,{storyId:id},subheading&&react_default.a.createElement(Subheading_Subheading,null,subheading),description&&react_default.a.createElement(Description_DescriptionContainer,{markdown:description}),react_default.a.createElement(Canvas_Canvas,{withToolbar:withToolbar},react_default.a.createElement(Story_Story,{id:id,parameters:parameters})))};function Primary_extends(){return Primary_extends=Object.assign||function(target){for(var i=1;i docs.theme\n\n https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/theming.md#storybook-theming\n"])))),DocsContainer_DocsContainer=function DocsContainer(_ref){var context=_ref.context,children=_ref.children,storyId=context.id,_storyById$parameters=(0,context.storyById)(storyId).parameters,_storyById$parameters2=_storyById$parameters.options,options=void 0===_storyById$parameters2?{}:_storyById$parameters2,_storyById$parameters3=_storyById$parameters.docs,docs=void 0===_storyById$parameters3?{}:_storyById$parameters3,themeVars=docs.theme;!themeVars&&options.theme&&(warnOptionsTheme(),themeVars=options.theme);var theme=Object(theming_dist_esm.e)(themeVars),allComponents=Object.assign({},defaultComponents,docs.components);return Object(react.useEffect)((function(){var url;try{url=new URL(globalWindow.parent.location)}catch(err){return}if(url.hash){var element=DocsContainer_document.getElementById(url.hash.substring(1));element&&setTimeout((function(){scrollToElement(element)}),200)}else{var _element=DocsContainer_document.getElementById(anchorBlockIdFromId(storyId))||DocsContainer_document.getElementById(storyBlockIdFromId(storyId));if(_element){var allStories=_element.parentElement.querySelectorAll('[id|="anchor-"]'),scrollTarget=_element;allStories&&allStories[0]===_element&&(scrollTarget=DocsContainer_document.getElementById("docs-root")),setTimeout((function(){scrollToElement(scrollTarget,"start")}),200)}}}),[storyId]),react_default.a.createElement(DocsContext.Provider,{value:context},react_default.a.createElement(SourceContainer_SourceContainer,null,react_default.a.createElement(theming_dist_esm.b,{theme:theme},react_default.a.createElement(esm_MDXProvider,{components:allComponents},react_default.a.createElement(index_681e4b07.E,{className:"sbdocs sbdocs-wrapper"},react_default.a.createElement(index_681e4b07.D,{className:"sbdocs sbdocs-content"},children))))))},Meta_document=window_default.a.document;var Preview_templateObject,Meta=function Meta(){return"docs"===new URL(Meta_document.location).searchParams.get("viewMode")?function renderAnchor(){var context=Object(react.useContext)(DocsContext),anchorId=function getFirstStoryId(docsContext){var stories=docsContext.componentStories();return stories.length>0?stories[0].id:null}(context)||context.id;return react_default.a.createElement(Anchor_Anchor,{storyId:anchorId})}():null};var Props_templateObject,Preview=browser_default()((function(props){return react_default.a.createElement(Canvas_Canvas,props)}),Object(ts_dedent_esm.a)(Preview_templateObject||(Preview_templateObject=function Preview_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Preview doc block has been renamed to Canvas.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewprops-renamed\n "]))));var Props=browser_default()((function(props){return react_default.a.createElement(ArgsTable_ArgsTable,props)}),Object(ts_dedent_esm.a)(Props_templateObject||(Props_templateObject=function Props_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Props doc block has been renamed to ArgsTable.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewprops-renamed\n "]))));Props.defaultProps={of:CURRENT_SELECTION};var Wrapper_Wrapper=function Wrapper(_ref){var children=_ref.children;return react_default.a.createElement("div",{style:{fontFamily:"sans-serif"}},children)}},"./node_modules/@storybook/components/dist/esm/index-681e4b07.js":function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){__webpack_require__.d(__webpack_exports__,"a",(function(){return ActionBar})),__webpack_require__.d(__webpack_exports__,"b",(function(){return components})),__webpack_require__.d(__webpack_exports__,"c",(function(){return resetComponents})),__webpack_require__.d(__webpack_exports__,"d",(function(){return Form})),__webpack_require__.d(__webpack_exports__,"e",(function(){return Code})),__webpack_require__.d(__webpack_exports__,"f",(function(){return Icons})),__webpack_require__.d(__webpack_exports__,"g",(function(){return H2})),__webpack_require__.d(__webpack_exports__,"h",(function(){return H3})),__webpack_require__.d(__webpack_exports__,"i",(function(){return ScrollArea})),__webpack_require__.d(__webpack_exports__,"j",(function(){return TooltipNote})),__webpack_require__.d(__webpack_exports__,"k",(function(){return WithTooltip})),__webpack_require__.d(__webpack_exports__,"l",(function(){return _objectWithoutPropertiesLoose})),__webpack_require__.d(__webpack_exports__,"m",(function(){return _extends})),__webpack_require__.d(__webpack_exports__,"n",(function(){return PreviewSkeleton})),__webpack_require__.d(__webpack_exports__,"o",(function(){return ArgsTableError})),__webpack_require__.d(__webpack_exports__,"p",(function(){return ArgsTable})),__webpack_require__.d(__webpack_exports__,"q",(function(){return TabbedArgsTable})),__webpack_require__.d(__webpack_exports__,"r",(function(){return SourceError})),__webpack_require__.d(__webpack_exports__,"s",(function(){return Source})),__webpack_require__.d(__webpack_exports__,"t",(function(){return Story})),__webpack_require__.d(__webpack_exports__,"u",(function(){return StorySkeleton})),__webpack_require__.d(__webpack_exports__,"v",(function(){return Typeset})),__webpack_require__.d(__webpack_exports__,"w",(function(){return ColorItem})),__webpack_require__.d(__webpack_exports__,"x",(function(){return ColorPalette})),__webpack_require__.d(__webpack_exports__,"y",(function(){return IconItem})),__webpack_require__.d(__webpack_exports__,"z",(function(){return IconGallery})),__webpack_require__.d(__webpack_exports__,"A",(function(){return Description$1})),__webpack_require__.d(__webpack_exports__,"B",(function(){return Title})),__webpack_require__.d(__webpack_exports__,"C",(function(){return Subtitle})),__webpack_require__.d(__webpack_exports__,"D",(function(){return DocsContent})),__webpack_require__.d(__webpack_exports__,"E",(function(){return DocsWrapper})),__webpack_require__.d(__webpack_exports__,"F",(function(){return Preview})),__webpack_require__.d(__webpack_exports__,"G",(function(){return __awaiter})),__webpack_require__.d(__webpack_exports__,"H",(function(){return commonjsGlobal})),__webpack_require__.d(__webpack_exports__,"I",(function(){return __rest})),__webpack_require__.d(__webpack_exports__,"J",(function(){return dedent})),__webpack_require__.d(__webpack_exports__,"K",(function(){return basePlacements})),__webpack_require__.d(__webpack_exports__,"L",(function(){return getDefaultExportFromCjs})),__webpack_require__.d(__webpack_exports__,"M",(function(){return bottom})),__webpack_require__.d(__webpack_exports__,"N",(function(){return end})),__webpack_require__.d(__webpack_exports__,"O",(function(){return clippingParents})),__webpack_require__.d(__webpack_exports__,"P",(function(){return reference})),__webpack_require__.d(__webpack_exports__,"Q",(function(){return left})),__webpack_require__.d(__webpack_exports__,"R",(function(){return variationPlacements})),__webpack_require__.d(__webpack_exports__,"S",(function(){return placements})),__webpack_require__.d(__webpack_exports__,"T",(function(){return auto})),__webpack_require__.d(__webpack_exports__,"U",(function(){return popper})),__webpack_require__.d(__webpack_exports__,"V",(function(){return modifierPhases})),__webpack_require__.d(__webpack_exports__,"W",(function(){return right})),__webpack_require__.d(__webpack_exports__,"X",(function(){return start})),__webpack_require__.d(__webpack_exports__,"Y",(function(){return top})),__webpack_require__.d(__webpack_exports__,"Z",(function(){return _root})),__webpack_require__.d(__webpack_exports__,"ab",(function(){return viewport})),__webpack_require__.d(__webpack_exports__,"bb",(function(){return window_1})),__webpack_require__.d(__webpack_exports__,"cb",(function(){return isObject_1})),__webpack_require__.d(__webpack_exports__,"db",(function(){return isSymbol_1})),__webpack_require__.d(__webpack_exports__,"eb",(function(){return getControlId}));var core_js_modules_es_object_freeze_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),core_js_modules_es_object_freeze_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_object_freeze_js__WEBPACK_IMPORTED_MODULE_0__),regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/core-js/modules/es.promise.js"),core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/core-js/modules/es.map.js"),core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_18__),core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js"),core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(core_js_modules_es_number_to_fixed_js__WEBPACK_IMPORTED_MODULE_19__),core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_20__),core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("./node_modules/core-js/modules/es.string.bold.js"),core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_21___default=__webpack_require__.n(core_js_modules_es_string_bold_js__WEBPACK_IMPORTED_MODULE_21__),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_22___default=__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_22__),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_23__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__),core_js_modules_esnext_global_this_js__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__("./node_modules/core-js/modules/esnext.global-this.js"),core_js_modules_esnext_global_this_js__WEBPACK_IMPORTED_MODULE_25___default=__webpack_require__.n(core_js_modules_esnext_global_this_js__WEBPACK_IMPORTED_MODULE_25__),core_js_modules_es_string_small_js__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("./node_modules/core-js/modules/es.string.small.js"),core_js_modules_es_string_small_js__WEBPACK_IMPORTED_MODULE_26___default=__webpack_require__.n(core_js_modules_es_string_small_js__WEBPACK_IMPORTED_MODULE_26__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_27___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_27__),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_28___default=__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_28__),core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_29___default=__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_29__),core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_30___default=__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_30__),core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__("./node_modules/core-js/modules/es.string.ends-with.js"),core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_31___default=__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_31__),core_js_modules_es_string_trim_end_js__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__("./node_modules/core-js/modules/es.string.trim-end.js"),core_js_modules_es_string_trim_end_js__WEBPACK_IMPORTED_MODULE_32___default=__webpack_require__.n(core_js_modules_es_string_trim_end_js__WEBPACK_IMPORTED_MODULE_32__),core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__("./node_modules/core-js/modules/es.array.sort.js"),core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_33___default=__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_33__),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__("./node_modules/core-js/modules/es.array.splice.js"),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_34___default=__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_34__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_35___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_35__),core_js_modules_es_array_buffer_constructor_js__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("./node_modules/core-js/modules/es.array-buffer.constructor.js"),core_js_modules_es_array_buffer_constructor_js__WEBPACK_IMPORTED_MODULE_36___default=__webpack_require__.n(core_js_modules_es_array_buffer_constructor_js__WEBPACK_IMPORTED_MODULE_36__),core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_37___default=__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_37__),core_js_modules_es_number_is_nan_js__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__("./node_modules/core-js/modules/es.number.is-nan.js"),core_js_modules_es_number_is_nan_js__WEBPACK_IMPORTED_MODULE_38___default=__webpack_require__.n(core_js_modules_es_number_is_nan_js__WEBPACK_IMPORTED_MODULE_38__),core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_39__=__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_39___default=__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_39__),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_40__=__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_40___default=__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_40__),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_41__=__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_41___default=__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_41__),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_42__=__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_42___default=__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_42__),core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_43__=__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_43___default=__webpack_require__.n(core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_43__),core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_44__=__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_44___default=__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_44__),core_js_modules_es_string_repeat_js__WEBPACK_IMPORTED_MODULE_45__=__webpack_require__("./node_modules/core-js/modules/es.string.repeat.js"),core_js_modules_es_string_repeat_js__WEBPACK_IMPORTED_MODULE_45___default=__webpack_require__.n(core_js_modules_es_string_repeat_js__WEBPACK_IMPORTED_MODULE_45__),core_js_modules_es_object_get_own_property_names_js__WEBPACK_IMPORTED_MODULE_46__=__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-names.js"),core_js_modules_es_object_get_own_property_names_js__WEBPACK_IMPORTED_MODULE_46___default=__webpack_require__.n(core_js_modules_es_object_get_own_property_names_js__WEBPACK_IMPORTED_MODULE_46__),core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_47__=__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_47___default=__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_47__),core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_48__=__webpack_require__("./node_modules/core-js/modules/web.url.js"),core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_48___default=__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_48__),core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__("./node_modules/core-js/modules/web.url-search-params.js"),core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_49___default=__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_49__),core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_50__=__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_50___default=__webpack_require__.n(core_js_modules_es_object_values_js__WEBPACK_IMPORTED_MODULE_50__),react__WEBPACK_IMPORTED_MODULE_51__=__webpack_require__("./node_modules/react/index.js"),react__WEBPACK_IMPORTED_MODULE_51___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_51__),_storybook_theming__WEBPACK_IMPORTED_MODULE_52__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),memoizerific__WEBPACK_IMPORTED_MODULE_53__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_53___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_53__),_storybook_csf__WEBPACK_IMPORTED_MODULE_54__=__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),_storybook_csf__WEBPACK_IMPORTED_MODULE_54___default=__webpack_require__.n(_storybook_csf__WEBPACK_IMPORTED_MODULE_54__),qs__WEBPACK_IMPORTED_MODULE_55__=__webpack_require__("./node_modules/qs/lib/index.js"),qs__WEBPACK_IMPORTED_MODULE_55___default=__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_55__),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_56__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),_templateObject,_templateObject2,_templateObject3,_templateObject4;function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}function _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.")}function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new PolishedError(3);var normalizedColor=nameToHex(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha:alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness:lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness:lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"===_typeof(value)&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}function rgb(value,green,blue){if("number"==typeof value&&"number"==typeof green&&"number"==typeof blue)return reduceHexValue$1("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if("object"===_typeof(value)&&void 0===green&&void 0===blue)return reduceHexValue$1("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if("string"==typeof firstValue&&"number"==typeof secondValue){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}if("number"==typeof firstValue&&"number"==typeof secondValue&&"number"==typeof thirdValue&&"number"==typeof fourthValue)return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"===_typeof(firstValue)&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}var isRgb=function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)},isRgba=function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha},isHsl=function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)},isHsla=function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha};function toColorString(color){if("object"!==_typeof(color))throw new PolishedError(8);if(isRgba(color))return rgba(color);if(isRgb(color))return rgb(color);if(isHsla(color))return hsla(color);if(isHsl(color))return hsl(color);throw new PolishedError(8)}function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(_extends$1({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken=curry(darken),curriedDarken$1=curriedDarken;function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(_extends$1({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten=curry(lighten),curriedLighten$1=curriedLighten;function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color);return rgba(_extends$1({},parsedColor,{alpha:guard(0,1,(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)+100*parseFloat(amount))/100)}))}var curriedOpacify=curry(opacify),curriedOpacify$1=curriedOpacify;function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color);return rgba(_extends$1({},parsedColor,{alpha:guard(0,1,+(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)-100*parseFloat(amount)).toFixed(2)/100)}))}var curriedTransparentize=curry(transparentize),curriedTransparentize$1=curriedTransparentize,headerCommon=function headerCommon(_ref2){return{margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:_ref2.theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}},codeCommon=function codeCommon(_ref3){var theme=_ref3.theme;return{lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:theme.typography.size.s2-1,border:"light"===theme.base?"1px solid ".concat(theme.color.mediumlight):"1px solid ".concat(theme.color.darker),color:"light"===theme.base?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.3,theme.color.defaultText),backgroundColor:"light"===theme.base?theme.color.lighter:theme.color.border}},withReset=function withReset(_ref4){var theme=_ref4.theme;return{fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}},withMargin={margin:"16px 0"},Link$1=function Link$1(_a){var input=_a.href,children=_a.children,props=__rest(_a,["href","children"]),isStorybookPath=/^\//.test(input),isAnchorUrl=/^#.*/.test(input),href=isStorybookPath?"?path=".concat(input):input,target=isAnchorUrl?"_self":"_top";return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("a",Object.assign({href:href,target:target},props),children)},A$2=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Link$1)(withReset,(function(_ref5){return{fontSize:"inherit",lineHeight:"24px",color:_ref5.theme.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}}})),Blockquote=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.blockquote(withReset,withMargin,(function(_ref6){var theme=_ref6.theme;return{borderLeft:"4px solid ".concat(theme.color.medium),padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}})),Wrapper$8=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div(withReset,(function(_ref7){var theme=_ref7.theme;return{backgroundColor:"light"===theme.base?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:theme.appBorderRadius,border:"1px dashed ".concat(theme.appBorderColor),display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:curriedTransparentize$1(.3,theme.color.defaultText),fontSize:theme.typography.size.s2}})),EmptyBlock=function EmptyBlock(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Wrapper$8,Object.assign({},props,{className:"docblock-emptyblock"}))},LazySyntaxHighlighter=Object(react__WEBPACK_IMPORTED_MODULE_51__.lazy)((function(){return __webpack_require__.e(0).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/syntaxhighlighter-b07b042a.js"))})),LazySyntaxHighlighterWithFormatter=Object(react__WEBPACK_IMPORTED_MODULE_51__.lazy)((function(){return __awaiter(void 0,void 0,void 0,regeneratorRuntime.mark((function _callee(){var _yield$Promise$all,_yield$Promise$all2,SyntaxHighlighter,formatter;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,Promise.all([__webpack_require__.e(0).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/syntaxhighlighter-b07b042a.js")),__webpack_require__.e(7).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/formatter-0d5cb0eb.js"))]);case 2:return _yield$Promise$all=_context.sent,_yield$Promise$all2=_slicedToArray(_yield$Promise$all,2),SyntaxHighlighter=_yield$Promise$all2[0].SyntaxHighlighter,formatter=_yield$Promise$all2[1].formatter,_context.abrupt("return",{default:function _default(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SyntaxHighlighter,Object.assign({},props,{formatter:formatter}))}});case 7:case"end":return _context.stop()}}),_callee)})))})),SyntaxHighlighter=function SyntaxHighlighter(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",null)},!1!==props.format?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(LazySyntaxHighlighterWithFormatter,Object.assign({},props)):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(LazySyntaxHighlighter,Object.assign({},props)))},StyledSyntaxHighlighter=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(SyntaxHighlighter)((function(_ref8){var theme=_ref8.theme;return{fontSize:"".concat(theme.typography.size.s2-1,"px"),lineHeight:"19px",margin:"25px 0 40px",borderRadius:theme.appBorderRadius,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}}})),SourceError;!function(SourceError){SourceError.NO_STORY="There’s no story here.",SourceError.SOURCE_UNAVAILABLE="Oh no! The source is not available."}(SourceError||(SourceError={}));var SourceSkeletonWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref9){var theme=_ref9.theme;return{background:theme.background.content,borderRadius:theme.appBorderRadius,border:"1px solid ".concat(theme.appBorderColor),boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"}})),SourceSkeletonPlaceholder=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref10){var theme=_ref10.theme;return _defineProperty2({animation:"".concat(theme.animation.glow," 1.5s ease-in-out infinite"),background:theme.appBorderColor,height:17,marginTop:1,width:"60%"},"&:first-child",{margin:0})})),SourceSkeleton=function SourceSkeleton(){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SourceSkeletonWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SourceSkeletonPlaceholder,null),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SourceSkeletonPlaceholder,{style:{width:"80%"}}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SourceSkeletonPlaceholder,{style:{width:"30%"}}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SourceSkeletonPlaceholder,{style:{width:"80%"}}))},Source=function Source(props){var isLoading=props.isLoading,error=props.error;if(isLoading)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SourceSkeleton,null);if(error)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(EmptyBlock,null,error);var _a=props,language=_a.language,code=_a.code,dark=_a.dark,format=_a.format,rest=__rest(_a,["language","code","dark","format"]),syntaxHighlighter=react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StyledSyntaxHighlighter,Object.assign({bordered:!0,copyable:!0,format:format,language:language,className:"docblock-source"},rest),code);if(void 0===dark)return syntaxHighlighter;var overrideTheme=dark?_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.j.dark:_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.j.light;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.b,{theme:Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.c)(overrideTheme)},syntaxHighlighter)};Source.defaultProps={format:!1};var isReactChildString=function isReactChildString(child){return"string"==typeof child},isInlineCodeRegex=/[\n\r]/g,DefaultCodeBlock=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.code((function(_ref12){return{fontFamily:_ref12.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}}),codeCommon),Code=function Code(_a){var _b,className=_a.className,children=_a.children,props=__rest(_a,["className","children"]),language=(className||"").match(/lang-(\S+)/),childrenArray=react__WEBPACK_IMPORTED_MODULE_51__.Children.toArray(children);return!childrenArray.filter(isReactChildString).some((function(child){return child.match(isInlineCodeRegex)}))?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(DefaultCodeBlock,Object.assign({},props,{className:className}),childrenArray):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StyledSyntaxHighlighter,Object.assign({bordered:!0,copyable:!0,language:null!==(_b=null==language?void 0:language[1])&&void 0!==_b?_b:"plaintext",format:!1},props),children)},Div=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div(withReset),DL=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.dl(withReset,Object.assign(Object.assign({},withMargin),{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}})),H1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.h1(withReset,headerCommon,(function(_ref13){var theme=_ref13.theme;return{fontSize:"".concat(theme.typography.size.l1,"px"),fontWeight:theme.typography.weight.black}})),H2=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.h2(withReset,headerCommon,(function(_ref14){var theme=_ref14.theme;return{fontSize:"".concat(theme.typography.size.m2,"px"),paddingBottom:4,borderBottom:"1px solid ".concat(theme.appBorderColor)}})),H3=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.h3(withReset,headerCommon,(function(_ref15){var theme=_ref15.theme;return{fontSize:"".concat(theme.typography.size.m1,"px")}})),H4=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.h4(withReset,headerCommon,(function(_ref16){var theme=_ref16.theme;return{fontSize:"".concat(theme.typography.size.s3,"px")}})),H5=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.h5(withReset,headerCommon,(function(_ref17){var theme=_ref17.theme;return{fontSize:"".concat(theme.typography.size.s2,"px")}})),H6=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.h6(withReset,headerCommon,(function(_ref18){var theme=_ref18.theme;return{fontSize:"".concat(theme.typography.size.s2,"px"),color:theme.color.dark}})),HR=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.hr((function(_ref19){var theme=_ref19.theme;return{border:"0 none",borderTop:"1px solid ".concat(theme.appBorderColor),height:4,padding:0}})),Img=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.img({maxWidth:"100%"}),LI=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.li(withReset,(function(_ref20){var theme=_ref20.theme;return{fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":codeCommon({theme:theme})}})),listCommon$1={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},OL=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.ol(withReset,withMargin,Object.assign(Object.assign({},listCommon$1),{listStyle:"decimal"})),P$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.p(withReset,withMargin,(function(_ref21){var theme=_ref21.theme;return{fontSize:theme.typography.size.s2,lineHeight:"24px",color:theme.color.defaultText,"& code":codeCommon({theme:theme})}})),Pre=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.pre(withReset,withMargin,(function(_ref22){return{fontFamily:_ref22.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}}})),Span=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span(withReset,(function(_ref23){var theme=_ref23.theme;return{"&.frame":{display:"block",overflow:"hidden","& > span":{border:"1px solid ".concat(theme.color.medium),display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}}})),Table$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.table(withReset,withMargin,(function(_ref24){var theme=_ref24.theme;return{fontSize:theme.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:"1px solid ".concat(theme.appBorderColor),backgroundColor:theme.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:"dark"===theme.base?theme.color.darker:theme.color.lighter},"& tr th":{fontWeight:"bold",color:theme.color.defaultText,border:"1px solid ".concat(theme.appBorderColor),margin:0,padding:"6px 13px"},"& tr td":{border:"1px solid ".concat(theme.appBorderColor),color:theme.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}}})),TT=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.title(codeCommon),listCommon={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},UL=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.ul(withReset,withMargin,Object.assign(Object.assign({},listCommon),{listStyle:"disc"})),ResetWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div(withReset),components$1={h1:function h1(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(H1,Object.assign({},nameSpaceClassNames(props,"h1")))},h2:function h2(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(H2,Object.assign({},nameSpaceClassNames(props,"h2")))},h3:function h3(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(H3,Object.assign({},nameSpaceClassNames(props,"h3")))},h4:function h4(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(H4,Object.assign({},nameSpaceClassNames(props,"h4")))},h5:function h5(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(H5,Object.assign({},nameSpaceClassNames(props,"h5")))},h6:function h6(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(H6,Object.assign({},nameSpaceClassNames(props,"h6")))},pre:function pre(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Pre,Object.assign({},nameSpaceClassNames(props,"pre")))},a:function a(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(A$2,Object.assign({},nameSpaceClassNames(props,"a")))},hr:function hr(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(HR,Object.assign({},nameSpaceClassNames(props,"hr")))},dl:function dl(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(DL,Object.assign({},nameSpaceClassNames(props,"dl")))},blockquote:function blockquote(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Blockquote,Object.assign({},nameSpaceClassNames(props,"blockquote")))},table:function table(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Table$1,Object.assign({},nameSpaceClassNames(props,"table")))},img:function img(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Img,Object.assign({},nameSpaceClassNames(props,"img")))},div:function div(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Div,Object.assign({},nameSpaceClassNames(props,"div")))},span:function span(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Span,Object.assign({},nameSpaceClassNames(props,"span")))},li:function li(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(LI,Object.assign({},nameSpaceClassNames(props,"li")))},ul:function ul(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(UL,Object.assign({},nameSpaceClassNames(props,"ul")))},ol:function ol(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(OL,Object.assign({},nameSpaceClassNames(props,"ol")))},p:function p(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(P$1,Object.assign({},nameSpaceClassNames(props,"p")))},code:function code(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Code,Object.assign({},nameSpaceClassNames(props,"code")))},tt:function tt(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(TT,Object.assign({},nameSpaceClassNames(props,"tt")))},resetwrapper:function resetwrapper(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ResetWrapper,Object.assign({},nameSpaceClassNames(props,"resetwrapper")))}},BadgeWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref25){return{display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:_ref25.theme.typography.weight.bold}}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},(function(_ref26){var theme=_ref26.theme;switch(_ref26.status){case"critical":return{color:theme.color.critical,background:theme.background.critical};case"negative":return{color:theme.color.negative,background:theme.background.negative};case"warning":return{color:theme.color.warning,background:theme.background.warning};case"neutral":return{color:theme.color.dark,background:theme.color.mediumlight};case"positive":return{color:theme.color.positive,background:theme.background.positive};default:return{}}})),Badge=function Badge(_a){var props=__rest(_a,[]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(BadgeWrapper,Object.assign({},props))},icons={mobile:"M648 64h-272c-66.274 0-120 53.726-120 120v656c0 66.274 53.726 120 120 120h272c66.274 0 120-53.726 120-120v-656c0-66.274-53.726-120-120-120zM376 144h272c22.056 0 40 17.944 40 40v495.968h-352v-495.968c0-22.056 17.946-40 40-40zM648 880h-272c-22.054 0-40-17.944-40-40v-80.032h352v80.032c0 22.056-17.944 40-40 40zM544.034 819.962c0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.672 14.33-31.998 32-31.998 17.674-0 32.004 14.326 32.004 31.998z",watch:"M736.172 108.030c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20 0 11.046 8.956 20 20 20h408.282c11.044 0 20-8.954 20-20zM736.172 50.37c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20s8.956 20 20 20h408.282c11.044 0 20-8.956 20-20zM736.172 973.692c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20s8.956 20 20 20h408.282c11.044 0 20-8.956 20-20zM736.172 916.030c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20 0 11.046 8.956 20 20 20h408.282c11.044 0 20-8.954 20-20zM717.53 228c18.904 0 34.286 15.14 34.286 33.75v500.502c0 18.61-15.38 33.75-34.286 33.75h-411.43c-18.904 0-34.286-15.14-34.286-33.75v-500.502c0-18.61 15.38-33.75 34.286-33.75h411.43zM717.53 148h-411.43c-63.118 0-114.286 50.928-114.286 113.75v500.502c0 62.822 51.166 113.75 114.286 113.75h411.43c63.118 0 114.286-50.926 114.286-113.75v-500.502c-0.002-62.822-51.168-113.75-114.286-113.75v0zM680.036 511.53c0 22.090-17.91 40-40 40h-128.004c-5.384 0-10.508-1.078-15.196-3.006-0.124-0.048-0.254-0.086-0.376-0.132-0.61-0.262-1.188-0.57-1.782-0.86-0.572-0.276-1.16-0.528-1.718-0.828-0.204-0.112-0.39-0.246-0.594-0.364-0.918-0.514-1.832-1.050-2.704-1.64-0.086-0.058-0.164-0.128-0.254-0.188-10.492-7.21-17.382-19.284-17.382-32.98v-151.5c0-22.094 17.91-40 40.004-40 22.088 0 40 17.906 40 40v111.498h88c22.094-0.002 40.002 17.91 40.006 40z",tablet:"M200.022 927.988h624.018c1.38 0 2.746-0.072 4.090-0.208 20.168-2.050 35.91-19.080 35.91-39.792v-751.916c0-22.092-17.91-40-40-40h-624.018c-22.098 0-40 17.908-40 40v751.916c0 22.094 17.906 40 40 40zM512.002 878.206c-17.674 0-32.004-14.328-32.004-31.998 0-17.678 14.33-32.002 32.004-32.002 17.67 0 32 14.324 32 32.002 0 17.67-14.33 31.998-32 31.998zM240.022 176.078h544.018v591.902h-544.018v-591.902z",browser:"M920.004 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.048-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c-0-22.094-17.906-40-40-40zM368 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM272 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM176 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM880.004 815.996h-736.008v-527.988h736.008v527.988z",sidebar:"M920.032 127.858h-816c-22.092 0-40 17.908-40 40v688c0 22.092 17.908 40 40 40h316.578c1.13 0.096 2.266 0.172 3.422 0.172s2.292-0.078 3.424-0.172h492.576c22.092 0 40-17.908 40-40v-688c0-22.092-17.908-40-40-40zM144.032 207.858h240v608h-240v-608zM880.032 815.858h-416v-608h416v608zM198.734 288.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32zM198.734 416.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32zM198.734 544.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32z",sidebaralt:"M64 167.944v688c0 22.092 17.908 40 40 40h816c22.092 0 40-17.908 40-40v-688c0-22.092-17.908-40-40-40h-816c-22.092 0-40 17.908-40 40zM880 815.944h-240v-608h240v608zM144 207.944h416v608h-416v-608zM793.296 320.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32zM793.296 448.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32zM793.296 576.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32z",bottombar:"M85 121h854c24 0 42 18 42 41v700c0 23-18 41-42 41H608a44 44 0 0 1-7 0H85c-24 0-42-18-42-41V162c0-23 18-41 42-41zm41 535v165h772V656H126zm0-82h772V202H126v372zm185 197h-69c-19 0-34-14-34-32s15-33 34-33h69c19 0 34 15 34 33s-15 32-34 32zm236 0h-70c-18 0-33-14-33-32s15-33 33-33h70c18 0 33 15 33 33s-15 32-33 32zm235 0h-70c-18 0-33-14-33-32s15-33 33-33h70c18 0 33 15 33 33s-15 32-33 32z",useralt:"M533 960a850 850 0 0 0 386-92v-19c0-117-242-223-306-234-20-3-21-58-21-58s59-58 72-137c35 0 56-84 21-113 2-31 45-243-173-243S337 276 338 307c-34 29-13 113 22 113 13 79 72 137 72 137s-1 55-21 58c-64 11-301 115-306 231a855 855 0 0 0 428 114z",user:"M814 805a525 525 0 00-217-116c-17-3-17-50-17-50s50-49 61-116c29 0 48-71 18-96 1-26 38-206-147-206S364 401 365 427c-30 25-11 96 18 96 11 67 61 116 61 116s0 47-17 50c-39 6-154 53-217 116a418 418 0 015-590 418 418 0 01594 0 418 418 0 015 590M512 0a512 512 0 100 1024A512 512 0 00512 0",useradd:"M87 859c-30-12-59-27-87-43 5-105 221-200 279-210 19-3 19-53 19-53s-54-53-65-125c-32 0-51-76-20-103-1-28-40-221 158-221 199 0 160 193 158 221 32 27 12 103-19 103-12 72-66 125-66 125s1 50 19 53c59 10 279 107 279 213v18a781 781 0 0 1-655 22zm892-565h-91v-90a45 45 0 1 0-91 0v90h-91a45 45 0 1 0 0 91h91v91a45 45 0 1 0 91 0v-91h91a45 45 0 1 0 0-91z",users:"M360 128c193 0 155 182 154 208 31 25 12 97-19 97-11 67-64 118-64 118s1 47 19 50c57 9 271 100 271 200v16a771 771 0 0 1-637 21c-29-11-57-25-84-40 4-99 215-189 271-197 18-3 18-50 18-50s-52-51-63-118c-31 0-50-72-19-97-1-26-40-208 153-208zm416 66c133 0 107 125 106 144 21 17 8 66-13 66-8 47-44 81-44 81s0 33 12 34c40 6 187 69 187 138v46c-80 27-163 41-249 41l-9-1c-16-31-44-61-83-90a546 546 0 0 0-111-64c47-38 117-66 143-70 12-1 12-34 12-34s-36-34-43-81c-21 0-34-49-13-66-1-19-27-144 105-144z",profile:"M761 631c0-13-10-23-22-23H285c-12 0-22 10-22 23 0 12 10 23 22 23h454c12 0 22-11 22-23zm0 100c0-12-10-22-22-22H285c-12 0-22 10-22 22 0 13 10 23 22 23h454c12 0 22-10 22-23zm0 101c0-13-10-23-22-23H285c-12 0-22 10-22 23s10 23 22 23h454c12 0 22-10 22-23zM832 0c59 0 107 49 107 109v807c-1 60-49 108-107 108H130c-25 0-45-20-45-46V46a45 45 0 0 1 45-46h702zm0 91H174v842h658c10 0 18-9 18-18V110c0-10-8-19-18-19zM384 532l-39-20c2-49 100-93 126-97 8-1 8-25 8-25s-24-24-29-57c-14 0-23-35-9-48-1-13-18-102 71-102s72 89 71 102c14 13 5 48-9 48-5 33-29 57-29 57s0 24 8 25c27 4 126 49 126 98v8a346 346 0 0 1-295 11z",bookmark:"M772 1012L511 761l-260 251a49 49 0 0 1-52 10c-18-7-29-24-29-43V132c0-25 21-46 47-46h588c26 0 47 21 47 46v847c0 19-11 36-29 43a49 49 0 0 1-51-10z",bookmarkhollow:"M772 1012L511 761l-260 251a49 49 0 0 1-52 10c-18-7-29-24-29-43V132c0-25 21-46 47-46h588c26 0 47 21 47 46v847c0 19-11 36-29 43a49 49 0 0 1-51-10zM545 664l213 205V181H265v688l213-205c9-9 21-14 33-14s24 5 34 14z",book:"M896.054 159.774c-0.122-52.914-43.048-95.774-95.992-95.774h-632.004c-1.754 0-3.468 0.154-5.164 0.372-19.644 2.54-34.836 19.292-34.836 39.628v816c0 22.094 17.91 40 40 40h632.004c52.642 0 95.368-42.378 95.968-94.88h0.036v-705.332l-0.012-0.014zM368.062 144h80v271.922l-11.728-11.718c-15.62-15.606-40.924-15.606-56.542 0l-11.728 11.718v-271.922zM816.036 864.204c-0.1 8.712-7.268 15.796-15.972 15.796h-592.004v-736h80.004v368.426c0 16.176 9.742 30.758 24.684 36.954 14.944 6.192 32.146 2.778 43.586-8.656l51.728-51.68 51.728 51.68c7.652 7.644 17.876 11.708 28.28 11.708 5.156 0 10.356-1 15.306-3.050 14.944-6.196 24.684-20.778 24.684-36.954v-368.428h272c8.796 0 15.972 7.16 15.992 15.958l-0.016 704.246z",repository:"M856.020 159.804c-0.122-52.916-43.048-95.774-95.992-95.774h-591.968c-1.754 0-3.468 0.154-5.164 0.37-19.644 2.54-34.836 19.292-34.836 39.63v784.584c0 22.094 17.91 40 40 40h151.972v63.594c0 10.876 6.548 20.682 16.598 24.844 10.046 4.164 21.612 1.87 29.304-5.818l34.78-34.748 34.78 34.748c5.144 5.14 12.020 7.87 19.014 7.87 3.466 0 6.962-0.672 10.292-2.052 10.048-4.164 16.598-13.968 16.598-24.844v-63.594h278.63c52.642 0 95.368-42.38 95.968-94.882h0.036v-673.916l-0.012-0.012zM776.020 159.988l-0.014 504.628h-519.974v-520.584h503.996c8.796-0 15.972 7.158 15.992 15.956zM760.028 848.616h-278.63v-56h-161.366v56h-111.972v-104h567.944l-0.002 88.204c-0.102 8.71-7.27 15.796-15.974 15.796zM320.032 240.396c0-17.67 14.328-31.998 31.998-31.998s32.002 14.326 32.002 31.998c0 17.674-14.332 32-32.002 32-17.672-0.002-31.998-14.326-31.998-32zM320.032 349.79c0-17.67 14.328-31.998 31.998-31.998s32.002 14.328 32.002 31.998c0 17.676-14.332 32-32.002 32-17.672 0-31.998-14.324-31.998-32zM320.032 459.188c0-17.67 14.328-32 31.998-32s32.002 14.328 32.002 32c0 17.674-14.332 31.998-32.002 31.998-17.672 0-31.998-14.324-31.998-31.998zM384.032 568.582c0 17.674-14.332 31.998-32.002 31.998s-31.998-14.324-31.998-31.998c0-17.67 14.328-32 31.998-32 17.67 0.002 32.002 14.33 32.002 32z",star:"M763.972 919.5c-6.368 0-12.758-1.518-18.61-4.596l-233.358-122.688-233.37 122.688c-13.476 7.090-29.808 5.904-42.124-3.042-12.318-8.95-18.486-24.118-15.912-39.124l44.57-259.856-188.792-184.028c-10.904-10.626-14.828-26.524-10.124-41.004s17.222-25.034 32.292-27.222l260.906-37.912 116.686-236.42c6.738-13.652 20.644-22.296 35.87-22.296v0c15.226 0 29.13 8.644 35.87 22.298l116.674 236.418 260.906 37.912c15.068 2.19 27.586 12.742 32.292 27.222s0.782 30.376-10.124 41.004l-188.792 184.028 44.24 257.93c0.62 2.796 0.946 5.704 0.946 8.688 0 22.054-17.848 39.942-39.888 40-0.054 0-0.106 0-0.158 0z",starhollow:"M763.972 919.5c-6.368 0-12.758-1.518-18.61-4.596l-233.358-122.688-233.37 122.688c-13.476 7.090-29.808 5.904-42.124-3.042-12.318-8.95-18.486-24.118-15.912-39.124l44.57-259.856-188.792-184.028c-10.904-10.626-14.828-26.524-10.124-41.004s17.222-25.034 32.292-27.222l260.906-37.912 116.686-236.42c6.738-13.652 20.644-22.296 35.87-22.296v0c15.226 0 29.13 8.644 35.87 22.298l116.674 236.418 260.906 37.912c15.068 2.19 27.586 12.742 32.292 27.222s0.782 30.376-10.124 41.004l-188.792 184.028 44.24 257.93c0.62 2.796 0.946 5.704 0.946 8.688 0 22.054-17.848 39.942-39.888 40-0.054 0-0.106 0-0.158 0zM190.256 428.144l145.812 142.13c9.428 9.192 13.73 22.432 11.504 35.406l-34.424 200.7 180.244-94.758c11.654-6.13 25.576-6.126 37.226 0l180.232 94.756-34.422-200.698c-2.226-12.974 2.076-26.214 11.504-35.406l145.812-142.13-201.51-29.282c-13.030-1.892-24.292-10.076-30.118-21.882l-90.114-182.596-90.122 182.598c-5.826 11.804-17.090 19.988-30.118 21.88l-201.506 29.282z",circle:"M1024 512A512 512 0 110 512a512 512 0 011024 0z",circlehollow:"M1024 512A512 512 0 100 512a512 512 0 001024 0zM215 809a418 418 0 010-594 418 418 0 01594 0 418 418 0 010 594 418 418 0 01-594 0z",heart:"M895.032 194.328c-20.906-21.070-46.492-37.316-76.682-48.938-30.104-11.71-63.986-17.39-101.474-17.39-19.55 0-38.744 2.882-57.584 9.094-18.472 6.062-36.584 14.242-54.072 24.246-17.476 9.828-34.056 21.276-49.916 33.898-16.038 12.8-30.456 25.572-43.346 38.664-13.52-13.092-28.026-25.864-43.616-38.664-15.684-12.624-32.080-24.070-49.382-33.898-17.214-10.004-35.414-18.184-54.704-24.246-19.104-6.21-38.568-9.094-58.034-9.094-37.126 0-70.56 5.68-100.48 17.39-29.732 11.622-55.328 27.868-76.328 48.938-20.994 21.094-37.214 46.962-48.478 77.328-11.174 30.544-16.942 64.5-16.942 101.812 0 21.628 3.068 43.078 9.19 64.53 6.308 21.096 14.416 41.986 24.876 61.642 10.446 19.656 22.702 38.488 36.584 56.59 13.88 18.124 28.388 34.516 43.344 49.58l305.766 305.112c8.466 7.558 18.11 11.444 28.204 11.444 10.726 0 19.914-3.884 27.308-11.444l305.934-304.226c14.78-14.772 29.382-31.368 43.166-49.378 14.058-18.212 26.314-37.222 37.042-57.23 10.9-19.924 19.192-40.638 25.406-62 6.218-21.188 9.198-42.61 9.198-64.618 0-37.312-5.592-71.268-16.582-101.812-11.264-30.366-27.22-56.236-48.398-77.33z",hearthollow:"M716.876 208c27.708 0 52.092 4.020 72.47 11.948l0.132 0.052 0.13 0.050c19.866 7.644 35.774 17.664 48.632 30.624l0.166 0.168 0.17 0.168c12.586 12.536 22.304 28.27 29.706 48.094 7.782 21.786 11.726 46.798 11.726 74.364 0 14.658-1.95 28.426-5.958 42.086l-0.028 0.092-0.026 0.092c-4.866 16.72-11.006 31.752-18.776 45.952l-0.162 0.298-0.16 0.296c-8.81 16.434-18.58 31.532-29.864 46.148l-0.204 0.264c-11.316 14.786-23.48 28.708-36.154 41.378l-277.122 275.574-276.94-276.35c-13.32-13.43-25.248-27.074-36.488-41.75-11.386-14.848-21.284-30.136-29.444-45.49-7.206-13.54-13.494-29.17-18.7-46.472-4.030-14.264-5.988-28.044-5.988-42.116 0-27.36 4.042-52.314 12.016-74.176 7.214-19.378 17.344-35.708 30.066-48.492 12.998-13.042 28.958-23.148 48.826-30.914 20.436-8 43.764-11.886 71.32-11.886 11.536 0 22.738 1.742 33.298 5.174l0.374 0.122 0.376 0.12c13.116 4.122 26.066 9.874 38.494 17.094l0.34 0.2 0.344 0.196c12.736 7.234 25.308 15.876 38.43 26.412 14.486 11.906 27.060 23.048 38.428 34.056l56.994 55.192 55.662-56.532c10.324-10.484 22.18-21.040 36.242-32.264 13.382-10.646 26.216-19.38 39.228-26.698l0.256-0.144 0.254-0.144c13.008-7.442 26.228-13.386 39.294-17.676l0.050-0.016 0.050-0.018c10.354-3.414 20.998-5.076 32.54-5.076zM716.876 128c-19.55 0-38.744 2.882-57.584 9.094-18.472 6.062-36.584 14.242-54.072 24.246-17.476 9.828-34.056 21.276-49.916 33.898-16.038 12.8-30.456 25.572-43.346 38.664-13.52-13.092-28.026-25.864-43.616-38.664-15.684-12.624-32.080-24.070-49.382-33.898-17.214-10.004-35.414-18.184-54.704-24.246-19.104-6.21-38.568-9.094-58.034-9.094-37.126 0-70.56 5.68-100.48 17.39-29.732 11.622-55.328 27.868-76.328 48.938-20.994 21.094-37.214 46.962-48.478 77.328-11.174 30.544-16.942 64.5-16.942 101.812 0 21.628 3.068 43.078 9.19 64.53 6.308 21.096 14.416 41.986 24.876 61.642 10.446 19.656 22.702 38.488 36.584 56.59 13.88 18.124 28.388 34.516 43.344 49.58l305.766 305.112c8.466 7.558 18.11 11.444 28.204 11.444 10.726 0 19.914-3.884 27.308-11.444l305.934-304.226c14.78-14.772 29.382-31.368 43.166-49.378 14.058-18.212 26.314-37.222 37.042-57.23 10.9-19.924 19.192-40.638 25.406-62 6.218-21.188 9.198-42.61 9.198-64.618 0-37.312-5.592-71.268-16.582-101.812-11.262-30.366-27.216-56.234-48.396-77.328-20.906-21.070-46.492-37.316-76.682-48.938-30.106-11.712-63.988-17.392-101.476-17.392v0z",facehappy:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm248 493.7c15.2 0 28.7 7.5 37 19l2.6 3.9a46 46 0 015.8 18l.3 4.9c0 6.6-1.4 13-4 18.7l-2.1 4.1A329 329 0 01232 663l-5.5-9.3a46 46 0 01-2-41.2l2-4.2v-.2a45.6 45.6 0 0176.7-4l2.5 4a237.9 237.9 0 00410 7.7l4.5-7.7a46 46 0 0139.7-22.9zM329.7 292.6a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",facesad:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm1.1 449.2a329 329 0 01281.1 157.7l5.5 9.2a46 46 0 012 41.3l-2 4.1v.3a45.6 45.6 0 01-76.7 4l-2.6-4a238 238 0 00-410-7.7l-4.5 7.7a46 46 0 01-76.6 4l-2.6-4a46 46 0 01-5.9-18l-.2-5c0-6.6 1.4-12.9 4-18.6l2.1-4.2a329 329 0 01286.4-166.8zm-183.4-248a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",faceneutral:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm248 521.2a45.7 45.7 0 014.7 91.2l-4.7.2H266.3a45.7 45.7 0 01-4.7-91.2l4.7-.2H760zm-430.3-320a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",lock:"M896.032 915.53v-467.498c0-19.102-13.402-35.052-31.31-39.026-0.21-0.046-0.414-0.12-0.628-0.162-0.444-0.090-0.904-0.13-1.354-0.208-2.186-0.37-4.416-0.606-6.708-0.606h-55.902l0.002-55.85h0.020c0-159.14-129.010-288.15-288.15-288.15-159.128 0-288.13 128.992-288.15 288.118v55.884h-54.852c-20.71 0-37.746 15.742-39.792 35.91-0.136 1.344-0.208 2.708-0.208 4.090v463.332c-0.618 2.792-0.968 5.688-0.968 8.668 0 22.094 17.91 40 40 40h688.27c22.092 0 40-17.91 40-40-0.002-1.524-0.104-3.024-0.27-4.502zM209 488.032h607.032v392h-607.032v-392zM303.85 352.182c0-114.776 93.376-208.15 208.15-208.15 114.59 0 207.842 93.074 208.142 207.596 0 0.084-0.012 0.164-0.012 0.248v56.156h-416.284l0.004-55.85zM552.164 691.858l-0.002 58.188c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40v-57.974c-14.704-11.726-24.134-29.782-24.134-50.048 0-35.346 28.654-64 64-64s64 28.654 64 64c0 20.142-9.318 38.104-23.868 49.836z",unlock:"M896.032 915.53v-467.498c0-1.988-0.194-3.926-0.472-5.834-0.11-0.744-0.192-1.498-0.34-2.226-1.524-7.44-5.136-14.1-10.164-19.408-0.252-0.266-0.48-0.554-0.738-0.814-0.496-0.494-1.036-0.944-1.554-1.412-0.43-0.386-0.84-0.8-1.288-1.17-0.292-0.24-0.608-0.446-0.904-0.676-2.506-1.954-5.244-3.616-8.176-4.934-0.744-0.334-1.504-0.632-2.27-0.922-4.39-1.656-9.124-2.604-14.094-2.604h-552.184l0.002-55.85c0-114.776 93.376-208.15 208.15-208.15 86.038 0 160.034 52.474 191.7 127.096 0.012 0.028 0.030 0.044 0.042 0.072 5.978 14.566 20.284 24.832 37.006 24.832 22.090 0 40-17.906 40-40 0-4.71-0.86-9.21-2.354-13.41-0.182-0.694-0.42-1.438-0.782-2.292-43.666-103.582-146.14-176.296-265.612-176.296-159.128 0-288.13 128.994-288.15 288.12v55.882h-54.85c-20.71 0-37.746 15.742-39.792 35.91-0.136 1.344-0.208 2.708-0.208 4.090v463.332c-0.618 2.794-0.968 5.688-0.968 8.668 0 22.094 17.91 40 40 40h688.27c22.092 0 40-17.91 40-40-0.002-1.528-0.104-3.028-0.27-4.506zM209 488.032h607.032v392h-607.032v-392zM552.164 691.86l-0.002 58.186c0.004 22.088-17.906 39.996-39.996 40-22.094 0-40.004-17.908-40-40v-57.976c-14.702-11.726-24.134-29.782-24.134-50.048 0-35.346 28.654-64 64-64s64 28.654 64 64c0 20.142-9.318 38.102-23.868 49.838z",key:"M768.032 320.032c0 35.346-28.654 64-64 64s-64-28.654-64-64 28.654-64 64-64 64 28.654 64 64zM960.032 353.092c0 159.062-128.946 288.010-288.008 288.010-35.306 0-69.124-6.368-100.38-17.996l-27.736 27.738-0.002 54.464c0 0.016 0.002 0.028 0.002 0.040 0 11.046-4.478 21.046-11.716 28.29-6.334 6.332-14.784 10.55-24.196 11.508-1.346 0.136-2.708 0.208-4.090 0.208h-71.748l-0.002 71.96c0 0.012 0.002 0.040 0.002 0.040 0 11.046-4.478 21.046-11.716 28.286-6.334 6.336-14.784 10.554-24.196 11.508-1.346 0.136-2.708 0.208-4.090 0.208h-71.996l-0.002 62.684c0 22.094-17.908 40-40 40-0.022 0-0.042 0-0.062 0-0.022 0-0.042 0-0.064 0h-175.996c-13.76 0-25.888-6.95-33.086-17.524-4.362-6.406-6.916-14.14-6.916-22.476v-112c0-0.664 0.066-1.308 0.1-1.964 0.032-0.618 0.034-1.234 0.092-1.852 0.11-1.148 0.288-2.278 0.492-3.398 0.024-0.128 0.034-0.258 0.058-0.386 1.614-8.378 5.848-15.808 11.808-21.446l325.456-325.458c-11.642-31.274-18.020-65.11-18.020-100.44 0-159.060 128.946-288.006 288.006-288.006 159.060-0.004 288.006 128.942 288.006 288.002zM880.032 353.092c0-114.696-93.312-208.006-208.008-208.006s-208.006 93.31-208.006 208.006c0 43.208 13.246 83.376 35.884 116.668l-57.36 57.362c-0.136-0.184-0.27-0.368-0.408-0.546l-298.102 298.106-0.002 55.356h96.124v-62.684c0-0.708 0.070-1.394 0.106-2.094 0.036-0.664 0.036-1.336 0.102-1.992 0.132-1.316 0.334-2.61 0.592-3.882 0.006-0.028 0.008-0.058 0.014-0.090 0.258-1.262 0.58-2.5 0.956-3.714 0.012-0.040 0.018-0.078 0.030-0.118 4.676-15.032 17.976-26.262 34.114-27.902 1.344-0.136 2.708-0.208 4.090-0.208h71.998v-67.64c-0.156-1.434-0.248-2.882-0.248-4.36 0-22.094 17.908-40 40-40h71.998v-30.692c0-0.148 0.020-0.29 0.022-0.438 0.008-10.226 3.912-20.45 11.714-28.254l55.99-55.988c1.982-1.984 4.124-3.71 6.38-5.188l18.68-18.684c33.030 22.090 72.702 34.992 115.332 34.992 114.694-0 208.008-93.314 208.008-208.010z",arrowleftalt:"M107.854 539.924l282.834 283.272c15.594 15.65 40.92 15.692 56.568 0.1 15.648-15.594 15.694-40.92 0.1-56.568l-214.838-215.040h655.412c22.092 0 40-17.908 40-40s-17.908-40-40-40h-655l214.75-214.61c15.64-15.602 15.672-40.928 0.070-56.568-7.814-7.834-18.066-11.752-28.32-11.75-10.22 0-20.442 3.892-28.25 11.68l-283.242 282.93c-15.634 15.594-15.672 40.91-0.084 56.554z",arrowrightalt:"M916.266 483.792l-282.834-283.272c-15.594-15.65-40.92-15.692-56.568-0.1-15.648 15.594-15.694 40.92-0.1 56.568l214.838 215.040h-655.412c-22.092 0-40 17.908-40 40s17.908 40 40 40h655l-214.748 214.61c-15.64 15.602-15.672 40.928-0.070 56.568 7.814 7.834 18.066 11.752 28.32 11.75 10.22 0 20.442-3.892 28.25-11.68l283.242-282.93c15.632-15.596 15.67-40.91 0.082-56.554z",sync:"M135.6 442.5a41 41 0 0130 12l94.9 94.6c16 16 16 42 0 58s-42.1 16-58.2 0l-30.1-30a341.9 341.9 0 0095 178.6c65.3 65 152 101 244.3 101 92.3 0 179-36 244.3-101a345 345 0 0066.8-93.6 41.1 41.1 0 0174.3 35v.2l-.1.2-5.2 10.3a427.8 427.8 0 01-380 230.9A427.5 427.5 0 0190.1 585.8l-20 20c-16 16-42 16-58.2 0a41 41 0 010-58l93.6-93.3a41 41 0 0130-12zm376-357.2c208.9 0 382.8 149.5 420.1 347.1l22-22c16.1-16 42.2-16 58.2 0s16 42 0 58l-93.5 93.4a41 41 0 01-30 12 41 41 0 01-30-12L763.5 467a41 41 0 010-58c16-16 42.1-16 58.2 0l26.8 26.8a342 342 0 00-92.7-167.6c-65.3-65-152-101-244.3-101-92.3 0-179 36-244.2 101a345.2 345.2 0 00-66.9 93.6 41.1 41.1 0 01-74.3-35v-.2l.2-.2c.7-1.7.2-.8 5.1-10.3A427.8 427.8 0 01511.5 85.3z",reply:"M679.496 431.738c-0.414-0.062-0.834-0.102-1.266-0.102h-477.482l171.506-171.504c15.622-15.622 15.622-40.95-0.002-56.57-15.62-15.624-40.948-15.624-56.568 0l-239.734 239.732c-0.958 0.956-1.868 1.958-2.724 3.006-0.328 0.402-1.884 2.482-2.324 3.138-0.36 0.54-1.696 2.77-2.008 3.352-0.308 0.58-1.424 2.936-1.676 3.544-0.036 0.086-0.468 1.268-0.648 1.774-0.23 0.636-0.474 1.266-0.672 1.918-0.186 0.612-0.818 3.13-0.95 3.788-0.148 0.748-0.522 3.318-0.574 3.862-0.262 2.642-0.262 5.3 0 7.942 0.044 0.448 0.412 3.032 0.58 3.874 0.112 0.556 0.74 3.088 0.958 3.808 0.158 0.524 1.036 2.992 1.328 3.7 0.192 0.458 1.298 2.828 1.688 3.552 0.208 0.386 0.446 0.75 0.666 1.126 0.436 0.752 1.844 2.888 2.084 3.224 0.52 0.724 4.262 5.074 4.29 5.098l239.718 239.72c15.62 15.618 40.948 15.618 56.57 0 15.62-15.624 15.622-40.948 0-56.57l-171.516-171.514h471.296c114.52 0.084 207.688 93.124 207.988 207.594 0 0.084-0.012 0.164-0.012 0.248v95.876c-0.004 22.094 17.906 40.002 40 40 22.090-0.002 40-17.91 39.996-39.998l0.004-95.57h0.020c0-156.594-124.914-284.012-280.536-288.048z",undo:"M230 301h480a240 240 0 1 1 0 481H235c-23 0-42-20-42-43 0-24 19-43 42-43h475a155 155 0 0 0 0-310H228l3 3 65 65a45 45 0 0 1-65 64L90 376a45 45 0 0 1 0-64l142-142a45 45 0 1 1 64 65l-63 62-3 4z",transfer:"M916.25 348.726l-125 124.688c-7.808 7.79-18.032 11.68-28.25 11.68-10.254 0.002-20.506-3.918-28.32-11.75-15.602-15.64-15.57-40.966 0.070-56.568l56.508-56.368h-655.258c-22.092 0-40-17.908-40-40s17.908-40 40-40h655.672l-57.006-57.206c-15.594-15.646-15.548-40.972 0.1-56.566s40.972-15.55 56.568 0.098l125 125.438c15.588 15.644 15.548 40.958-0.084 56.554zM107.666 731.892l125 125.438c15.596 15.648 40.92 15.692 56.568 0.098s15.694-40.92 0.1-56.566l-57.006-57.206h655.672c22.092 0 40-17.908 40-40s-17.908-40-40-40h-655.258l56.508-56.368c15.64-15.602 15.672-40.928 0.070-56.568-7.814-7.832-18.066-11.752-28.32-11.75-10.218 0-20.442 3.89-28.25 11.68l-125 124.688c-15.632 15.596-15.672 40.91-0.084 56.554z",redirect:"M913.852 702.796c-15.594-15.648-40.922-15.694-56.57-0.1l-57.204 57.006v-451.424c0-0.372-0.028-0.736-0.074-1.098-0.458-99.016-80.86-179.15-179.988-179.15-99.412 0-180 80.592-180 180 0 0.084 0.004 0.166 0.004 0.248h-0.004v343.504h-0.006c0 0.082 0.006 0.164 0.006 0.248 0 55.14-44.86 100-100 100s-100-44.86-100-100c0-0.084 0.006-0.166 0.006-0.248h-0.002v-483.752c0-22.092-17.91-40-40-40s-40.004 17.908-40.004 40v483.752c0 0.018 0.002 0.036 0.002 0.054 0 0.064-0.002 0.128-0.002 0.194 0 99.408 80.59 180 180 180 99.412 0 180-80.592 180-180 0-0.084-0.004-0.166-0.004-0.248h0.004v-343.504h0.008c0-0.082-0.008-0.164-0.008-0.248 0-55.138 44.86-100 100-100s100 44.862 100 100c0 0.084-0.008 0.166-0.008 0.248h0.070v451.008l-56.368-56.506c-15.602-15.642-40.93-15.67-56.566-0.070-7.836 7.814-11.754 18.066-11.754 28.32 0 10.218 3.894 20.442 11.68 28.252l124.692 125c15.594 15.632 40.91 15.67 56.554 0.084l125.434-125c15.652-15.598 15.692-40.92 0.102-56.57z",expand:"M433.4 578.8l6.2 5.2a44.8 44.8 0 010 63.3L238.4 849.1h100.3a44.8 44.8 0 018 88.8l-8 .8H130l-6.2-.5 2.7.3h-.3a44.7 44.7 0 01-24.8-10.2l-.3-.3-.3-.2-.3-.4-.3-.2-.3-.2v-.2h-.1l-.2-.1a45.7 45.7 0 01-13.5-24.8l-.3-1.7a45 45 0 01-.5-5.3V685.7a44.8 44.8 0 0189-8.1l.6 8 .1 100L376.3 584a44.8 44.8 0 0157.1-5.2zm157.2 0a44.8 44.8 0 0157.1 5.2L849 785.7v-100l.8-8.1a44.8 44.8 0 0188.9 8V895a45 45 0 01-.5 5.3l-.3 1.7a38.6 38.6 0 01-2.8 9.4 43.4 43.4 0 01-9.6 14.2l-4.7 4.2 2-1.7.7-.6-.3.4a44.1 44.1 0 01-4.4 3.3l-.6.4a45.8 45.8 0 01-20.4 7h-.3.9l1.8-.3-6.2.5H685.3l-8-.8a44.8 44.8 0 018-88.8h100.3L584.4 647.3a44.8 44.8 0 010-63.3zM98.5 925.5l1.3 1.3.1.2.6.4a45 45 0 002 1.7l.7.6-4.7-4.2zM893.9 85.3h.9-.8l6.2.5a45 45 0 00-1.8-.2l-.9-.1h-1l-.5-.1h-1.2 2.7l.3.1a44.7 44.7 0 0125.4 10.7l.3.3v.1l.3.2.3.2v.2h.1l.2.1.6.6.5.6A45.6 45.6 0 01938 122l.3 1.7c.3 1.8.4 3.6.5 5.3v209.2a44.8 44.8 0 01-89 8.1l-.6-8-.1-100L647.7 440a44.8 44.8 0 01-57.1 5.2l-6.2-5.2a44.8 44.8 0 010-63.3l201.2-201.8H685.3a44.8 44.8 0 01-8-88.8l8-.8H894h-.1zm-555.2 0l8 .8a44.8 44.8 0 01-8 88.8H238.4l201.2 201.8a44.8 44.8 0 010 63.3l-6.2 5.2a44.8 44.8 0 01-57.1-5.2L175 238.3v100l-.8 8.1a44.8 44.8 0 01-88.9-8V129c0-1.7.2-3.5.5-5.3l.3-1.7a38.6 38.6 0 012.8-9.4 43.4 43.4 0 019.6-14.2l4.7-4.2-2 1.7.2-.3a43.7 43.7 0 0124.8-10.2h1.3l.3-.1h2.3-.1 208.7zm582 9l4.8 4.2-1.3-1.3-.1-.2-.5-.4h-.1l-.6-.6-1.4-1.1-.7-.6zm-790.7-9h-2l-.5.1h-1l-.9.2c-.6 0-1.2 0-1.8.2l6.2-.5z",expandalt:"M479.7 13.4L205.4 287.6a45.7 45.7 0 1064.7 64.7l242-242 241.8 241.9a45.7 45.7 0 1064.7-64.7L544.4 13.4a45.6 45.6 0 00-64.7 0M512 1024a45.6 45.6 0 01-32.3-13.4L205.4 736.5a45.7 45.7 0 1164.7-64.7l241.8 241.8 242-241.9a45.7 45.7 0 1164.7 64.7l-274.3 274.2c-9 9-20.7 13.4-32.4 13.4",collapse:"M479.7 411L205.4 136.6a45.7 45.7 0 1164.7-64.6L512 314 753.9 72.2a45.7 45.7 0 1164.7 64.6L544.4 411a45.6 45.6 0 01-64.7 0M512 598.3a45.6 45.6 0 00-32.3 13.4L205.4 885.8a45.7 45.7 0 1064.7 64.7l241.8-241.8 242 242a45.7 45.7 0 1064.7-64.7L544.3 611.7c-9-8.9-20.7-13.4-32.4-13.4",grow:"M541.146 448.384c-1.694-0.216-3.408-0.37-5.162-0.37h-367.968c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v368.032c0 22.094 17.91 40 40 40h367.968c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-368.036c0-20.34-15.192-37.094-34.838-39.632zM208.016 816.046v-288.032h287.968v288.032h-287.968zM736.032 856.046c0 22.090-17.908 40-40 40-22.090 0-40-17.908-40-40v-487.902l-488.016 0.002c-22.090 0-40-17.91-40-40s17.908-40.002 40-40.002h528.016c1.754 0 3.468 0.152 5.162 0.37 19.646 2.538 34.838 19.292 34.838 39.63v527.902zM896.032 168.030v688.004c-0.002 22.088-17.91 39.996-40 39.996s-40.002-17.908-40.002-40c0 0 0.002-304.026 0.002-304.040v-343.96h-343.96c-0.014 0-304.040 0.002-304.040 0.002-22.090 0-40-17.91-40-40s17.908-40.002 40-40.002h688c1.754 0 3.468 0.152 5.162 0.37 19.646 2.536 34.838 19.29 34.838 39.63z",arrowleft:"M257.93 511.976c0-10.236 3.902-20.47 11.71-28.282l344.098-344.158c15.622-15.624 40.946-15.624 56.57-0.006 15.622 15.622 15.624 40.948 0.004 56.568l-315.82 315.876 315.868 315.922c15.618 15.624 15.618 40.952-0.004 56.568-15.622 15.62-40.95 15.618-56.57-0.006l-344.146-344.202c-7.808-7.81-11.71-18.044-11.71-28.28z",arrowup:"M512.024 256c10.236 0 20.47 3.904 28.282 11.712l344.154 344.098c15.624 15.62 15.624 40.946 0.006 56.57-15.622 15.622-40.948 15.624-56.568 0.004l-315.876-315.82-315.922 315.868c-15.624 15.618-40.952 15.618-56.568-0.004-15.62-15.624-15.618-40.95 0.006-56.57l344.204-344.144c7.81-7.81 18.046-11.714 28.282-11.714z",arrowdown:"M511.976 768.002c-10.236 0-20.47-3.904-28.282-11.712l-344.154-344.098c-15.624-15.62-15.624-40.946-0.006-56.57 15.622-15.622 40.948-15.624 56.568-0.004l315.876 315.82 315.922-315.868c15.624-15.618 40.952-15.616 56.568 0.004 15.62 15.624 15.618 40.95-0.006 56.57l-344.204 344.144c-7.81 7.81-18.046 11.714-28.282 11.714z",arrowright:"M768.072 514.022c0 10.236-3.904 20.47-11.712 28.282l-344.098 344.156c-15.62 15.624-40.946 15.624-56.568 0.006-15.622-15.622-15.624-40.948-0.006-56.568l315.82-315.876-315.868-315.922c-15.618-15.624-15.618-40.952 0.004-56.568 15.624-15.62 40.95-15.618 56.57 0.006l344.144 344.204c7.81 7.81 11.714 18.044 11.714 28.28z",chevrondown:"M511.976 833c-10.236 0-20.47-3.904-28.282-11.712l-471.934-471.874c-15.624-15.62-15.624-40.946-0.006-56.57 15.622-15.622 40.948-15.624 56.568-0.004l443.652 443.598 443.61-443.556c15.624-15.618 40.952-15.616 56.568 0.004 15.62 15.624 15.618 40.95-0.006 56.57l-471.89 471.832c-7.808 7.808-18.044 11.712-28.28 11.712z",back:"M512 932.6c-112.3 0-218-43.8-297.4-123.2A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4A417.8 417.8 0 01512 932.6zm0 91.4A512 512 0 10512 0a512 512 0 000 1024zM232.7 542.5l142.8 143.3a45.7 45.7 0 0064.8-64.5L375 555.9h383.7a45.7 45.7 0 000-91.4H375.6l64.6-64.4a45.7 45.7 0 10-64.6-64.8L232.8 477.8a45.7 45.7 0 00-.1 64.6z",download:"M543.8 791.3a45.7 45.7 0 01-64.6 0l-142.5-143a45.6 45.6 0 010-64.6 45.7 45.7 0 0164.7 0l64.5 64.7V265.2a45.7 45.7 0 1191.4 0v383.6l65.4-65.1a45.7 45.7 0 1164.5 64.8L543.8 791.3zM1024 512A512 512 0 110 512a512 512 0 011024 0zm-91.4 0c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512z",upload:"M480.2 232.7a45.7 45.7 0 0164.6 0l142.5 143a45.6 45.6 0 010 64.6 45.7 45.7 0 01-64.7 0L558 375.5v383.2a45.7 45.7 0 11-91.4 0V375.2l-65.4 65.1a45.7 45.7 0 11-64.5-64.8l143.4-142.8zM0 512a512 512 0 111024 0A512 512 0 010 512zm91.4 0c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512z",proceed:"M791.3 480.2L648.5 336.8a45.7 45.7 0 10-64.8 64.5l65.1 65.4H265.2a45.7 45.7 0 100 91.4h383.2l-64.6 64.5a45.7 45.7 0 0064.6 64.7l142.8-142.5a45.7 45.7 0 00.1-64.6M512 0a512 512 0 100 1024A512 512 0 00512 0m0 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4A417.8 417.8 0 01512 932.6c-112.3 0-218-43.8-297.4-123.2A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4",info:"M874.04 149.96c199.95 199.95 199.95 524.14 0 724.08-199.95 199.95-524.13 199.95-724.08 0-199.95-199.95-199.95-524.13 0-724.08 199.95-199.95 524.13-199.95 724.08 0zM512 91.43c-112.34 0-217.95 43.75-297.39 123.18-79.43 79.44-123.18 185.05-123.18 297.4 0 112.33 43.75 217.94 123.18 297.38 79.44 79.43 185.05 123.18 297.4 123.18 112.33 0 217.94-43.75 297.38-123.18C888.82 729.95 932.57 624.34 932.57 512c0-112.34-43.75-217.95-123.18-297.39C729.95 135.18 624.34 91.43 512 91.43zm1.14 318.96a45.73 45.73 0 00-45.11 38.3l-.6 7.42v274.28a45.71 45.71 0 0090.83 7.42l.6-7.42V456.11a45.72 45.72 0 00-45.72-45.72zm0-162.25a45.72 45.72 0 100 91.44 45.72 45.72 0 000-91.44z",question:"M874.04 149.96c199.95 199.95 199.95 524.13 0 724.08-199.95 199.95-524.13 199.95-724.08 0-199.95-199.95-199.95-524.13 0-724.08 199.95-199.95 524.13-199.95 724.08 0zM512 91.43c-112.34 0-217.95 43.75-297.39 123.18-79.43 79.44-123.18 185.05-123.18 297.4 0 112.33 43.75 217.95 123.18 297.38 79.44 79.43 185.05 123.18 297.4 123.18 112.33 0 217.94-43.75 297.38-123.18C888.82 729.96 932.57 624.34 932.57 512c0-112.34-43.75-217.95-123.18-297.39C729.95 135.18 624.34 91.43 512 91.43zm1.14 640.9a45.72 45.72 0 100 91.43 45.72 45.72 0 000-91.44zm-1.14-549c-111.3 0-201.52 90.22-201.52 201.52a45.71 45.71 0 0090.84 7.41l.6-7.47c.03-60.68 49.4-110.03 110.08-110.03 60.7 0 110.1 49.38 110.1 110.09 0 60.7-49.4 110.09-110.1 110.09v.17a45.68 45.68 0 00-44.57 45.65v100.58a45.7 45.7 0 1091.42 0v-60.46c88.7-21.12 154.67-100.87 154.67-196.03 0-111.3-90.22-201.52-201.52-201.52z",support:"M512 932.57c-87.57 0-171.05-26.59-241.23-75.93l106-106a273.98 273.98 0 00135.26 35.62c46.7 0 93.41-11.88 135.22-35.6l105.98 105.98c-70.19 49.34-153.66 75.93-241.23 75.93m-344.64-661.8l105.97 105.98c-47.44 83.63-47.43 186.86.02 270.49L167.36 753.22C118.02 683.04 91.43 599.56 91.43 512c0-87.57 26.59-171.05 75.93-241.23m585.87-103.41L647.29 273.3a273.95 273.95 0 00-135.26-35.61c-46.74 0-93.47 11.9-135.3 35.63L270.77 167.36C340.96 118.02 424.43 91.43 512 91.43s171.05 26.59 241.23 75.93m-370.5 473.91c-71.3-71.3-71.3-187.3 0-258.6a181.7 181.7 0 01129.3-53.55h.02c48.83 0 94.74 19.02 129.28 53.56 71.29 71.29 71.29 187.3 0 258.6a181.66 181.66 0 01-129.3 53.55 181.67 181.67 0 01-129.3-53.56m473.91 111.95L750.68 647.27c47.48-83.65 47.48-186.91.02-270.56l105.94-105.94c49.34 70.18 75.93 153.66 75.93 241.23s-26.59 171.04-75.93 241.22m17.4-603.26c-199.95-199.95-524.13-199.95-724.08 0-199.95 199.95-199.95 524.13 0 724.08 199.95 199.95 524.13 199.95 724.08 0 199.95-199.95 199.95-524.13 0-724.08",alert:"M511.998 623.846c-22.090 0-40-17.906-40-40v-208c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v208c0 22.094-17.914 40-40.004 40v0zM511.998 743.846c22.090 0 40.004-17.906 40.004-40v0c0-22.090-17.914-40-40.004-40v0c-22.090 0-40 17.91-40 40v0c0 22.094 17.91 40 40 40v0zM512.142 211.808l-340.074 589.028h680.148l-340.074-589.028zM512.142 92.51c14.5 0 29 9.526 40 28.58l398.638 690.462c22 38.106 4 69.282-40 69.282h-797.278c-44 0-62-31.176-40-69.282l398.638-690.462c11.002-19.052 25.502-28.58 40.002-28.58v0z",bell:"M901.344 760.018l-57.644-77.648c-7.906-7.906-11.77-38.284-11.71-48.646h0.042v-200.588h-0.364c-6.878-148.106-114.428-269.902-255.792-298.528 0.208-2.1 0.318-4.228 0.318-6.384 0-35.452-28.738-64.194-64.194-64.194-35.458 0-64.194 28.742-64.194 64.194 0 2.19 0.112 4.352 0.326 6.486-141.128 28.802-248.446 150.488-255.316 298.426h-0.364v200.588h0.042c0.058 10.362-3.804 40.74-11.71 48.646l-57.644 77.648c-8.802 8.802-16.35 18.978-16.35 32.208 0 22.092 17.908 40 40 40h255.876c-0.814 5.412-1.28 10.936-1.28 16.576 0 61.43 49.794 111.23 111.23 111.23 61.432 0 111.228-49.8 111.228-111.23 0-5.638-0.464-11.164-1.282-16.576h255.128c22.092 0 40-17.908 40-40 0.004-13.23-7.542-23.404-16.346-32.208zM272.732 436.848c2.862-61.602 29.032-119.104 73.69-161.91 44.786-42.93 103.628-66.62 165.692-66.706h0.26c62.062 0.086 120.906 23.776 165.692 66.706 44.658 42.806 70.828 100.308 73.69 161.91l0.278 5.962v149.384h-479.58v-149.384l0.278-5.962zM543.846 848.8c0 17.22-14.010 31.23-31.228 31.23-17.22 0-31.23-14.010-31.23-31.23 0-6.096 1.784-11.768 4.82-16.576h52.818c3.038 4.81 4.82 10.482 4.82 16.576zM512.484 752.226h-283.922l14.572-19.63c12.064-14.542 20.078-33.27 24.982-58.158 0.146-0.742 0.276-1.496 0.416-2.244h487.42c0.138 0.748 0.268 1.5 0.414 2.244 4.904 24.888 12.918 43.616 24.982 58.158l14.572 19.63h-283.436z",rss:"M256.094 865.048c0 53.020-42.972 96-96 96-53.020 0-96-42.98-96-96 0-53.016 42.98-96 96-96s96 42.984 96 96zM510.020 918.352c-0.018-0.172-0.042-0.344-0.050-0.52-0.054-0.676-0.124-1.34-0.214-2.004-10.582-105.644-57.866-200.46-128.894-271.536v0c-71.074-71.054-165.906-118.352-271.564-128.934-0.664-0.090-1.33-0.16-2.006-0.214-0.174-0.016-0.348-0.040-0.52-0.054-0.254-0.024-0.5-0.024-0.742-0.008-0.64-0.032-1.278-0.098-1.922-0.098-22.098 0-40 17.908-40 40 0 20.582 15.542 37.516 35.536 39.738 0.042 0.004 0.066 0.036 0.106 0.040 84.82 8.098 163.514 45.024 224.542 106.042v0c61.036 61.036 97.964 139.738 106.070 224.574 0.004 0.040 0.036 0.070 0.042 0.106 2.222 19.988 19.156 35.536 39.736 35.536 22.092 0 40-17.902 40-40 0-0.644-0.066-1.282-0.098-1.922 0-0.246 0-0.492-0.022-0.746zM734.688 918.45c-0.004-0.090-0.018-0.186-0.024-0.276-0.040-0.544-0.058-1.102-0.124-1.638-10.972-167.816-83.558-318.804-195.33-430.616h0.002c-111.812-111.788-262.81-184.384-430.644-195.36-0.542-0.060-1.094-0.084-1.642-0.122-0.092-0.008-0.182-0.016-0.272-0.022-0.020-0.002-0.042 0.004-0.054 0.004-0.836-0.052-1.664-0.124-2.512-0.124-22.092 0-40 17.908-40 40 0 21.036 16.246 38.24 36.874 39.842 0.046 0.008 0.078 0.038 0.128 0.042 66.876 4.086 131.786 19.292 193.406 45.358 70.472 29.81 133.78 72.494 188.166 126.874v0c54.394 54.396 97.090 117.71 126.902 188.204 26.064 61.624 41.274 126.532 45.362 193.408 0.004 0.052 0.036 0.080 0.042 0.13 1.604 20.624 18.802 36.87 39.844 36.87 22.090 0 40-17.904 40-40 0-0.85-0.074-1.678-0.126-2.514-0.002-0.024 0.006-0.040 0.002-0.060zM959.126 920.556c-0.002-0.094 0.008-0.164 0.004-0.262-10.342-231.204-108.314-439.604-261.486-592.796v-0.002c-153.2-153.19-361.61-251.174-592.828-261.518-0.096-0.004-0.168 0.006-0.262 0.004-0.176-0.004-0.348-0.030-0.524-0.030-22.098 0-40 17.91-40 40 0 20.988 16.168 38.164 36.716 39.834 0.184 0.042 0.356 0.086 0.566 0.098 97.040 4.314 191.186 25.538 280.376 63.258 97.14 41.090 184.406 99.928 259.368 174.876v0c74.96 74.964 133.81 162.24 174.908 259.398 37.718 89.19 58.946 183.336 63.26 280.376 0.010 0.208 0.052 0.38 0.096 0.562 1.67 20.552 18.848 36.72 39.834 36.72 22.092 0 40-17.906 40-40-0-0.17-0.024-0.342-0.028-0.518z",edit:"M948.56 263.376c12.704-12.708 15.072-31.836 7.11-46.936-1.84-3.524-4.232-6.832-7.192-9.792-0.286-0.286-0.594-0.528-0.886-0.8l-129.318-128.634c-0.048-0.048-0.088-0.106-0.138-0.154-7.812-7.812-18.050-11.716-28.292-11.714-10.242-0.004-20.484 3.902-28.296 11.714-0.064 0.066-0.12 0.136-0.184 0.204l-636.168 636.168c-5.868 5.134-10.21 11.958-12.298 19.748l-47.606 177.664c-3.7 13.804 0.248 28.534 10.352 38.638 7.602 7.6 17.816 11.714 28.288 11.714 3.452 0 6.93-0.446 10.352-1.364l177.664-47.606c7.296-1.956 13.732-5.904 18.74-11.216l521.486-521.484c1.126-0.904 2.222-1.87 3.268-2.914 1.042-1.044 2.006-2.138 2.91-3.264l107.75-107.748c0.836-0.71 1.668-1.432 2.458-2.224zM806.9 291.66l-73.592-73.202 56.61-56.61 73.594 73.2-56.612 56.612zM281.566 816.996l-73.4-73.4 468.572-468.568 73.594 73.202-468.766 468.766zM160.496 864.628l11.742-43.822 32.080 32.080-43.822 11.742z",paintbrush:"M946.58 293.66c12.704-12.708 15.072-31.836 7.108-46.938-1.838-3.524-4.23-6.83-7.19-9.79-0.282-0.282-0.588-0.52-0.876-0.792l-129.338-128.654c-0.046-0.046-0.084-0.098-0.13-0.144-7.814-7.812-18.056-11.718-28.296-11.714-10.24 0-20.48 3.906-28.292 11.714-0.064 0.066-0.12 0.138-0.184 0.206l-557.048 557.048c-2.194 2.192-4.042 4.59-5.622 7.11-70.624 87.486-17.922 195.43-174.738 239.554 0 0 64.758 18.11 144.33 18.11 74.374 0 161.678-15.824 221.23-77.020 0.394-0.364 0.808-0.696 1.192-1.078l1.734-1.734c0.852-0.798 1.678-1.578 2.504-2.426 0.348-0.356 0.668-0.728 1.010-1.086l168.756-168.756c1.126-0.906 2.224-1.872 3.272-2.918 1.044-1.044 2.008-2.14 2.914-3.266l375.212-375.212c0.834-0.706 1.664-1.424 2.452-2.214zM537.462 589.402l-73.594-73.206 324.068-324.064 73.594 73.2-324.068 324.070zM388.178 667.684c-13.288-13.632-28.584-23.974-44.78-31.016l63.902-63.902 73.596 73.204-64.246 64.248c-6.498-15.23-15.964-29.698-28.472-42.534zM229.848 791.928c8.294-30.346 14.852-54.332 32.416-73.862 0.83-0.864 2.664-2.702 4.26-4.286 8.030-6.792 17.534-8.246 24.198-8.246 14.386 0 29.026 6.554 40.162 17.98 19.592 20.106 21.934 49.238 5.596 66.874l-1.712 1.712c-0.798 0.752-1.612 1.524-2.462 2.354l-0.86 0.84-0.834 0.864c-30.666 31.79-75.914 45.424-118.104 50.542 7.53-18.888 12.598-37.426 17.34-54.772z",close:"M150 150a512 512 0 11724 724 512 512 0 01-724-724zm69.3 64.2A418.5 418.5 0 0095.9 512a418.5 418.5 0 00123.4 297.8A418.5 418.5 0 00517 933.2 418.5 418.5 0 00815 809.8 418.5 418.5 0 00938.4 512 418.5 418.5 0 00815 214.2 418.5 418.5 0 00517 90.8a418.5 418.5 0 00-297.8 123.4zM655 304a46 46 0 0165 65L577 512l143 143a46 46 0 11-65 65L512 577 369 720a46 46 0 11-65-65l143-143-143-143a46 46 0 0165-65l143 143 143-143z",closeAlt:"M586.7 512L936 861.4a52.8 52.8 0 0 1-74.6 74.7L512 586.7 162.6 936A52.8 52.8 0 0 1 88 861.4L437.3 512 88 162.6A52.8 52.8 0 1 1 162.6 88L512 437.3 861.4 88a52.8 52.8 0 1 1 74.7 74.7L586.7 512z",trash:"M919.5 225.208h-215.5v-120.080c0-20.344-15.192-37.096-34.836-39.632-1.696-0.216-3.41-0.372-5.164-0.372h-304.004c-1.754 0-3.468 0.152-5.164 0.372-19.644 2.54-34.836 19.292-34.836 39.628v120.084h-215.996c-22.090 0-40 17.912-40 40.002 0 22.092 17.91 40 40 40h27.216l53.916 615.914h0.214c0 22.092 17.91 40 40 40h573.372c22.094 0 40-17.91 40-40h0.148l53.916-615.914h26.716c22.090 0 40-17.91 40-40s-17.908-40.002-39.998-40.002zM399.996 145.126h224.004v80.082h-224.004v-80.082zM762.062 881.124h-500.124l-50.414-575.912h600.954l-50.416 575.912zM632.004 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40zM311.996 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40zM472 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40z",cross:"M1013.286 955.716l-443.72-443.716 443.718-443.718c15.622-15.622 15.62-40.948-0.004-56.566-15.618-15.622-40.942-15.622-56.562 0l-443.716 443.718-443.72-443.718c-15.62-15.624-40.946-15.622-56.566 0-15.622 15.62-15.622 40.944 0 56.566l443.722 443.718-443.722 443.722c-15.622 15.618-15.62 40.942 0 56.56s40.948 15.622 56.566 0l443.72-443.718 443.722 443.718c15.618 15.624 40.942 15.622 56.56 0 15.62-15.618 15.622-40.944 0.002-56.566z",delete:"M874 150A512 512 0 10150 874 512 512 0 00874 150zm-659.4 64.6A417.8 417.8 0 01512 91.4c97 0 188.9 32.6 263.3 92.6L184 775.3A417.4 417.4 0 0191.4 512c0-112.4 43.7-218 123.2-297.4zm594.8 594.8A417.8 417.8 0 01512 932.6c-97 0-189-32.7-263.3-92.6L840 248.7A417.4 417.4 0 01932.6 512c0 112.3-43.8 218-123.2 297.4z",add:"M512-.2a512 512 0 110 1024 512 512 0 010-1024zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 511.8c0 112.4 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.4c112.3 0 218-43.8 297.4-123.2a417.8 417.8 0 00123.2-297.4c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.2zm1.1 129.2a45.7 45.7 0 0145.7 45.7v201.1H760a45.7 45.7 0 010 91.5H558.8v201.1a45.7 45.7 0 11-91.4 0V558.7H266.3a45.7 45.7 0 110-91.5h201.1V266.1a45.7 45.7 0 0145.7-45.7z",subtract:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm4 94A418 418 0 0094 515a418 418 0 00422 422 418 418 0 00421-422A418 418 0 00516 94zm244 372a46 46 0 010 92H264a46 46 0 110-92z",plus:"M921.002 473h-368.008v-368.004c0.002-22.090-17.906-39.996-39.996-39.996-22.088 0-39.998 17.91-39.998 40v368h-368.002c-22.094 0-40 17.908-39.998 40-0.002 22.090 17.904 39.996 39.996 39.996l368.004-0.002v368.010c0 22.094 17.908 40 40 39.996 22.090 0.004 39.996-17.902 39.996-39.996v-368.010h368.010c22.090 0.002 39.994-17.906 39.994-39.996-0-22.088-17.908-39.998-39.998-39.998z",document:"M764 1c12 0 24 4 32 13l129 132c9 8 13 20 13 31v802c0 24-20 44-45 44H131c-25 0-45-20-45-44V45c0-24 20-44 45-44h633zm-48 89H175v844h674l-1-707h-87c-22 0-40-15-44-36v-8l-1-93zm-16 584a45 45 0 0 1 8 89H324a45 45 0 0 1-8-88l8-1h376zm0-187a45 45 0 0 1 8 89l-8 1H324a45 45 0 0 1-8-89l8-1h376zm0-186a45 45 0 0 1 8 88l-8 1H324a45 45 0 0 1-8-89h384z",folder:"M571 274h327c23 0 41 18 41 41v488c0 22-18 40-41 40H126c-23 0-41-18-41-40V242c0-34 27-61 61-61h317c18 0 35 7 47 21l61 72zm-119-8H170v492h684V359H531l-79-93z",component:"M171 469h298V171H246c-42 0-75 33-75 75v223zm0 86v223c0 42 33 75 75 75h223V555H171zm682-86V246c0-42-33-75-75-75H555v298h298zm0 86H555v298h223c42 0 75-33 75-75V555zM256 85h512c94 0 171 77 171 171v512c0 94-77 171-171 171H256c-94 0-171-77-171-171V256c0-94 77-171 171-171z",calendar:"M920.036 160.030h-112.004v-72c0-22.092-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.004h-432v-72c0-22.092-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.004h-112.004c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c0-22.094-17.908-40-40-40zM356.032 848.026h-212.004v-142.662h212.004v142.662zM356.032 665.364h-212.004v-162.664h212.004v162.664zM356.032 462.7h-212.004v-142.662h212.004v142.662zM628.032 848.026h-232v-142.662h232v142.662zM628.032 665.364h-232v-162.664h232v162.664zM628.032 462.7h-232v-142.662h232v142.662zM880.036 848.026h-212.004v-142.662h212.004v142.662zM880.036 665.364h-212.004v-162.664h212.004v162.664zM880.036 462.7h-212.004v-142.662h212.004v142.662z",graphline:"M820.536 489.23c-15.624 15.618-40.954 15.618-56.57 0l-42.006-42.002-169.898 169.9c-7.822 7.82-18.076 11.722-28.326 11.712-10.248 0.008-20.496-3.894-28.314-11.712l-96.178-96.182-140.67 140.674c-15.624 15.622-40.954 15.618-56.57-0.004-15.624-15.618-15.624-40.946 0-56.566l168.946-168.946c7.812-7.816 18.058-11.72 28.3-11.716 10.238-0.002 20.476 3.904 28.29 11.716l96.204 96.204 168.91-168.91c0.33-0.356 0.626-0.73 0.972-1.076 7.824-7.824 18.084-11.726 28.34-11.712 10.252-0.012 20.508 3.892 28.332 11.714 0.346 0.346 0.64 0.72 0.972 1.074l69.266 69.266c15.62 15.618 15.616 40.942 0 56.566zM880 144h-736v736h736v-736zM920 64c22.092 0 40 17.908 40 40v816c0 22.092-17.908 40-40 40h-816c-22.092 0-40-17.908-40-40v-816c0-22.092 17.908-40 40-40h816z",docchart:"M919.938 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c0-22.094-17.906-40-40-40zM395.934 470.67h232v162.664h-232v-162.664zM355.934 633.334h-212.004v-162.664h212.004v162.664zM395.934 430.67v-142.662h232v142.662h-232zM667.934 470.67h212.004v162.664h-212.004v-162.664zM667.934 430.67v-142.662h212.004v142.662h-212.004zM355.934 288.008v142.662h-212.004v-142.662h212.004zM143.93 673.334h212.004v142.662h-212.004v-142.662zM395.934 673.334h232v142.662h-232v-142.662zM667.934 673.334h212.004v142.662h-212.004v-142.662z",doclist:"M919.938 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c-0-22.094-17.906-40-40-40zM143.93 288.008h736.008v527.988h-736.008v-527.988zM248 400.004c0-22.090 17.91-40 40-40h448c22.094 0 40 17.906 40 40 0 22.090-17.906 40-40 40h-448c-22.090 0-40-17.91-40-40zM776 552.002c0 22.094-17.906 40-40 40h-448c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40h448c22.094 0 40 17.91 40 40zM776 704c0 22.094-17.906 40-40 40h-448c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40h448c22.094 0 40 17.91 40 40z",category:"M925.224 256.37c-1.694-0.216-3.408-0.37-5.162-0.37h-816c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v624c0 22.094 17.91 40 40 40h816c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-624.004c0-20.342-15.19-37.096-34.838-39.632zM144.062 880v-544h736v544h-736zM896.11 180c0 11.044-8.954 20-20 20h-728.032c-11.046 0-20-8.956-20-20v0c0-11.046 8.954-20 20-20h728.032c11.046 0 20 8.954 20 20v0zM832.094 84c0 11.044-8.954 20-20 20h-600c-11.046 0-20-8.956-20-20v0c0-11.046 8.954-20 20-20h600c11.046 0 20 8.954 20 20v0z",grid:"M437.162 552.368c-1.694-0.216-3.408-0.37-5.162-0.37h-263.978c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v264.040c0 22.094 17.91 40 40 40h263.978c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-264.044c0-20.34-15.19-37.094-34.838-39.632zM208.022 816.038v-184.040h183.978v184.040h-183.978zM437.162 128.4c-1.694-0.216-3.408-0.37-5.162-0.37h-263.978c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v263.968c0 22.094 17.91 40 40 40h263.978c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-263.972c0-20.342-15.19-37.096-34.838-39.632zM208.022 392v-183.968h183.978v183.968h-183.978zM861.212 552.368c-1.694-0.216-3.408-0.37-5.162-0.37h-264.050c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v264.040c0 22.094 17.91 40 40 40h264.048c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-264.044c0.002-20.34-15.19-37.094-34.836-39.632zM632 816.038v-184.040h184.048v184.040h-184.048zM861.212 128.4c-1.694-0.216-3.408-0.37-5.162-0.37h-264.050c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v263.968c0 22.094 17.91 40 40 40h264.048c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-263.972c0.002-20.342-15.19-37.096-34.836-39.632zM632 392v-183.968h184.048v183.968h-184.048z",copy:"M960.132 210.186c0-0.444-0.050-0.874-0.066-1.312-0.024-0.684-0.044-1.366-0.104-2.046-0.060-0.74-0.158-1.468-0.26-2.198-0.080-0.564-0.156-1.128-0.258-1.692-0.146-0.792-0.328-1.566-0.518-2.34-0.124-0.508-0.244-1.014-0.39-1.518-0.224-0.784-0.488-1.548-0.76-2.312-0.176-0.49-0.344-0.98-0.538-1.466-0.302-0.754-0.642-1.486-0.988-2.216-0.224-0.472-0.436-0.946-0.68-1.41-0.398-0.762-0.838-1.496-1.284-2.228-0.242-0.396-0.466-0.798-0.722-1.19-0.608-0.924-1.262-1.81-1.942-2.678-0.132-0.168-0.248-0.346-0.382-0.512-0.98-1.212-2.028-2.364-3.14-3.454l-104.020-104.9c-3.714-3.714-7.988-6.518-12.542-8.464-0.088-0.040-0.174-0.084-0.262-0.122-0.994-0.418-2.006-0.774-3.024-1.108-0.242-0.080-0.474-0.176-0.72-0.252-0.942-0.288-1.894-0.516-2.854-0.732-0.334-0.076-0.658-0.176-0.996-0.244-0.998-0.2-2.004-0.336-3.010-0.458-0.306-0.038-0.606-0.1-0.912-0.13-1.322-0.13-2.65-0.204-3.976-0.204h-391.784c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v145.516h-279.874c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v628.28c0 22.094 17.91 40 40 40h496.118c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 2.084-3.466 2.128-3.548 2.992-5.612 4.704-12.010 4.704-18.808 0 0 0 0 0-0.004v-145.518h279.874c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 2.084-3.466 2.128-3.548 2.992-5.612 4.704-12.010 4.704-18.808 0 0 0 0 0-0.004v-521.828c0.008-0.23-0.016-0.458-0.014-0.688 0.002-0.202 0.028-0.39 0.028-0.584zM144.124 878.792v-548.278h311.752v65.186c0 22.090 17.91 40 40 40h64.366v443.092h-416.118zM640.244 693.278v-296.31c0.006-0.23-0.018-0.458-0.014-0.688 0.004-0.196 0.030-0.382 0.030-0.578 0-0.444-0.052-0.874-0.066-1.312-0.024-0.684-0.044-1.366-0.104-2.046-0.062-0.74-0.16-1.468-0.262-2.198-0.078-0.564-0.152-1.128-0.258-1.692-0.144-0.792-0.324-1.566-0.516-2.34-0.124-0.508-0.246-1.014-0.39-1.518-0.226-0.784-0.488-1.548-0.76-2.312-0.174-0.49-0.342-0.98-0.538-1.466-0.302-0.754-0.64-1.486-0.988-2.216-0.222-0.472-0.438-0.946-0.68-1.41-0.398-0.762-0.838-1.496-1.284-2.228-0.242-0.396-0.466-0.798-0.724-1.19-0.606-0.924-1.262-1.81-1.942-2.678-0.13-0.168-0.246-0.346-0.382-0.512-0.978-1.212-2.028-2.364-3.138-3.454l-104.020-104.9c-3.714-3.714-7.988-6.518-12.542-8.464-0.088-0.040-0.172-0.084-0.262-0.122-0.994-0.418-2.004-0.774-3.024-1.108-0.242-0.080-0.476-0.176-0.72-0.252-0.942-0.288-1.896-0.516-2.854-0.732-0.334-0.076-0.658-0.176-0.996-0.244-0.998-0.2-2.004-0.336-3.012-0.458-0.304-0.038-0.602-0.1-0.91-0.13-1.322-0.13-2.648-0.204-3.976-0.204h-31.916v-105.516h311.752v65.186c0 22.090 17.91 40 40 40h64.366v443.092h-239.87z",certificate:"M832.032 384.032c0-176.728-143.266-320-320-320s-320 143.272-320 320c0 104.662 50.25 197.584 127.938 255.966v311.5c0 16.174 9.74 30.756 24.682 36.952 4.954 2.052 10.152 3.050 15.31 3.050 10.402 0 20.626-4.060 28.276-11.702l123.726-123.58 123.772 123.332c11.452 11.412 28.644 14.804 43.574 8.608 14.93-6.2 24.66-20.776 24.66-36.942v-311.124c77.756-58.376 128.062-151.342 128.062-256.060zM272.032 384.032c0-64.106 24.964-124.374 70.292-169.706 45.33-45.33 105.6-70.294 169.708-70.294s124.376 24.964 169.708 70.294c45.33 45.332 70.292 105.6 70.292 169.706s-24.964 124.376-70.292 169.704c-45.33 45.33-105.6 70.294-169.708 70.294s-124.376-24.964-169.708-70.294c-45.328-45.328-70.292-105.598-70.292-169.704zM623.968 854.89l-83.804-83.508c-15.622-15.564-40.898-15.552-56.502 0.034l-83.694 83.594v-171.17c34.878 13.042 72.632 20.192 112.062 20.192 39.382 0 77.094-7.13 111.938-20.142v171z",print:"M925.922 304.496c-1.698-0.218-3.41-0.37-5.166-0.37h-88.64v-93.548c0.006-0.21-0.016-0.422-0.014-0.634 0.004-0.212 0.036-0.416 0.036-0.63 0-0.478-0.054-0.942-0.074-1.416-0.024-0.636-0.042-1.27-0.094-1.906-0.066-0.776-0.168-1.54-0.276-2.302-0.074-0.534-0.146-1.066-0.242-1.596-0.15-0.82-0.338-1.624-0.538-2.424-0.12-0.48-0.23-0.958-0.37-1.436-0.234-0.812-0.506-1.608-0.792-2.398-0.164-0.462-0.322-0.924-0.504-1.38-0.318-0.788-0.668-1.552-1.036-2.316-0.208-0.436-0.406-0.88-0.628-1.312-0.424-0.802-0.88-1.574-1.352-2.344-0.218-0.358-0.422-0.724-0.656-1.078-0.636-0.972-1.324-1.91-2.042-2.82-0.098-0.124-0.182-0.252-0.282-0.376-0.988-1.224-2.048-2.388-3.172-3.488l-104.004-104.882c-3.696-3.696-7.948-6.486-12.466-8.432-0.122-0.050-0.224-0.11-0.344-0.16-0.974-0.41-1.966-0.756-2.962-1.084-0.262-0.086-0.512-0.19-0.78-0.272-0.926-0.284-1.87-0.506-2.812-0.722-0.346-0.080-0.684-0.182-1.034-0.252-0.988-0.198-1.988-0.334-2.988-0.456-0.31-0.040-0.618-0.102-0.93-0.134-1.324-0.132-2.652-0.204-3.978-0.204h-455.67c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.29-34.838 39.63v200h-87.356c-1.754 0-3.468 0.152-5.164 0.37-19.644 2.538-34.836 19.29-34.836 39.63v320c0 22.094 17.91 40 40 40h87.368v216c0 22.094 17.91 40 40 40h560.006c13.81 0 25.982-6.996 33.17-17.636 0.102-0.146 0.184-0.306 0.282-0.458 0.612-0.922 1.2-1.86 1.722-2.836 0.046-0.082 0.080-0.17 0.124-0.254 2.994-5.612 4.704-12.008 4.704-18.808 0 0 0 0 0-0.004v-216h88.624c13.808 0 25.982-6.996 33.168-17.636 0.104-0.148 0.186-0.308 0.286-0.458 0.612-0.922 1.198-1.862 1.72-2.836 0.046-0.082 0.082-0.172 0.124-0.256 2.994-5.61 4.702-12.008 4.702-18.806 0 0 0 0 0-0.004v-320c0-20.344-15.186-37.096-34.834-39.636zM272.116 144.128h375.634v65.186c0 1.38 0.070 2.746 0.208 4.090 2.048 20.168 19.080 35.91 39.792 35.91h64.366v54.812h-480v-159.998zM272.124 880.126v-327.998h480.006v327.998zM880.756 384.128v239.998h-48.624v-111.998c0-20.34-15.19-37.092-34.836-39.63-1.694-0.218-565.17-0.372-565.17-0.372-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v112h-47.368v-239.998zM664.124 608.126c22.092 0 40 17.908 40 40s-17.908 40-40 40h-304c-22.092 0-40-17.908-40-40s17.908-40 40-40h304zM704.124 784.126c0 22.092-17.908 40-40 40h-304c-22.092 0-40-17.908-40-40s17.908-40 40-40h304c22.092 0 40 17.908 40 40z",listunordered:"M961 233c0 22.090-17.908 40-40 40h-607.996c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h607.996c22.092 0 40 17.912 40 40.002v0zM961 793c0-22.090-17.908-40.002-40-40.002h-607.996c-22.092 0-40 17.912-40 40.002v0c0 22.092 17.91 40 40 40h607.996c22.092 0 40-17.91 40-40v0zM961 606.332c0-22.090-17.908-40-40-40h-607.996c-22.092 0-40 17.91-40 40v0c0 22.094 17.91 40 40 40h607.996c22.092 0 40-17.91 40-40v0zM961 419.668c0-22.090-17.908-40.004-40-40.004h-607.996c-22.092 0-40 17.914-40 40.004v0c0 22.090 17.91 40 40 40h607.996c22.092-0 40-17.91 40-40v0zM129 168.998c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zM129 728.998c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zM129 542.332c-35.346 0-64 28.652-64 64 0 35.344 28.654 64 64 64s64-28.656 64-64c0-35.348-28.654-64-64-64zM129 355.664c-35.346 0-64 28.656-64 64 0 35.348 28.654 64 64 64s64-28.652 64-64c0-35.344-28.654-64-64-64z",graphbar:"M324.832 513c22.090 0 40 17.91 40 40v304c0 22.090-17.906 40-40 40v0c-22.090 0-40-17.906-40-40v-304c0-22.090 17.91-40 40-40v0zM884.832 128.998c-22.090 0-40 17.906-40 40v688.002c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-688.002c0-22.094-17.91-40-40-40v0zM698.164 256.998c-22.090 0-40 17.91-40 40v560.002c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-560.002c0-22.090-17.91-40-40-40v0zM511.5 384.998c-22.090 0-40.004 17.91-40.004 40v432.002c0 22.094 17.914 40 40.004 40v0c22.090 0 40-17.91 40-40v-432.002c0-22.090-17.91-40-40-40v0zM139.168 641c-22.090 0-40 17.91-40 40v176c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-176c0-22.090-17.91-40-40-40v0z",menu:"M960 232c0 22.092-17.908 40-40.002 40h-815.996c-22.092 0-40-17.908-40-40v0c0-22.090 17.908-40 40-40h815.998c22.092 0 40 17.91 40 40v0zM768 416c0 22.090-17.908 40-40 40h-624c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h624c22.092 0.002 40 17.914 40 40.002v0zM832 608c0 22.092-17.906 40.002-40 40.002h-688c-22.090 0-40-17.91-40-40.002v0c0-22.090 17.908-40 40-40h688c22.094 0 40 17.912 40 40v0zM576 792c0 22.094-17.91 40-40.002 40h-431.998c-22.090 0-40-17.906-40-40v0c0-22.094 17.908-40.002 40-40.002h432c22.094 0.002 40 17.912 40 40.002v0z",filter:"M962.030 168.032c0 22.092-17.908 40-40.002 40h-815.996c-22.092 0-40-17.908-40-40v0c0-22.090 17.908-40 40-40h815.998c22.092 0 40 17.908 40 40v0zM770 544.034c0 22.090-17.908 40-40 40h-432c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h432c22.090 0 40 17.912 40 40.002v0zM642.030 728.032c0 22.094-17.91 40-40.002 40h-175.998c-22.090 0-40-17.906-40-40v0c0-22.094 17.908-40.002 40-40.002h176c22.094 0.002 40 17.91 40 40.002v0zM866 352.030c0 22.092-17.906 40.002-40 40.002h-624c-22.090 0-40-17.91-40-40.002v0c0-22.090 17.908-40 40-40h624c22.092 0 40 17.91 40 40v0zM512.030 928.034c22.090 0 40.004-17.906 40.004-40v0c0-22.090-17.914-40-40.004-40v0c-22.090 0-40 17.91-40 40v0c0 22.092 17.91 40 40 40v0z",ellipsis:"M184 393c66.274 0 120 53.73 120 120s-53.726 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120zM512 393c66.272 0 120 53.73 120 120s-53.728 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120zM840 393c66.272 0 120 53.73 120 120s-53.728 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120z",cog:"M512 288a224 224 0 0 0 0 448h2a225 225 0 0 0 52-7 47 47 0 0 0-23-90 130 130 0 0 1-31 3 131 131 0 1 1 127-101v1a47 47 0 1 0 91 19 224 224 0 0 0-218-273zM409 0c-67 14-131 40-186 77v98c0 13-6 25-15 33-8 9-20 15-33 15H77C40 278 14 341 0 409l69 68c9 10 14 22 13 34 1 13-4 25-13 34L0 614c14 68 41 132 78 188h97c13 0 25 6 33 15 9 8 15 20 15 33v97c55 37 119 63 187 77l68-69a46 46 0 0 1 36-13c11 0 23 4 32 13l69 69c68-14 131-40 186-77v-98c0-13 6-25 15-34 8-8 20-14 33-14h98c37-56 63-119 77-186l-69-70c-10-9-14-21-14-34 0-12 4-24 14-34l69-69c-14-67-40-129-77-184h-98c-13 0-25-6-33-15-9-8-15-20-15-33V77C746 40 683 14 615 0l-69 69a46 46 0 0 1-35 14c-11 0-23-5-33-14L409 0zm-28 103l32 32c26 26 61 41 98 41h3c37 0 72-15 98-41l32-31c22 7 43 16 64 26v46c0 37 15 73 42 99 26 27 62 42 99 42h45c11 20 19 41 26 63l-31 31c-26 27-41 63-41 100 0 38 15 74 41 100l32 32c-8 22-17 44-27 65h-45c-37 0-73 15-99 42-27 26-42 62-42 99v44c-21 11-42 20-65 27l-31-31c-26-26-61-41-98-41h-3c-37 0-72 15-98 41l-32 32c-22-8-44-17-65-28v-43c0-37-15-73-42-99-26-27-62-42-99-42h-44c-11-21-20-44-28-67l32-31c26-26 41-62 40-100 1-37-14-73-40-100l-31-30c7-23 16-44 26-65h45c37 0 73-15 99-42 27-26 42-62 42-99v-45c21-10 43-19 65-27z",wrench:"M959.438 274.25c0-22.090-17.914-40-40.004-40-11.16 0-21.242 4.582-28.496 11.954l-60.152 60.148c-15.622 15.622-40.946 15.618-56.566-0.004l-56.57-56.566c-15.622-15.622-15.622-40.95 0-56.57l59.55-59.546c7.75-7.292 12.614-17.618 12.614-29.102 0-22.090-17.914-40-40.004-40-1.598 0-3.164 0.122-4.71 0.304-0.012 0-0.020-0.008-0.032-0.004-94.958 11.586-168.504 92.492-168.504 190.574 0 23.528 4.238 46.058 11.98 66.886l-503.078 503.074c-1.496 1.496-2.8 3.102-4.012 4.758-10.914 13.676-17.454 30.992-17.454 49.848 0 44.188 35.818 79.996 79.996 79.996 18.906 0 36.27-6.574 49.964-17.54 1.614-1.188 3.18-2.464 4.64-3.926l503.078-503.078c20.828 7.742 43.36 11.98 66.882 11.98 97.988 0 178.828-73.402 190.54-168.222v-0.012c0.2-1.628 0.338-3.272 0.338-4.952zM151.996 912c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40s40.004 17.91 40.004 40c0 22.094-17.914 40-40.004 40z",nut:"M512 286a229 229 0 0 0-233 226c0 124 104 225 233 225h2a240 240 0 0 0 54-7c21-5 35-24 35-45a48 48 0 0 0-59-45 139 139 0 0 1-32 3c-75 0-136-59-136-131 0-73 61-132 136-132a134 134 0 0 1 132 161v1l-2 9c0 26 22 47 49 47a48 48 0 0 0 47-37c4-16 6-33 6-49 0-125-104-226-232-226m0-286c-16 0-33 4-47 12L90 223a91 91 0 0 0-47 79v420c0 33 18 63 47 79l375 211a96 96 0 0 0 94 0l375-211c29-16 47-46 47-79V302c0-33-18-63-47-79L559 12c-14-8-31-12-47-12m0 91l375 211v420L512 933 137 722V302L512 91",camera:"M925.164 208.372c-1.694-0.218-3.408-0.372-5.162-0.372h-471.968v-39.962c0-20.344-15.192-37.096-34.836-39.63-1.696-0.218-3.41-0.374-5.164-0.374h-176.004c-1.754 0-3.468 0.152-5.164 0.374-19.644 2.538-34.836 19.29-34.836 39.626v39.966h-88.032c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.536-34.838 19.29-34.838 39.628v528c0 22.094 17.91 40 40 40h816.004c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.46 0.612-0.922 1.2-1.86 1.722-2.836 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-528.004c-0-20.342-15.192-37.096-34.838-39.63zM880.002 736h-736.004v-448h736.004v448zM512 402.522c60.368 0 109.478 49.112 109.478 109.478s-49.112 109.478-109.478 109.478-109.478-49.112-109.478-109.478 49.11-109.478 109.478-109.478zM512 322.522c-104.644 0-189.478 84.832-189.478 189.478 0 104.644 84.834 189.478 189.478 189.478 104.646 0 189.478-84.834 189.478-189.478 0-104.646-84.832-189.478-189.478-189.478v0z",eye:"M1008.714 490.522c-9.002-12.594-223.276-308.808-496.684-308.808-273.444 0-487.682 296.214-496.684 308.808l-15.316 21.49 15.316 21.466c9.002 12.618 223.24 308.808 496.684 308.808 273.408 0 487.682-296.19 496.684-308.808l15.316-21.466-15.316-21.49zM807.68 631.688c-46 39.142-92.558 70.064-138.382 91.904-53.874 25.676-106.786 38.694-157.266 38.694-50.49 0-103.406-13.018-157.282-38.696-45.826-21.838-92.382-52.758-138.378-91.902-53.708-45.706-94.302-92.122-116.61-119.672 22.36-27.602 63.028-74.094 116.612-119.696 45.996-39.146 92.554-70.068 138.378-91.908 53.876-25.678 106.792-38.698 157.28-38.698 50.48 0 103.39 13.020 157.264 38.696 45.824 21.842 92.382 52.764 138.382 91.91 53.602 45.614 94.264 92.098 116.624 119.696-22.306 27.544-62.898 73.954-116.622 119.672zM692.032 512.036c0 99.41-80.588 180-180 180s-180-80.59-180-180c0-99.406 80.588-179.998 180-179.998s180 80.59 180 179.998z",eyeclose:"M75.744 948.314c-15.62-15.62-15.62-40.948 0-56.564l816-816c15.626-15.624 40.95-15.624 56.57 0 15.624 15.62 15.626 40.946 0.004 56.57l-816 815.994c-15.62 15.62-40.95 15.62-56.572 0zM332.032 512.034c0 20.104 3.296 39.434 9.376 57.484l228.104-228.106c-18.050-6.080-37.38-9.376-57.48-9.376-99.412-0.004-180 80.588-180 179.996zM692.032 512.034c0-20.1-3.3-39.432-9.38-57.484l-228.106 228.11c18.052 6.080 37.384 9.376 57.488 9.376 99.412 0 180-80.59 180-180zM1008.716 490.522c-4.98-6.968-72.86-100.8-178.81-183.22l-57.040 57.040c11.624 8.8 23.24 18.128 34.814 27.98 53.6 45.614 94.264 92.1 116.624 119.696-22.304 27.544-62.896 73.954-116.62 119.672-46 39.14-92.56 70.064-138.384 91.904-53.872 25.676-106.786 38.694-157.266 38.694-37.448 0-76.234-7.18-115.76-21.36l-61.486 61.49c54.786 24.22 114.45 39.87 177.248 39.87 273.41 0 487.684-296.19 496.686-308.808l15.316-21.468-15.316-21.49zM216.372 631.69c-53.708-45.706-94.3-92.12-116.61-119.672 22.36-27.6 63.028-74.094 116.612-119.696 46-39.146 92.554-70.068 138.38-91.908 53.874-25.68 106.79-38.7 157.28-38.7 37.46 0 76.264 7.188 115.8 21.38l61.484-61.484c-54.796-24.236-114.474-39.896-177.286-39.896-273.446 0-487.684 296.214-496.686 308.808l-15.316 21.49 15.314 21.466c4.98 6.984 72.866 100.84 178.84 183.26l57.040-57.040c-11.64-8.806-23.264-18.144-34.854-28.008z",photo:"M920 64h-816c-22.092 0-40 17.91-40 40v816c0 22.094 17.908 40 40 40h816c22.092 0 40-17.906 40-40v-816c0-22.090-17.908-40-40-40zM880 144v449.782l-235.39-235.392c-7.502-7.5-17.676-11.714-28.286-11.714s-20.784 4.214-28.286 11.716l-169.804 169.804-40.958-40.958c-15.622-15.622-40.95-15.622-56.57 0l-176.708 176.708v-519.946h736.002zM144 880v-102.914l204.992-204.994 215.972 215.974c7.81 7.81 18.048 11.714 28.286 11.714s20.474-3.904 28.286-11.714c15.62-15.622 15.62-40.95 0-56.57l-146.732-146.73 141.522-141.524 263.676 263.68v173.078h-736.002zM356.174 400.542c52.466 0 95-42.536 95-95s-42.534-95-95-95-95 42.536-95 95 42.534 95 95 95zM356.174 250.542c30.326 0 55 24.672 55 55s-24.674 55-55 55-55-24.672-55-55 24.674-55 55-55z",video:"M926.050 273.364c-9.556 0-20.574 3.8-32.278 11.812l-189.738 129.894v-151.068c0-20.342-15.192-37.094-34.838-39.63-1.694-0.218-3.408-0.372-5.162-0.372h-560.002c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v496.002c0 22.092 17.91 40 40 40h560.004c13.808 0 25.98-6.998 33.168-17.638 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.922 1.2-1.862 1.722-2.836 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.612 4.704-12.010 4.704-18.81v-151.066l189.738 129.886c11.706 8.012 22.718 11.812 32.278 11.812 20.092 0 33.736-16.806 33.736-46.622v-384.032c0-29.816-13.644-46.62-33.738-46.62zM624.036 720h-480.004v-415.998h480.004v415.998zM879.788 632.3l-175.728-120.296 175.728-120.302v240.598zM240.688 663.534c-22.090 0-40-17.906-40-40v0c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v0c0 22.092-17.914 40-40.004 40v0z",speaker:"M692.070 580.856c18.156-18.156 28.152-42.266 28.152-67.89-0.008-25.622-10.002-49.726-28.148-67.872-8.476-8.478-18.308-15.188-29-19.922-0.222-0.098-0.408-0.22-0.566-0.364-13.294-6.5-22.476-20.116-22.476-35.914 0-22.090 17.91-40 40-40 5.774 0 11.246 1.248 16.204 3.45 0.016 0.006 0.026 0.008 0.040 0.016 19.292 8.656 37.036 20.832 52.368 36.164 33.254 33.254 51.574 77.446 51.58 124.43 0.006 46.996-18.31 91.204-51.58 124.472-15.064 15.062-32.45 27.074-51.344 35.7-0.154 0.070-0.286 0.112-0.434 0.176-5.124 2.382-10.812 3.75-16.832 3.75-22.090 0-40-17.906-40-40 0-16.196 9.644-30.112 23.488-36.402 0.156-0.11 0.32-0.216 0.516-0.304 10.314-4.712 19.81-11.268 28.032-19.49zM861.778 275.386c-47.824-47.824-107.946-79.588-173.204-92.242-0.356-0.078-0.712-0.146-1.072-0.214-0.060-0.012-0.124-0.026-0.186-0.038-0.506-0.096-0.976-0.162-1.422-0.208-1.918-0.282-3.868-0.476-5.864-0.476-22.090 0-40 17.91-40 40 0 19.024 13.292 34.91 31.084 38.968 0.352 0.128 0.728 0.244 1.162 0.326 48.7 9.268 95.226 32.748 132.934 70.452 99.972 99.972 100.054 261.984-0.002 362.040-37.684 37.684-84.152 61.14-132.788 70.426-0.084 0.016-0.144 0.046-0.224 0.066-18.338 3.644-32.166 19.816-32.166 39.222 0 22.094 17.91 40 40 40 2.776 0 5.484-0.286 8.102-0.822 0.094-0.018 0.172-0.018 0.27-0.038 65.32-12.626 125.496-44.406 173.376-92.286 131.008-131.008 131.008-344.172 0-475.176zM525.988 159.516v704.968c0 22.090-17.906 40-40 40-12.73 0-24.046-5.966-31.374-15.234l-51.056-61.722v0.216l-122.14-147.666h-177.386c-22.090 0-40-17.906-40-40v0 0-256c0-5.22 1.030-10.194 2.85-14.766 0.104-0.266 0.184-0.542 0.294-0.804 0.39-0.924 0.844-1.812 1.3-2.702 0.134-0.26 0.242-0.538 0.382-0.794 0.246-0.456 0.54-0.878 0.804-1.324 6.972-11.726 19.734-19.61 34.368-19.61h177.386l173.13-209.238c7.324-9.316 18.67-15.324 31.44-15.324 22.092-0 40.002 17.91 40.002 40zM445.988 270.826l-126.708 153.252h-175.248v176h175.248l19.832 23.998h0.17l106.708 129.112v-482.362z",phone:"M742.52 960c-76.266 0-163.184-32.364-258.338-96.194-73.798-49.504-136.41-106.904-175.938-146.34-43.282-43.222-105.612-111.376-156.842-190.682-66.576-103.062-95.348-196.038-85.518-276.344 8.952-73.326 50.674-134.292 120.664-176.304 10.95-6.63 23.76-10.134 37.054-10.134 32.752 0 71.124 23.354 120.764 73.494 36.434 36.802 70.108 79.22 89.472 106.644 46.698 66.176 60.686 107.352 48.286 142.136-12.638 35.538-35.534 55.704-52.25 70.428-5.662 5.006-9.95 8.854-13.070 12.262 4.040 7.542 11.744 19.868 26.054 37.476 42.388 52.076 90.548 89.024 111.972 100.874 3.308-2.96 7.11-7.168 12.352-13.152 14.87-16.81 35.062-39.636 70.482-52.28 7.978-2.842 16.498-4.276 25.35-4.276 44.172 0 108.804 44.078 155.246 81.056 45.834 36.494 103.292 90.498 127.104 132.612 22.602 39.596 14.982 68.64 4.596 86.006-48.138 80.296-119.862 122.718-207.44 122.718zM224.758 144.53c-47.558 29.426-73.566 67.28-79.468 115.618-7.494 61.224 17.17 136.326 73.308 223.226 49.902 77.252 112.994 144.35 146.16 177.472 30.296 30.222 91.906 88.17 163.988 136.524 81.738 54.83 153.662 82.63 213.772 82.63 58.618 0 103.506-26.526 137.138-81.076-0.47-1.536-1.532-4.062-3.854-8.132-14.584-25.794-57.006-69.202-105.642-108.156-58.776-47.074-96.708-63.894-106.756-64.982-15.348 5.826-25.020 16.758-36.178 29.372-12.542 14.318-28.31 32.316-55.476 41.528l-6.25 2.12h-6.598c-8.704 0-31.826 0-86.73-43.378-32.196-25.438-64.65-57.534-91.38-90.374-35.712-43.942-51.41-77.764-46.674-100.548l0.55-2.642 0.9-2.546c9.19-26 26.284-41.118 41.364-54.458 12.726-11.208 23.698-20.874 29.494-36.378-0.606-4.398-5.076-23.488-37.948-70.072-15.882-22.494-45.746-60.376-77.614-93.084-39.93-40.986-60.106-50.546-66.106-52.664z",flag:"M168 960.060c-22.092 0-40-17.908-40-40v-816.36c0-22.092 17.908-40 40-40h687.698c16.178 0 30.764 9.746 36.956 24.694 6.192 14.946 2.77 32.15-8.67 43.59l-188.918 188.922 189.218 189.216c11.44 11.442 14.862 28.646 8.67 43.592-6.192 14.948-20.776 24.694-36.956 24.694h-647.998v341.654c0 22.090-17.908 39.998-40 39.998zM208 498.406h551.428l-149.218-149.216c-15.622-15.622-15.622-40.95 0-56.568l148.918-148.922h-551.128v354.706z",pin:"M512 959.916c-13.36 0-25.84-6.672-33.262-17.782l-242.080-362.324c-0.12-0.176-0.236-0.356-0.354-0.536-36.394-54.5-55.63-118.042-55.63-183.804 0-182.696 148.632-331.324 331.326-331.324 182.696 0 331.328 148.628 331.328 331.324 0 60.71-16.554 119.98-47.906 171.652-0.758 1.528-1.618 3.016-2.578 4.45l-5.786 8.664c-0.054 0.082-0.112 0.164-0.168 0.246-0.042 0.070-0.104 0.16-0.148 0.23l-241.484 361.426c-7.422 11.106-19.898 17.778-33.258 17.778zM303.458 535.784l0.026 0.040c0.038 0.054 0.158 0.238 0.194 0.292l208.324 311.796 212.374-317.86c0.376-0.696 0.778-1.382 1.198-2.062 24.7-39.708 37.758-85.532 37.758-132.52 0-138.582-112.746-251.324-251.328-251.324s-251.326 112.742-251.326 251.324c0 50.054 14.674 98.39 42.432 139.782 0.114 0.176 0.232 0.356 0.348 0.532zM512 304.4c49.98 0 90.64 40.66 90.64 90.64 0 49.976-40.66 90.636-90.64 90.636s-90.64-40.66-90.64-90.636c0-49.98 40.66-90.64 90.64-90.64zM512 224.4c-94.242 0-170.64 76.398-170.64 170.64s76.398 170.636 170.64 170.636 170.64-76.394 170.64-170.636-76.398-170.64-170.64-170.64v0z",compass:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm242.4 178.1a22.9 22.9 0 012.9 28.9L574.9 571.7l-3.2 3.2-273.3 182.4a22.9 22.9 0 01-31.7-31.7l181-271.6c1.7-2.5 3.8-4.6 6.3-6.3l271.6-181c9-6 21.1-4.9 28.8 2.8zM483.2 483.3l-115 172.4 172.5-115-57.5-57.4z",globe:"M533.6 1.6a144.2 144.2 0 00-43.2 0A511.7 511.7 0 000 512.6 511.7 511.7 0 00512 1024c282.8 0 512-229 512-511.4a511.7 511.7 0 00-490.4-511zM930 467H749c-3.6-105.7-20-204.7-47.2-282.5a494.4 494.4 0 00-24.2-58.2 419.3 419.3 0 01131.8 89.3A416.7 416.7 0 01930.2 467zM512 931.5c-75.3 0-137.3-163.3-145.4-373.3h290.8c-8.1 210-70.1 373.3-145.4 373.3zM366.5 467c7.4-200.2 63.7-358.5 134-374.3a406.8 406.8 0 0123 0c70.3 15.9 126.6 174.1 134 374.3h-291zM214.6 215.5A420.7 420.7 0 01346.4 126c-8.7 17.7-16.9 37.1-24.2 58.2-27.1 78-43.6 177-47.2 282.5H94a416.7 416.7 0 01120.7-251.3zM93.9 558.2H275c3.8 104.8 20.2 203 47 280.3a488.6 488.6 0 0025.8 61 420.4 420.4 0 01-133.3-89.9A416.7 416.7 0 0193.9 558.2zm715.5 251.4a420.4 420.4 0 01-133.3 90c9.3-18.4 18-38.8 25.7-61.1 27-77.4 43.3-175.5 47-280.3h181.3a416.7 416.7 0 01-120.7 251.4z",location:"M1024 512a512 512 0 10-512.1 512C643 1024 774 974 874 874s150-231 150-362zM809.4 809.4a417.4 417.4 0 01-251.7 120.7v-153a45.7 45.7 0 00-91.5 0v153a417 417 0 01-251.6-120.7A417.7 417.7 0 0194 557.7h153a45.7 45.7 0 000-91.5h-153a417.3 417.3 0 01120.7-251.6A417.5 417.5 0 01466.2 93.8v153a45.7 45.7 0 0091.4 0v-153a417.4 417.4 0 01251.8 120.7A417.5 417.5 0 01930 466.2H777a45.7 45.7 0 000 91.4h153a417.3 417.3 0 01-120.7 251.7v.1z",search:"M218 670a318 318 0 0 1 0-451 316 316 0 0 1 451 0 318 318 0 0 1 0 451 316 316 0 0 1-451 0m750 240L756 698a402 402 0 1 0-59 60l212 212c16 16 42 16 59 0 16-17 16-43 0-60",zoom:"M220 670a316 316 0 0 1 0-450 316 316 0 0 1 450 0 316 316 0 0 1 0 450 316 316 0 0 1-450 0zm749 240L757 698a402 402 0 1 0-59 59l212 212a42 42 0 0 0 59-59zM487 604a42 42 0 0 1-84 0V487H286a42 42 0 1 1 0-84h117V286a42 42 0 1 1 84 0v117h117a42 42 0 0 1 0 84H487v117z",zoomout:"M757 698a402 402 0 1 0-59 59l212 212a42 42 0 0 0 59-59L757 698zM126 445a316 316 0 0 1 319-319 316 316 0 0 1 318 319 316 316 0 0 1-318 318 316 316 0 0 1-319-318zm160 42a42 42 0 1 1 0-84h318a42 42 0 0 1 0 84H286z",zoomreset:"M148 560a318 318 0 0 0 522 110 316 316 0 0 0 0-450 316 316 0 0 0-450 0c-11 11-21 22-30 34v4h47c25 0 46 21 46 46s-21 45-46 45H90c-13 0-25-6-33-14-9-9-14-20-14-33V156c0-25 20-45 45-45s45 20 45 45v32l1 1a401 401 0 0 1 623 509l212 212a42 42 0 0 1-59 59L698 757A401 401 0 0 1 65 570a42 42 0 0 1 83-10z",timer:"M571.5 0a42.7 42.7 0 010 85.3h-16.7l-.2 53.1a441.6 441.6 0 01221.2 84.9l44.7-44.6a42.7 42.7 0 0160.3 60.3l-41.5 41.5a443.8 443.8 0 11-370-142l.1-53.2H452A42.7 42.7 0 01452 0h119.5zM512 221.7a356 356 0 00-253.5 105 356 356 0 00-105 253.5 356 356 0 00105 253.5 356 356 0 00253.5 105 356 356 0 00253.5-105 356.2 356.2 0 00105-253.5 356 356 0 00-105-253.5 356 356 0 00-253.5-105zm-.1 52.7a42.7 42.7 0 0142.6 42.6v206.6a68.2 68.2 0 0125.3 47.3l.2 5.8a68.2 68.2 0 11-110.8-53.4V317a42.7 42.7 0 0142.7-42.6z",time:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm0 54.9a45.7 45.7 0 0145.7 45.7v280H759a45.7 45.7 0 010 91.4H512c-6.1 0-12-1.2-17.4-3.4l-.4-.2-2-1c-.7-.3-1.4-.5-2-.9l-.7-.4-3-1.9-.4-.2c-12-8.2-19.8-22-19.8-37.7V192a45.7 45.7 0 0145.7-45.7z",lightning:"M320.022 1022.644c-7.408 0-14.852-2.052-21.44-6.238-15.292-9.714-22.144-28.494-16.706-45.774l115.186-365.908-214.552-52.57c-14.714-3.606-26.128-15.214-29.486-29.988-3.356-14.772 1.92-30.174 13.632-39.786l576-472.662c14.458-11.864 35.208-12.126 49.962-0.626 14.752 11.496 19.568 31.682 11.594 48.602l-171.202 363.256 208.648 51.756c14.29 3.544 25.476 14.652 29.124 28.914s-0.834 29.376-11.668 39.344l-512 471.112c-7.586 6.984-17.308 10.568-27.092 10.568zM279.236 493.49l178.314 43.69c10.74 2.632 19.912 9.59 25.336 19.226s6.62 21.086 3.298 31.636l-83.030 263.76 347.066-319.352-183.82-45.596c-11.63-2.884-21.356-10.832-26.498-21.656-5.144-10.822-5.164-23.382-0.054-34.22l116.31-246.788-376.922 309.3z",lightningoff:"M310 374L76 150a37 37 0 0 1 0-54c15-14 41-14 56 0l816 778c16 15 16 39 0 54a41 41 0 0 1-56 0L666 712l-57-54-242-230-57-54zm-32 28l57 54-44 38 115 29 78 76-75 254 169-165 57 54-279 271c-8 7-17 11-26 11-7 0-14-2-20-6a41 41 0 0 1-16-46l109-367-203-52c-14-4-25-16-28-30-4-15 1-31 13-40l93-81zm124-108L731 9c13-12 33-12 47-1 14 12 19 32 11 49L627 421l198 52c13 4 24 15 27 29 4 14-1 29-11 39l-89 87-56-54 42-41-118-31-80-76 109-242-190 165-57-55z",dashboard:"M512 85.3a512 512 0 01361 875c-99.5-44-225-70.4-361.6-70.4-136.1 0-261.4 26.2-360.8 70A512 512 0 01512 85.4zm0 91.5c-112.4 0-218 43.7-297.4 123.1A417.8 417.8 0 0091.4 597.3c0 93 30 181.5 85.5 254.2 101-34.8 215.3-53 334.5-53 119.6 0 234.2 18.3 335.5 53.4a417.3 417.3 0 0085.7-254.6c0-112.3-43.8-218-123.2-297.4a417.5 417.5 0 00-275-122.6l-22.4-.5zm219.7 115.7a45.7 45.7 0 0116.7 62.4L580.4 646c6.5 17.1 6.7 36.6-.6 54.3l-4.3 8.7A73.1 73.1 0 11501.3 600l168-291a45.7 45.7 0 0162.4-16.6z",hourglass:"M511.926 801.946c-22.090 0-40-17.906-40-40v0c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v0c0 22.094-17.914 40-40.004 40v0zM831.682 915.242c0.192 1.582 0.318 3.186 0.318 4.82 0 22.090-17.908 40-40 40h-560c-22.092 0-40-17.914-40-40 0-2.438 0.252-4.812 0.67-7.128 2.36-53.636 18.034-105.7 45.852-151.554 0.734-1.476 1.562-2.912 2.492-4.296l5.582-8.364c0.054-0.080 0.11-0.158 0.164-0.238 0.042-0.068 0.098-0.156 0.144-0.222l157.704-236.036-158.5-237.228c-0.116-0.17-0.23-0.342-0.34-0.516-32.842-49.178-51.11-105.994-53.368-165.044-0.238-1.762-0.402-3.546-0.402-5.374 0-22.090 17.908-40 40-40h560c22.092 0 40 17.914 40 40 0 2.056-0.204 4.064-0.504 6.038-2.194 54.020-17.886 106.48-45.894 152.648-0.734 1.472-1.562 2.91-2.492 4.294l-5.582 8.366c-0.054 0.078-0.11 0.156-0.164 0.236-0.042 0.068-0.098 0.154-0.144 0.222l-157.734 236.082 158.468 237.182c0.116 0.168 0.23 0.344 0.34 0.516 32.946 49.33 51.226 106.346 53.39 165.596zM749.958 144.060h-475.99c6.138 31.304 18.384 61.124 36.354 87.916 0.118 0.17 0.23 0.344 0.342 0.514l0.024 0.038c0.036 0.054 0.15 0.23 0.186 0.284l54.286 81.25h293.596l58.196-87.1c0.366-0.67 0.75-1.334 1.154-1.99 15.492-24.916 26.228-52.324 31.852-80.912zM497.528 512.178l-0.032 0.046 14.426 21.592 93.378-139.756h-186.692l78.92 118.118zM305.96 799.156c-15.498 24.91-26.234 52.318-31.856 80.906h476.052c-6.138-31.304-18.384-61.122-36.354-87.918-0.118-0.168-0.23-0.344-0.342-0.512l-0.024-0.040c-0.036-0.050-0.15-0.23-0.186-0.282l-140.242-209.902-28.98 43.374c-7.166 10.72-19.21 17.162-32.11 17.162-12.896 0-24.942-6.442-32.11-17.166l-28.76-43.044-143.938 215.428c-0.36 0.674-0.744 1.338-1.15 1.994z",play:"M878.78 477.856l-591.884-341.722c-9.464-5.464-18.426-8.050-26.386-8.048-19.516 0.002-33.002 15.546-33.002 42.338v683.446c0 26.792 13.482 42.338 33.002 42.338 7.96 0 16.924-2.586 26.386-8.048l591.884-341.722c32.664-18.864 32.664-49.724 0-68.582z",playnext:"M222 136l513 342 12 10V192a64 64 0 01128 0v640a64 64 0 01-128 0V536l-12 10-513 342c-8 5-16 8-23 8-17 0-28-16-28-42V170c0-26 11-42 28-42 7 0 15 3 23 8z",playback:"M823 136L311 478l-12 10V192a64 64 0 00-128 0v640a64 64 0 10128 0V536l12 10 512 342c8 5 16 8 23 8 17 0 29-16 29-42V170c0-26-12-42-29-42-7 0-15 3-23 8z",stop:"M1024 512A512 512 0 100 512a512 512 0 001024 0zM215 809a418 418 0 010-594 418 418 0 01594 0 418 418 0 010 594 418 418 0 01-594 0zm471-78H338c-25 0-45-20-45-45V338c0-25 20-45 45-45h348c25 0 45 20 45 45v348c0 25-20 45-45 45z",stopalt:"M894 85H130c-25 0-45 20-45 45v764c0 25 20 45 45 45h764c25 0 45-20 45-45V130c0-25-20-45-45-45z",rewind:"m631.8 642.6 345 245.4c7.7 5.4 15 8 21.4 8 15.9 0 26.8-15.5 26.8-42.3V170.3c0-26.8-11-42.3-26.8-42.3-6.4 0-13.7 2.6-21.4 8l-345 245.4v-211c0-26.9-10.9-42.4-26.8-42.4-6.4 0-13.7 2.6-21.4 8L129 459.4V192a64 64 0 0 0-128 0v640a64 64 0 0 0 128 0V564.6L583.6 888c7.7 5.4 15 8 21.4 8 15.9 0 26.8-15.5 26.8-42.3v-211Z",fastforward:"M398.2 386.4 53.2 141c-7.7-5.4-15-8-21.4-8C15.9 133 5 148.5 5 175.3v683.4C5 885.5 16 901 31.8 901c6.4 0 13.7-2.6 21.4-8l345-245.4v211c0 26.9 11 42.4 26.8 42.4 6.4 0 13.7-2.6 21.4-8L901 569.6V837a64 64 0 0 0 128 0V197a64 64 0 0 0-128 0v267.4L446.4 141c-7.7-5.4-15-8-21.4-8-15.9 0-26.8 15.5-26.8 42.3v211Z",email:"M960.032 268.004c0.748-10.040-2.246-20.364-9.226-28.684-5.984-7.132-13.938-11.62-22.394-13.394-0.13-0.026-0.268-0.066-0.396-0.092-1.082-0.22-2.172-0.376-3.272-0.5-0.25-0.032-0.492-0.080-0.742-0.102-1.028-0.096-2.052-0.136-3.090-0.156-0.292-0.002-0.582-0.042-0.876-0.042h-816.008c-21.416 0-38.848 16.844-39.898 38-0.034 0.628-0.092 1.256-0.096 1.89 0 0.034-0.006 0.074-0.006 0.114 0 0.050 0.008 0.102 0.008 0.152v495.692c0 0.054-0.008 0.106-0.008 0.156 0 22.090 17.91 40 40 40h816.004c13.808 0 25.98-6.996 33.17-17.636 0.1-0.148 0.182-0.312 0.28-0.458 0.606-0.93 1.196-1.868 1.722-2.84 0.046-0.082 0.080-0.172 0.124-0.258 2.992-5.604 4.704-12.008 4.704-18.804v0 0-493.038zM144.032 350.156l339.946 281.188c6.568 6.434 14.918 10.168 23.564 11.122 0.16 0.024 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058s0.996-0.042 1.492-0.058c0.842-0.028 1.68-0.058 2.518-0.14 0.16-0.016 0.32-0.042 0.48-0.066 8.646-0.958 16.996-4.688 23.564-11.122l339.946-281.206v370.894h-736v-370.876zM215.066 305.030h593.91l-296.946 245.422-296.964-245.422z",link:"M743.52 529.234c5.616-5.616 83.048-83.046 88.462-88.46 30.944-32.778 47.97-75.636 47.97-120.792 0-47.048-18.304-91.26-51.542-124.484-33.228-33.22-77.43-51.516-124.458-51.516-45.024 0-87.792 16.94-120.536 47.72l-104.458 104.456c-30.792 32.738-47.734 75.512-47.734 120.548 0 41.916 14.576 81.544 41.248 113.196 3.264 3.876 6.666 7.664 10.292 11.29 4.258 4.258 8.704 8.262 13.304 12.022 0.054 0.080 0.096 0.152 0.148 0.232 9.572 7.308 15.778 18.804 15.778 31.776 0 22.094-17.914 40-40.004 40-8.542 0-16.442-2.696-22.938-7.26-2.746-1.93-20.622-17.43-30.35-28.050-0.008-0.010-0.018-0.018-0.026-0.028-4.992-5.432-13.234-15.23-18.552-22.65s-16.556-25.872-17.036-26.736c-0.7-1.262-2.974-5.526-3.422-6.39-0.69-1.334-6.118-12.67-6.114-12.67-14.342-31.96-22.332-67.4-22.332-104.728 0-60.826 21.198-116.648 56.58-160.544 0.252-0.314 4.61-5.594 6.594-7.866 0.304-0.35 5.038-5.636 7.16-7.874 0.252-0.268 105.86-105.874 106.128-106.126 45.902-43.584 107.958-70.314 176.264-70.314 141.382 0 255.998 114.5 255.998 256 0 68.516-26.882 130.688-70.652 176.61-0.144 0.148-109.854 109.546-112.090 111.528-0.958 0.848-5.072 4.352-5.072 4.352-6.448 5.434-13.132 10.592-20.1 15.378 0.412-6.836 0.644-13.702 0.644-20.6 0-26.46-3.108-52.206-8.918-76.918l-0.236-1.102zM616.144 767.82c35.382-43.896 56.58-99.718 56.58-160.544 0-37.328-7.99-72.768-22.332-104.728 0.004 0 0.006-0.002 0.010-0.004-0.258-0.576-0.538-1.14-0.8-1.714-0.686-1.498-2.894-6.112-3.296-6.93-0.668-1.344-2.952-5.732-3.386-6.604-3.48-6.982-8.708-15.126-9.49-16.366-0.498-0.792-0.996-1.58-1.502-2.364-0.834-1.29-15.364-22.066-26.656-34.466-0.008-0.010-0.018-0.018-0.026-0.028-7.056-8.448-24.932-24.198-30.35-28.050-6.47-4.602-14.396-7.26-22.938-7.26-22.090 0-40.004 17.906-40.004 40 0 12.97 6.206 24.466 15.778 31.776 0.052 0.080 0.094 0.152 0.148 0.232 4.602 3.76 20.334 19.434 23.598 23.31 26.672 31.65 41.248 71.28 41.248 113.196 0 45.038-16.944 87.81-47.734 120.548l-104.458 104.456c-32.742 30.782-75.512 47.72-120.536 47.72-47.028 0-91.228-18.294-124.458-51.516-33.236-33.224-51.542-77.436-51.542-124.484 0-45.154 17.028-88.014 47.97-120.792 5.414-5.414 40.812-40.812 68.958-68.958 7.176-7.176 13.888-13.886 19.504-19.502v-0.002c-0.356-1.562-0.246-1.096-0.246-1.096-5.81-24.712-8.918-50.458-8.918-76.918 0-6.898 0.232-13.764 0.644-20.6-6.966 4.788-20.1 15.33-20.1 15.33-0.734 0.62-9.518 8.388-11.68 10.45-0.16 0.154-105.338 105.33-105.482 105.478-43.77 45.922-70.652 108.094-70.652 176.61 0 141.5 114.616 256 255.998 256 68.306 0 130.362-26.73 176.264-70.314 0.27-0.254 105.876-105.86 106.128-106.126 0.004-0.002 13.506-15.426 13.758-15.74z",paperclip:"M824.25 369.354c68.146-70.452 67.478-182.784-2.094-252.354-70.296-70.296-184.266-70.296-254.558 0-0.014 0.012-0.028 0.026-0.042 0.042-0.004 0.002-0.006 0.004-0.010 0.008l-433.144 433.142c-0.036 0.036-0.074 0.068-0.11 0.106-0.054 0.052-0.106 0.11-0.16 0.162l-2.668 2.67c-0.286 0.286-0.528 0.596-0.8 0.888-43.028 44.88-66.664 103.616-66.664 165.986 0 64.106 24.962 124.376 70.292 169.704 45.328 45.33 105.598 70.292 169.706 70.292 50.612 0 98.822-15.57 139.186-44.428 4.932-1.952 9.556-4.906 13.544-8.894l16.802-16.802c0.056-0.056 0.116-0.112 0.172-0.168 0.038-0.038 0.074-0.076 0.112-0.116l289.010-289.014c15.622-15.618 15.62-40.942 0-56.56s-40.948-15.62-56.566 0l-289.124 289.122c-62.482 62.484-163.792 62.484-226.274 0-62.484-62.482-62.484-163.79 0-226.272h-0.002l433.134-433.12c0.058-0.060 0.112-0.122 0.172-0.18 38.99-38.99 102.43-38.99 141.42 0 38.992 38.99 38.99 102.432 0 141.422-0.058 0.060-0.122 0.114-0.18 0.17l0.006 0.006-280.536 280.534c-0.002-0.002-0.002-0.004-0.004-0.006l-79.978 79.98c-0.010 0.010-0.016 0.020-0.028 0.028-0.008 0.012-0.018 0.018-0.028 0.028l-0.064 0.062c-15.622 15.624-40.944 15.624-56.562 0-15.624-15.62-15.624-40.944-0.002-56.566l0.062-0.062c0.010-0.010 0.018-0.020 0.028-0.028 0.008-0.012 0.020-0.018 0.028-0.028l79.98-79.978c-0.002-0.002-0.004-0.002-0.006-0.004l136.508-136.512c15.622-15.62 15.62-40.944-0.002-56.562-15.618-15.62-40.946-15.62-56.564 0l-219.342 219.344c-1.284 1.284-2.42 2.652-3.494 4.052-40.4 47.148-38.316 118.184 6.322 162.824 44.64 44.638 115.674 46.722 162.82 6.324 1.402-1.072 2.772-2.21 4.054-3.494l2.83-2.832c0.002 0 0.002 0 0.002 0s0 0 0 0l360.54-360.54c0.058-0.056 0.12-0.114 0.18-0.172 0.050-0.050 0.098-0.106 0.15-0.158l0.994-0.994c0.34-0.338 0.63-0.702 0.952-1.052z",box:"M960.016 408.080c0-0.672-0.046-1.342-0.078-2.014-0.032-0.594-0.044-1.19-0.102-1.782-0.068-0.726-0.186-1.448-0.294-2.17-0.080-0.54-0.144-1.080-0.248-1.616-0.138-0.724-0.326-1.442-0.506-2.16-0.134-0.534-0.252-1.070-0.408-1.6-0.196-0.662-0.436-1.314-0.668-1.968-0.204-0.582-0.396-1.166-0.628-1.74-0.226-0.56-0.494-1.11-0.75-1.662-0.3-0.656-0.598-1.312-0.934-1.954-0.242-0.454-0.514-0.894-0.774-1.342-0.414-0.716-0.83-1.43-1.292-2.124-0.256-0.382-0.538-0.752-0.806-1.128-0.514-0.716-1.036-1.428-1.602-2.116-0.090-0.11-0.162-0.226-0.254-0.336-0.244-0.292-0.516-0.542-0.768-0.826-0.534-0.6-1.068-1.198-1.644-1.772-0.48-0.478-0.982-0.924-1.48-1.376-0.354-0.316-0.674-0.658-1.040-0.964l-405.788-335.666c-6.568-6.436-14.918-10.166-23.564-11.124-0.16-0.022-0.32-0.050-0.48-0.066-0.838-0.082-1.676-0.11-2.518-0.14-0.496-0.020-0.994-0.058-1.492-0.058s-0.996 0.040-1.492 0.058c-0.842 0.028-1.68 0.058-2.518 0.14-0.16 0.016-0.32 0.044-0.48 0.066-8.646 0.956-16.996 4.688-23.564 11.124l-405.662 335.542c-7.13 5.982-11.616 13.93-13.392 22.382-0.032 0.14-0.070 0.278-0.1 0.42-0.212 1.072-0.37 2.152-0.494 3.238-0.032 0.258-0.078 0.51-0.106 0.77-0.086 0.89-0.114 1.786-0.138 2.68-0.014 0.39-0.052 0.78-0.054 1.17 0 0.040-0.006 0.074-0.006 0.114v204.856c-0.958 12.434 3.854 25.128 14.134 33.754l405.662 335.54c6.568 6.438 14.918 10.168 23.564 11.124 0.16 0.020 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058 0.054 0 0.11-0.008 0.162-0.008 0.042 0 0.084 0.008 0.126 0.008 0.342 0 0.672-0.042 1.012-0.050 0.062-0.004 0.126-0.008 0.192-0.008 0.134-0.004 0.27-0.020 0.402-0.024 10.602-0.422 20.136-4.938 27.054-12.046l404.526-334.624c0.084-0.066 0.166-0.136 0.248-0.204l0.12-0.098c0.17-0.144 0.314-0.304 0.48-0.45 0.814-0.704 1.614-1.43 2.37-2.2 0.296-0.3 0.562-0.624 0.85-0.934 0.602-0.652 1.2-1.308 1.756-2 0.3-0.372 0.566-0.758 0.852-1.136 0.504-0.672 1.002-1.344 1.462-2.046 0.242-0.368 0.458-0.75 0.686-1.124 0.458-0.754 0.908-1.508 1.316-2.292 0.164-0.312 0.304-0.636 0.46-0.954 0.426-0.872 0.832-1.746 1.196-2.652 0.092-0.23 0.168-0.464 0.256-0.696 0.376-0.996 0.728-2 1.026-3.032 0.042-0.148 0.074-0.296 0.114-0.442 0.306-1.102 0.578-2.218 0.79-3.356 0.016-0.082 0.024-0.164 0.038-0.246 0.212-1.184 0.382-2.378 0.49-3.598v0c0.1-1.156 0.176-2.32 0.176-3.5v-204.86c0.024-0.318 0.022-0.638 0.040-0.958 0.026-0.668 0.074-1.338 0.074-2.008zM143.89 493.202l328.14 271.42v103.902l-328.14-271.18v-104.142zM552.032 764.402l327.868-271.212v103.88l-327.868 270.972v-103.64zM511.898 122.66l345.348 285.42-345.348 285.42-345.374-285.42 345.374-285.42z",structure:"M954.324 833.3c0.208-0.558 0.388-1.128 0.586-1.692 0.3-0.868 0.608-1.734 0.882-2.61 0.234-0.746 0.444-1.5 0.66-2.25 0.212-0.734 0.432-1.464 0.624-2.204 0.204-0.766 0.378-1.54 0.562-2.308 0.18-0.766 0.366-1.528 0.528-2.292 0.146-0.692 0.272-1.386 0.402-2.082 0.168-0.89 0.332-1.778 0.476-2.668 0.090-0.566 0.164-1.136 0.244-1.704 0.148-1.058 0.29-2.118 0.404-3.18 0.042-0.422 0.080-0.852 0.12-1.274 0.118-1.23 0.212-2.46 0.282-3.696 0.018-0.304 0.030-0.606 0.042-0.906 0.062-1.36 0.098-2.718 0.104-4.082 0-0.114 0.008-0.226 0.008-0.34 0-0.128-0.010-0.258-0.010-0.39-0.006-1.368-0.042-2.734-0.104-4.102-0.014-0.296-0.030-0.594-0.044-0.89-0.070-1.246-0.166-2.492-0.284-3.738-0.042-0.434-0.084-0.864-0.128-1.292-0.116-1.050-0.25-2.098-0.4-3.144-0.088-0.628-0.18-1.258-0.282-1.882-0.13-0.8-0.276-1.598-0.428-2.394-0.162-0.868-0.332-1.73-0.518-2.594-0.116-0.524-0.24-1.046-0.364-1.57-0.264-1.128-0.542-2.25-0.846-3.36-0.070-0.254-0.144-0.504-0.214-0.754-11.38-40.382-48.464-69.996-92.488-69.996-3.066 0-6.096 0.16-9.088 0.442l-264.576-458.262c21.080-29.698 24.3-70.13 4.9-103.732-12.596-21.816-32.458-36.812-54.764-43.724-0.062-0.020-0.124-0.036-0.186-0.054-1.394-0.43-2.798-0.83-4.21-1.196-0.296-0.076-0.596-0.142-0.894-0.216-1.208-0.3-2.422-0.586-3.642-0.84-0.384-0.082-0.774-0.148-1.16-0.224-1.168-0.228-2.338-0.444-3.514-0.626-0.384-0.060-0.776-0.112-1.162-0.168-1.208-0.174-2.416-0.332-3.63-0.46-0.35-0.038-0.7-0.066-1.048-0.1-1.27-0.12-2.54-0.218-3.814-0.29-0.32-0.018-0.642-0.032-0.964-0.044-1.294-0.058-2.594-0.094-3.892-0.1-0.166 0-0.328-0.012-0.492-0.012-0.19 0-0.376 0.014-0.564 0.014-1.21 0.008-2.42 0.040-3.63 0.092-0.494 0.022-0.986 0.046-1.478 0.074-0.992 0.060-1.986 0.136-2.978 0.226-0.722 0.064-1.442 0.134-2.16 0.214-0.696 0.080-1.392 0.17-2.090 0.266-1.014 0.136-2.026 0.286-3.032 0.452-0.352 0.060-0.704 0.124-1.054 0.19-44.97 8.028-79.122 47.302-79.122 94.582 0 20.756 6.602 39.958 17.79 55.67l-264.58 458.26c-2.954-0.274-5.94-0.434-8.962-0.434-53.078 0-96.11 43.032-96.11 96.11 0 53.082 43.032 96.11 96.11 96.11 38.8 0 72.208-23.004 87.386-56.11l529.202-0.004c0.138 0.304 0.292 0.606 0.436 0.91 0.226 0.48 0.456 0.958 0.69 1.434 0.474 0.968 0.966 1.93 1.476 2.882 0.214 0.402 0.432 0.8 0.65 1.2 0.314 0.566 0.604 1.14 0.93 1.708 0.284 0.488 0.59 0.958 0.88 1.442 0.122 0.2 0.244 0.398 0.37 0.602 27.086 44.372 84.766 59.278 130.040 33.136 18.864-10.89 32.624-27.214 40.478-45.852 0.054-0.132 0.104-0.266 0.158-0.398 0.518-1.248 1.020-2.506 1.486-3.776zM238.414 744.282l264.542-458.204c0.424 0.042 0.85 0.064 1.276 0.098 0.668 0.056 1.334 0.112 2.004 0.152 0.652 0.040 1.306 0.066 1.96 0.092 1.122 0.046 2.244 0.076 3.368 0.084 0.146 0.002 0.292 0.012 0.438 0.012 0.168 0 0.334-0.012 0.502-0.014 1.436-0.004 2.874-0.040 4.31-0.108 0.088-0.006 0.176-0.010 0.262-0.014 1.376-0.070 2.75-0.168 4.124-0.296l264.596 458.298c-3.48 4.894-6.514 10.122-9.042 15.636h-529.226c-2.546-5.55-5.602-10.814-9.114-15.736z",cpu:"M392.016 672.016h240.032c22.092 0 40-17.908 40-40v-240.032c0-22.092-17.908-40-40-40h-240.032c-22.092 0-40 17.908-40 40v240.032c0 22.092 17.908 40 40 40zM432.016 431.984h160.032v160.032h-160.032v-160.032zM864.032 424h71.98c22.094 0 40.004-17.906 40.004-40 0-22.092-17.906-40-40-40h-71.984v-143.968c0-22.092-17.908-40-40-40h-144v-72.012c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.016h-176v-72.012c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.016h-144c-22.092 0-40 17.908-40 40v143.968h-71.984c-22.094 0-40 17.908-40 40s17.91 40 40 40h71.984v176h-71.984c-22.094 0-40 17.908-40 40s17.91 40 40 40h71.984v144.030c0 22.092 17.908 40 40 40h144v71.954c0 22.094 17.906 40 40 40s40-17.91 40-40v-71.954h176v71.954c0 22.094 17.906 40 40 40s40-17.91 40-40v-71.954h144c22.092 0 40-17.908 40-40v-144.030h71.98c22.094 0 40.004-17.906 40.004-40 0-22.092-17.906-40-40-40h-71.984v-176zM784.032 784.032h-143.692c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-127.382c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-127.382c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-143.696v-544h544v544z",memory:"M320.032 416.032v-152.968c0-22.094 17.91-40 40-40 22.094 0 40 17.91 40 40.004v152.964c0 22.090-17.906 40-40 40s-40-17.908-40-40zM512 456.032c22.094 0 40-17.91 40-40v-152.964c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v152.968c0 22.092 17.908 40 40 40zM664.032 456.032c22.094 0 40-17.91 40-40v-82.996c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v83c0 22.092 17.906 40 40 40zM864.018 316.616v603.418c0 0.004 0 0.004 0 0.004 0 6.798-1.71 13.198-4.704 18.808-0.044 0.084-0.078 0.172-0.124 0.254-0.524 0.976-1.112 1.914-1.722 2.836-0.098 0.15-0.18 0.312-0.282 0.46-7.188 10.638-19.36 17.634-33.168 17.634h-623.99c-22.090 0-40-17.908-40-40v-343.574c-0.002-0.142-0.022-0.282-0.022-0.426 0-0.142 0.020-0.282 0.022-0.426v-471.574c0-20.34 15.192-37.092 34.838-39.63 1.694-0.216 3.408-0.37 5.162-0.37l411.254 0.052c10.594-0.286 21.282 3.58 29.368 11.668l211.672 212.206c7.906 7.908 11.792 18.298 11.696 28.66zM240.026 144.034v391.998h543.99v-203.27l-188.252-188.728h-355.738zM784.016 880.032v-264h-543.99v264h543.99z",database:"M895.95 221.364c-3.414-87.32-173.972-157.672-383.918-157.672s-380.504 70.352-383.918 157.672h-0.082v578.328c0 88.552 171.918 160.338 384 160.338s384-71.786 384-160.338v-578.328h-0.082zM798.412 430.578c-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-92.9c70.29 37.478 179.654 61.566 302.5 61.566s232.21-24.088 302.5-61.566v92.9c-2.476 3.266-7.416 8.522-16.12 14.874zM814.532 514.464v93.24c-2.474 3.266-7.416 8.522-16.12 14.874-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-93.24c70.29 37.48 179.654 61.566 302.5 61.566s232.21-24.086 302.5-61.566zM225.652 209.146c15.6-11.386 37.69-22.346 63.88-31.696 60.984-21.77 140.002-33.758 222.498-33.758s161.514 11.988 222.498 33.758c26.192 9.348 48.282 20.308 63.882 31.696 8.704 6.352 13.646 11.608 16.12 14.874v0.026c-2.474 3.266-7.416 8.522-16.12 14.874-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-0.026c2.476-3.268 7.418-8.524 16.122-14.874zM798.412 814.578c-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.714-6.36-13.66-11.62-16.13-14.886h0.010v-93.228c70.29 37.48 179.654 61.566 302.5 61.566s232.21-24.086 302.5-61.566v93.228h0.010c-2.474 3.266-7.42 8.526-16.132 14.886z",power:"M320 118.3a45.7 45.7 0 0122.5 85.6 384.6 384.6 0 00-120.8 93.4A380.9 380.9 0 00128 548.6c0 102.5 39.9 199 112.4 271.5A381.5 381.5 0 00512 932.5c102.5 0 199-39.9 271.5-112.4a381.5 381.5 0 00112.4-271.5c0-98.1-36.5-190.6-103.1-262l-2-2-9.4-9.5a384.2 384.2 0 00-100-71.2 45.6 45.6 0 0139.6-82.2l.6.3h.2l.1.1h.1l2 1 4 2 1.9 1 3.5 1.9a480.6 480.6 0 0144.9 27l2 1.3v-.3.1a475.4 475.4 0 11-545.3 6.2l3.6-2.6v.1a471.4 471.4 0 0151.7-31.7l3.7-2 1.4-.7.3-.2 6.4-3.1.1-.1h.1l.7-.3c5.2-2.1 11-3.4 17-3.4zM511.8 0c25 0 45.3 20 45.7 45v421.3a45.7 45.7 0 01-91.4.7V45.7A45.7 45.7 0 01511.9 0z",outbox:"M960.062 616v304c0 1.382-0.070 2.746-0.208 4.090-2.046 20.172-19.080 35.91-39.792 35.91h-816c-22.090 0-40-17.906-40-40v-304c0-22.090 17.91-40 40-40s40 17.91 40 40v264h736v-264c0-22.090 17.91-40 40-40s40 17.912 40 40zM664.732 200.168l-124.41-124.41c-0.014-0.014-0.024-0.028-0.038-0.042-3.57-3.57-7.664-6.284-12.018-8.222-5.316-2.368-11.028-3.54-16.742-3.47-0.14-0.002-0.276-0.020-0.414-0.020-13.552 0-25.512 6.756-32.748 17.072l-119.1 119.092c-15.622 15.62-15.618 40.948 0.002 56.57 15.622 15.62 40.95 15.62 56.568 0l55.276-55.276v462.54c0 22.094 17.912 40 40.002 40 22.092 0 40-17.91 40-40v-464.314l57.052 57.052c15.622 15.624 40.948 15.62 56.568 0 15.628-15.624 15.628-40.952 0.002-56.572z",share:"M896.006 920c0 22.090-17.91 40-40 40h-688.006c-22.090 0-40-17.906-40-40v-549.922c-0.838-3.224-1.33-6.588-1.33-10.072 0-22.090 17.908-40.004 40-40.004h178.66c22.092 0.004 40 17.914 40 40.004 0 22.088-17.908 40-40 40h-137.33v479.996h607.998v-479.996h-138.658c-22.090 0-40-17.912-40-40 0-22.090 17.906-40.004 40-40.004h178.658c22.090 0 40 17.91 40 40v559.844c0 0.050 0.008 0.102 0.008 0.154zM665.622 200.168l-124.452-124.45c-8.042-8.042-18.65-11.912-29.186-11.674-1.612-0.034-3.222 0-4.828 0.16-0.558 0.054-1.098 0.16-1.648 0.238-0.742 0.104-1.484 0.192-2.218 0.338-0.656 0.13-1.29 0.31-1.934 0.472-0.622 0.154-1.244 0.292-1.86 0.476-0.64 0.196-1.258 0.436-1.886 0.66-0.602 0.216-1.208 0.414-1.802 0.66-0.598 0.248-1.17 0.54-1.754 0.814-0.598 0.282-1.202 0.546-1.788 0.86-0.578 0.312-1.13 0.664-1.694 1-0.552 0.332-1.116 0.644-1.654 1.006-0.67 0.448-1.3 0.942-1.942 1.426-0.394 0.302-0.806 0.576-1.196 0.894-1.046 0.858-2.052 1.768-3.008 2.726l-124.398 124.39c-15.622 15.62-15.618 40.948 0.002 56.57 15.622 15.62 40.95 15.62 56.568 0l56.164-56.166v439.426c0 22.094 17.912 40 40.002 40 22.092 0 40-17.91 40-40v-441.202l57.942 57.942c15.622 15.624 40.948 15.62 56.568 0 15.626-15.618 15.626-40.946 0.002-56.566z",button:"M644.634 802.32c-4.558 5.434-10.254 9.328-16.446 11.672l0.008 0.024-45.628 16.606 27.54 75.66c7.554 20.756-3.148 43.71-23.906 51.266s-43.714-3.146-51.27-23.906l-27.54-75.656-47.63 17.29c-6.020 1.956-12.586 2.518-19.254 1.342-21.75-3.836-36.282-24.582-32.45-46.34l30.57-173.328c2.55-14.476 12.61-25.714 25.458-30.508 0.292-0.118 0.586-0.23 0.878-0.34 0.238-0.084 0.476-0.168 0.718-0.246 12.942-4.624 27.91-2.492 39.196 6.98l134.824 113.13c16.932 14.2 19.144 39.432 4.932 56.354zM960.002 664v-368.082c0-22.092-17.908-40-40-40h-816c-22.092 0-40 17.908-40 40l-0.292 368.238c0 22.092 17.908 40 40 40h240.292c22.092 0 40-17.908 40-40s-17.908-40-40-40h-200.292l0.292-288.238h736v288.082h-200c-22.092 0-40 17.908-40 40s17.908 40 40 40h240c22.092 0 40-17.908 40-40z",form:"M948.362 178.828l-471.082 470.086c-0.24 0.25-0.45 0.52-0.698 0.77-7.82 7.82-18.070 11.722-28.32 11.712-10.25 0.010-20.504-3.892-28.324-11.712-0.262-0.262-0.48-0.546-0.734-0.812l-221.736-221.738c-15.624-15.622-15.624-40.95 0-56.566 15.618-15.622 40.946-15.624 56.57 0l194.224 194.222 443.53-442.528c15.622-15.618 40.95-15.618 56.57 0 15.62 15.62 15.62 40.946 0 56.566zM98.372 128.448c-18.926 0-34.266 15.342-34.266 34.268v699.032c0 18.926 15.34 34.266 34.266 34.266h699.032c18.926 0 34.266-15.34 34.266-34.266v-430.588c0 0 0.002-1.184 0.002-1.788 0-22.090-17.914-40-40.004-40s-40 17.91-40 40c0 0.288 0.002 386.64 0.002 386.64h-607.562v-607.564h600.002c22.090-0.002 40.002-17.906 40.002-40 0-22.090-17.914-40-40.004-40z",check:"M948.598 199.75c-15.622-15.618-40.95-15.618-56.57 0l-535.644 535.644-224.060-224.062c-15.624-15.624-40.954-15.62-56.57 0-15.624 15.62-15.624 40.948 0 56.568l251.574 251.574c0.252 0.266 0.472 0.55 0.734 0.812 7.82 7.82 18.072 11.724 28.322 11.714 10.25 0.010 20.502-3.894 28.322-11.714 0.248-0.248 0.456-0.518 0.698-0.77l563.196-563.202c15.618-15.618 15.618-40.94-0.002-56.564z",batchaccept:"M684 277L271 772l-1 1a40 40 0 0 1-56 5l-1-1L14 610a40 40 0 1 1 52-61l169 142 387-465a40 40 0 0 1 62 51zm340 234c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0-216c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0 432c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40z",batchdeny:"M1024 512c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0-216c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0 432c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zM625 236c16 15 16 41 0 56L406 512l220 220a40 40 0 1 1-57 57L349 568 129 788a40 40 0 1 1-57-56l220-220L73 292a40 40 0 0 1 56-57l220 220 219-219c16-16 41-16 57 0z",home:"M948.12 483.624l-407.814-407.754c-7.812-7.808-18.046-11.712-28.282-11.712-10.238 0-20.472 3.904-28.282 11.712l-407.92 407.86c-15.624 15.622-15.624 40.948-0.006 56.57s40.944 15.622 56.568 0.004l19.616-19.612v366.708c0 22.090 17.91 40 40 40h190.696c0.416 0.014 0.82 0.062 1.238 0.062 11.054 0 21.060-4.484 28.3-11.734 7.266-7.244 11.766-17.262 11.766-28.332 0-0.418-0.050-0.822-0.062-1.238v-263.204h176.060v263.934c0 22.090 17.91 40 40 40l191.876 0.124c2.292 0 4.524-0.236 6.708-0.608 0.45-0.074 0.91-0.116 1.356-0.206 0.21-0.044 0.414-0.116 0.628-0.162 17.906-3.972 31.308-19.924 31.308-39.026v-366.492l19.682 19.68c15.622 15.62 40.948 15.616 56.568-0.006s15.618-40.948-0.004-56.568zM791.876 448.272v398.71l-111.874-0.074v-263.876c0-0.020-0.002-0.042-0.002-0.062 0-0.006 0-0.014 0-0.022 0-22.090-17.91-40-40-40h-254.002c-0.556 0-1.1 0.060-1.65 0.084-0.14-0.002-0.274-0.022-0.414-0.022-22.090 0-40 17.91-40 40v264.382h-111.934v-399.392c0-2.286-0.234-4.512-0.604-6.694l280.626-280.584 280.514 280.472c-0.412 2.302-0.66 4.658-0.66 7.078z",admin:"M919.596 847.534h-88.414v-467.716l88.75-0.044c13.688-0.132 26.958-7.25 34.294-19.96 11.044-19.13 4.49-43.596-14.642-54.64l-407.904-235.676c-0.44-0.254-0.894-0.45-1.34-0.684-0.542-0.29-1.084-0.578-1.638-0.84-0.696-0.328-1.4-0.62-2.108-0.904-0.478-0.194-0.954-0.388-1.44-0.56-0.78-0.282-1.564-0.524-2.352-0.754-0.442-0.126-0.878-0.256-1.324-0.37-0.808-0.206-1.618-0.376-2.43-0.528-0.468-0.088-0.934-0.174-1.404-0.246-0.768-0.116-1.534-0.204-2.302-0.274-0.554-0.052-1.108-0.096-1.664-0.124-0.672-0.034-1.34-0.044-2.012-0.044-0.67 0-1.338 0.012-2.010 0.044-0.556 0.030-1.11 0.072-1.664 0.124-0.77 0.070-1.536 0.158-2.302 0.274-0.468 0.072-0.938 0.158-1.402 0.246-0.814 0.152-1.624 0.322-2.432 0.528-0.444 0.114-0.882 0.242-1.322 0.37-0.79 0.23-1.574 0.472-2.356 0.754-0.484 0.172-0.958 0.368-1.438 0.56-0.708 0.286-1.41 0.576-2.11 0.904-0.554 0.262-1.094 0.55-1.636 0.84-0.446 0.234-0.9 0.43-1.34 0.684l-407.906 235.672c-19.128 11.044-25.686 35.51-14.64 54.64 7.34 12.71 20.606 19.828 34.292 19.96v0.044h89.842v467.716h-89.474c-22.090 0-40 17.91-40 40s17.91 40 40 40h128.276c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h183.602c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h183.602c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h313.154c22.098 0 40-17.91 40-40-0.006-22.090-17.914-39.996-40.006-39.996zM751.182 847.534h-105.94v-467.716h105.94v467.716zM252.93 299.816l258.736-149.486 258.738 149.486h-517.474zM565.242 379.816v467.716h-106v-467.716h106zM273.242 379.816h106v467.716h-106v-467.716z",paragraph:"M728.032 96.032h-116.98c-0.026 0-0.050-0.004-0.076-0.004s-0.050 0.004-0.076 0.004h-199.848c-0.026 0-0.050-0.004-0.076-0.004s-0.050 0.004-0.076 0.004h-31.924c-123.712 0-224 100.292-224 224 0 121.032 95.994 219.628 216 223.842v344.158c0 22.092 17.91 40 40 40 22.086 0 40-17.908 40-40v-712h120v712c0 22.092 17.91 40 40 40 22.086 0 40-17.908 40-40v-712h77.056c22.094 0 40-17.91 40-40 0-22.092-17.91-40-40-40z",basket:"M632.254 695.604v-112.016c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 112.018c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.904-40-40zM352.246 735.604c22.090-0.002 40-17.91 39.996-39.998l0.004-112.018c0-22.094-17.91-40-40-40.002-22.094 0-40.004 17.91-40 40.002v112.016c-0.004 22.096 17.906 40.002 40 40zM512.25 735.604c22.090-0.002 40-17.91 39.996-39.998l0.004-112.018c0-22.094-17.91-40-40-40.002-22.094 0-40.004 17.91-40 40.002v112.016c-0.004 22.096 17.906 40.002 40 40zM950.3 397.424c-7.596-8.686-18.574-13.67-30.114-13.67h-313.284c0.87 5.196 1.346 10.524 1.346 15.966 0 24.608-9.27 47.044-24.494 64.034h290.684l-47.318 351.376-629.908-0.030-47.502-351.346h291.034c-15.224-16.988-24.494-39.426-24.494-64.034 0-5.444 0.476-10.772 1.346-15.966h-313.66c-11.542 0-22.524 4.986-30.12 13.678-7.596 8.694-11.066 20.242-9.52 31.682l51.614 381.742 0.050 0.042c5.832 47.424 46.222 84.158 95.222 84.172l0.054 0.034 601.816-0.034c0.042 0 0.082 0.002 0.124 0.002 49.414 0 90.090-37.34 95.396-85.336l51.258-380.64c1.54-11.44-1.934-22.984-9.53-31.672zM805.492 105.34c-15.622-15.622-40.95-15.624-56.572 0.004l-230.684 230.684c-2.052-0.2-4.132-0.306-6.236-0.306-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64c0-2.652-0.18-5.262-0.494-7.83l229.986-229.98c15.622-15.624 15.616-40.95-0-56.572z",credit:"M376.188 672.062h-112.124c-22.092 0-40-17.908-40-40s17.908-40 40-40h112.124c22.092 0 40 17.908 40 40s-17.908 40-40 40zM960 232.002v560c0 6.8-1.708 13.2-4.704 18.81-0.044 0.082-0.078 0.172-0.124 0.254-0.524 0.974-1.112 1.914-1.722 2.836-0.098 0.15-0.18 0.31-0.282 0.458-7.188 10.64-19.36 17.638-33.168 17.638h-816c-22.090 0-40-17.908-40-40v-559.998c0-20.34 15.192-37.092 34.838-39.628 1.694-0.218 3.408-0.372 5.162-0.372h816c1.754 0 3.468 0.152 5.162 0.372 19.646 2.536 34.838 19.288 34.838 39.63zM144 272.002v80.030h736v-80.030h-736zM880 751.998v-239.966h-736v239.966h736z",shield:"M875.146 148.994c-0.064-0.040-0.116-0.094-0.184-0.132-92.714-52.39-221.036-84.83-362.846-84.83-138.512 0-270.346 34.356-362.51 84.618-0.606 0.33-1.138 0.658-1.608 0.986-11.954 6.918-20.016 19.81-20.016 34.614v451.4c0 12.7 5.938 23.996 15.166 31.32l340.538 281.676c6.568 6.434 14.918 10.168 23.564 11.122 0.16 0.024 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058s0.996-0.040 1.492-0.058c0.842-0.032 1.68-0.058 2.518-0.14 0.16-0.016 0.32-0.042 0.48-0.066 8.646-0.958 16.996-4.688 23.564-11.122l339.36-280.718c10.326-7.23 17.094-19.2 17.094-32.762v-450.918c0.002-15.254-8.54-28.506-21.102-35.254zM207.984 208.212c36.292-18.168 77.668-32.854 123.356-43.722 57.062-13.576 117.884-20.458 180.778-20.458s123.714 6.882 180.778 20.458c30.186 7.182 58.474 16.040 84.674 26.456l-490.846 490.848-78.738-65.070v-408.512zM511.742 867.75l-163.078-134.77 467.586-467.584v350.69l-304.508 251.664z",beaker:"M848.64 790.56l-208.638-361.374v-252.062h24c22.092 0 40-17.908 40-40s-17.908-40-40-40h-304.002c-22.092 0-40 17.908-40 40s17.908 40 40 40h24v252.066l-208.636 361.37c-44 76.208-8 138.564 80 138.564h513.278c87.998 0 123.998-62.354 79.998-138.564zM464 177.124h96.002l-0.070 273.376 63.872 110.628h-223.678c35.932-62.268 63.872-110.684 63.876-110.692v-273.312zM768.64 849.124h-513.278c-8.28 0-14.186-0.976-17.968-2 1.004-3.792 3.112-9.394 7.25-16.564 0 0 54.598-94.614 109.316-189.436l316.026-0.002 109.374 189.44c4.138 7.168 6.246 12.77 7.25 16.562-3.784 1.024-9.69 2-17.97 2z",thumbsup:"M256.972 768.004c0-8.67-3.156-16.158-9.484-22.534-6.332-6.34-13.836-9.484-22.504-9.458-8.682 0-16.188 3.172-22.516 9.458-6.33 6.344-9.488 13.84-9.488 22.534 0 8.692 3.158 16.186 9.488 22.532 6.328 6.286 13.834 9.458 22.516 9.458 8.668 0.028 16.172-3.118 22.504-9.458 6.328-6.376 9.484-13.868 9.484-22.532zM832.948 480.010c0-17.004-6.478-31.908-19.468-44.734-13.014-12.82-27.834-19.25-44.512-19.276h-175.97c0-19.328 7.98-45.904 24.004-79.724 15.968-33.826 23.978-60.568 23.978-80.256 0-32.646-5.332-56.808-15.994-72.48-10.664-15.664-31.988-23.484-63.98-23.484-8.696 8.64-15.012 22.828-19.032 42.486-4.020 19.69-9.102 40.606-15.254 62.752-6.168 22.172-16.080 40.382-29.762 54.738-7.344 7.68-20.168 22.832-38.5 45.496-1.326 1.67-5.164 6.65-11.512 15.010-6.342 8.342-11.594 15.178-15.762 20.508-4.156 5.308-9.91 12.386-17.252 21.218-7.328 8.862-14 16.186-19.988 22.038-5.986 5.794-12.412 11.73-19.26 17.744-6.852 5.984-13.508 10.5-19.99 13.48-6.478 3.010-12.4 4.484-17.756 4.512h-15.982v320.010h15.982c4.332 0 9.596 0.492 15.774 1.504 6.168 1.012 11.676 2.080 16.488 3.258 4.812 1.144 11.154 2.98 19.002 5.466 7.862 2.512 13.702 4.424 17.502 5.74 3.812 1.31 9.732 3.422 17.756 6.238 8.026 2.842 12.866 4.586 14.506 5.272 70.324 24.334 127.304 36.504 170.996 36.504h60.482c64.006 0 96.024-27.836 96.024-83.478 0-8.664-0.848-18.016-2.514-27.996 10.004-5.334 17.936-14.084 23.758-26.276 5.824-12.172 8.724-24.416 8.778-36.746 0-12.366-3.008-23.844-9.024-34.51 17.664-16.682 26.524-36.496 26.524-59.496 0-8.308-1.696-17.554-5.032-27.72-3.336-10.202-7.492-18.104-12.468-23.762 10.636-0.328 19.55-8.15 26.714-23.486 7.192-15.34 10.744-28.82 10.744-40.496v-0.054zM896.984 479.516c0 29.638-8.204 56.816-24.5 81.506 2.98 10.994 4.484 22.476 4.484 34.482 0 25.674-6.344 49.68-19.004 71.99 1.012 7 1.506 14.164 1.506 21.488 0 33.688-10.008 63.354-29.968 89.026 0.326 46.32-13.834 82.904-42.518 109.756-28.682 26.848-66.522 40.246-113.496 40.246h-64.528c-31.99 0-63.542-3.746-94.742-11.268-31.168-7.492-67.246-18.402-108.23-32.758-38.662-13.312-61.656-19.956-68.984-19.956h-143.996c-17.664 0-32.742-6.292-45.252-18.784-12.508-12.5-18.756-27.588-18.756-45.254v-319.982c0-17.666 6.248-32.728 18.756-45.226 12.51-12.52 27.588-18.784 45.252-18.784h136.998c12.002-8.010 34.818-33.822 68.478-77.484 19.33-24.99 37.168-46.344 53.508-64.008 7.996-8.314 13.918-22.586 17.744-42.766 3.828-20.178 8.912-41.232 15.256-63.24 6.36-21.984 16.68-40.002 30.994-53.998 13.002-12.362 28.012-18.514 45.018-18.514 27.998 0 53.152 5.414 75.464 16.242 22.31 10.828 39.316 27.748 50.964 50.77 11.704 23.002 17.5 53.978 17.5 92.962 0 31.008-7.984 63-23.98 96.028h88.014c34.67 0 64.634 12.628 89.956 37.98 25.346 25.346 38.008 55.144 38.008 89.49l0.054 0.056z",mirror:"M857 127.778h-688c-22.092 0-40 17.91-40 40v688c0 22.090 17.908 40 40 40h688c22.094 0 40-17.91 40-40v-688c0-22.092-17.906-40-40-40zM817 815.778h-608v-1.086l606.914-606.914h1.086v608z",switchalt:"M923.946 63.418h-631.232c-20.268 0-36.7 16.432-36.7 36.7v155.286h-155.284c-20.268 0-36.7 16.432-36.7 36.7v631.23c0 20.268 16.43 36.7 36.7 36.7h631.23c20.272 0 36.7-16.432 36.7-36.7v-155.286h155.286c20.272 0 36.7-16.432 36.7-36.7v-631.23c-0.002-20.268-16.43-36.7-36.7-36.7zM688.66 880.032h-544.628v-544.628h111.984v395.946c0 20.268 16.43 36.7 36.7 36.7h395.944v111.982zM688.66 688.046h-352.644v-352.644h352.644v352.644zM880.644 688.046h-111.984v-395.946c0-20.268-16.428-36.7-36.7-36.7h-395.944v-111.984h544.628v544.63z",commit:"M984.032 472h-186.808c-19.474-140.12-139.74-248-285.222-248s-265.748 107.88-285.222 248h-186.746c-22.092 0-40 17.912-40 40.002 0 22.092 17.91 40 40 40h186.746c19.476 140.122 139.74 247.998 285.222 247.998s265.746-107.876 285.222-247.998h186.808c22.092 0 40-17.91 40-40s-17.908-40.002-40-40.002zM512 720c-114.692 0-208-93.308-208-208s93.308-208 208-208 208 93.308 208 208-93.308 208-208 208z",branch:"M861.968 312.032c0-66.168-53.832-120-120-120s-120 53.832-120 120c0 50.55 31.436 93.87 75.77 111.516-5.384 20.352-15.71 39.68-29.844 54.92-28.828 31.092-72.202 46.858-128.91 46.858-77.162 0-129.12 26.162-162.984 55.12V297.15c46.556-16.512 80-60.974 80-113.12 0-66.168-53.832-120-120-120s-120 53.832-120 120c0 52.146 33.444 96.608 80 113.12v429.762c-46.556 16.512-80 60.974-80 113.12 0 66.168 53.832 120 120 120s120-53.832 120-120c0-50.926-31.902-94.514-76.758-111.908 5.222-26.17 16.578-51.154 32.558-70.432 28.8-34.746 71.592-52.364 127.184-52.364 99.498 0 156.922-39.408 187.574-72.466 27.402-29.554 45.708-67.194 52.48-106.716 48.078-15.66 82.93-60.882 82.93-114.114zM336 144.032c22.056 0 40 17.944 40 40s-17.944 40-40 40-40-17.944-40-40 17.944-40 40-40zm0 736c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40zm405.968-528c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.942 40-40 40z",merge:"M776.306 456.032c-51.602 0-95.696 32.744-112.612 78.542-69.674-6.072-141.482-31.012-197.386-69.306-46.266-31.69-100.392-85.728-111.792-168.92 45.4-17.12 77.79-60.998 77.79-112.314 0-66.168-53.832-120-120-120s-120 53.832-120 120c0 52.146 33.444 96.608 80 113.12v429.762c-46.556 16.512-80 60.974-80 113.12 0 66.168 53.832 120 120 120s120-53.832 120-120c0-52.146-33.444-96.608-80-113.12V471.444c19.622 21.888 42.618 41.898 68.792 59.828 68.422 46.868 156.64 77.042 241.646 83.462 16.14 47.23 60.932 81.3 113.56 81.3 66.168 0 120-53.832 120-120s-53.83-120.002-119.998-120.002zm-464-312c22.056 0 40 17.944 40 40s-17.944 40-40 40-40-17.944-40-40 17.942-40 40-40zm0 736c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40zm464-264c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40z",pullrequest:"M631 157c104 1 171 52 171 166v397a123 123 0 1 1-82 0V323c0-63-27-83-90-84h-24l22 23a41 41 0 1 1-58 58l-93-93a41 41 0 0 1 1-58l93-93a41 41 0 1 1 58 58l-23 23h25zM222 314a123 123 0 1 1 82 0v406a123 123 0 1 1-82 0V314zm41 564a41 41 0 1 0 0-82 41 41 0 0 0 0 82zm0-639a41 41 0 1 0 0-83 41 41 0 0 0 0 83zm498 639a41 41 0 1 0 0-82 41 41 0 0 0 0 82z",chromatic:"M512 0a512 512 0 110 1024A512 512 0 01512 0zM368 452v284a144 144 0 00274 59c-10-4-20-8-29-14l-111-64c-6-3-10-10-10-16V523l-124-71zm454 89c-8 7-17 13-26 18L551 701l81 46 1 1a144 144 0 00189-207zm-493-89l-81 47h-1a143 143 0 00-52 196 144 144 0 00137 71c-2-10-3-21-3-32V452zm375-195l-12 1c2 10 3 21 3 32v128c0 7-4 13-10 17l-154 88v144l245-142 2-1a144 144 0 00-74-267zm-384 0c-51 0-99 28-125 72-28 49-25 109 7 154 8-7 17-13 26-18l111-64a20 20 0 0120 0l153 88 124-71-244-141-1-1c-22-12-46-19-71-19zm192-111c-57 0-107 33-130 83 10 4 19 8 29 14l245 141v-96c-2-79-66-142-144-142z",twitter:"M960 233.114c-32.946 14.616-68.41 24.5-105.598 28.942 37.954-22.762 67.098-58.774 80.856-101.688-35.52 21.054-74.894 36.368-116.726 44.598-33.542-35.724-81.316-58.038-134.204-58.038-101.496 0-183.796 82.292-183.796 183.814 0 14.424 1.628 28.45 4.758 41.89-152.75-7.668-288.22-80.872-378.876-192.072-15.822 27.15-24.898 58.706-24.898 92.42 0 63.776 32.458 120.034 81.782 153.010-30.116-0.944-58.458-9.212-83.262-22.982-0.028 0.75-0.028 1.546-0.028 2.324 0 89.070 63.356 163.334 147.438 180.256-15.426 4.186-31.664 6.426-48.442 6.426-11.836 0-23.35-1.146-34.574-3.28 23.406 73.006 91.286 126.16 171.726 127.632-62.914 49.324-142.18 78.696-228.314 78.696-14.828 0-29.448-0.876-43.842-2.568 81.33 52.138 177.96 82.574 281.786 82.574 338.11 0 523-280.104 523-523.014 0-7.986-0.164-15.914-0.542-23.778 35.952-25.96 67.124-58.318 91.756-95.162z",google:"M799.094 79.996c0 0-200.938 0-267.936 0-120.126 0-233.188 91.004-233.188 196.434 0 107.692 81.904 194.624 204.124 194.624 8.496 0 16.75-0.148 24.812-0.74-7.942 15.186-13.594 32.286-13.594 50.022 0 29.974 16.094 54.226 36.466 74.042-15.376 0-30.248 0.438-46.438 0.438-148.782 0.036-263.312 94.784-263.312 193.056 0 96.758 125.534 157.312 274.312 157.312 169.656 0 263.312-96.25 263.312-193.024 0-77.6-22.908-124.062-93.686-174.156-24.216-17.128-70.534-58.812-70.534-83.32 0-28.69 8.19-42.868 51.406-76.624 44.346-34.63 75.688-83.302 75.688-139.944 0-67.372-30-133.058-86.374-154.746h85l59.942-43.374zM701.504 735.438c2.092 8.992 3.276 18.226 3.276 27.624 0 78.226-50.374 139.304-194.934 139.304-102.874 0-177.124-65.078-177.124-143.304 0-76.622 92.122-140.434 194.934-139.32 24.004 0.254 46.376 4.136 66.69 10.702 55.812 38.834 95.874 60.808 107.158 104.994zM536.844 443.782c-69-2.094-134.624-77.212-146.564-167.876-11.874-90.664 34.378-160.030 103.442-157.97 68.996 2.060 134.594 74.818 146.53 165.432 11.906 90.696-34.408 162.508-103.408 160.414z",gdrive:"M465.926 641.356l-149.328 258.708h494.074l149.328-258.708h-494.074zM917.704 567.988l-256.33-444.048h-298.686l256.356 444.048h298.66zM320.236 197.442l-256.236 443.914 149.36 258.708 256.23-443.914-149.354-258.708z",youtube:"M704.010 511.988c0-12.332-5.038-21.358-15.042-26.992l-255.982-159.99c-10.344-6.666-21.178-6.998-32.51-1.008-10.988 5.984-16.492 15.312-16.492 28.002v320c0 12.69 5.504 22.018 16.492 28.002 5.332 2.678 10.516 3.996 15.506 3.996 6.668 0 12.334-1.644 17.004-4.98l255.982-160.014c10.004-5.69 15.042-14.684 15.042-26.992v-0.024zM960 511.988c0 31.99-0.164 56.98-0.488 75.032-0.334 17.99-1.754 40.738-4.27 68.25-2.516 27.504-6.262 52.058-11.27 73.742-5.332 24.338-16.84 44.85-34.504 61.496-17.64 16.63-38.306 26.308-61.96 28.988-73.992 8.342-185.824 12.526-335.508 12.526-149.668 0-261.5-4.184-335.5-12.526-23.662-2.656-44.414-12.302-62.242-28.988-17.834-16.678-29.412-37.182-34.744-61.496-4.672-21.684-8.258-46.238-10.756-73.742-2.508-27.512-3.928-50.26-4.254-68.25-0.342-18.050-0.504-43.042-0.504-75.032 0-31.998 0.162-57.010 0.504-75.008 0.326-18.022 1.746-40.768 4.254-68.28 2.498-27.474 6.262-52.082 11.252-73.744 5.34-24.336 16.842-44.842 34.504-61.496 17.648-16.654 38.324-26.332 61.986-29.010 74-8.312 185.832-12.472 335.5-12.472 149.684 0 261.516 4.16 335.508 12.472 23.654 2.678 44.406 12.356 62.232 29.010 17.826 16.678 29.422 37.16 34.73 61.496 4.702 21.662 8.256 46.27 10.772 73.744 2.516 27.512 3.936 50.258 4.27 68.28 0.324 17.998 0.488 43.010 0.488 75.008z",facebook:"M582.52 960h-167.88v-448h-112v-154.396l112-0.052-0.166-90.948c-0.036-125.974 34.12-202.604 182.484-202.604h123.542v154.424h-77.19c-57.782 0-60.566 21.56-60.566 61.85l-0.218 77.278h138.854l-16.376 154.394-122.36 0.052-0.124 448.002z",medium:"M0 0v1024h1024v-1024h-1024zM850.708 242.614l-54.918 52.655c-3.858 2.965-6.321 7.581-6.321 12.772 0 0.933 0.080 1.847 0.232 2.736l-0.014-0.095v386.883c-0.139 0.794-0.219 1.708-0.219 2.641 0 5.191 2.462 9.807 6.283 12.744l0.038 0.028 53.637 52.655v11.558h-269.774v-11.558l55.559-53.936c5.461-5.456 5.461-7.068 5.461-15.413v-312.719l-154.477 392.344h-20.874l-179.851-392.344v262.947c-0.209 1.465-0.329 3.156-0.329 4.875 0 9.848 3.924 18.78 10.293 25.317l-0.008-0.008 72.258 87.649v11.558h-204.895v-11.558l72.263-87.649c6.070-6.284 9.81-14.852 9.81-24.293 0-2.081-0.182-4.12-0.53-6.101l0.031 0.21v-304.044c0.086-0.804 0.135-1.737 0.135-2.682 0-7.844-3.389-14.896-8.782-19.773l-0.023-0.021-64.234-77.378v-11.558h199.438l154.157 338.083 135.53-338.083h190.123v11.558z",graphql:"M576 849a85 85 0 0 0-125-2L253 733l1-3h517l2 5-197 114zM451 177l2 2-258 448-3-1V398a85 85 0 0 0 61-107l198-114zm321 114a85 85 0 0 0 61 107v228l-3 1-258-448 2-2 198 114zM254 689a85 85 0 0 0-24-42l259-447a86 86 0 0 0 47 0l259 448a85 85 0 0 0-24 41H254zm643-54c-7-4-15-7-23-9V398a86 86 0 1 0-82-142L595 142a85 85 0 1 0-165 0L233 256a85 85 0 1 0-82 142v228a85 85 0 1 0 82 142l197 114a85 85 0 1 0 164-2l196-114a86 86 0 1 0 107-131z",redux:"M359.016 943.608c-23.82 5.948-47.642 8.322-71.512 8.322-88.208 0-168.084-36.982-207.444-96.534-52.432-79.882-70.296-249.182 102.538-374.356 3.586 19.078 10.746 45.292 15.492 60.834-22.656 16.652-58.39 50.064-81.046 95.324-32.19 63.184-28.61 126.404 9.54 184.798 26.194 39.304 67.926 63.176 121.564 70.34 65.598 8.332 131.154-3.582 194.332-36.94 92.998-48.898 155.014-107.282 195.49-187.162-10.702-10.75-17.818-26.248-19.074-44.15-1.168-36.942 27.45-67.922 64.388-69.132h2.418c35.73 0 65.55 28.61 66.714 64.384 1.206 35.73-24.986 65.546-59.548 69.132-65.6 134.686-181.254 225.312-333.852 255.14zM902.646 540.622c-90.59-106.072-224.11-164.488-376.708-164.488h-19.072c-10.744-21.444-33.402-35.752-58.388-35.752h-2.418c-36.944 1.186-65.548 32.192-64.392 69.13 1.216 35.774 30.99 64.394 66.81 64.394h2.328c26.242-1.208 48.894-17.892 58.434-40.542h21.45c90.624 0 176.46 26.234 253.968 77.482 59.55 39.36 102.49 90.576 126.356 152.596 20.24 50.052 19.074 98.952-2.42 140.64-33.356 63.228-89.37 97.794-163.292 97.794-47.69 0-92.998-14.33-116.822-25.082-13.118 11.958-36.984 31.028-53.64 42.944 51.226 23.87 103.7 36.94 153.762 36.94 114.446 0 199.070-63.132 231.268-126.362 34.562-69.13 32.188-188.326-57.224-289.694zM297.046 708.706c1.21 35.828 30.984 64.394 66.764 64.394h2.368c36.992-1.168 65.556-32.15 64.39-69.132-1.162-35.732-30.984-64.394-66.758-64.394h-2.376c-2.418 0-5.958 0-8.332 1.208-48.89-81.090-69.132-169.27-62.014-264.648 4.792-71.528 28.616-133.516 70.346-184.766 34.568-44.106 101.326-65.57 146.598-66.758 126.402-2.396 180.044 154.968 183.576 218.144 15.542 3.584 41.734 11.936 59.644 17.892-14.328-193.118-133.526-293.266-247.97-293.266-107.28 0-206.236 77.484-245.552 191.932-54.848 152.596-19.070 299.212 47.644 414.826-5.912 8.374-9.494 21.498-8.328 34.568z",github:"M214.6 809.4A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4-49 49-108 84.3-172.2 104.3v-74.4c0-39.5-13.6-68.6-40.7-87.2a354 354 0 0091.9-19.6c15.8-5.6 30-12.2 42.6-19.9a177.8 177.8 0 0036.3-29.8 175 175 0 0029.1-41.7 228 228 0 0018.6-55.9c4.6-21.7 6.9-45.6 6.9-71.7 0-50.7-16.5-93.8-49.5-129.4 15-39.2 13.4-81.8-4.9-127.9l-12.2-1.4c-8.5-1-23.8 2.6-45.8 10.8-22 8.1-46.8 21.5-74.3 40.1a450.9 450.9 0 00-121-16.1 442 442 0 00-120.5 16.1 419.6 419.6 0 00-49.3-29.1c-15.5-7.7-27.9-13-37.2-15.7a127.6 127.6 0 00-41.4-5.6c-2.3.3-4 .6-4.9 1-18.3 46.3-20 89-4.9 127.8a183.5 183.5 0 00-49.5 129.4c0 26.1 2.3 50 6.9 71.7a228.3 228.3 0 0018.6 56 175 175 0 0029.1 41.6 177.9 177.9 0 0036.3 29.8 223.4 223.4 0 0042.6 19.9A353.2 353.2 0 00432 752c-26.8 18.3-40.2 47.3-40.2 87.2v75.9a418.4 418.4 0 01-177-105.8M512 0a512 512 0 100 1024A512 512 0 00512 0",bitbucket:"M362.3 395l53 276.5h195.4l34-198.4h283l-74.4 457a30 30 0 01-29.7 25.3H210.7a41 41 0 01-40-34.2l-127.6-775a30 30 0 0130-34.9l877.8.2a30 30 0 0130 34.8L940.5 395H362.3z",gitlab:"M186.9 75a18.7 18.7 0 0135.6 0l108.8 333.4h361.4L512 961.8 331.3 408.4H78.1zM78.1 408.5L512 961.8 36.8 618.2a37.1 37.1 0 01-13.6-41.6L78 408.4zm867.8 0l55 168.2c5 15.3-.5 32.1-13.7 41.6L512 961.8l434-553.4zM837.1 75l108.8 333.3H692.7L801.5 75a18.7 18.7 0 0135.6 0z",azuredevops:"M0,378.6 L95.8,252 L454.4,106.2 L454.4,1 L768.8,231 L126.6,355.8 L126.6,706.8 L0,670.2 L0,378.6 Z M1024,188.8 L1024,814 L778.6,1023 L381.8,892.6 L381.8,1023 L126.6,706.6 L769,783.2 L769,231 L1024,188.8 Z",discord:"M371 147c-14 0-126 3-245 91 0 0-126 227-126 507 0 0 74 126 268 132l58-71c-111-34-153-103-153-103l24 15 4 2 8 4a668 668 0 0 0 420 68 629 629 0 0 0 228-89s-44 71-159 103l58 71c194-7 268-133 268-132 0-280-126-507-126-507-126-94-246-91-246-91l-12 14a576 576 0 0 1 218 110 729 729 0 0 0-441-81l-15 1c-31 4-105 14-199 56-33 14-52 24-52 24s72-69 230-114l-9-10h-1zm-23 323c50 0 91 43 90 97 0 53-40 96-90 96-49 0-89-43-89-96 0-54 39-97 89-97zm321 0c49 0 89 43 89 97 0 53-39 96-89 96s-90-43-90-96c0-54 40-97 90-97z",contrast:"M368 713h79l266-266v-79L368 713zm192 0h153V560L560 713zm98-402h-79L311 579v79l347-347zm-192 0H311v155l155-155zm467 402V91H311v128h452c23 0 42 19 42 42v452h128zM713 933V805H261c-23 0-42-19-42-42V311H91v622h622zM982 0c23 0 42 19 42 42v721c0 23-19 42-42 42H805v177c0 23-19 42-42 42H42c-23 0-42-19-42-42V261c0-23 19-42 42-42h177V42c0-23 19-42 42-42h721z",unfold:"M512 645l8 1c21 4 37 22 37 44v181l52-52 6-6a45 45 0 0 1 58 69l-129 129-7 5a45 45 0 0 1-57-5L351 882l-5-6a45 45 0 0 1 5-57l7-6c17-12 41-10 57 6l52 52V690l1-8c4-21 22-37 44-37zM337 275a45 45 0 1 1 0 90H229l91 102h382l91-102H685a45 45 0 1 1 0-90h208c39 0 59 46 34 75L782 512l145 162c25 29 5 75-34 75H685a45 45 0 1 1 0-90h108l-91-102H320l-91 102h108a45 45 0 1 1 0 90H129c-38 0-59-46-33-75l144-162L96 350c-24-27-8-69 26-74l7-1h208zM537 8l7 6 129 129a45 45 0 0 1-58 68l-6-5-52-52v181c0 22-16 40-37 44h-8c-22 0-40-15-44-36l-1-8V153l-52 53a45 45 0 0 1-57 5l-7-5a45 45 0 0 1-5-57l5-6L480 14c16-16 40-18 57-6z",sharealt:"M130 85h332a45 45 0 0 1 8 89l-8 1H175v674h674V557a45 45 0 0 1 89-8l1 8v337c0 22-16 40-37 44l-8 1H130c-22 0-40-16-44-37l-1-8V130c0-22 16-40 37-44l8-1h332-332zm555 0h210l5 1-6-1a45 45 0 0 1 32 13l-5-4 3 3 2 1a46 46 0 0 1 12 24v2l1 5v209a45 45 0 0 1-89 8l-1-8V238L544 544a45 45 0 0 1-57 5l-7-5a45 45 0 0 1 0-64l306-305H685a45 45 0 0 1-8-89l8-1h209-209z",accessibility:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 89.6a422.4 422.4 0 100 844.8 422.4 422.4 0 000-844.8zm262.2 250a40.9 40.9 0 01-27.5 49.3l-169.1 50.7c-8.2 2.7-15.1 11-13.7 20.5 1.3 27.4 1.5 76.5 7 98.4 12.9 59 82.4 214.4 91 233.6a56 56 0 014.9 19 40 40 0 01-40 40c-18 0-30.3-12.7-38.2-28.4A34096 34096 0 01510.9 664l-77.7 165.7-1.3 2.1a40 40 0 01-69.3-39.7c8.6-19 78-174.5 90.8-233.6 5.5-21.9 6-71 7.3-98.4a21 21 0 00-13.7-20.5l-169.1-50.7a40.7 40.7 0 01-27.5-50.7c6.9-20.5 30.2-30.1 50.9-24.6 0 0 154.6 49.3 209.6 49.3s213.8-50.7 213.8-50.7c20.6-5.5 44 6.8 49.5 27.4zm-264-171.2a76.7 76.7 0 110 153.4c-42.6 0-77-34.2-77-76.7 0-41 34.4-76.7 77-76.7z",accessibilityalt:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm262.2 339.6c-5.5-20.6-28.9-32.9-49.5-27.4 0 0-158.8 50.7-213.8 50.7s-209.6-49.3-209.6-49.3c-20.7-5.5-44 4-51 24.6A40.7 40.7 0 00278 389l169 50.7a21 21 0 0113.8 20.5c-1.3 27.4-1.8 76.5-7.3 98.4-12.9 59.1-82.2 214.5-90.8 233.6a40 40 0 1070.6 37.5L511 664a34096 34096 0 0077.7 158.7c7.9 15.7 20.2 28.4 38.2 28.4a40 40 0 0040-40 56 56 0 00-4.8-19c-8.7-19.2-78.2-174.5-91.1-233.6-5.5-21.9-5.7-71-7-98.4-1.4-9.6 5.5-17.8 13.7-20.5l169.1-50.7a40.9 40.9 0 0027.5-49.3zm-264-171.2c-42.6 0-77 35.6-77 76.7a76.7 76.7 0 0077 76.7 76.7 76.7 0 100-153.4z",markup:"M1010.6 479.7L736.4 205.4a45.7 45.7 0 10-64.7 64.6l242 242L671.7 754a45.7 45.7 0 1064.7 64.6l274.1-274.2a45.6 45.6 0 000-64.6M0 511.9c0-11.7 4.5-23.4 13.4-32.3l274.1-274.2a45.7 45.7 0 1164.7 64.6L110.4 512l241.9 241.9a45.7 45.7 0 01-64.7 64.6L13.4 544.2C4.4 535.3 0 523.6 0 512",outline:"M180.1 714.3V844h129.6v94.8h-180c-24.2 0-44-19.5-44.4-43.7V714.3h94.8zM619.3 844v94.8H404.7v-94.8h214.6zm319.4-129.6v180c0 24.2-19.5 44-43.7 44.4H714.3v-94.8H844V714.3h94.8zm0-309.6v214.6h-94.8V404.7h94.8zm-758.6 0v214.6H85.3V404.7h94.8zm331.9 34a73.2 73.2 0 110 146.4 73.2 73.2 0 010-146.3zM894.2 85.4c24.3 0 44 19.5 44.5 43.7V309.7h-94.8V180H714.3V85.3h180zm-584.5 0v94.8H180v129.6H85.3v-180c0-24.2 19.5-44 43.7-44.4H309.7zm309.6 0v94.8H404.7V85.3h214.6z",verified:"M719 66l30 56c12 23 35 40 61 44l62 11c45 8 76 51 70 96l-9 63c-4 26 5 52 23 71l44 46c32 33 32 85 0 118l-44 46a85 85 0 00-23 71l9 63c6 45-25 88-70 96l-62 11c-26 4-49 21-61 44l-30 56a85 85 0 01-113 36l-57-27a85 85 0 00-74 0l-57 27c-42 21-92 4-113-36l-30-56a85 85 0 00-61-44l-62-11c-45-8-76-51-70-96l9-63c4-26-5-52-23-71l-44-46a85 85 0 010-118l44-46c18-19 27-45 23-71l-9-63c-6-45 25-88 70-96l62-11c26-4 49-21 61-44l30-56c21-40 71-57 113-36l57 27c23 12 51 12 74 0l57-27c42-21 92-4 113 36zm70 258a46 46 0 00-59 5L437 622 294 480l-6-5a46 46 0 00-59 69l175 175 6 5c18 13 43 11 59-5l326-325 4-6c13-18 12-43-4-59z",comment:"M936 85l6 1c22 3 39 21 39 44v709c0 8-2 15-5 21l-2 4c-9 12-23 20-38 20H427l-131 127c-9 9-21 13-34 13-25 0-46-20-46-45v-95H88c-25 0-45-20-45-45V130a45 45 0 0145-45zm-46 89H134v620h756V174zM768 544c25 0 46 20 46 44 0 25-21 45-46 45H256c-25 0-46-20-46-45 0-24 21-44 46-44zm0-208c25 0 46 20 46 44 0 25-21 45-46 45H256c-25 0-46-20-46-45 0-24 21-44 46-44z",commentadd:"M937 85l6 1c23 3 40 21 40 44v711c0 7-2 14-5 21l-3 4c-8 12-22 19-38 19H428l-131 128c-9 9-22 13-35 13-25 0-45-20-45-45v-96H89c-26 0-46-20-46-44V130a45 45 0 0146-45zm-45 90H134v621h758V175zm-379 97c22 0 40 18 40 40v134h132a40 40 0 010 81H553v132a40 40 0 11-80 0V527H341a40 40 0 110-81h132V312c0-22 18-40 40-40z",requestchange:"M937 85l6 1c23 3 40 21 40 44v711c0 7-2 14-5 21l-3 4c-8 12-22 19-38 19H428l-131 128c-9 9-22 13-35 13-25 0-45-20-45-45v-96H89c-26 0-46-20-46-44V130a45 45 0 0146-45zm-45 90H134v621h758V175zM585 310c18-18 47-18 65 0l143 144c18 17 18 46 0 64L650 661a46 46 0 01-65 0 46 46 0 010-65l65-64H266a46 46 0 110-92h384l-65-65a46 46 0 010-65z",comments:"M978.3 92.2a45 45 0 0145.7 44.6v535.6a45.2 45.2 0 01-45.7 44.6h-125v122c0 7.7-2 14.8-5.5 21.3l-2.3 3.7a46.1 46.1 0 01-38 19.6H298.8L168 1011a47 47 0 01-34.3 13.1c-25.2 0-45.7-20-45.7-44.6v-95.8H45.7c-25.2 0-45.7-20-45.7-44.5V303.4A45 45 0 0145.7 259h125v-122a45 45 0 0139.8-44.3c1.3-.1 257.2-.3 767.8-.4zM761.9 348H91.4v446.5H762V348zm-125 264c25.3 0 45.8 20 45.8 44.6A45.2 45.2 0 01637 701H216.4c-25.3 0-45.7-20-45.7-44.5a45.2 45.2 0 0145.7-44.6H637zm295.7-430.7H262V259h505.1l46.3.4a45 45 0 0139.8 44.2v324.3h79.3V181.3zM637 441.3c25.2 0 45.7 20 45.7 44.6a45.2 45.2 0 01-45.7 44.6H216.4c-25.3 0-45.7-20-45.7-44.6a45.2 45.2 0 0145.7-44.5H637z",ruler:"M83 110c-22 0-40 18-40 40v176a40 40 0 0080 0v-49h778v49a40 40 0 0080 0V150a40 40 0 10-80 0v49H123v-49c0-22-18-40-40-40zm40 458v266h778V568h-63v115a40 40 0 11-80 0V568h-63v46a40 40 0 11-80 0v-46h-63v115a40 40 0 11-80 0V568h-63v46a40 40 0 11-80 0v-46h-63v115a40 40 0 11-80 0V568h-63zm103-80h691c36 0 64 28 64 64v298c0 36-28 64-64 64H107c-36 0-64-28-64-64V552c0-36 28-64 64-64h119z"},Svg=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.svg({shapeRendering:"inherit",transform:"translate3d(0,0,0)"},(function(_ref27){return _ref27.inline?{display:"inline-block"}:{display:"block"}}));Svg.displayName="Svg";var Path=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.path({fill:"currentColor"}),Icons=Object(react__WEBPACK_IMPORTED_MODULE_51__.memo)((function(_a){var icon=_a.icon,symbol=_a.symbol,props=__rest(_a,["icon","symbol"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Svg,Object.assign({viewBox:"0 0 1024 1024"},props),symbol?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("use",{xlinkHref:"#icon--".concat(symbol)}):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Path,{d:icons[icon]}))})),Symbols=Object(react__WEBPACK_IMPORTED_MODULE_51__.memo)((function(_ref28){var _ref28$icons=_ref28.icons,keys=void 0===_ref28$icons?Object.keys(icons):_ref28$icons;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},keys.map((function(key){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("symbol",{id:"icon--".concat(key),key:key},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Path,{d:icons[key]}))})))})),LEFT_BUTTON=0,isPlainLeftClick=function isPlainLeftClick(e){return!(e.button!==LEFT_BUTTON||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)},cancelled=function cancelled(e,cb){isPlainLeftClick(e)&&(e.preventDefault(),cb(e))},LinkInner=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span((function(_ref29){return _ref29.withArrow?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{}}),(function(_ref30){return _ref30.containsIcon?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}})),A$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.a((function(_ref31){var theme=_ref31.theme;return{display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:theme.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:curriedDarken$1(.07,theme.color.secondary),"svg path":{fill:curriedDarken$1(.07,theme.color.secondary)}},"&:active":{color:curriedDarken$1(.1,theme.color.secondary),"svg path":{fill:curriedDarken$1(.1,theme.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:theme.color.secondary}}}}),(function(_ref32){var colors,theme=_ref32.theme,secondary=_ref32.secondary,tertiary=_ref32.tertiary;return secondary&&(colors=[theme.color.mediumdark,theme.color.dark,theme.color.darker]),tertiary&&(colors=[theme.color.dark,theme.color.darkest,theme.color.mediumdark]),colors?{color:colors[0],"svg path":{fill:colors[0]},"&:hover":{color:colors[1],"svg path":{fill:colors[1]}},"&:active":{color:colors[2],"svg path":{fill:colors[2]}}}:{}}),(function(_ref33){return _ref33.nochrome?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{}}),(function(_ref34){var theme=_ref34.theme;return _ref34.inverse?{color:theme.color.lightest,"svg path":{fill:theme.color.lightest},"&:hover":{color:theme.color.lighter,"svg path":{fill:theme.color.lighter}},"&:active":{color:theme.color.light,"svg path":{fill:theme.color.light}}}:{}}),(function(_ref35){return _ref35.isButton?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}})),Link=function Link(_a){var cancel=_a.cancel,children=_a.children,onClick=_a.onClick,withArrow=_a.withArrow,containsIcon=_a.containsIcon,className=_a.className,rest=__rest(_a,["cancel","children","onClick","withArrow","containsIcon","className"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(A$1,Object.assign({},rest,{onClick:onClick&&cancel?function(e){return cancelled(e,onClick)}:onClick,className:className}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(LinkInner,{withArrow:withArrow,containsIcon:containsIcon},children,withArrow&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Icons,{icon:"arrowright"})))};Link.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var DocumentWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref36){var theme=_ref36.theme;return{fontSize:"".concat(theme.typography.size.s2,"px"),lineHeight:"1.6",h1:{fontSize:"".concat(theme.typography.size.l1,"px"),fontWeight:theme.typography.weight.black},h2:{fontSize:"".concat(theme.typography.size.m2,"px"),borderBottom:"1px solid ".concat(theme.appBorderColor)},h3:{fontSize:"".concat(theme.typography.size.m1,"px")},h4:{fontSize:"".concat(theme.typography.size.s3,"px")},h5:{fontSize:"".concat(theme.typography.size.s2,"px")},h6:{fontSize:"".concat(theme.typography.size.s2,"px"),color:theme.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:theme.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:"1px solid ".concat(theme.appBorderColor),height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:"4px solid ".concat(theme.color.medium),padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:"1px solid ".concat(theme.appBorderColor),backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:"1px solid ".concat(theme.appBorderColor),textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:"1px solid ".concat(theme.appBorderColor),textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:theme.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:"1px solid ".concat(theme.color.medium),display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:"1px solid ".concat(theme.color.mediumlight),backgroundColor:theme.color.lighter,borderRadius:3,color:"dark"===theme.base&&theme.color.darkest}}})),Container$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref37){return{position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:_ref37.theme.background.content,zIndex:1}})),ActionButton=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.button((function(_ref38){var theme=_ref38.theme;return{margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:theme.color.defaultText,background:theme.background.content,fontSize:12,lineHeight:"16px",fontFamily:theme.typography.fonts.base,fontWeight:theme.typography.weight.bold,borderTop:"1px solid ".concat(theme.appBorderColor),borderLeft:"1px solid ".concat(theme.appBorderColor),marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:"1px solid ".concat(theme.appBorderColor)},"& + *":{borderLeft:"1px solid ".concat(theme.appBorderColor),borderRadius:0},"&:focus":{boxShadow:"".concat(theme.color.secondary," 0 -3px 0 0 inset"),outline:"0 none"}}}),(function(_ref39){return _ref39.disabled&&{cursor:"not-allowed",opacity:.5}}));ActionButton.displayName="ActionButton";var ActionBar=function ActionBar(_a){var actionItems=_a.actionItems,props=__rest(_a,["actionItems"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Container$1,Object.assign({},props),actionItems.map((function(_ref40,index){var title=_ref40.title,className=_ref40.className,onClick=_ref40.onClick,disabled=_ref40.disabled;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ActionButton,{key:index,className:className,onClick:onClick,disabled:disabled},title)})))},toNumber=function toNumber(input){return"number"==typeof input?input:Number(input)},Container=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref41){var theme=_ref41.theme,col=_ref41.col,_ref41$row=_ref41.row,row=void 0===_ref41$row?1:_ref41$row;return col?_defineProperty2({display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:col*theme.layoutMargin,verticalAlign:"inherit"}},"& > *:first-child",{marginLeft:0}):_defineProperty2({"& > *":{marginTop:row*theme.layoutMargin}},"& > *:first-child",{marginTop:0})}),(function(_ref44){var theme=_ref44.theme,outer=_ref44.outer,col=_ref44.col,row=_ref44.row;switch(!0){case!(!outer||!col):return{marginLeft:outer*theme.layoutMargin,marginRight:outer*theme.layoutMargin};case!(!outer||!row):return{marginTop:outer*theme.layoutMargin,marginBottom:outer*theme.layoutMargin};default:return{}}})),Spaced=function Spaced(_a){var col=_a.col,row=_a.row,outer=_a.outer,children=_a.children,rest=__rest(_a,["col","row","outer","children"]),outerAmount=toNumber("number"!=typeof outer&&outer?col||row:outer);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Container,Object.assign({col:col,row:row,outer:outerAmount},rest),children)},Title$3=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref45){return{fontWeight:_ref45.theme.typography.weight.bold}})),Desc$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div(),Message$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref46){var theme=_ref46.theme;return{padding:30,textAlign:"center",color:theme.color.defaultText,fontSize:theme.typography.size.s2-1}})),Placeholder=function Placeholder(_a){var children=_a.children,props=__rest(_a,["children"]),_Children$toArray2=_slicedToArray(react__WEBPACK_IMPORTED_MODULE_51__.Children.toArray(children),2),title=_Children$toArray2[0],desc=_Children$toArray2[1];return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Message$1,Object.assign({},props),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Title$3,null,title),desc&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Desc$1,null,desc))},GlobalScrollAreaStyles=Object(react__WEBPACK_IMPORTED_MODULE_51__.lazy)((function(){return __webpack_require__.e(9).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/GlobalScrollAreaStyles-8793ce4a.js"))})),OverlayScrollbars=Object(react__WEBPACK_IMPORTED_MODULE_51__.lazy)((function(){return __webpack_require__.e(10).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/OverlayScrollbars-1355f44c.js"))})),Scroller=function Scroller(_a){var props=__rest(_a,["horizontal","vertical"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",Object.assign({},props))},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(GlobalScrollAreaStyles,null),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(OverlayScrollbars,Object.assign({options:{scrollbars:{autoHide:"leave"}}},props)))},ScrollArea=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Scroller)((function(_ref47){return _ref47.vertical?{overflowY:"auto",height:"100%"}:{overflowY:"hidden"}}),(function(_ref48){return _ref48.horizontal?{overflowX:"auto",width:"100%"}:{overflowX:"hidden"}}));ScrollArea.defaultProps={horizontal:!1,vertical:!1};var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},win;function getDefaultExportFromCjs(x){return x&&x.__esModule&&Object.prototype.hasOwnProperty.call(x,"default")?x.default:x}win="undefined"!=typeof window?window:void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:{};var window_1=win,globalWindow$2=window_1.window;function browserSupportsCssZoom(){try{return void 0!==globalWindow$2.document.implementation.createHTMLDocument("").body.style.zoom}catch(error){return!1}}var ZoomElementWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref49){var _ref49$scale=_ref49.scale,scale=void 0===_ref49$scale?1:_ref49$scale,height=_ref49.height;return browserSupportsCssZoom()?{"> *":{zoom:1/scale}}:{height:height+50,transformOrigin:"top left",transform:"scale(".concat(1/scale,")")}}));function ZoomElement(_ref50){var scale=_ref50.scale,children=_ref50.children,componentWrapperRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)(null),_useState2=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(0),2),height=_useState2[0],setHeight=_useState2[1];return Object(react__WEBPACK_IMPORTED_MODULE_51__.useEffect)((function(){componentWrapperRef.current&&setHeight(componentWrapperRef.current.getBoundingClientRect().height)}),[scale,componentWrapperRef.current]),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ZoomElementWrapper,{scale:scale,height:height},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",{ref:componentWrapperRef,className:"innerZoomElementWrapper"},children))}var ZoomIFrame=function(_Component){_inherits(ZoomIFrame,_Component);var _super=_createSuper(ZoomIFrame);function ZoomIFrame(){var _this2;return _classCallCheck(this,ZoomIFrame),(_this2=_super.apply(this,arguments)).iframe=null,_this2}return _createClass(ZoomIFrame,[{key:"componentDidMount",value:function componentDidMount(){var iFrameRef=this.props.iFrameRef;this.iframe=iFrameRef.current}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps){var _this$props=this.props,scale=_this$props.scale,active=_this$props.active;return scale!==nextProps.scale&&this.setIframeInnerZoom(nextProps.scale),active!==nextProps.active&&this.iframe.setAttribute("data-is-storybook",nextProps.active?"true":"false"),nextProps.children.props.src!==this.props.children.props.src}},{key:"setIframeInnerZoom",value:function setIframeInnerZoom(scale){try{browserSupportsCssZoom()?Object.assign(this.iframe.contentDocument.body.style,{zoom:1/scale}):Object.assign(this.iframe.contentDocument.body.style,{width:"".concat(100*scale,"%"),height:"".concat(100*scale,"%"),transform:"scale(".concat(1/scale,")"),transformOrigin:"top left"})}catch(e){this.setIframeZoom(scale)}}},{key:"setIframeZoom",value:function setIframeZoom(scale){Object.assign(this.iframe.style,{width:"".concat(100*scale,"%"),height:"".concat(100*scale,"%"),transform:"scale(".concat(1/scale,")"),transformOrigin:"top left"})}},{key:"render",value:function render(){return this.props.children}}]),ZoomIFrame}(react__WEBPACK_IMPORTED_MODULE_51__.Component),Zoom$1={Element:ZoomElement,IFrame:ZoomIFrame},ButtonWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.button((function(_ref51){var small=_ref51.small,theme=_ref51.theme;return{border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:small?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transition:"all 150ms ease-out",transform:"translate3d(0,0,0)",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:"".concat(small?theme.typography.size.s1:theme.typography.size.s2-1,"px"),fontWeight:theme.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:small?14:16,width:small?14:16,verticalAlign:"top",marginRight:small?4:6,marginTop:small?-1:-2,marginBottom:small?-1:-2,pointerEvents:"none",path:{fill:"currentColor"}}}}),(function(_ref52){return _ref52.disabled?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{}}),(function(_ref53){var containsIcon=_ref53.containsIcon,small=_ref53.small;return containsIcon?Object.assign({svg:{display:"block",margin:0}},small?{padding:9}:{padding:12}):{}}),(function(_ref54){var color,theme=_ref54.theme,primary=_ref54.primary,secondary=_ref54.secondary,gray=_ref54.gray;return gray?color=theme.color.medium:secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),color?{background:color,color:gray?theme.color.darkest:theme.color.lightest,"&:hover":{background:curriedDarken$1(.05,color)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:"".concat(rgba(color,1)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat(rgba(color,.2)," 0 8px 18px 0px")}}:{}}),(function(_ref55){var theme=_ref55.theme,tertiary=_ref55.tertiary,inForm=_ref55.inForm,small=_ref55.small;return tertiary?Object.assign(Object.assign({background:"light"===theme.base?curriedDarken$1(.02,theme.input.background):curriedLighten$1(.02,theme.input.background),color:theme.input.color,boxShadow:"".concat(theme.input.border," 0 0 0 1px inset"),borderRadius:theme.input.borderRadius},inForm&&small?{padding:"10px 16px"}:{}),{"&:hover":Object.assign({background:"light"===theme.base?curriedDarken$1(.05,theme.input.background):curriedLighten$1(.05,theme.input.background)},inForm?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}),"&:active":{background:theme.input.background},"&:focus":{boxShadow:"".concat(rgba(theme.color.secondary,1)," 0 0 0 1px inset"),outline:"none"}}):{}}),(function(_ref56){var theme=_ref56.theme;return _ref56.outline?{boxShadow:"".concat(curriedTransparentize$1(.8,theme.color.defaultText)," 0 0 0 1px inset"),color:curriedTransparentize$1(.3,theme.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:"".concat(curriedTransparentize$1(.5,theme.color.defaultText)," 0 0 0 1px inset"),outline:"none"},"&:active":{boxShadow:"".concat(curriedTransparentize$1(.5,theme.color.defaultText)," 0 0 0 2px inset"),color:curriedTransparentize$1(0,theme.color.defaultText)}}:{}}),(function(_ref57){var theme=_ref57.theme,outline=_ref57.outline,primary=_ref57.primary,color=theme.color.primary;return outline&&primary?{boxShadow:"".concat(color," 0 0 0 1px inset"),color:color,"svg path":{fill:color},"&:hover":{boxShadow:"".concat(color," 0 0 0 1px inset"),background:"transparent"},"&:active":{background:color,boxShadow:"".concat(color," 0 0 0 1px inset"),color:theme.color.tertiary},"&:focus":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat(rgba(color,.4)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat(rgba(color,.2)," 0 8px 18px 0px")}}:{}}),(function(_ref58){var color,theme=_ref58.theme,outline=_ref58.outline,primary=_ref58.primary;return _ref58.secondary?color=theme.color.secondary:primary&&(color=theme.color.primary),outline&&color?{boxShadow:"".concat(color," 0 0 0 1px inset"),color:color,"svg path":{fill:color},"&:hover":{boxShadow:"".concat(color," 0 0 0 1px inset"),background:"transparent"},"&:active":{background:color,boxShadow:"".concat(color," 0 0 0 1px inset"),color:theme.color.tertiary},"&:focus":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat(rgba(color,.4)," 0 1px 9px 2px"),outline:"none"},"&:focus:hover":{boxShadow:"".concat(color," 0 0 0 1px inset, ").concat(rgba(color,.2)," 0 8px 18px 0px")}}:{}})),ButtonLink=ButtonWrapper.withComponent("a"),Button$2=Object.assign(Object(react__WEBPACK_IMPORTED_MODULE_51__.forwardRef)((function(_a,ref){var isLink=_a.isLink,children=_a.children,props=__rest(_a,["isLink","children"]);return isLink?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ButtonLink,Object.assign({},props,{ref:ref}),children):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ButtonWrapper,Object.assign({},props,{ref:ref}),children)})),{defaultProps:{isLink:!1}}),Wrapper$7=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.label((function(_ref59){var theme=_ref59.theme;return{display:"flex",borderBottom:"1px solid ".concat(theme.appBorderColor),margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}}})),Label$4=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span((function(_ref60){return{minWidth:100,fontWeight:_ref60.theme.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"}})),Field=function Field(_a){var label=_a.label,children=_a.children,props=__rest(_a,["label","children"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Wrapper$7,Object.assign({},props),label?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Label$4,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,label)):null,children)};function _extends(){return _extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}Field.defaultProps={label:void 0};var index$1="undefined"!=typeof document?react__WEBPACK_IMPORTED_MODULE_51__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_51__.useEffect,useLatest=function useLatest(value){var ref=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)(value);return index$1((function(){ref.current=value})),ref},updateRef=function updateRef(ref,value){"function"!=typeof ref?ref.current=value:ref(value)},useComposedRef=function useComposedRef(libRef,userRef){var prevUserRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)();return Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(instance){libRef.current=instance,prevUserRef.current&&updateRef(prevUserRef.current,null),prevUserRef.current=userRef,userRef&&updateRef(userRef,instance)}),[userRef])},HIDDEN_TEXTAREA_STYLE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},forceHiddenStyles=function forceHiddenStyles(node){Object.keys(HIDDEN_TEXTAREA_STYLE).forEach((function(key){node.style.setProperty(key,HIDDEN_TEXTAREA_STYLE[key],"important")}))},hiddenTextarea=null,getHeight=function getHeight(node,sizingData){var height=node.scrollHeight;return"border-box"===sizingData.sizingStyle.boxSizing?height+sizingData.borderSize:height-sizingData.paddingSize};function calculateNodeHeight(sizingData,value,minRows,maxRows){void 0===minRows&&(minRows=1),void 0===maxRows&&(maxRows=1/0),hiddenTextarea||((hiddenTextarea=document.createElement("textarea")).setAttribute("tabindex","-1"),hiddenTextarea.setAttribute("aria-hidden","true"),forceHiddenStyles(hiddenTextarea)),null===hiddenTextarea.parentNode&&document.body.appendChild(hiddenTextarea);var paddingSize=sizingData.paddingSize,borderSize=sizingData.borderSize,sizingStyle=sizingData.sizingStyle,boxSizing=sizingStyle.boxSizing;Object.keys(sizingStyle).forEach((function(_key){var key=_key;hiddenTextarea.style[key]=sizingStyle[key]})),forceHiddenStyles(hiddenTextarea),hiddenTextarea.value=value;var height=getHeight(hiddenTextarea,sizingData);hiddenTextarea.value="x";var rowHeight=hiddenTextarea.scrollHeight-paddingSize,minHeight=rowHeight*minRows;"border-box"===boxSizing&&(minHeight=minHeight+paddingSize+borderSize),height=Math.max(minHeight,height);var maxHeight=rowHeight*maxRows;return"border-box"===boxSizing&&(maxHeight=maxHeight+paddingSize+borderSize),[height=Math.min(maxHeight,height),rowHeight]}var noop$2=function noop(){},pick=function pick(props,obj){return props.reduce((function(acc,prop){return acc[prop]=obj[prop],acc}),{})},SIZING_STYLE=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],isIE="undefined"!=typeof document&&!!document.documentElement.currentStyle,getSizingData=function getSizingData(node){var style=window.getComputedStyle(node);if(null===style)return null;var sizingStyle=pick(SIZING_STYLE,style),boxSizing=sizingStyle.boxSizing;return""===boxSizing?null:(isIE&&"border-box"===boxSizing&&(sizingStyle.width=parseFloat(sizingStyle.width)+parseFloat(sizingStyle.borderRightWidth)+parseFloat(sizingStyle.borderLeftWidth)+parseFloat(sizingStyle.paddingRight)+parseFloat(sizingStyle.paddingLeft)+"px"),{sizingStyle:sizingStyle,paddingSize:parseFloat(sizingStyle.paddingBottom)+parseFloat(sizingStyle.paddingTop),borderSize:parseFloat(sizingStyle.borderBottomWidth)+parseFloat(sizingStyle.borderTopWidth)})},useWindowResizeListener=function useWindowResizeListener(listener){var latestListener=useLatest(listener);Object(react__WEBPACK_IMPORTED_MODULE_51__.useLayoutEffect)((function(){var handler=function handler(event){latestListener.current(event)};return window.addEventListener("resize",handler),function(){window.removeEventListener("resize",handler)}}),[])},TextareaAutosize=function TextareaAutosize(_ref,userRef){var cacheMeasurements=_ref.cacheMeasurements,maxRows=_ref.maxRows,minRows=_ref.minRows,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?noop$2:_ref$onChange,_ref$onHeightChange=_ref.onHeightChange,onHeightChange=void 0===_ref$onHeightChange?noop$2:_ref$onHeightChange,props=_objectWithoutPropertiesLoose(_ref,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]);var isControlled=void 0!==props.value,libRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)(null),ref=useComposedRef(libRef,userRef),heightRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)(0),measurementsCacheRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)(),resizeTextarea=function resizeTextarea(){var node=libRef.current,nodeSizingData=cacheMeasurements&&measurementsCacheRef.current?measurementsCacheRef.current:getSizingData(node);if(nodeSizingData){measurementsCacheRef.current=nodeSizingData;var _calculateNodeHeight=calculateNodeHeight(nodeSizingData,node.value||node.placeholder||"x",minRows,maxRows),height=_calculateNodeHeight[0],rowHeight=_calculateNodeHeight[1];heightRef.current!==height&&(heightRef.current=height,node.style.setProperty("height",height+"px","important"),onHeightChange(height,{rowHeight:rowHeight}))}};return"undefined"!=typeof document&&(Object(react__WEBPACK_IMPORTED_MODULE_51__.useLayoutEffect)(resizeTextarea),useWindowResizeListener(resizeTextarea)),Object(react__WEBPACK_IMPORTED_MODULE_51__.createElement)("textarea",_extends({},props,{onChange:function handleChange(event){isControlled||resizeTextarea(),onChange(event)},ref:ref}))},index=Object(react__WEBPACK_IMPORTED_MODULE_51__.forwardRef)(TextareaAutosize),TextareaAutoResize=index,styleResets$1={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},styles=function styles(_ref61){var theme=_ref61.theme;return Object.assign(Object.assign({},styleResets$1),{transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:theme.input.color||"inherit",background:theme.input.background,boxShadow:"".concat(theme.input.border," 0 0 0 1px inset"),borderRadius:theme.input.borderRadius,fontSize:theme.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px","&:focus":{boxShadow:"".concat(theme.color.secondary," 0 0 0 1px inset"),outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 3em ".concat(theme.color.lightest," inset")},"::placeholder":{color:theme.color.mediumdark}})},sizes=function sizes(_ref62){switch(_ref62.size){case"100%":return{width:"100%"};case"flex":return{flex:1};default:return{display:"inline"}}},alignment=function alignment(_ref63){switch(_ref63.align){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};default:return{textAlign:"left"}}},validation=function validation(_ref64){var valid=_ref64.valid,theme=_ref64.theme;switch(valid){case"valid":return{boxShadow:"".concat(theme.color.positive," 0 0 0 1px inset !important")};case"error":return{boxShadow:"".concat(theme.color.negative," 0 0 0 1px inset !important")};case"warn":return{boxShadow:"".concat(theme.color.warning," 0 0 0 1px inset")};default:return{}}},Input$1=Object.assign(Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Object(react__WEBPACK_IMPORTED_MODULE_51__.forwardRef)((function(_a,ref){var props=__rest(_a,["size","valid","align"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("input",Object.assign({},props,{ref:ref}))})))(styles,sizes,alignment,validation,{minHeight:32}),{displayName:"Input"}),Select=Object.assign(Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Object(react__WEBPACK_IMPORTED_MODULE_51__.forwardRef)((function(_a,ref){var props=__rest(_a,["size","valid","align"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("select",Object.assign({},props,{ref:ref}))})))(styles,sizes,validation,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Textarea=Object.assign(Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Object(react__WEBPACK_IMPORTED_MODULE_51__.forwardRef)((function(_a,ref){var props=__rest(_a,["size","valid","align"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(TextareaAutoResize,Object.assign({},props,{ref:ref}))})))(styles,sizes,alignment,validation,(function(_ref65){var _ref65$height=_ref65.height;return{overflow:"visible",maxHeight:void 0===_ref65$height?400:_ref65$height}})),{displayName:"Textarea"}),ButtonStyled=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Object(react__WEBPACK_IMPORTED_MODULE_51__.forwardRef)((function(_a,ref){var props=__rest(_a,["size","valid","align"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Button$2,Object.assign({},props,{ref:ref}))})))(sizes,validation,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),Button$1=Object.assign(Object(react__WEBPACK_IMPORTED_MODULE_51__.forwardRef)((function(props,ref){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ButtonStyled,Object.assign({},props,{tertiary:!0,small:!0,inForm:!0},{ref:ref}))})),{displayName:"Button"}),Form=Object.assign(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.form({boxSizing:"border-box",width:"100%"}),{Field:Field,Input:Input$1,Select:Select,Textarea:Textarea,Button:Button$1}),LazyWithTooltip=Object(react__WEBPACK_IMPORTED_MODULE_51__.lazy)((function(){return __webpack_require__.e(2).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/WithTooltip-167e9982.js")).then((function(mod){return{default:mod.WithTooltip}}))})),WithTooltip=function WithTooltip(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(LazyWithTooltip,Object.assign({},props)))},LazyWithTooltipPure=Object(react__WEBPACK_IMPORTED_MODULE_51__.lazy)((function(){return __webpack_require__.e(2).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/WithTooltip-167e9982.js")).then((function(mod){return{default:mod.WithTooltipPure}}))})),WithTooltipPure=function WithTooltipPure(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(LazyWithTooltipPure,Object.assign({},props)))},Title$2=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref66){return{fontWeight:_ref66.theme.typography.weight.black}})),Desc=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span(),Links=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref67){return{marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:_ref67.theme.typography.weight.black}}})),Message=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref68){return{color:_ref68.theme.textColor,lineHeight:"18px"}})),MessageWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({padding:15,width:280,boxSizing:"border-box"}),TooltipMessage=function TooltipMessage(_ref69){var title=_ref69.title,desc=_ref69.desc,links=_ref69.links;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(MessageWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Message,null,title&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Title$2,null,title),desc&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Desc,null,desc)),links&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Links,null,links.map((function(_a){var linkTitle=_a.title,other=__rest(_a,["title"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Link,Object.assign({},other,{key:linkTitle}),linkTitle)}))))};TooltipMessage.defaultProps={title:null,desc:null,links:null};var Note=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref70){var theme=_ref70.theme;return{padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:"light"===theme.base?"rgba(60, 60, 60, 0.9)":"rgba(20, 20, 20, 0.85)",margin:6}})),TooltipNote=function TooltipNote(_a){var note=_a.note,props=__rest(_a,["note"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Note,Object.assign({},props),note)},Title$1=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)((function(_a){var rest=__rest(_a,["active","loading","disabled"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",Object.assign({},rest))}))((function(_ref71){var theme=_ref71.theme;return{color:theme.color.defaultText,fontWeight:theme.typography.weight.regular}}),(function(_ref72){var active=_ref72.active,theme=_ref72.theme;return active?{color:theme.color.primary,fontWeight:theme.typography.weight.bold}:{}}),(function(_ref73){var loading=_ref73.loading,theme=_ref73.theme;return loading?Object.assign({display:"inline-block",flex:"none"},theme.animation.inlineGlow):{}}),(function(_ref74){var disabled=_ref74.disabled,theme=_ref74.theme;return disabled?{color:curriedTransparentize$1(.7,theme.color.defaultText)}:{}})),Right=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span({"& svg":{transition:"all 200ms ease-out",opacity:0,height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}},(function(_ref75){var active=_ref75.active,theme=_ref75.theme;return active?{"& svg":{opacity:1},"& path":{fill:theme.color.primary}}:{}})),Center=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span({flex:1,textAlign:"left",display:"inline-flex","& > * + *":{paddingLeft:10}}),CenterText=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span({flex:1,textAlign:"center"},(function(_ref76){var active=_ref76.active,theme=_ref76.theme;return active?{color:theme.color.primary}:{}}),(function(_ref77){var theme=_ref77.theme;return _ref77.disabled?{color:theme.color.mediumdark}:{}})),Left=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span((function(_ref78){var active=_ref78.active,theme=_ref78.theme;return active?{"& svg":{opacity:1},"& path":{fill:theme.color.primary}}:{}})),Item$3=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.a((function(_ref79){var theme=_ref79.theme;return{fontSize:theme.typography.size.s1,transition:"all 150ms ease-out",color:curriedTransparentize$1(.5,theme.color.defaultText),textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 15px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:theme.background.hoverable},"&:hover svg":{opacity:1}}}),(function(_ref80){return _ref80.disabled?{cursor:"not-allowed"}:{}})),getItemProps=memoizerific__WEBPACK_IMPORTED_MODULE_53___default()(100)((function(onClick,href,LinkWrapper){var result={};return onClick&&Object.assign(result,{onClick:onClick}),href&&Object.assign(result,{href:href}),LinkWrapper&&href&&Object.assign(result,{to:href,as:LinkWrapper}),result})),ListItem=function ListItem(_a){var loading=_a.loading,left=_a.left,title=_a.title,center=_a.center,right=_a.right,active=_a.active,disabled=_a.disabled,href=_a.href,onClick=_a.onClick,LinkWrapper=_a.LinkWrapper,rest=__rest(_a,["loading","left","title","center","right","active","disabled","href","onClick","LinkWrapper"]),itemProps=getItemProps(onClick,href,LinkWrapper),commonProps={active:active,disabled:disabled};return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Item$3,Object.assign({},commonProps,rest,itemProps),left&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Left,Object.assign({},commonProps),left),title||center?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Center,null,title&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Title$1,Object.assign({},commonProps,{loading:loading}),title),center&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(CenterText,Object.assign({},commonProps),center)):null,right&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Right,Object.assign({},commonProps),right))};ListItem.defaultProps={loading:!1,left:null,title:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var List$2=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:432},(function(_ref81){return{borderRadius:2*_ref81.theme.appBorderRadius}})),Item$2=function Item$2(props){var LinkWrapper=props.LinkWrapper,onClickFromProps=props.onClick,rest=__rest(props,["LinkWrapper","onClick"]),title=rest.title,href=rest.href,active=rest.active,onClick=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(event){onClickFromProps(event,rest)}),[onClickFromProps]),hasOnClick=!!onClickFromProps;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ListItem,Object.assign({title:title,active:active,href:href,LinkWrapper:LinkWrapper},rest,hasOnClick?{onClick:onClick}:{}))},TooltipLinkList=function TooltipLinkList(_ref82){var links=_ref82.links,LinkWrapper=_ref82.LinkWrapper;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(List$2,null,links.map((function(_a){var isGatsby=_a.isGatsby,p=__rest(_a,["isGatsby"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Item$2,Object.assign({key:p.id,LinkWrapper:isGatsby?LinkWrapper:null},p))})))};TooltipLinkList.defaultProps={LinkWrapper:ListItem.defaultProps.LinkWrapper};var Side=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",flexShrink:0,marginLeft:3,marginRight:3},(function(_ref83){return _ref83.left?{"& > *":{marginLeft:4}}:{}}),(function(_ref84){return _ref84.right?{marginLeft:30,"& > *":{marginRight:4}}:{}}));Side.displayName="Side";var Bar$1=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)((function(_ref85){var children=_ref85.children,className=_ref85.className;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ScrollArea,{horizontal:!0,vertical:!1,className:className},children)}))((function(_ref86){return{color:_ref86.theme.barTextColor,width:"100%",height:40,flexShrink:0,overflow:"auto",overflowY:"hidden"}}),(function(_ref87){var theme=_ref87.theme;return _ref87.border?{boxShadow:"".concat(theme.appBorderColor," 0 -1px 0 0 inset"),background:theme.barBg}:{}}));Bar$1.displayName="Bar";var BarInner=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref88){return{display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:_ref88.bgColor||""}})),FlexBar=function FlexBar(_a){var children=_a.children,backgroundColor=_a.backgroundColor,rest=__rest(_a,["children","backgroundColor"]),_Children$toArray4=_slicedToArray(react__WEBPACK_IMPORTED_MODULE_51__.Children.toArray(children),2),left=_Children$toArray4[0],right=_Children$toArray4[1];return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Bar$1,Object.assign({},rest),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(BarInner,{bgColor:backgroundColor},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Side,{left:!0},left),right?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Side,{right:!0},right):null))};FlexBar.displayName="FlexBar";var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-"+start,placement+"-"+end])}),[]),placements=[].concat(basePlacements,[auto]).reduce((function(acc,placement){return acc.concat([placement,placement+"-"+start,placement+"-"+end])}),[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite],ButtonOrLink=function ButtonOrLink(_a){var children=_a.children,restProps=__rest(_a,["children"]);return null!=restProps.href?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("a",Object.assign({},restProps),children):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("button",Object.assign({type:"button"},restProps),children)},TabButton=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(ButtonOrLink,{shouldForwardProp:_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.f})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},(function(_ref89){return{padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:_ref89.theme.color.secondary}}}),(function(_ref90){var active=_ref90.active,textColor=_ref90.textColor,theme=_ref90.theme;return active?{color:textColor||theme.barSelectedColor,borderBottomColor:theme.barSelectedColor}:{color:textColor||theme.barTextColor,borderBottomColor:"transparent"}}));TabButton.displayName="TabButton";var IconButton=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(ButtonOrLink,{shouldForwardProp:_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.f})((function(){return{alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}}),(function(_ref91){var active=_ref91.active,theme=_ref91.theme;return active?{backgroundColor:theme.background.hoverable,color:theme.color.secondary}:{}}),(function(_ref92){var disabled=_ref92.disabled,theme=_ref92.theme;return disabled?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:curriedTransparentize$1(.88,theme.color.secondary),color:theme.color.secondary},"&:focus-visible":{outline:auto},"&:focus:not(:focus-visible)":{outline:"none"}}}));IconButton.displayName="IconButton";var IconPlaceholder=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref93){var theme=_ref93.theme;return{width:14,height:14,backgroundColor:theme.appBorderColor,animation:"".concat(theme.animation.glow," 1.5s ease-in-out infinite")}})),IconButtonSkeletonWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(){return{marginTop:6,padding:7,height:28}})),IconButtonSkeleton=function IconButtonSkeleton(){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IconButtonSkeletonWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IconPlaceholder,null))},Wrapper$6=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref94){var theme=_ref94.theme;return _ref94.bordered?{backgroundClip:"padding-box",border:"1px solid ".concat(theme.appBorderColor),borderRadius:theme.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{}}),(function(_ref95){return _ref95.absolute?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}})),TabBar=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({overflow:"hidden","&:first-of-type":{marginLeft:-3}}),Content=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"block",position:"relative"},(function(_ref96){var theme=_ref96.theme;return{fontSize:theme.typography.size.s2-1,background:theme.background.content}}),(function(_ref97){var bordered=_ref97.bordered,theme=_ref97.theme;return bordered?{borderRadius:"0 0 ".concat(theme.appBorderRadius-1,"px ").concat(theme.appBorderRadius-1,"px")}:{}}),(function(_ref98){var absolute=_ref98.absolute,bordered=_ref98.bordered;return absolute?_defineProperty2({height:"calc(100% - ".concat(bordered?42:40,"px)"),position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:40+(bordered?1:0),overflow:"auto"},"& > *:first-child",{position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:0+(bordered?1:0),height:"calc(100% - ".concat(bordered?2:0,"px)"),overflow:"auto"}):{}})),VisuallyHidden=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref100){return _ref100.active?{display:"block"}:{display:"none"}})),TabWrapper=function TabWrapper(_ref101){var active=_ref101.active,render=_ref101.render,children=_ref101.children;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(VisuallyHidden,{active:active},render?render():children)},childrenToList=function childrenToList(children,selected){return react__WEBPACK_IMPORTED_MODULE_51__.Children.toArray(children).map((function(_ref102,index){var _ref102$props=_ref102.props,title=_ref102$props.title,id=_ref102$props.id,color=_ref102$props.color,childrenOfChild=_ref102$props.children,content=Array.isArray(childrenOfChild)?childrenOfChild[0]:childrenOfChild;return{active:selected?id===selected:0===index,title:title,id:id,color:color,render:"function"==typeof content?content:function(_ref103){var active=_ref103.active,key=_ref103.key;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(VisuallyHidden,{key:key,active:active,role:"tabpanel"},content)}}}))},Tabs=Object(react__WEBPACK_IMPORTED_MODULE_51__.memo)((function(_ref104){var children=_ref104.children,selected=_ref104.selected,actions=_ref104.actions,absolute=_ref104.absolute,bordered=_ref104.bordered,tools=_ref104.tools,backgroundColor=_ref104.backgroundColor,htmlId=_ref104.id,list=childrenToList(children,selected);return list.length?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Wrapper$6,{absolute:absolute,bordered:bordered,id:htmlId},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(FlexBar,{border:!0,backgroundColor:backgroundColor},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(TabBar,{role:"tablist"},list.map((function(_ref105){var title=_ref105.title,id=_ref105.id,active=_ref105.active,color=_ref105.color,tabTitle="function"==typeof title?title():title;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(TabButton,{id:"tabbutton-".concat(Object(_storybook_csf__WEBPACK_IMPORTED_MODULE_54__.sanitize)(tabTitle)),className:"tabbutton ".concat(active?"tabbutton-active":""),type:"button",key:id,active:active,textColor:color,onClick:function onClick(e){e.preventDefault(),actions.onSelect(id)},role:"tab"},tabTitle)}))),tools?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Fragment,null,tools):null),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Content,{id:"panel-tab-content",bordered:bordered,absolute:absolute},list.map((function(_ref106){var id=_ref106.id,active=_ref106.active;return(0,_ref106.render)({key:id,active:active})})))):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Placeholder,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Fragment,{key:"title"},"Nothing found"))}));Tabs.displayName="Tabs",Tabs.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1};var TabsState=function(_Component2){_inherits(TabsState,_Component2);var _super2=_createSuper(TabsState);function TabsState(props){var _this3;return _classCallCheck(this,TabsState),(_this3=_super2.call(this,props)).handlers={onSelect:function onSelect(id){return _this3.setState({selected:id})}},_this3.state={selected:props.initial},_this3}return _createClass(TabsState,[{key:"render",value:function render(){var _this$props2=this.props,_this$props2$bordered=_this$props2.bordered,bordered=void 0!==_this$props2$bordered&&_this$props2$bordered,_this$props2$absolute=_this$props2.absolute,absolute=void 0!==_this$props2$absolute&&_this$props2$absolute,children=_this$props2.children,backgroundColor=_this$props2.backgroundColor,selected=this.state.selected;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Tabs,{bordered:bordered,absolute:absolute,selected:selected,backgroundColor:backgroundColor,actions:this.handlers},children)}}]),TabsState}(react__WEBPACK_IMPORTED_MODULE_51__.Component);TabsState.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:""};var Separator=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span((function(_ref107){return{width:1,height:20,background:_ref107.theme.appBorderColor,marginTop:10,marginLeft:6,marginRight:2}}),(function(_ref108){return _ref108.force?{}:{"& + &":{display:"none"}}}));Separator.displayName="Separator";var interleaveSeparators=function interleaveSeparators(list){return list.reduce((function(acc,item,index){return item?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Fragment,{key:item.id||item.key||"f-".concat(index)},acc,index>0?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Separator,{key:"s-".concat(index)}):null,item.render()||item):acc}),null)},usePrevious=function usePrevious(value){var ref=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)();return Object(react__WEBPACK_IMPORTED_MODULE_51__.useEffect)((function(){ref.current=value}),[value]),ref.current},useUpdate=function useUpdate(update,value){var previousValue=usePrevious(value);return update?value:previousValue},AddonPanel=function AddonPanel(_ref109){var active=_ref109.active,children=_ref109.children;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",{hidden:!active,style:{transform:"translateX(0px)"}},useUpdate(active,children))},StorybookLogo=function StorybookLogo(_a){var alt=_a.alt,props=__rest(_a,["alt"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("svg",Object.assign({width:"200px",height:"40px",viewBox:"0 0 200 40"},props,{role:"img"}),alt?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("title",null,alt):null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("g",{fill:"none",fillRule:"evenodd"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("mask",{id:"b",fill:"#fff"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("use",{xlinkHref:"#a"})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"})))},StorybookIcon=function StorybookIcon(_a){var props=__rest(_a,[]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("svg",Object.assign({viewBox:"0 0 64 64"},props),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("title",null,"Storybook icon"),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"})))};function e(){return(e=Object.assign||function(t){for(var e=1;e",lt:"<",nbsp:" ",quot:"“"},a=["style","script"],u=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,i=/mailto:/i,l=/\n{2,}$/,s=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,_2=/^ *> ?/gm,f=/^ {2,}\n/,d=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,p=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,g=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,m=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,y=/^(?:\n *)*\n/,h=/\r\n?/g,k=/^\[\^([^\]]+)](:.*)\n/,x=/^\[\^([^\]]+)]/,v=/\f/g,b=/^\s*?\[(x|\s)\]/,S=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,$=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,w=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,z=/&([a-z]+);/g,E=/^)/,A=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,R=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,I=/^\{.*\}$/,M=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,O=/^<([^ >]+@[^ >]+)>/,B=/^<([^ >]+:\/[^ >]+)>/,L=/ *\n+$/,T=/(?:^|\n)( *)$/,j=/-([a-z])?/gi,C=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,D=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,N=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Z=/^\[([^\]]*)\] ?\[([^\]]*)\]/,F=/(\[|\])/g,P=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,G=/\t/g,H=/^ *\| */,q=/(^ *\||\| *$)/g,U=/ *$/,V=/^ *:-+: *$/,W=/^ *:-+ *$/,Q=/^ *-+: *$/,X=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,J=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,K=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,Y=/^\\([^0-9A-Za-z\s])/,tt=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,et=/^\n+/,nt=/^([ \t]*)/,rt=/\\([^0-9A-Z\s])/gi,ot=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +"),ct=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),at=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)"),ut="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",it=new RegExp("^\\[("+ut+")\\]\\(\\s*?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),lt=new RegExp("^!\\[("+ut+")\\]\\(\\s*?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),st=[s,g,p,S,$,E,ct,at,C],_t=[].concat(st,[/^[^\n]+(?: \n|\n{2,})/,w,R]);function ft(t){return t.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function dt(t){return Q.test(t)?"right":V.test(t)?"center":W.test(t)?"left":null}function pt(t,e,n){var r=n.t;n.t=!0;var o=e(t.trim(),n);n.t=r;var c=[[]];return o.forEach((function(t,e){"tableSeparator"===t.type?0!==e&&e!==o.length-1&&c.push([]):("text"!==t.type||null!=o[e+1]&&"tableSeparator"!==o[e+1].type||(t.content=t.content.replace(U,"")),c[c.length-1].push(t))})),c}function gt(t,e,n){n.o=!0;var r=pt(t[1],e,n),o=t[2].replace(q,"").split("|").map(dt),c=function(t,e,n){return t.trim().split("\n").map((function(t){return pt(t,e,n)}))}(t[3],e,n);return n.o=!1,{align:o,cells:c,header:r,type:"table"}}function mt(t,e){return null==t.align[e]?{}:{textAlign:t.align[e]}}function yt(t){return function(e,n){return n.o?t.exec(e):null}}function ht(t){return function(e,n){return n.o||n.u?t.exec(e):null}}function kt(t){return function(e,n){return n.o||n.u?null:t.exec(e)}}function xt(t){return function(e){return t.exec(e)}}function vt(t,e,n){if(e.o||e.u)return null;if(n&&!n.endsWith("\n"))return null;var r="";t.split("\n").every((function(t){return!st.some((function(e){return e.test(t)}))&&(r+=t+"\n",t.trim())}));var o=r.trimEnd();return""==o?null:[r,o]}function bt(t){try{if(decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(t){return null}return t}function St(t){return t.replace(rt,"$1")}function $t(t,e,n){var r=n.o||!1,o=n.u||!1;n.o=!0,n.u=!0;var c=t(e,n);return n.o=r,n.u=o,c}function wt(t,e,n){var r=n.o||!1,o=n.u||!1;n.o=!1,n.u=!0;var c=t(e,n);return n.o=r,n.u=o,c}function zt(t,e,n){return n.o=!1,t(e+"\n\n",n)}var Et=function Et(t,e,n){return{content:$t(e,t[1],n)}},Ot,t;function At(){return{}}function Rt(){return null}function It(){for(var _len3=arguments.length,t=new Array(_len3),_key3=0;_key3<_len3;_key3++)t[_key3]=arguments[_key3];return t.filter(Boolean).join(" ")}function Mt(t,e,n){for(var r=t,o=e.split(".");o.length&&void 0!==(r=r[o[0]]);)o.shift();return r||n}function Bt(r){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};q.overrides=q.overrides||{},q.slugify=q.slugify||ft,q.namedCodesToUnicode=q.namedCodesToUnicode?e({},c,q.namedCodesToUnicode):c;var U=q.createElement||react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement;function V(t,n){for(var o=Mt(q.overrides,"".concat(t,".props"),{}),_len4=arguments.length,r=new Array(_len4>2?_len4-2:0),_key4=2;_key4<_len4;_key4++)r[_key4-2]=arguments[_key4];return U.apply(void 0,[function(t,e){var n=Mt(e,t);return n?"function"==typeof n||"object"==_typeof(n)&&"render"in n?n:Mt(e,"".concat(t,".component"),t):t}(t,q.overrides),e({},n,o,{className:It(null==n?void 0:n.className,o.className)||void 0})].concat(r))}function W(e){var n=!1;q.forceInline?n=!0:q.forceBlock||(n=!1===P.test(e));for(var r=pt(dt(n?e:"".concat(e.trimEnd().replace(et,""),"\n\n"),{o:n}));"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===q.wrapper)return r;var c,o=q.wrapper||(n?"span":"div");if(r.length>1||q.forceWrapper)c=r;else{if(1===r.length)return"string"==typeof(c=r[0])?V("span",{key:"outer"},c):c;c=null}return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(o,{key:"outer"},c)}function Q(e){var r=e.match(u);return r?r.reduce((function(e,r,c){var t,a=r.indexOf("=");if(-1!==a){var _u=(t=r.slice(0,a),-1!==t.indexOf("-")&&null===t.match(A)&&(t=t.replace(j,(function(t,e){return e.toUpperCase()}))),t).trim(),_i2=function(t){return t?(n.test(t.charAt(0))&&(t=t.substr(1)),n.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}(r.slice(a+1).trim()),_l=o[_u]||_u,_s2=e[_l]=function(t,e){return"style"===t?e.split(/;\s?/).reduce((function(t,e){var n=e.slice(0,e.indexOf(":"));return t[n.replace(/(-[a-z])/g,(function(t){return t[1].toUpperCase()}))]=e.slice(n.length+1).trim(),t}),{}):"href"===t?bt(e):(e.match(I)&&(e=e.slice(1,e.length-1)),"true"===e||"false"!==e&&e)}(_u,_i2);"string"==typeof _s2&&(w.test(_s2)||R.test(_s2))&&(e[_l]=react__WEBPACK_IMPORTED_MODULE_51___default.a.cloneElement(W(_s2.trim()),{key:c}))}else"style"!==r&&(e[o[r]||r]=!0);return e}),{}):void 0}var rt=[],ut={},st={blockQuote:{i:kt(s),l:Ot.HIGH,_:function _(t,e,n){return{content:e(t[0].replace(_2,""),n)}},p:function p(t,e,n){return V("blockquote",{key:n.g},e(t.content,n))}},breakLine:{i:xt(f),l:Ot.HIGH,_:At,p:function p(t,e,n){return V("br",{key:n.g})}},breakThematic:{i:kt(d),l:Ot.HIGH,_:At,p:function p(t,e,n){return V("hr",{key:n.g})}},codeBlock:{i:kt(g),l:Ot.MAX,_:function _(t){return{content:t[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},p:function p(t,e,n){return V("pre",{key:n.g},V("code",{className:t.lang?"lang-".concat(t.lang):""},t.content))}},codeFenced:{i:kt(p),l:Ot.MAX,_:function _(t){return{content:t[3],lang:t[2]||void 0,type:"codeBlock"}}},codeInline:{i:ht(m),l:Ot.LOW,_:function _(t){return{content:t[2]}},p:function p(t,e,n){return V("code",{key:n.g},t.content)}},footnote:{i:kt(k),l:Ot.MAX,_:function _(t){return rt.push({footnote:t[2],identifier:t[1]}),{}},p:Rt},footnoteReference:{i:yt(x),l:Ot.HIGH,_:function _(t){return{content:t[1],target:"#".concat(q.slugify(t[1]))}},p:function p(t,e,n){return V("a",{key:n.g,href:bt(t.target)},V("sup",{key:n.g},t.content))}},gfmTask:{i:yt(b),l:Ot.HIGH,_:function _(t){return{completed:"x"===t[1].toLowerCase()}},p:function p(t,e,n){return V("input",{checked:t.completed,key:n.g,readOnly:!0,type:"checkbox"})}},heading:{i:kt(S),l:Ot.HIGH,_:function _(t,e,n){return{content:$t(e,t[2],n),id:q.slugify(t[2]),level:t[1].length}},p:function p(t,e,n){return t.tag="h".concat(t.level),V(t.tag,{id:t.id,key:n.g},e(t.content,n))}},headingSetext:{i:kt($),l:Ot.MAX,_:function _(t,e,n){return{content:$t(e,t[1],n),level:"="===t[2]?1:2,type:"heading"}}},htmlComment:{i:xt(E),l:Ot.HIGH,_:function _(){return{}},p:Rt},image:{i:ht(lt),l:Ot.HIGH,_:function _(t){return{alt:t[1],target:St(t[2]),title:t[3]}},p:function p(t,e,n){return V("img",{key:n.g,alt:t.alt||void 0,title:t.title||void 0,src:bt(t.target)})}},link:{i:yt(it),l:Ot.LOW,_:function _(t,e,n){return{content:wt(e,t[1],n),target:St(t[2]),title:t[3]}},p:function p(t,e,n){return V("a",{key:n.g,href:bt(t.target),title:t.title},e(t.content,n))}},linkAngleBraceStyleDetector:{i:yt(B),l:Ot.MAX,_:function _(t){return{content:[{content:t[1],type:"text"}],target:t[1],type:"link"}}},linkBareUrlDetector:{i:function i(t,e){return e.m?null:yt(M)(t,e)},l:Ot.MAX,_:function _(t){return{content:[{content:t[1],type:"text"}],target:t[1],title:void 0,type:"link"}}},linkMailtoDetector:{i:yt(O),l:Ot.MAX,_:function _(t){var e=t[1],n=t[1];return i.test(n)||(n="mailto:"+n),{content:[{content:e.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{i:function i(t,e,n){var r=T.exec(n);return!r||!e.h&&e.o?null:at.exec(t=r[1]+t)},l:Ot.HIGH,_:function _(t,e,n){var r=t[2],o=r.length>1,c=o?+r:void 0,a=t[0].replace(l,"\n").match(ct),u=!1;return{items:a.map((function(t,r){var o=ot.exec(t)[0].length,c=new RegExp("^ {1,"+o+"}","gm"),i=t.replace(c,"").replace(ot,""),l=r===a.length-1,s=-1!==i.indexOf("\n\n")||l&&u;u=s;var d,_=n.o,f=n.h;n.h=!0,s?(n.o=!1,d=i.replace(L,"\n\n")):(n.o=!0,d=i.replace(L,""));var p=e(d,n);return n.o=_,n.h=f,p})),ordered:o,start:c}},p:function p(t,e,n){return V(t.ordered?"ol":"ul",{key:n.g,start:t.start},t.items.map((function(t,r){return V("li",{key:r},e(t,n))})))}},newlineCoalescer:{i:kt(y),l:Ot.LOW,_:At,p:function p(){return"\n"}},paragraph:{i:vt,l:Ot.LOW,_:Et,p:function p(t,e,n){return V("p",{key:n.g},e(t.content,n))}},ref:{i:yt(D),l:Ot.MAX,_:function _(t){return ut[t[1]]={target:t[2],title:t[4]},{}},p:Rt},refImage:{i:ht(N),l:Ot.MAX,_:function _(t){return{alt:t[1]||void 0,ref:t[2]}},p:function p(t,e,n){return V("img",{key:n.g,alt:t.alt,src:bt(ut[t.ref].target),title:ut[t.ref].title})}},refLink:{i:yt(Z),l:Ot.MAX,_:function _(t,e,n){return{content:e(t[1],n),fallbackContent:e(t[0].replace(F,"\\$1"),n),ref:t[2]}},p:function p(t,e,n){return ut[t.ref]?V("a",{key:n.g,href:bt(ut[t.ref].target),title:ut[t.ref].title},e(t.content,n)):V("span",{key:n.g},e(t.fallbackContent,n))}},table:{i:kt(C),l:Ot.HIGH,_:gt,p:function p(t,e,n){return V("table",{key:n.g},V("thead",null,V("tr",null,t.header.map((function(r,o){return V("th",{key:o,style:mt(t,o)},e(r,n))})))),V("tbody",null,t.cells.map((function(r,o){return V("tr",{key:o},r.map((function(r,o){return V("td",{key:o,style:mt(t,o)},e(r,n))})))}))))}},tableSeparator:{i:function i(t,e){return e.t?H.exec(t):null},l:Ot.HIGH,_:function _(){return{type:"tableSeparator"}},p:function p(){return" | "}},text:{i:xt(tt),l:Ot.MIN,_:function _(t){return{content:t[0].replace(z,(function(t,e){return q.namedCodesToUnicode[e]?q.namedCodesToUnicode[e]:t}))}},p:function p(t){return t.content}},textBolded:{i:ht(X),l:Ot.MED,_:function _(t,e,n){return{content:e(t[2],n)}},p:function p(t,e,n){return V("strong",{key:n.g},e(t.content,n))}},textEmphasized:{i:ht(J),l:Ot.LOW,_:function _(t,e,n){return{content:e(t[2],n)}},p:function p(t,e,n){return V("em",{key:n.g},e(t.content,n))}},textEscaped:{i:ht(Y),l:Ot.HIGH,_:function _(t){return{content:t[1],type:"text"}}},textStrikethroughed:{i:ht(K),l:Ot.LOW,_:Et,p:function p(t,e,n){return V("del",{key:n.g},e(t.content,n))}}};!0!==q.disableParsingRawHTML&&(st.htmlBlock={i:xt(w),l:Ot.HIGH,_:function _(t,e,n){var i,r=_slicedToArray(t[3].match(nt),2)[1],o=new RegExp("^".concat(r),"gm"),c=t[3].replace(o,""),u=(i=c,_t.some((function(t){return t.test(i)}))?zt:$t),l=t[1].toLowerCase(),s=-1!==a.indexOf(l);n.m=n.m||"a"===l;var _=s?t[3]:u(e,c,n);return n.m=!1,{attrs:Q(t[2]),content:_,noInnerParse:s,tag:s?l:t[1]}},p:function p(t,n,r){return V(t.tag,e({key:r.g},t.attrs),t.noInnerParse?t.content:n(t.content,r))}},st.htmlSelfClosing={i:xt(R),l:Ot.HIGH,_:function _(t){return{attrs:Q(t[2]||""),tag:t[1]}},p:function p(t,n,r){return V(t.tag,e({},t.attrs,{key:r.g}))}});var t,Bt,dt=function(t){var e=Object.keys(t);function n(r,o){for(var c=[],a="";r;)for(var _u2=0;_u21&&void 0!==arguments[1]?arguments[1]:{};if(Array.isArray(e)){for(var _r=n.g,_o=[],_c=!1,_r2=0;_r2=0||(o[n]=t[n]);return o}(e,r);return react__WEBPACK_IMPORTED_MODULE_51___default.a.cloneElement(Bt(n,o),c)},Description$1=function Description$1(_ref110){var markdown=_ref110.markdown;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ResetWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Markdown,{options:{forceBlock:!0,overrides:components$1}},markdown))},breakpoint=600,Title=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.h1(withReset,(function(_ref111){var theme=_ref111.theme;return _defineProperty2({color:theme.color.defaultText,fontSize:theme.typography.size.m3,fontWeight:theme.typography.weight.black,lineHeight:"32px"},"@media (min-width: ".concat(breakpoint,"px)"),{fontSize:theme.typography.size.l1,lineHeight:"36px",marginBottom:".5rem"})})),Subtitle=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.h2(withReset,(function(_ref113){var _ref114,theme=_ref113.theme;return _defineProperty2(_ref114={fontWeight:theme.typography.weight.regular,fontSize:theme.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15},"@media (min-width: ".concat(breakpoint,"px)"),{fontSize:theme.typography.size.m1,lineHeight:"28px",marginBottom:24}),_defineProperty2(_ref114,"color",curriedTransparentize$1(.25,theme.color.defaultText)),_ref114})),DocsContent=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({maxWidth:1e3,width:"100%"}),DocsWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref115){return _defineProperty2({background:_ref115.theme.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box"},"@media (min-width: ".concat(breakpoint,"px)"),{})})),DocsPageWrapper=function DocsPageWrapper(_ref117){var children=_ref117.children;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(DocsWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(DocsContent,null,children))},getBlockBackgroundStyle=function getBlockBackgroundStyle(theme){return{borderRadius:theme.appBorderRadius,background:theme.background.content,boxShadow:"light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:"1px solid ".concat(theme.appBorderColor)}},getStoryHref=function getStoryHref(baseUrl,storyId){var additionalParams=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_baseUrl$split2=_slicedToArray(baseUrl.split("?"),2),url=_baseUrl$split2[0],paramsStr=_baseUrl$split2[1],params=paramsStr?Object.assign(Object.assign(Object.assign({},qs__WEBPACK_IMPORTED_MODULE_55___default.a.parse(paramsStr)),additionalParams),{id:storyId}):Object.assign(Object.assign({},additionalParams),{id:storyId});return"".concat(url).concat(qs__WEBPACK_IMPORTED_MODULE_55___default.a.stringify(params,{addQueryPrefix:!0,encode:!1}))},Zoom=function Zoom(_ref118){var zoom=_ref118.zoom,resetZoom=_ref118.resetZoom;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IconButton,{key:"zoomin",onClick:function onClick(e){e.preventDefault(),zoom(.8)},title:"Zoom in"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Icons,{icon:"zoom"})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IconButton,{key:"zoomout",onClick:function onClick(e){e.preventDefault(),zoom(1.25)},title:"Zoom out"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Icons,{icon:"zoomout"})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IconButton,{key:"zoomreset",onClick:function onClick(e){e.preventDefault(),resetZoom()},title:"Reset zoom"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Icons,{icon:"zoomreset"})))},Eject=function Eject(_ref119){var baseUrl=_ref119.baseUrl,storyId=_ref119.storyId;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IconButton,{key:"opener",href:getStoryHref(baseUrl,storyId),target:"_blank",title:"Open canvas in new tab"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Icons,{icon:"share"}))},Bar=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(FlexBar)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Toolbar=function Toolbar(_a){var isLoading=_a.isLoading,storyId=_a.storyId,baseUrl=_a.baseUrl,zoom=_a.zoom,resetZoom=_a.resetZoom,rest=__rest(_a,["isLoading","storyId","baseUrl","zoom","resetZoom"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Bar,Object.assign({},rest),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Fragment,{key:"left"},isLoading?[1,2,3].map((function(key){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IconButtonSkeleton,{key:key})})):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Zoom,Object.assign({},{zoom:zoom,resetZoom:resetZoom}))),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Fragment,{key:"right"},storyId&&(isLoading?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IconButtonSkeleton,null):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Eject,Object.assign({},{storyId:storyId,baseUrl:baseUrl})))))},ZoomContext=Object(react__WEBPACK_IMPORTED_MODULE_51__.createContext)({scale:1}),globalWindow$1=window_1.window,IFrame=function(_Component3){_inherits(IFrame,_Component3);var _super3=_createSuper(IFrame);function IFrame(){var _this4;return _classCallCheck(this,IFrame),(_this4=_super3.apply(this,arguments)).iframe=null,_this4}return _createClass(IFrame,[{key:"componentDidMount",value:function componentDidMount(){var id=this.props.id;this.iframe=globalWindow$1.document.getElementById(id)}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(nextProps){var scale=nextProps.scale;return scale!==this.props.scale&&this.setIframeBodyStyle({width:"".concat(100*scale,"%"),height:"".concat(100*scale,"%"),transform:"scale(".concat(1/scale,")"),transformOrigin:"top left"}),!1}},{key:"setIframeBodyStyle",value:function setIframeBodyStyle(style){return Object.assign(this.iframe.contentDocument.body.style,style)}},{key:"render",value:function render(){var _a=this.props,id=_a.id,title=_a.title,src=_a.src,allowFullScreen=_a.allowFullScreen,rest=(_a.scale,__rest(_a,["id","title","src","allowFullScreen","scale"]));return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("iframe",Object.assign({id:id,title:title,src:src,allowFullScreen:allowFullScreen,loading:"lazy"},rest))}}]),IFrame}(react__WEBPACK_IMPORTED_MODULE_51__.Component),rotate360=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.g)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\tfrom {\n\t\ttransform: rotate(0deg);\n\t}\n\tto {\n\t\ttransform: rotate(360deg);\n\t}\n"]))),EventSource=window_1.EventSource,CONFIG_TYPE=window_1.CONFIG_TYPE,LoaderWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref120){var _ref120$size=_ref120.size,size=void 0===_ref120$size?32:_ref120$size;return{borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-size/2,marginLeft:-size/2,height:size,width:size,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:"".concat(rotate360," 0.7s linear infinite"),mixBlendMode:"difference"}})),ProgressWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),ProgressTrack=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref121){var theme=_ref121.theme;return{position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:curriedTransparentize$1(.8,theme.color.secondary),overflow:"hidden",cursor:"progress"}})),ProgressBar=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref122){return{position:"absolute",top:0,left:0,height:"100%",background:_ref122.theme.color.secondary}})),ProgressMessage=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref123){var theme=_ref123.theme;return{minHeight:"2em",fontSize:"".concat(theme.typography.size.s1,"px"),color:theme.barTextColor}})),ErrorIcon=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Icons)((function(_ref124){return{width:20,height:20,marginBottom:"0.5rem",color:_ref124.theme.color.mediumdark}})),ellipsis=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.g)(_templateObject2||(_templateObject2=_taggedTemplateLiteral(['\n from { content: "..." }\n 33% { content: "." }\n 66% { content: ".." }\n to { content: "..." }\n']))),Ellipsis=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span({"&::after":{content:"'...'",animation:"".concat(ellipsis," 1s linear infinite"),animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),PureLoader=function PureLoader(_a){var progress=_a.progress,error=_a.error,size=_a.size,props=__rest(_a,["progress","error","size"]);if(error)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ProgressWrapper,Object.assign({"aria-label":error.toString(),"aria-live":"polite",role:"status"},props),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ErrorIcon,{icon:"lightningoff"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ProgressMessage,null,error.message));if(progress){var _value=progress.value,modules=progress.modules,message=progress.message;return modules&&(message+=" ".concat(modules.complete," / ").concat(modules.total," modules")),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ProgressWrapper,Object.assign({"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":100*_value,"aria-valuetext":message,role:"progressbar"},props),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ProgressTrack,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ProgressBar,{style:{width:"".concat(100*_value,"%")}})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ProgressMessage,null,message,_value<1&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Ellipsis,{key:message})))}return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(LoaderWrapper,Object.assign({"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:size},props))},Loader=function Loader(props){var _useState4=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(void 0),2),progress=_useState4[0],setProgress=_useState4[1],_useState6=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(void 0),2),error=_useState6[0],setError=_useState6[1];return Object(react__WEBPACK_IMPORTED_MODULE_51__.useEffect)((function(){if("DEVELOPMENT"===CONFIG_TYPE&&EventSource){var lastProgress,eventSource=new EventSource("/progress");return eventSource.onmessage=function(event){try{lastProgress=JSON.parse(event.data),setProgress(lastProgress)}catch(e){setError(e),eventSource.close()}},eventSource.onerror=function(){lastProgress&&1!==lastProgress.value&&setError(new Error("Connection closed")),eventSource.close()},function(){return eventSource.close()}}}),[]),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(PureLoader,Object.assign({progress:progress,error:error},props))},PREVIEW_URL=window_1.PREVIEW_URL,BASE_URL=PREVIEW_URL||"iframe.html",StoryError;!function(StoryError){StoryError.NO_STORY="No component or story to display"}(StoryError||(StoryError={}));var MISSING_STORY=function MISSING_STORY(id){return id?'Story "'.concat(id,"\" doesn't exist."):StoryError.NO_STORY},InlineStory=function InlineStory(_ref125){var storyFn=_ref125.storyFn,height=_ref125.height,id=_ref125.id;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Fragment,null,height?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("style",null,"#story--".concat(id," { min-height: ").concat(height,"; transform: translateZ(0); overflow: auto }")):null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Fragment,null,storyFn?Object(react__WEBPACK_IMPORTED_MODULE_51__.createElement)(storyFn):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(EmptyBlock,null,MISSING_STORY(id))))},IFrameStory=function IFrameStory(_ref126){var id=_ref126.id,title=_ref126.title,_ref126$height=_ref126.height,height=void 0===_ref126$height?"500px":_ref126$height;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",{style:{width:"100%",height:height}},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ZoomContext.Consumer,null,(function(_ref127){var scale=_ref127.scale;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IFrame,{key:"iframe",id:"iframe--".concat(id),title:title,src:getStoryHref(BASE_URL,id,{viewMode:"story"}),allowFullScreen:!0,scale:scale,style:{width:"100%",height:"100%",border:"0 none"}})})))},Story=function Story(_a){_a.children;var error=_a.error,inline=_a.inline,props=__rest(_a,["children","error","inline"]),id=props.id,title=props.title,height=props.height;return error?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(EmptyBlock,null,error):inline?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(InlineStory,Object.assign({},props)):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(IFrameStory,{id:id,title:title,height:height})},StorySkeleton=function StorySkeleton(){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Loader,null)},ChildrenContainer=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref128){var isColumn=_ref128.isColumn,columns=_ref128.columns,layout=_ref128.layout;return{display:isColumn||!columns?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:isColumn?"column":"row","& .innerZoomElementWrapper > *":isColumn?{width:"fullscreen"!==layout?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:"fullscreen"!==layout?"calc(100% - 20px)":"100%",display:"inline-block"}}}),(function(_ref129){var _ref129$layout=_ref129.layout,layout=void 0===_ref129$layout?"padded":_ref129$layout;return"centered"===layout||"padded"===layout?{padding:"30px 20px",margin:-10,"& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{}}),(function(_ref130){var _ref130$layout=_ref130.layout;return"centered"===(void 0===_ref130$layout?"padded":_ref130$layout)?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{}}),(function(_ref131){var columns=_ref131.columns;return columns&&columns>1?{".innerZoomElementWrapper > *":{minWidth:"calc(100% / ".concat(columns," - 20px)")}}:{}})),StyledSource=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Source)((function(_ref132){var theme=_ref132.theme;return{margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:theme.appBorderRadius,borderBottomRightRadius:theme.appBorderRadius,border:"none",background:"light"===theme.base?"rgba(0, 0, 0, 0.85)":curriedDarken$1(.05,theme.background.content),color:theme.color.lightest,button:{background:"light"===theme.base?"rgba(0, 0, 0, 0.85)":curriedDarken$1(.05,theme.background.content)}}})),PreviewContainer=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref133){var theme=_ref133.theme,withSource=_ref133.withSource,isExpanded=_ref133.isExpanded;return Object.assign(Object.assign({position:"relative",overflow:"hidden",margin:"25px 0 40px"},getBlockBackgroundStyle(theme)),{borderBottomLeftRadius:withSource&&isExpanded&&0,borderBottomRightRadius:withSource&&isExpanded&&0,borderBottomWidth:isExpanded&&0})}),(function(_ref134){return _ref134.withToolbar&&{paddingTop:40}})),getSource=function getSource(withSource,expanded,setExpanded){switch(!0){case!(!withSource||!withSource.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:function onClick(){return setExpanded(!1)}}};case expanded:return{source:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StyledSource,Object.assign({},withSource,{dark:!0})),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:function onClick(){return setExpanded(!1)}}};default:return{source:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StyledSource,Object.assign({},withSource,{dark:!0})),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:function onClick(){return setExpanded(!0)}}}}};function getStoryId(children){if(1===react__WEBPACK_IMPORTED_MODULE_51__.Children.count(children)){var elt=children;if(elt.props)return elt.props.id}return null}var PositionedToolbar=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Toolbar)({position:"absolute",top:0,left:0,right:0,height:40}),Relative=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({overflow:"hidden",position:"relative"}),getLayout=function getLayout(children){return children.reduce((function(result,c){return result||("string"==typeof c||"number"==typeof c?"padded":c.props&&c.props.parameters&&c.props.parameters.layout||"padded")}),void 0)},Preview=function Preview(_a){var isLoading=_a.isLoading,isColumn=_a.isColumn,columns=_a.columns,children=_a.children,withSource=_a.withSource,_a$withToolbar=_a.withToolbar,withToolbar=void 0!==_a$withToolbar&&_a$withToolbar,_a$isExpanded=_a.isExpanded,isExpanded=void 0!==_a$isExpanded&&_a$isExpanded,additionalActions=_a.additionalActions,className=_a.className,props=__rest(_a,["isLoading","isColumn","columns","children","withSource","withToolbar","isExpanded","additionalActions","className"]),_useState8=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(isExpanded),2),expanded=_useState8[0],setExpanded=_useState8[1],_getSource=getSource(withSource,expanded,setExpanded),source=_getSource.source,actionItem=_getSource.actionItem,_useState10=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(1),2),scale=_useState10[0],setScale=_useState10[1],previewClasses=[className].concat(["sbdocs","sbdocs-preview"]),defaultActionItems=withSource?[actionItem]:[],_useState12=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(additionalActions?_toConsumableArray(additionalActions):[]),2),additionalActionItems=_useState12[0],setAdditionalActionItems=_useState12[1],actionItems=[].concat(defaultActionItems,_toConsumableArray(additionalActionItems)),layout=getLayout(1===react__WEBPACK_IMPORTED_MODULE_51__.Children.count(children)?[children]:children),globalWindow=window_1.window,copyToClipboard=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(text){return __awaiter(void 0,void 0,void 0,regeneratorRuntime.mark((function _callee2(){var _yield$import;return regeneratorRuntime.wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.next=2,__webpack_require__.e(0).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/syntaxhighlighter-b07b042a.js"));case 2:_yield$import=_context2.sent,(0,_yield$import.createCopyToClipboardFunction)();case 5:case"end":return _context2.stop()}}),_callee2)})))}),[]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(PreviewContainer,Object.assign({},{withSource:withSource,withToolbar:withToolbar},props,{className:previewClasses.join(" ")}),withToolbar&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(PositionedToolbar,{isLoading:isLoading,border:!0,zoom:function zoom(z){return setScale(scale*z)},resetZoom:function resetZoom(){return setScale(1)},storyId:getStoryId(children),baseUrl:"./iframe.html"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ZoomContext.Provider,{value:{scale:scale}},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Relative,{className:"docs-story",onCopyCapture:withSource&&function onCopyCapture(e){e.preventDefault(),0===additionalActionItems.filter((function(item){return"Copied"===item.title})).length&©ToClipboard(source.props.code).then((function(){setAdditionalActionItems([].concat(_toConsumableArray(additionalActionItems),[{title:"Copied",onClick:function onClick(){}}])),globalWindow.setTimeout((function(){return setAdditionalActionItems(additionalActionItems.filter((function(item){return"Copied"!==item.title})))}),1500)}))}},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ChildrenContainer,{isColumn:isColumn||!Array.isArray(children),columns:columns,layout:layout},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Zoom$1.Element,{scale:scale},Array.isArray(children)?children.map((function(child,i){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",{key:i},child)})):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",null,children))),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ActionBar,{actionItems:actionItems}))),withSource&&expanded&&source)},StyledPreview=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Preview)((function(){return{".docs-story":{paddingTop:32,paddingBottom:40}}})),PreviewSkeleton=function PreviewSkeleton(){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StyledPreview,{isLoading:!0,withToolbar:!0},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StorySkeleton,null))};function arrayMap$2(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet=_listCacheSet;function ListCache$4(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++indexarrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG$3?new SetCache$1:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}var isLength_1=isLength$3,baseGetTag$2=_baseGetTag,isLength$2=isLength_1,isObjectLike$4=isObjectLike_1,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$2="[object Boolean]",dateTag$2="[object Date]",errorTag$1="[object Error]",funcTag$1="[object Function]",mapTag$4="[object Map]",numberTag$2="[object Number]",objectTag$3="[object Object]",regexpTag$2="[object RegExp]",setTag$4="[object Set]",stringTag$2="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$3="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};function baseIsTypedArray$1(value){return isObjectLike$4(value)&&isLength$2(value.length)&&!!typedArrayTags[baseGetTag$2(value)]}typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0,typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$2]=typedArrayTags[boolTag$2]=typedArrayTags[dataViewTag$3]=typedArrayTags[dateTag$2]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$4]=typedArrayTags[numberTag$2]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$2]=typedArrayTags[setTag$4]=typedArrayTags[stringTag$2]=typedArrayTags[weakMapTag$2]=!1;var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$3(func){return function(value){return func(value)}}var _baseUnary=baseUnary$3,_nodeUtil={exports:{}};!function(module,exports){var freeGlobal=_freeGlobal,freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil}(_nodeUtil,_nodeUtil.exports);var baseIsTypedArray=_baseIsTypedArray,baseUnary$2=_baseUnary,nodeUtil$2=_nodeUtil.exports,nodeIsTypedArray=nodeUtil$2&&nodeUtil$2.isTypedArray,isTypedArray$2=nodeIsTypedArray?baseUnary$2(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$2,baseTimes=_baseTimes,isArguments$1=isArguments_1,isArray$7=isArray_1,isBuffer$2=isBuffer$3.exports,isIndex$2=_isIndex,isTypedArray$1=isTypedArray_1,objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function arrayLikeKeys$2(value,inherited){var isArr=isArray$7(value),isArg=!isArr&&isArguments$1(value),isBuff=!isArr&&!isArg&&isBuffer$2(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray$1(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty$6.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex$2(key,length))||result.push(key);return result}var _arrayLikeKeys=arrayLikeKeys$2,objectProto$6=Object.prototype;function isPrototype$3(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto$6)}var _isPrototype=isPrototype$3;function overArg$2(func,transform){return function(arg){return func(transform(arg))}}var _overArg=overArg$2,overArg$1=_overArg,nativeKeys$1=overArg$1(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$2=_isPrototype,nativeKeys=_nativeKeys,objectProto$5=Object.prototype,hasOwnProperty$5=objectProto$5.hasOwnProperty;function baseKeys$1(object){if(!isPrototype$2(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty$5.call(object,key)&&"constructor"!=key&&result.push(key);return result}var _baseKeys=baseKeys$1,isFunction=isFunction_1,isLength$1=isLength_1;function isArrayLike$2(value){return null!=value&&isLength$1(value.length)&&!isFunction(value)}var isArrayLike_1=isArrayLike$2,arrayLikeKeys$1=_arrayLikeKeys,baseKeys=_baseKeys,isArrayLike$1=isArrayLike_1;function keys$4(object){return isArrayLike$1(object)?arrayLikeKeys$1(object):baseKeys(object)}var keys_1=keys$4,baseGetAllKeys$1=_baseGetAllKeys,getSymbols$2=_getSymbols,keys$3=keys_1;function getAllKeys$2(object){return baseGetAllKeys$1(object,keys$3,getSymbols$2)}var _getAllKeys=getAllKeys$2,getAllKeys$1=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$4=Object.prototype,hasOwnProperty$4=objectProto$4.hasOwnProperty;function equalObjects$1(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG$3,objProps=getAllKeys$1(object),objLength=objProps.length;if(objLength!=getAllKeys$1(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty$4.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index-1}var _arrayIncludes=arrayIncludes$1;function arrayIncludesWith$1(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index1&&void 0!==arguments[1])||arguments[1]||(items=summaryItems.slice(0,ITEMS_BEFORE_EXPANSION)),items.map((function(item){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgText,{key:item,text:""===item?'""':item})}))},ArgSummary=function ArgSummary(_ref143){var value=_ref143.value,initialExpandedArgs=_ref143.initialExpandedArgs,summary=value.summary,detail=value.detail,_useState14=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(!1),2),isOpen=_useState14[0],setIsOpen=_useState14[1],_useState16=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(initialExpandedArgs||!1),2),isExpanded=_useState16[0],setIsExpanded=_useState16[1];if(null==summary)return null;var summaryAsString="function"==typeof summary.toString?summary.toString():summary;if(null==detail){if(/[(){}[\]<>]/.test(summaryAsString))return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgText,{text:summaryAsString});var summaryItems=getSummaryItems(summaryAsString),itemsCount=summaryItems.length;return itemsCount>ITEMS_BEFORE_EXPANSION?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Summary,{isExpanded:isExpanded},renderSummaryItems(summaryItems,isExpanded),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ExpandButton,{onClick:function onClick(){return setIsExpanded(!isExpanded)}},isExpanded?"Show less...":"Show ".concat(itemsCount-ITEMS_BEFORE_EXPANSION," more..."))):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Summary,null,renderSummaryItems(summaryItems))}return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(WithTooltipPure,{closeOnClick:!0,trigger:"click",placement:"bottom",tooltipShown:isOpen,onVisibilityChange:function onVisibilityChange(isVisible){setIsOpen(isVisible)},tooltip:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Detail,{width:calculateDetailWidth(detail)},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SyntaxHighlighter,{language:"jsx",format:!1},detail))},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Expandable,{className:"sbdocs-expandable"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,summaryAsString),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArrowIcon,{icon:isOpen?"arrowup":"arrowdown"})))},ArgValue=function ArgValue(_ref144){var value=_ref144.value,initialExpandedArgs=_ref144.initialExpandedArgs;return null==value?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(EmptyArg,null):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgSummary,{value:value,initialExpandedArgs:initialExpandedArgs})},getControlId=function getControlId(value){return"control-".concat(value.replace(/\s+/g,"-"))},getControlSetterButtonId=function getControlSetterButtonId(value){return"set-".concat(value.replace(/\s+/g,"-"))},Label$3=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.label((function(_ref145){var theme=_ref145.theme;return{lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:"".concat(curriedOpacify$1(.05,theme.appBorderColor)),borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:"".concat(theme.color.secondary," 0 0 0 1px inset !important")}},span:{textAlign:"center",fontSize:theme.typography.size.s1,fontWeight:theme.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:curriedTransparentize$1(.4,theme.color.defaultText),background:"transparent","&:hover":{boxShadow:"".concat(curriedOpacify$1(.3,theme.appBorderColor)," 0 0 0 1px inset")},"&:active":{boxShadow:"".concat(curriedOpacify$1(.05,theme.appBorderColor)," 0 0 0 2px inset"),color:curriedOpacify$1(1,theme.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:theme.background.app,boxShadow:"".concat(curriedOpacify$1(.1,theme.appBorderColor)," 0 0 2px"),color:theme.color.defaultText,padding:"7px 15px"}}})),parse$2=function parse$2(value){return"true"===value},BooleanControl=function BooleanControl(_ref146){var name=_ref146.name,value=_ref146.value,_onChange=_ref146.onChange,onBlur=_ref146.onBlur,onFocus=_ref146.onFocus,onSetFalse=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(){return _onChange(!1)}),[_onChange]);if(void 0===value)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Form.Button,{id:getControlSetterButtonId(name),onClick:onSetFalse},"Set boolean");var parsedValue="string"==typeof value?parse$2(value):value;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Label$3,{htmlFor:name,title:parsedValue?"Change to false":"Change to true"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("input",Object.assign({id:getControlId(name),type:"checkbox",onChange:function onChange(e){return _onChange(e.target.checked)},checked:parsedValue},{name:name,onBlur:onBlur,onFocus:onFocus})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,"False"),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,"True"))},parseDate=function parseDate(value){var _value$split2=_slicedToArray(value.split("-"),3),year=_value$split2[0],month=_value$split2[1],day=_value$split2[2],result=new Date;return result.setFullYear(parseInt(year,10),parseInt(month,10)-1,parseInt(day,10)),result},parseTime=function parseTime(value){var _value$split4=_slicedToArray(value.split(":"),2),hours=_value$split4[0],minutes=_value$split4[1],result=new Date;return result.setHours(parseInt(hours,10)),result.setMinutes(parseInt(minutes,10)),result},formatDate=function formatDate(value){var date=new Date(value),year="000".concat(date.getFullYear()).slice(-4),month="0".concat(date.getMonth()+1).slice(-2),day="0".concat(date.getDate()).slice(-2);return"".concat(year,"-").concat(month,"-").concat(day)},formatTime=function formatTime(value){var date=new Date(value),hours="0".concat(date.getHours()).slice(-2),minutes="0".concat(date.getMinutes()).slice(-2);return"".concat(hours,":").concat(minutes)},FlexSpaced=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref147){return{flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:"light"===_ref147.theme.base?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}}})),DateControl=function DateControl(_ref148){var name=_ref148.name,value=_ref148.value,onChange=_ref148.onChange,onFocus=_ref148.onFocus,onBlur=_ref148.onBlur,_useState18=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(!0),2),valid=_useState18[0],setValid=_useState18[1],dateRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)(),timeRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)();Object(react__WEBPACK_IMPORTED_MODULE_51__.useEffect)((function(){!1!==valid&&(dateRef&&dateRef.current&&(dateRef.current.value=formatDate(value)),timeRef&&timeRef.current&&(timeRef.current.value=formatTime(value)))}),[value]);var controlId=getControlId(name);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(FlexSpaced,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Form.Input,Object.assign({type:"date",max:"9999-12-31",ref:dateRef,id:"".concat(controlId,"-date"),name:"".concat(controlId,"-date"),onChange:function onDateChange(e){var parsed=parseDate(e.target.value),result=new Date(value);result.setFullYear(parsed.getFullYear(),parsed.getMonth(),parsed.getDate());var time=result.getTime();time&&onChange(time),setValid(!!time)}},{onFocus:onFocus,onBlur:onBlur})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Form.Input,Object.assign({type:"time",id:"".concat(controlId,"-time"),name:"".concat(controlId,"-time"),ref:timeRef,onChange:function onTimeChange(e){var parsed=parseTime(e.target.value),result=new Date(value);result.setHours(parsed.getHours()),result.setMinutes(parsed.getMinutes());var time=result.getTime();time&&onChange(time),setValid(!!time)}},{onFocus:onFocus,onBlur:onBlur})),valid?null:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",null,"invalid"))},Wrapper$5=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.label({display:"flex"}),parse$1=function parse$1(value){var result=parseFloat(value);return Number.isNaN(result)?void 0:result},format=function format(value){return null!=value?String(value):""},NumberControl=function NumberControl(_ref149){var name=_ref149.name,value=_ref149.value,onChange=_ref149.onChange,min=_ref149.min,max=_ref149.max,step=_ref149.step,onBlur=_ref149.onBlur,onFocus=_ref149.onFocus,_useState20=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)("number"==typeof value?value:""),2),inputValue=_useState20[0],setInputValue=_useState20[1],_useState22=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(!1),2),forceVisible=_useState22[0],setForceVisible=_useState22[1],_useState24=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(null),2),parseError=_useState24[0],setParseError=_useState24[1],handleChange=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(event){setInputValue(event.target.value);var result=parseFloat(event.target.value);Number.isNaN(result)?setParseError(new Error("'".concat(event.target.value,"' is not a number"))):(onChange(result),setParseError(null))}),[onChange,setParseError]),onForceVisible=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(){setInputValue("0"),onChange(0),setForceVisible(!0)}),[setForceVisible]),htmlElRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)(null);return Object(react__WEBPACK_IMPORTED_MODULE_51__.useEffect)((function(){forceVisible&&htmlElRef.current&&htmlElRef.current.select()}),[forceVisible]),Object(react__WEBPACK_IMPORTED_MODULE_51__.useEffect)((function(){inputValue!==("number"==typeof value?value:"")&&setInputValue(value)}),[value]),forceVisible||void 0!==value?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Wrapper$5,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Form.Input,Object.assign({ref:htmlElRef,id:getControlId(name),type:"number",onChange:handleChange,size:"flex",placeholder:"Edit number...",value:inputValue,valid:parseError?"error":null,autoFocus:forceVisible},{name:name,min:min,max:max,step:step,onFocus:onFocus,onBlur:onBlur}))):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Form.Button,{id:getControlSetterButtonId(name),onClick:onForceVisible},"Set number")};function dedent(templ){for(var values=[],_i=1;_i .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:theme.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:theme.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:theme.background.app,borderColor:theme.color.border}}})),Button=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.button((function(_ref164){var theme=_ref164.theme,primary=_ref164.primary;return{border:0,height:20,margin:1,borderRadius:4,background:primary?theme.color.secondary:"transparent",color:primary?theme.color.lightest:theme.color.dark,fontWeight:primary?"bold":"normal",cursor:"pointer",order:primary?"initial":9}})),ActionIcon=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Icons)((function(_ref165){var theme=_ref165.theme,icon=_ref165.icon,disabled=_ref165.disabled;return{display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:disabled?"not-allowed":"pointer",color:theme.color.mediumdark,"&:hover":disabled?{}:{color:"subtract"===icon?theme.color.negative:theme.color.ancillary},"svg + &":{marginLeft:0}}})),Input=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.input((function(_ref166){var theme=_ref166.theme,placeholder=_ref166.placeholder;return{outline:0,margin:placeholder?1:"1px 0",padding:"3px 4px",color:theme.color.defaultText,background:theme.background.app,border:"1px solid ".concat(theme.color.border),borderRadius:4,lineHeight:"14px",width:"Key"===placeholder?80:120,"&:focus":{border:"1px solid ".concat(theme.color.secondary)}}})),RawButton=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(IconButton)((function(_ref167){var theme=_ref167.theme;return{position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:theme.background.bar,border:"1px solid ".concat(theme.color.border),borderRadius:3,color:theme.color.mediumdark,fontSize:"9px",fontWeight:"bold",span:{marginLeft:3,marginTop:1}}})),RawInput=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Form.Textarea)((function(_ref168){var theme=_ref168.theme;return{flex:1,padding:"7px 6px",fontFamily:theme.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:theme.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}}})),ENTER_EVENT={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},dispatchEnterKey=function dispatchEnterKey(event){event.currentTarget.dispatchEvent(new globalWindow.KeyboardEvent("keydown",ENTER_EVENT))},selectValue=function selectValue(event){event.currentTarget.select()},getCustomStyleFunction=function getCustomStyleFunction(theme){return function(){return{name:{color:theme.color.secondary},collapsed:{color:theme.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}}},ObjectControl=function ObjectControl(_ref169){var name=_ref169.name,value=_ref169.value,onChange=_ref169.onChange,theme=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.k)(),data=Object(react__WEBPACK_IMPORTED_MODULE_51__.useMemo)((function(){return value&&cloneDeep_1(value)}),[value]),hasData=null!=data,_useState28=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(!hasData),2),showRaw=_useState28[0],setShowRaw=_useState28[1],_useState30=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(null),2),parseError=_useState30[0],setParseError=_useState30[1],updateRaw=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(raw){try{raw&&onChange(JSON.parse(raw)),setParseError(void 0)}catch(e){setParseError(e)}}),[onChange]),_useState32=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(!1),2),forceVisible=_useState32[0],setForceVisible=_useState32[1],onForceVisible=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(){onChange({}),setForceVisible(!0)}),[setForceVisible]),htmlElRef=Object(react__WEBPACK_IMPORTED_MODULE_51__.useRef)(null);if(Object(react__WEBPACK_IMPORTED_MODULE_51__.useEffect)((function(){forceVisible&&htmlElRef.current&&htmlElRef.current.select()}),[forceVisible]),!hasData)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Form.Button,{id:getControlSetterButtonId(name),onClick:onForceVisible},"Set object");var rawJSONForm=react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(RawInput,{ref:htmlElRef,id:getControlId(name),name:name,defaultValue:null===value?"":JSON.stringify(value,null,2),onBlur:function onBlur(event){return updateRaw(event.target.value)},placeholder:"Edit JSON string...",autoFocus:forceVisible,valid:parseError?"error":null});return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Wrapper$2,null,["Object","Array"].includes(getObjectType(data))&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(RawButton,{onClick:function onClick(){return setShowRaw((function(v){return!v}))}},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Icons,{icon:showRaw?"eyeclose":"eye"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,"RAW")),showRaw?rawJSONForm:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(JsonTree,{data:data,rootName:name,onFullyUpdate:onChange,getStyle:getCustomStyleFunction(theme),cancelButtonElement:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Button,{type:"button"},"Cancel"),editButtonElement:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Button,{type:"submit"},"Save"),addButtonElement:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Button,{type:"submit",primary:!0},"Save"),plusMenuElement:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ActionIcon,{icon:"add"}),minusMenuElement:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ActionIcon,{icon:"subtract"}),inputElement:function inputElement(_,__,___,key){return key?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Input,{onFocus:selectValue,onBlur:dispatchEnterKey}):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Input,null)},fallback:rawJSONForm}))},RangeInput=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.input((function(_ref170){var theme=_ref170.theme,min=_ref170.min,max=_ref170.max,value=_ref170.value;return{"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:"light"===theme.base?"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedDarken$1(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedDarken$1(.02,theme.input.background)," 100%)"):"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedLighten$1(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedLighten$1(.02,theme.input.background)," 100%)"),boxShadow:"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:"1px solid ".concat(rgba(theme.appBorderColor,.2)),borderRadius:"50px",boxShadow:"0 1px 3px 0px ".concat(rgba(theme.appBorderColor,.2)),cursor:"grab",appearance:"none",background:"".concat(theme.input.background),transition:"all 150ms ease-out","&:hover":{background:"".concat(curriedDarken$1(.05,theme.input.background)),transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:"".concat(theme.input.background),transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:rgba(theme.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:theme.color.secondary,boxShadow:"0 0px 5px 0px ".concat(theme.color.secondary)}},"&::-moz-range-track":{background:"light"===theme.base?"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedDarken$1(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedDarken$1(.02,theme.input.background)," 100%)"):"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedLighten$1(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedLighten$1(.02,theme.input.background)," 100%)"),boxShadow:"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:"1px solid ".concat(rgba(theme.color.border,.2)),borderRadius:"50px",boxShadow:"0 1px 3px 0px ".concat(rgba(theme.color.border,.2)),cursor:"grab",background:"".concat(theme.input.background),transition:"all 150ms ease-out","&:hover":{background:"".concat(curriedDarken$1(.05,theme.input.background)),transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:"".concat(theme.input.background),transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:"light"===theme.base?"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedDarken$1(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedDarken$1(.02,theme.input.background)," 100%)"):"linear-gradient(to right, \n ".concat(theme.color.green," 0%, ").concat(theme.color.green," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedLighten$1(.02,theme.input.background)," ").concat((value-min)/(max-min)*100,"%, \n ").concat(curriedLighten$1(.02,theme.input.background)," 100%)"),boxShadow:"".concat(theme.appBorderColor," 0 0 0 1px inset"),color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:"".concat(theme.input.background),border:"1px solid ".concat(rgba(theme.appBorderColor,.2)),borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}}})),RangeLabel=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),RangeWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"flex",alignItems:"center",width:"100%"});function getNumberOfDecimalPlaces(number){var match=number.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return match?Math.max(0,(match[1]?match[1].length:0)-(match[2]?+match[2]:0)):0}var RangeControl=function RangeControl(_ref171){var name=_ref171.name,value=_ref171.value,onChange=_ref171.onChange,_ref171$min=_ref171.min,min=void 0===_ref171$min?0:_ref171$min,_ref171$max=_ref171.max,max=void 0===_ref171$max?100:_ref171$max,_ref171$step=_ref171.step,step=void 0===_ref171$step?1:_ref171$step,onBlur=_ref171.onBlur,onFocus=_ref171.onFocus,hasValue=void 0!==value,numberOFDecimalsPlaces=Object(react__WEBPACK_IMPORTED_MODULE_51__.useMemo)((function(){return getNumberOfDecimalPlaces(step)}),[step]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(RangeWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(RangeLabel,null,min),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(RangeInput,Object.assign({id:getControlId(name),type:"range",onChange:function handleChange(event){onChange(parse$1(event.target.value))}},{name:name,value:value,min:min,max:max,step:step,onFocus:onFocus,onBlur:onBlur})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(RangeLabel,null,"".concat(hasValue?value.toFixed(numberOFDecimalsPlaces):"--")," / ",max))},Wrapper$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.label({display:"flex"}),TextControl=function TextControl(_ref172){var name=_ref172.name,value=_ref172.value,onChange=_ref172.onChange,onFocus=_ref172.onFocus,onBlur=_ref172.onBlur,_useState34=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(!1),2),forceVisible=_useState34[0],setForceVisible=_useState34[1],onForceVisible=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(){onChange(""),setForceVisible(!0)}),[setForceVisible]);if(void 0===value)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Form.Button,{id:getControlSetterButtonId(name),onClick:onForceVisible},"Set string");var isValid="string"==typeof value;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Wrapper$1,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Form.Textarea,Object.assign({id:getControlId(name),onChange:function handleChange(event){onChange(event.target.value)},size:"flex",placeholder:"Edit string...",autoFocus:forceVisible,valid:isValid?null:"error"},{name:name,value:isValid?value:"",onFocus:onFocus,onBlur:onBlur})))},FileInput=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Form.Input)({padding:10});function revokeOldUrls(urls){urls.forEach((function(url){url.startsWith("blob:")&&URL.revokeObjectURL(url)}))}var FilesControl=function FilesControl(_ref173){var onChange=_ref173.onChange,name=_ref173.name,_ref173$accept=_ref173.accept,accept=void 0===_ref173$accept?"image/*":_ref173$accept,value=_ref173.value;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(FileInput,{id:getControlId(name),type:"file",name:name,multiple:!0,onChange:function handleFileChange(e){if(e.target.files){var fileUrls=Array.from(e.target.files).map((function(file){return URL.createObjectURL(file)}));onChange(fileUrls),revokeOldUrls(value)}},accept:accept,size:"flex"})},LazyColorControl=Object(react__WEBPACK_IMPORTED_MODULE_51__.lazy)((function(){return __webpack_require__.e(8).then(__webpack_require__.bind(null,"./node_modules/@storybook/components/dist/esm/Color-f953d088.js"))})),ColorControl=function ColorControl(props){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51__.Suspense,{fallback:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",null)},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(LazyColorControl,Object.assign({},props)))},Controls={array:ObjectControl,object:ObjectControl,boolean:BooleanControl,color:ColorControl,date:DateControl,number:NumberControl,check:OptionsControl,"inline-check":OptionsControl,radio:OptionsControl,"inline-radio":OptionsControl,select:OptionsControl,"multi-select":OptionsControl,range:RangeControl,text:TextControl,file:FilesControl},NoControl=function NoControl(){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51___default.a.Fragment,null,"-")},ArgControl=function ArgControl(_ref174){var row=_ref174.row,arg=_ref174.arg,updateArgs=_ref174.updateArgs,key=row.key,control=row.control,_useState36=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(!1),2),isFocused=_useState36[0],setFocused=_useState36[1],_useState38=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)({value:arg}),2),boxedValue=_useState38[0],setBoxedValue=_useState38[1];Object(react__WEBPACK_IMPORTED_MODULE_51__.useEffect)((function(){isFocused||setBoxedValue({value:arg})}),[isFocused,arg]);var onChange=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(argVal){return setBoxedValue({value:argVal}),updateArgs(_defineProperty2({},key,argVal)),argVal}),[updateArgs,key]),onBlur=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(){return setFocused(!1)}),[]),onFocus=Object(react__WEBPACK_IMPORTED_MODULE_51__.useCallback)((function(){return setFocused(!0)}),[]);if(!control||control.disable)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(NoControl,null);var props={name:key,argType:row,value:boxedValue.value,onChange:onChange,onBlur:onBlur,onFocus:onFocus},Control=Controls[control.type]||NoControl;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Control,Object.assign({},props,control,{controlType:control.type}))},Name=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span({fontWeight:"bold"}),Required=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span((function(_ref175){var theme=_ref175.theme;return{color:theme.color.negative,fontFamily:theme.typography.fonts.mono,cursor:"help"}})),Description=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref176){var theme=_ref176.theme;return{"&&":{p:{margin:"0 0 10px 0"},a:{color:theme.color.secondary}},code:Object.assign(Object.assign({},codeCommon({theme:theme})),{fontSize:12,fontFamily:theme.typography.fonts.mono}),"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}}})),Type=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref177){var theme=_ref177.theme,hasDescription=_ref177.hasDescription;return{color:"light"===theme.base?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.2,theme.color.defaultText),marginTop:hasDescription?4:0}})),TypeWithJsDoc=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref178){var theme=_ref178.theme,hasDescription=_ref178.hasDescription;return{color:"light"===theme.base?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.2,theme.color.defaultText),marginTop:hasDescription?12:0,marginBottom:12}})),StyledTd$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.td((function(_ref179){_ref179.theme;return{paddingLeft:_ref179.expandable?"40px !important":"20px !important"}})),ArgRow=function ArgRow(props){var _a,row=props.row,updateArgs=props.updateArgs,compact=props.compact,expandable=props.expandable,initialExpandedArgs=props.initialExpandedArgs,name=row.name,description=row.description,table=row.table||{},type=table.type||row.type,defaultValue=table.defaultValue||row.defaultValue,required=null===(_a=row.type)||void 0===_a?void 0:_a.required,hasDescription=null!=description&&""!==description;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("tr",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StyledTd$1,{expandable:expandable},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Name,null,name),required?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Required,{title:"Required"},"*"):null),compact?null:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("td",null,hasDescription&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Description,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Markdown,null,description)),null!=table.jsDocTags?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(TypeWithJsDoc,{hasDescription:hasDescription},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgValue,{value:type,initialExpandedArgs:initialExpandedArgs})),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgJsDoc,{tags:table.jsDocTags})):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Type,{hasDescription:hasDescription},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgValue,{value:type,initialExpandedArgs:initialExpandedArgs}))),compact?null:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("td",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgValue,{value:defaultValue,initialExpandedArgs:initialExpandedArgs})),updateArgs?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("td",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgControl,Object.assign({},props))):null)},ExpanderIcon=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i)(Icons)((function(_ref180){var theme=_ref180.theme;return{marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:"light"===theme.base?curriedTransparentize$1(.25,theme.color.defaultText):curriedTransparentize$1(.3,theme.color.defaultText),border:"none",display:"inline-block"}})),FlexWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span((function(_ref181){_ref181.theme;return{display:"flex",lineHeight:"20px",alignItems:"center"}})),Section=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.td((function(_ref182){var theme=_ref182.theme;return{position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:theme.typography.weight.black,fontSize:theme.typography.size.s1-1,color:"light"===theme.base?curriedTransparentize$1(.4,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText),background:"".concat(theme.background.app," !important"),"& ~ td":{background:"".concat(theme.background.app," !important")}}})),Subsection=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.td((function(_ref183){var theme=_ref183.theme;return{position:"relative",fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s2-1,background:theme.background.content}})),StyledTd=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.td((function(_ref184){_ref184.theme;return{position:"relative"}})),StyledTr=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.tr((function(_ref185){var theme=_ref185.theme;return{"&:hover > td":{backgroundColor:"".concat(theme.background.hoverable," !important"),boxShadow:"".concat(theme.color.mediumlight," 0 - 1px 0 0 inset"),cursor:"row-resize"}}})),ClickIntercept=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.button((function(){return{background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}})),SectionRow=function SectionRow(_ref186){var _ref186$level=_ref186.level,level=void 0===_ref186$level?"section":_ref186$level,label=_ref186.label,children=_ref186.children,_ref186$initialExpand=_ref186.initialExpanded,initialExpanded=void 0===_ref186$initialExpand||_ref186$initialExpand,_ref186$colSpan=_ref186.colSpan,colSpan=void 0===_ref186$colSpan?3:_ref186$colSpan,_useState40=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_51__.useState)(initialExpanded),2),expanded=_useState40[0],setExpanded=_useState40[1],Level="subsection"===level?Subsection:Section,itemCount=(null==children?void 0:children.length)||0,caption="subsection"===level?"".concat(itemCount," item").concat(1!==itemCount?"s":""):"",icon=expanded?"arrowdown":"arrowright",helperText="".concat(expanded?"Hide":"Show"," ").concat("subsection"===level?itemCount:label," item").concat(1!==itemCount?"s":"");return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_51___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StyledTr,{title:helperText},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Level,{colSpan:1},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ClickIntercept,{onClick:function onClick(e){return setExpanded(!expanded)},tabIndex:0},helperText),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(FlexWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ExpanderIcon,{icon:icon}),label)),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(StyledTd,{colSpan:colSpan-1},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ClickIntercept,{onClick:function onClick(e){return setExpanded(!expanded)},tabIndex:-1,style:{outline:"none"}},helperText),expanded?null:caption)),expanded?children:null)},TableWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.table((function(_ref187){var _trFirstChild,_trLastChild,_3,theme=_ref187.theme,compact=_ref187.compact,inAddonPanel=_ref187.inAddonPanel;return{"&&":(_3={borderCollapse:"collapse",borderSpacing:0,color:theme.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:theme.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:inAddonPanel?0:25,marginBottom:inAddonPanel?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":Object.assign({},compact?null:{width:"35%"}),"td:nth-of-type(3)":Object.assign({},compact?null:{width:"15%"}),"th:last-of-type, td:last-of-type":Object.assign({paddingRight:20},compact?null:{width:"25%"}),th:{color:"light"===theme.base?curriedTransparentize$1(.25,theme.color.defaultText):curriedTransparentize$1(.45,theme.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:inAddonPanel?0:1,marginRight:inAddonPanel?0:1},_defineProperty2(_3,"tr:first-child",(_trFirstChild={},_defineProperty2(_trFirstChild,"td:first-child, th:first-child",{borderTopLeftRadius:inAddonPanel?0:theme.appBorderRadius}),_defineProperty2(_trFirstChild,"td:last-child, th:last-child",{borderTopRightRadius:inAddonPanel?0:theme.appBorderRadius}),_trFirstChild)),_defineProperty2(_3,"tr:last-child",(_trLastChild={},_defineProperty2(_trLastChild,"td:first-child, th:first-child",{borderBottomLeftRadius:inAddonPanel?0:theme.appBorderRadius}),_defineProperty2(_trLastChild,"td:last-child, th:last-child",{borderBottomRightRadius:inAddonPanel?0:theme.appBorderRadius}),_trLastChild)),_defineProperty2(_3,"tbody",{boxShadow:!inAddonPanel&&("light"===theme.base?"rgba(0, 0, 0, 0.10) 0 1px 3px 1px,\n ".concat(curriedTransparentize$1(.035,theme.appBorderColor)," 0 0 0 1px"):"rgba(0, 0, 0, 0.20) 0 2px 5px 1px,\n ".concat(curriedOpacify$1(.05,theme.appBorderColor)," 0 0 0 1px")),borderRadius:theme.appBorderRadius,"@media not all and (min-resolution:.001dpcm)":{"@supports (-webkit-appearance:none)":Object.assign(Object.assign({borderWidth:1,borderStyle:"solid"},inAddonPanel&&{borderColor:"transparent"}),!inAddonPanel&&{borderColor:"light"===theme.base?curriedTransparentize$1(.035,theme.appBorderColor):curriedOpacify$1(.05,theme.appBorderColor)})},tr:Object.assign({background:"transparent",overflow:"hidden"},inAddonPanel?{borderTopWidth:1,borderTopStyle:"solid",borderTopColor:"light"===theme.base?curriedDarken$1(.1,theme.background.content):curriedLighten$1(.05,theme.background.content)}:_defineProperty2({},"&:not(:first-child)",{borderTopWidth:1,borderTopStyle:"solid",borderTopColor:"light"===theme.base?curriedDarken$1(.1,theme.background.content):curriedLighten$1(.05,theme.background.content)})),td:{background:theme.background.content}}),_3)}}),(function(_ref189){var isLoading=_ref189.isLoading,theme=_ref189.theme;return isLoading?{"th span, td span, td button":{display:"inline",backgroundColor:theme.appBorderColor,animation:"".concat(theme.animation.glow," 1.5s ease-in-out infinite"),color:"transparent",boxShadow:"none",borderRadius:0}}:{}})),ResetButton=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.button((function(_ref190){var theme=_ref190.theme;return{border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:"3px 8px",transition:"all 150ms ease-out",verticalAlign:"top",userSelect:"none",margin:0,backgroundColor:"light"===theme.base?"#EAF3FC":theme.color.border,boxShadow:"light"===theme.base?"".concat(theme.color.border," 0 0 0 1px inset"):"".concat(theme.color.darker," 0 0 0 1px inset"),color:theme.color.secondary,"&:hover":{background:"light"===theme.base?curriedDarken$1(.03,"#EAF3FC"):curriedOpacify$1(.1,theme.color.border)},"&:focus":{boxShadow:"".concat(theme.color.secondary," 0 0 0 1px inset"),outline:"none"},svg:{display:"block",height:14,width:14}}})),ControlHeadingWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.span({display:"flex",justifyContent:"space-between"}),ArgsTableError;!function(ArgsTableError){ArgsTableError.NO_COMPONENT="No component found.",ArgsTableError.ARGS_UNSUPPORTED="Args unsupported. See Args documentation for your framework."}(ArgsTableError||(ArgsTableError={}));var sortFns={alpha:function alpha(a,b){return a.name.localeCompare(b.name)},requiredFirst:function requiredFirst(a,b){var _a,_b;return Number(!!(null===(_a=b.type)||void 0===_a?void 0:_a.required))-Number(!!(null===(_b=a.type)||void 0===_b?void 0:_b.required))||a.name.localeCompare(b.name)},none:void 0},rowLoadingData=function rowLoadingData(key){return{key:key,name:"propertyName",description:"This is a short description",control:{type:"text"},table:{type:{summary:"summary"},defaultValue:{summary:"defaultValue"}}}},argsTableLoadingData={rows:{row1:rowLoadingData("row1"),row2:rowLoadingData("row2"),row3:rowLoadingData("row3")}},groupRows=function groupRows(rows,sort){var sections={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!rows)return sections;Object.entries(rows).forEach((function(_ref191){var _ref192=_slicedToArray(_ref191,2),key=_ref192[0],row=_ref192[1],_ref193=(null==row?void 0:row.table)||{},category=_ref193.category,subcategory=_ref193.subcategory;if(category){var section=sections.sections[category]||{ungrouped:[],subsections:{}};if(subcategory){var subsection=section.subsections[subcategory]||[];subsection.push(Object.assign({key:key},row)),section.subsections[subcategory]=subsection}else section.ungrouped.push(Object.assign({key:key},row));sections.sections[category]=section}else if(subcategory){var _subsection=sections.ungroupedSubsections[subcategory]||[];_subsection.push(Object.assign({key:key},row)),sections.ungroupedSubsections[subcategory]=_subsection}else sections.ungrouped.push(Object.assign({key:key},row))}));var sortFn=sortFns[sort],sortSubsection=function sortSubsection(record){return sortFn?Object.keys(record).reduce((function(acc,cur){return Object.assign(Object.assign({},acc),_defineProperty2({},cur,record[cur].sort(sortFn)))}),{}):record};return{ungrouped:sections.ungrouped.sort(sortFn),ungroupedSubsections:sortSubsection(sections.ungroupedSubsections),sections:Object.keys(sections.sections).reduce((function(acc,cur){return Object.assign(Object.assign({},acc),_defineProperty2({},cur,{ungrouped:sections.sections[cur].ungrouped.sort(sortFn),subsections:sortSubsection(sections.sections[cur].subsections)}))}),{})}},safeIncludeConditionalArg=function safeIncludeConditionalArg(row,args,globals){try{return Object(_storybook_csf__WEBPACK_IMPORTED_MODULE_54__.includeConditionalArg)(row,args,globals)}catch(err){return _storybook_client_logger__WEBPACK_IMPORTED_MODULE_56__.b.warn(err.message),!1}},ArgsTable=function ArgsTable(props){if("error"in props)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(EmptyBlock,null,props.error," ",react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Link,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"));var updateArgs=props.updateArgs,resetArgs=props.resetArgs,compact=props.compact,inAddonPanel=props.inAddonPanel,initialExpandedArgs=props.initialExpandedArgs,_props$sort=props.sort,sort=void 0===_props$sort?"none":_props$sort,isLoading="isLoading"in props,_ref194="rows"in props?props:argsTableLoadingData,rows=_ref194.rows,args=_ref194.args,globals=_ref194.globals,groups=groupRows(pickBy_1(rows,(function(row){var _a;return!(null===(_a=null==row?void 0:row.table)||void 0===_a?void 0:_a.disable)&&safeIncludeConditionalArg(row,args||{},globals||{})})),sort);if(0===groups.ungrouped.length&&0===Object.entries(groups.sections).length&&0===Object.entries(groups.ungroupedSubsections).length)return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(EmptyBlock,null,"No inputs found for this component. ",react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Link,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"));var colSpan=1;updateArgs&&(colSpan+=1),compact||(colSpan+=2);var expandable=Object.keys(groups.sections).length>0,common={updateArgs:updateArgs,compact:compact,inAddonPanel:inAddonPanel,initialExpandedArgs:initialExpandedArgs};return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ResetWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(TableWrapper,Object.assign({"aria-hidden":isLoading},{compact:compact,inAddonPanel:inAddonPanel,isLoading:isLoading},{className:"docblock-argstable"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("thead",{className:"docblock-argstable-head"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("tr",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("th",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,"Name")),compact?null:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("th",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,"Description")),compact?null:react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("th",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,"Default")),updateArgs?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("th",null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ControlHeadingWrapper,null,"Control"," ",!isLoading&&resetArgs&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ResetButton,{onClick:function onClick(){return resetArgs()},title:"Reset controls"},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Icons,{icon:"undo","aria-hidden":!0})))):null)),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("tbody",{className:"docblock-argstable-body"},groups.ungrouped.map((function(row){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgRow,Object.assign({key:row.key,row:row,arg:args&&args[row.key]},common))})),Object.entries(groups.ungroupedSubsections).map((function(_ref195){var _ref196=_slicedToArray(_ref195,2),subcategory=_ref196[0],subsection=_ref196[1];return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan:colSpan},subsection.map((function(row){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgRow,Object.assign({key:row.key,row:row,arg:args&&args[row.key],expandable:expandable},common))})))})),Object.entries(groups.sections).map((function(_ref197){var _ref198=_slicedToArray(_ref197,2),category=_ref198[0],section=_ref198[1];return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SectionRow,{key:category,label:category,level:"section",colSpan:colSpan},section.ungrouped.map((function(row){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgRow,Object.assign({key:row.key,row:row,arg:args&&args[row.key]},common))})),Object.entries(section.subsections).map((function(_ref199){var _ref200=_slicedToArray(_ref199,2),subcategory=_ref200[0],subsection=_ref200[1];return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SectionRow,{key:subcategory,label:subcategory,level:"subsection",colSpan:colSpan},subsection.map((function(row){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgRow,Object.assign({key:row.key,row:row,arg:args&&args[row.key],expandable:expandable},common))})))})))})))))},TabbedArgsTable=function TabbedArgsTable(_a){var tabs=_a.tabs,props=__rest(_a,["tabs"]),entries=Object.entries(tabs);return 1===entries.length?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgsTable,Object.assign({},entries[0][1],props)):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(TabsState,null,entries.map((function(entry){var _entry=_slicedToArray(entry,2),label=_entry[0],table=_entry[1],id="prop_table_div_".concat(label);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",{key:id,id:id,title:label},(function(_ref201){return _ref201.active?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ArgsTable,Object.assign({key:"prop_table_".concat(label)},table,props)):null}))})))},NoControlsWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref202){var theme=_ref202.theme;return{background:theme.background.warning,color:theme.color.darkest,padding:"10px 15px",lineHeight:"20px",boxShadow:"".concat(theme.appBorderColor," 0 -1px 0 0 inset")}})),NoControlsWarning=function NoControlsWarning(){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(NoControlsWrapper,null,"This story is not configured to handle controls."," ",react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Link,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",cancel:!1,withArrow:!0},"Learn how to add controls"))},Label=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref203){var theme=_ref203.theme;return{marginRight:30,fontSize:"".concat(theme.typography.size.s1,"px"),color:"light"===theme.base?curriedTransparentize$1(.4,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText)}})),Sample=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),TypeSpecimen=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div(withReset,(function(_ref204){var theme=_ref204.theme;return Object.assign(Object.assign({},getBlockBackgroundStyle(theme)),{margin:"25px 0 40px",padding:"30px 20px"})})),Typeset=function Typeset(_a){var fontFamily=_a.fontFamily,fontSizes=_a.fontSizes,fontWeight=_a.fontWeight,sampleText=_a.sampleText,props=__rest(_a,["fontFamily","fontSizes","fontWeight","sampleText"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Wrapper,Object.assign({},props,{className:"docblock-typeset"}),fontSizes.map((function(size){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(TypeSpecimen,{key:size},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Label,null,size),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Sample,{style:{fontFamily:fontFamily,fontSize:size,fontWeight:fontWeight,lineHeight:1.2}},sampleText||"Was he a beast if music could move him so?"))})))},ItemTitle=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref205){var theme=_ref205.theme;return{fontWeight:theme.typography.weight.bold,color:theme.color.defaultText}})),ItemSubtitle=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref206){var theme=_ref206.theme;return{color:"light"===theme.base?curriedTransparentize$1(.2,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText)}})),ItemDescription=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),SwatchLabel=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref207){var theme=_ref207.theme;return{flex:1,textAlign:"center",fontFamily:theme.typography.fonts.mono,fontSize:theme.typography.size.s1,lineHeight:1,overflow:"hidden",color:"light"===theme.base?curriedTransparentize$1(.4,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}})),SwatchLabels=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"flex",flexDirection:"row"}),Swatch=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref208){return{position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:_ref208.background,content:'""'}}})),SwatchColors=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref209){var theme=_ref209.theme;return Object.assign(Object.assign({},getBlockBackgroundStyle(theme)),{display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})})),SwatchSpecimen=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),Swatches=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({flex:1,display:"flex",flexDirection:"row"}),Item$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"flex",alignItems:"flex-start"}),ListName=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({flex:"0 0 30%"}),ListSwatches=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({flex:1}),ListHeading=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref210){var theme=_ref210.theme;return{display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:theme.typography.weight.bold,color:"light"===theme.base?curriedTransparentize$1(.4,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText)}})),List$1=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref211){return{fontSize:_ref211.theme.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}}));function renderSwatch(color,index){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Swatch,{key:"".concat(color,"-").concat(index),title:color,background:color})}function renderSwatchLabel(color,index,colorDescription){return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SwatchLabel,{key:"".concat(color,"-").concat(index),title:color},react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("div",null,color,colorDescription&&react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement("span",null,colorDescription)))}function renderSwatchSpecimen(colors){return Array.isArray(colors)?react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SwatchSpecimen,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SwatchColors,null,colors.map((function(color,index){return renderSwatch(color,index)}))),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SwatchLabels,null,colors.map((function(color,index){return renderSwatchLabel(color,index)})))):react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SwatchSpecimen,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SwatchColors,null,Object.values(colors).map((function(color,index){return renderSwatch(color,index)}))),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(SwatchLabels,null,Object.keys(colors).map((function(color,index){return renderSwatchLabel(color,index,colors[color])}))))}var ColorItem=function ColorItem(_ref212){var title=_ref212.title,subtitle=_ref212.subtitle,colors=_ref212.colors;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Item$1,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ItemDescription,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ItemTitle,null,title),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ItemSubtitle,null,subtitle)),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Swatches,null,renderSwatchSpecimen(colors)))},ColorPalette=function ColorPalette(_a){var children=_a.children,props=__rest(_a,["children"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ResetWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(List$1,Object.assign({},props,{className:"docblock-colorpalette"}),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ListHeading,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ListName,null,"Name"),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ListSwatches,null,"Swatches")),children))},ItemLabel=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref213){var theme=_ref213.theme;return{fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s2,color:theme.color.defaultText,marginLeft:10,lineHeight:1.2}})),ItemSpecimen=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div((function(_ref214){var theme=_ref214.theme;return Object.assign(Object.assign({},getBlockBackgroundStyle(theme)),{overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})})),Item=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),List=_storybook_theming__WEBPACK_IMPORTED_MODULE_52__.i.div({display:"flex",flexFlow:"row wrap"}),IconItem=function IconItem(_ref215){var name=_ref215.name,children=_ref215.children;return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(Item,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ItemSpecimen,null,children),react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ItemLabel,null,name))},IconGallery=function IconGallery(_a){var children=_a.children,props=__rest(_a,["children"]);return react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(ResetWrapper,null,react__WEBPACK_IMPORTED_MODULE_51___default.a.createElement(List,Object.assign({},props,{className:"docblock-icongallery"}),children))},components=components$1,resetComponents={};Object.keys(components$1).forEach((function(key){resetComponents[key]=Object(react__WEBPACK_IMPORTED_MODULE_51__.forwardRef)((function(props,ref){return Object(react__WEBPACK_IMPORTED_MODULE_51__.createElement)(key,Object.assign(Object.assign({},props),{ref:ref}))}))}))}).call(this,__webpack_require__("./node_modules/webpack/buildin/global.js"))},"./node_modules/@storybook/theming/dist/esm/index.js":function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){__webpack_require__.d(__webpack_exports__,"a",(function(){return Global})),__webpack_require__.d(__webpack_exports__,"b",(function(){return ThemeProvider})),__webpack_require__.d(__webpack_exports__,"c",(function(){return convert})),__webpack_require__.d(__webpack_exports__,"d",(function(){return darkenColor})),__webpack_require__.d(__webpack_exports__,"e",(function(){return ensure})),__webpack_require__.d(__webpack_exports__,"f",(function(){return isPropValid})),__webpack_require__.d(__webpack_exports__,"g",(function(){return keyframes})),__webpack_require__.d(__webpack_exports__,"h",(function(){return lightenColor})),__webpack_require__.d(__webpack_exports__,"i",(function(){return styled})),__webpack_require__.d(__webpack_exports__,"j",(function(){return themes})),__webpack_require__.d(__webpack_exports__,"k",(function(){return useTheme}));__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.weak-map.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/esnext.global-this.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-names.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.map.js"),__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js"),__webpack_require__("./node_modules/core-js/modules/es.string.bold.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js");var _templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,react__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("./node_modules/react/index.js"),memoizerific__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_38___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_38__),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_39__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?charat(characters,--position):0,column--,10===character&&(column=1,line--),character}function next(){return character=position2||token(character)>3?"":" "}function escaping(index,count){for(;--count&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(index,caret()+(count<6&&32==peek()&&32==next()))}function delimiter(type){for(;next();)switch(character){case type:return position;case 34:case 39:34!==type&&39!==type&&delimiter(character);break;case 40:41===type&&delimiter(type);break;case 92:next()}return position}function commenter(type,index){for(;next()&&type+character!==57&&(type+character!==84||47!==peek()););return"/*"+slice(index,position-1)+"*"+from(47===type?type:next())}function identifier(index){for(;!token(peek());)next();return slice(index,position)}function compile(value){return dealloc(parse("",null,null,null,[""],value=alloc(value),0,[0],value))}function parse(value,root,parent,rule,rules,rulesets,pseudo,points,declarations){for(var index=0,offset=0,length=pseudo,atrule=0,property=0,previous=0,variable=1,scanning=1,ampersand=1,character=0,type="",props=rules,children=rulesets,reference=rule,characters=type;scanning;)switch(previous=character,character=next()){case 40:if(108!=previous&&58==characters.charCodeAt(length-1)){-1!=indexof(characters+=replace(delimit(character),"&","&\f"),"&\f")&&(ampersand=-1);break}case 34:case 39:case 91:characters+=delimit(character);break;case 9:case 10:case 13:case 32:characters+=whitespace(previous);break;case 92:characters+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),root,parent),declarations);break;default:characters+="/"}break;case 123*variable:points[index++]=strlen(characters)*ampersand;case 125*variable:case 59:case 0:switch(character){case 0:case 125:scanning=0;case 59+offset:property>0&&strlen(characters)-length&&append(property>32?declaration(characters+";",rule,parent,length-1):declaration(replace(characters," ","")+";",rule,parent,length-2),declarations);break;case 59:characters+=";";default:if(append(reference=ruleset(characters,root,parent,index,offset,rules,points,type,props=[],children=[],length),rulesets),123===character)if(0===offset)parse(characters,root,reference,reference,props,rulesets,length,points,children);else switch(atrule){case 100:case 109:case 115:parse(value,reference,reference,rule&&append(ruleset(value,reference,reference,0,0,rules,points,type,rules,props=[],length),children),rules,children,length,points,rule?props:children);break;default:parse(characters,reference,reference,reference,[""],children,0,points,children)}}index=offset=property=0,variable=ampersand=1,type=characters="",length=pseudo;break;case 58:length=1+strlen(characters),property=previous;default:if(variable<1)if(123==character)--variable;else if(125==character&&0==variable++&&125==prev())continue;switch(characters+=from(character),character*variable){case 38:ampersand=offset>0?1:(characters+="\f",-1);break;case 44:points[index++]=(strlen(characters)-1)*ampersand,ampersand=1;break;case 64:45===peek()&&(characters+=delimit(next())),atrule=peek(),offset=length=strlen(type=characters+=identifier(caret())),character++;break;case 45:45===previous&&2==strlen(characters)&&(variable=0)}}return rulesets}function ruleset(value,root,parent,index,offset,rules,points,type,props,children,length){for(var post=offset-1,rule=0===offset?rules:[""],size=sizeof(rule),i=0,j=0,k=0;i0?rule[x]+" "+y:replace(y,/&\f/g,rule[x])))&&(props[k++]=z);return node(value,root,parent,0===offset?RULESET:type,props,children,length)}function comment(value,root,parent){return node(value,root,parent,COMMENT,from(function char(){return character}()),substr(value,2,-2),0)}function declaration(value,root,parent,length){return node(value,root,parent,DECLARATION,substr(value,0,length),substr(value,length+1,-1),length)}function prefix(value,length){switch(function hash(value,length){return(((length<<2^charat(value,0))<<2^charat(value,1))<<2^charat(value,2))<<2^charat(value,3)}(value,length)){case 5103:return WEBKIT+"print-"+value+value;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return WEBKIT+value+value;case 5349:case 4246:case 4810:case 6968:case 2756:return WEBKIT+value+MOZ+value+MS+value+value;case 6828:case 4268:return WEBKIT+value+MS+value+value;case 6165:return WEBKIT+value+MS+"flex-"+value+value;case 5187:return WEBKIT+value+replace(value,/(\w+).+(:[^]+)/,WEBKIT+"box-$1$2"+MS+"flex-$1$2")+value;case 5443:return WEBKIT+value+MS+"flex-item-"+replace(value,/flex-|-self/,"")+value;case 4675:return WEBKIT+value+MS+"flex-line-pack"+replace(value,/align-content|flex-|-self/,"")+value;case 5548:return WEBKIT+value+MS+replace(value,"shrink","negative")+value;case 5292:return WEBKIT+value+MS+replace(value,"basis","preferred-size")+value;case 6060:return WEBKIT+"box-"+replace(value,"-grow","")+WEBKIT+value+MS+replace(value,"grow","positive")+value;case 4554:return WEBKIT+replace(value,/([^-])(transform)/g,"$1"+WEBKIT+"$2")+value;case 6187:return replace(replace(replace(value,/(zoom-|grab)/,WEBKIT+"$1"),/(image-set)/,WEBKIT+"$1"),value,"")+value;case 5495:case 3959:return replace(value,/(image-set\([^]*)/,WEBKIT+"$1$`$1");case 4968:return replace(replace(value,/(.+:)(flex-)?(.*)/,WEBKIT+"box-pack:$3"+MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+WEBKIT+value+value;case 4095:case 3583:case 4068:case 2532:return replace(value,/(.+)-inline(.+)/,WEBKIT+"$1$2")+value;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(strlen(value)-1-length>6)switch(charat(value,length+1)){case 109:if(45!==charat(value,length+4))break;case 102:return replace(value,/(.+:)(.+)-([^]+)/,"$1"+WEBKIT+"$2-$3$1"+MOZ+(108==charat(value,length+3)?"$3":"$2-$3"))+value;case 115:return~indexof(value,"stretch")?prefix(replace(value,"stretch","fill-available"),length)+value:value}break;case 4949:if(115!==charat(value,length+1))break;case 6444:switch(charat(value,strlen(value)-3-(~indexof(value,"!important")&&10))){case 107:return replace(value,":",":"+WEBKIT)+value;case 101:return replace(value,/(.+:)([^;!]+)(;|!.+)?/,"$1"+WEBKIT+(45===charat(value,14)?"inline-":"")+"box$3$1"+WEBKIT+"$2$3$1"+MS+"$2box$3")+value}break;case 5936:switch(charat(value,length+11)){case 114:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"tb")+value;case 108:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"tb-rl")+value;case 45:return WEBKIT+value+MS+replace(value,/[svh]\w+-[tblr]{2}/,"lr")+value}return WEBKIT+value+MS+value+value}return value}function serialize(children,callback){for(var output="",length=sizeof(children),i=0;i-1&&!element.return)switch(element.type){case DECLARATION:element.return=prefix(element.value,element.length);break;case"@keyframes":return serialize([copy(element,{value:replace(element.value,"@","@"+WEBKIT)})],callback);case RULESET:if(element.length)return function combine(array,callback){return array.map(callback).join("")}(element.props,(function(value){switch(function match(value,pattern){return(value=pattern.exec(value))?value[0]:value}(value,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(element,{props:[replace(value,/:(read-\w+)/,":"+MOZ+"$1")]})],callback);case"::placeholder":return serialize([copy(element,{props:[replace(value,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(element,{props:[replace(value,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(element,{props:[replace(value,/:(plac\w+)/,MS+"input-$1")]})],callback)}return""}))}}],createCache=function createCache(options){var key=options.key;if(isBrowser$6&&"css"===key){var ssrStyles=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(ssrStyles,(function(node){-1!==node.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(node),node.setAttribute("data-s",""))}))}var stylisPlugins=options.stylisPlugins||defaultStylisPlugins;var container,_insert,inserted={},nodesToHydrate=[];isBrowser$6&&(container=options.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+key+' "]'),(function(node){for(var attrib=node.getAttribute("data-emotion").split(" "),i=1;i=4;++i,len-=4)k=1540483477*(65535&(k=255&str.charCodeAt(i)|(255&str.charCodeAt(++i))<<8|(255&str.charCodeAt(++i))<<16|(255&str.charCodeAt(++i))<<24))+(59797*(k>>>16)<<16),h=1540483477*(65535&(k^=k>>>24))+(59797*(k>>>16)<<16)^1540483477*(65535&h)+(59797*(h>>>16)<<16);switch(len){case 3:h^=(255&str.charCodeAt(i+2))<<16;case 2:h^=(255&str.charCodeAt(i+1))<<8;case 1:h=1540483477*(65535&(h^=255&str.charCodeAt(i)))+(59797*(h>>>16)<<16)}return(((h=1540483477*(65535&(h^=h>>>13))+(59797*(h>>>16)<<16))^h>>>15)>>>0).toString(36)}var unitlessKeys={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},hyphenateRegex$1=/[A-Z]|^ms/g,animationRegex$1=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty$1=function isCustomProperty(property){return 45===property.charCodeAt(1)},isProcessableValue$1=function isProcessableValue(value){return null!=value&&"boolean"!=typeof value},processStyleName$1=memoize((function(styleName){return isCustomProperty$1(styleName)?styleName:styleName.replace(hyphenateRegex$1,"-$&").toLowerCase()})),processStyleValue$1=function processStyleValue(key,value){switch(key){case"animation":case"animationName":if("string"==typeof value)return value.replace(animationRegex$1,(function(match,p1,p2){return cursor$1={name:p1,styles:p2,next:cursor$1},p1}))}return 1===unitlessKeys[key]||isCustomProperty$1(key)||"number"!=typeof value||0===value?value:value+"px"};function handleInterpolation$1(mergedProps,registered,interpolation){if(null==interpolation)return"";if(void 0!==interpolation.__emotion_styles)return interpolation;switch(_typeof(interpolation)){case"boolean":return"";case"object":if(1===interpolation.anim)return cursor$1={name:interpolation.name,styles:interpolation.styles,next:cursor$1},interpolation.name;if(void 0!==interpolation.styles){var next=interpolation.next;if(void 0!==next)for(;void 0!==next;)cursor$1={name:next.name,styles:next.styles,next:cursor$1},next=next.next;return interpolation.styles+";"}return function createStringFromObject$1(mergedProps,registered,obj){var string="";if(Array.isArray(obj))for(var i=0;i96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function composeShouldForwardProps(tag,options,isReal){var shouldForwardProp;if(options){var optionsShouldForwardProp=options.shouldForwardProp;shouldForwardProp=tag.__emotion_forwardProp&&optionsShouldForwardProp?function(propName){return tag.__emotion_forwardProp(propName)&&optionsShouldForwardProp(propName)}:optionsShouldForwardProp}return"function"!=typeof shouldForwardProp&&isReal&&(shouldForwardProp=tag.__emotion_forwardProp),shouldForwardProp},isBrowser="undefined"!=typeof document,useInsertionEffect=react__WEBPACK_IMPORTED_MODULE_37__.useInsertionEffect?react__WEBPACK_IMPORTED_MODULE_37__.useInsertionEffect:function useInsertionEffect(create){create()};var isBrowser$1="undefined"!=typeof document,Insertion=function Insertion(_ref){var cache=_ref.cache,serialized=_ref.serialized,isStringTag=_ref.isStringTag;registerStyles(cache,serialized,isStringTag);var rules=function useInsertionEffectMaybe(create){if(!isBrowser)return create();useInsertionEffect(create)}((function(){return function insertStyles(cache,serialized,isStringTag){registerStyles(cache,serialized,isStringTag);var className=cache.key+"-"+serialized.name;if(void 0===cache.inserted[serialized.name]){var stylesForSSR="",current=serialized;do{var maybeStyles=cache.insert(serialized===current?"."+className:"",current,cache.sheet,!0);isBrowser$2||void 0===maybeStyles||(stylesForSSR+=maybeStyles),current=current.next}while(void 0!==current);if(!isBrowser$2&&0!==stylesForSSR.length)return stylesForSSR}}(cache,serialized,isStringTag)}));if(!isBrowser$1&&void 0!==rules){for(var _ref2,serializedNames=serialized.name,next=serialized.next;void 0!==next;)serializedNames+=" "+next.name,next=next.next;return Object(react__WEBPACK_IMPORTED_MODULE_37__.createElement)("style",((_ref2={})["data-emotion"]=cache.key+" "+serializedNames,_ref2.dangerouslySetInnerHTML={__html:rules},_ref2.nonce=cache.sheet.nonce,_ref2))}return null},newStyled=function createStyled(tag,options){var identifierName,targetClassName,isReal=tag.__emotion_real===tag,baseTag=isReal&&tag.__emotion_base||tag;void 0!==options&&(identifierName=options.label,targetClassName=options.target);var shouldForwardProp=composeShouldForwardProps(tag,options,isReal),defaultShouldForwardProp=shouldForwardProp||getDefaultShouldForwardProp(baseTag),shouldUseAs=!defaultShouldForwardProp("as");return function(){var args=arguments,styles=isReal&&void 0!==tag.__emotion_styles?tag.__emotion_styles.slice(0):[];if(void 0!==identifierName&&styles.push("label:"+identifierName+";"),null==args[0]||void 0===args[0].raw)styles.push.apply(styles,args);else{0,styles.push(args[0][0]);for(var len=args.length,i=1;i=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha:alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness:lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness:lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"===_typeof(firstValue)&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}var isRgb=function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)},isRgba=function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha},isHsl=function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)},isHsla=function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha};function toColorString(color){if("object"!==_typeof(color))throw new PolishedError(8);if(isRgba(color))return rgba(color);if(isRgb(color))return rgb(color);if(isHsla(color))return function hsla(value,saturation,lightness,alpha){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness&&"number"==typeof alpha)return alpha>=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"===_typeof(value)&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}(color);if(isHsl(color))return function hsl(value,saturation,lightness){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness)return hslToHex(value,saturation,lightness);if("object"===_typeof(value)&&void 0===saturation&&void 0===lightness)return hslToHex(value.hue,value.saturation,value.lightness);throw new PolishedError(1)}(color);throw new PolishedError(8)}function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken$1=curry(darken);function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten$1=curry(lighten);function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color);return rgba(_extends({},parsedColor,{alpha:guard(0,1,(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)+100*parseFloat(amount))/100)}))}var curriedOpacify$1=curry(opacify);function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color);return rgba(_extends({},parsedColor,{alpha:guard(0,1,+(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)-100*parseFloat(amount)).toFixed(2)/100)}))}var color_secondary="#1EA7FD",color_tertiary="#FAFBFC",color_ancillary="#22a699",color_orange="#FC521F",color_gold="#FFAE00",color_green="#66BF3C",color_seafoam="#37D5D3",color_purple="#6F2CAC",color_ultraviolet="#2A0481",color_lightest="#FFFFFF",color_lighter="#F8F8F8",color_light="#F3F3F3",color_mediumlight="#EEEEEE",color_medium="#DDDDDD",color_mediumdark="#999999",color_dark="#666666",color_darker="#444444",color_darkest="#333333",color_border="rgba(0,0,0,.1)",color_positive="#66BF3C",color_negative="#FF4400",color_warning="#E69D00",color_critical="#FFFFFF",background={app:"#F6F9FC",bar:"#FFFFFF",content:color_lightest,gridCellSize:10,hoverable:curry(transparentize)(.93,color_secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},typography={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700,black:900},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},createReset=memoizerific__WEBPACK_IMPORTED_MODULE_38___default()(1)((function(_ref3){var typography=_ref3.typography;return{body:{fontFamily:typography.fonts.base,fontSize:typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:typography.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:typography.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}})),theme$1=(memoizerific__WEBPACK_IMPORTED_MODULE_38___default()(1)((function(_ref4){var color=_ref4.color,background=_ref4.background,typography=_ref4.typography,resetStyles=createReset({typography:typography});return Object.assign(Object.assign({},resetStyles),{body:Object.assign(Object.assign({},resetStyles.body),{color:color.defaultText,background:background.app,overflow:"hidden"}),hr:Object.assign(Object.assign({},resetStyles.hr),{borderTop:"1px solid ".concat(color.border)})})})),{base:"light",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:background.app,appContentBg:color_lightest,appBorderColor:color_border,appBorderRadius:4,fontBase:typography.fonts.base,fontCode:typography.fonts.mono,textColor:color_darkest,textInverseColor:color_lightest,textMutedColor:color_dark,barTextColor:color_mediumdark,barSelectedColor:color_secondary,barBg:color_lightest,inputBg:color_lightest,inputBorder:color_border,inputTextColor:color_darkest,inputBorderRadius:4}),theme={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#1EA7FD",appBg:"#2f2f2f",appContentBg:color_darkest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:typography.fonts.base,fontCode:typography.fonts.mono,textColor:color_lightest,textInverseColor:color_darkest,textMutedColor:color_mediumdark,barTextColor:"#999999",barSelectedColor:color_secondary,barBg:color_darkest,inputBg:"#3f3f3f",inputBorder:"rgba(0,0,0,.3)",inputTextColor:color_lightest,inputBorderRadius:4},globalWindow=("undefined"!=typeof window?window:void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:{}).window,colorFactory=function colorFactory(type){return function(color){if(!function isColorString(color){return"string"==typeof color||(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_39__.a.warn("Color passed to theme object should be a string. Instead "+"".concat(color,"(").concat(_typeof(color),") was passed.")),!1)}(color))return color;if(!function isValidColorForPolished(color){return!/(gradient|var|calc)/.test(color)}(color))return color;try{return function applyPolished(type,color){return"darken"===type?rgba("".concat(curriedDarken$1(1,color)),.95):"lighten"===type?rgba("".concat(curriedLighten$1(1,color)),.95):color}(type,color)}catch(error){return color}}},lightenColor=colorFactory("lighten"),darkenColor=colorFactory("darken"),getPreferredColorScheme=function getPreferredColorScheme(){return globalWindow&&globalWindow.matchMedia&&globalWindow.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"},themes={light:theme$1,dark:theme,normal:theme$1};getPreferredColorScheme();var easing={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},rotate360=keyframes(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n\tfrom {\n\t\ttransform: rotate(0deg);\n\t}\n\tto {\n\t\ttransform: rotate(360deg);\n\t}\n"]))),glow=keyframes(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n 0%, 100% { opacity: 1; }\n 50% { opacity: .4; }\n"]))),animation={rotate360:rotate360,glow:glow,float:keyframes(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n 0% { transform: translateY(1px); }\n 25% { transform: translateY(0px); }\n 50% { transform: translateY(-3px); }\n 100% { transform: translateY(1px); }\n"]))),jiggle:keyframes(_templateObject4||(_templateObject4=_taggedTemplateLiteral(["\n 0%, 100% { transform:translate3d(0,0,0); }\n 12.5%, 62.5% { transform:translate3d(-4px,0,0); }\n 37.5%, 87.5% { transform: translate3d(4px,0,0); }\n"]))),inlineGlow:css(_templateObject5||(_templateObject5=_taggedTemplateLiteral(["\n animation: "," 1.5s ease-in-out infinite;\n color: transparent;\n cursor: progress;\n"])),glow),hoverable:css(_templateObject6||(_templateObject6=_taggedTemplateLiteral(["\n transition: all 150ms ease-out;\n transform: translate3d(0, 0, 0);\n\n &:hover {\n transform: translate3d(0, -2px, 0);\n }\n\n &:active {\n transform: translate3d(0, 0, 0);\n }\n"])))},chromeDark={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},chromeLight={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},convertColors=function convertColors(colors){return Object.entries(colors).reduce((function(acc,_ref5){var _ref6=_slicedToArray(_ref5,2),k=_ref6[0],v=_ref6[1];return Object.assign(Object.assign({},acc),function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},k,function mkColor(color){return{color:color}}(v)))}),{})},create=function create(_ref7){var colors=_ref7.colors,mono=_ref7.mono,colorsObjs=convertColors(colors);return{token:{fontFamily:mono,WebkitFontSmoothing:"antialiased","&.tag":colorsObjs.red3,"&.comment":Object.assign(Object.assign({},colorsObjs.green1),{fontStyle:"italic"}),"&.prolog":Object.assign(Object.assign({},colorsObjs.green1),{fontStyle:"italic"}),"&.doctype":Object.assign(Object.assign({},colorsObjs.green1),{fontStyle:"italic"}),"&.cdata":Object.assign(Object.assign({},colorsObjs.green1),{fontStyle:"italic"}),"&.string":colorsObjs.red1,"&.url":colorsObjs.cyan1,"&.symbol":colorsObjs.cyan1,"&.number":colorsObjs.cyan1,"&.boolean":colorsObjs.cyan1,"&.variable":colorsObjs.cyan1,"&.constant":colorsObjs.cyan1,"&.inserted":colorsObjs.cyan1,"&.atrule":colorsObjs.blue1,"&.keyword":colorsObjs.blue1,"&.attr-value":colorsObjs.blue1,"&.punctuation":colorsObjs.gray1,"&.operator":colorsObjs.gray1,"&.function":colorsObjs.gray1,"&.deleted":colorsObjs.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":colorsObjs.cyan2,"&.selector":colorsObjs.red3,"&.attr-name":colorsObjs.red4,"&.property":colorsObjs.red4,"&.regex":colorsObjs.red4,"&.entity":colorsObjs.red4,"&.directive.tag .tag":Object.assign({background:"#ffff00"},colorsObjs.gray1)},"language-json .token.boolean":colorsObjs.blue1,"language-json .token.number":colorsObjs.blue1,"language-json .token.property":colorsObjs.cyan2,namespace:{opacity:.7}}},lightSyntaxColors={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},darkSyntaxColors={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},createColors=function createColors(vars){return{primary:vars.colorPrimary,secondary:vars.colorSecondary,tertiary:color_tertiary,ancillary:color_ancillary,orange:color_orange,gold:color_gold,green:color_green,seafoam:color_seafoam,purple:color_purple,ultraviolet:color_ultraviolet,lightest:color_lightest,lighter:color_lighter,light:color_light,mediumlight:color_mediumlight,medium:color_medium,mediumdark:color_mediumdark,dark:color_dark,darker:color_darker,darkest:color_darkest,border:color_border,positive:color_positive,negative:color_negative,warning:color_warning,critical:color_critical,defaultText:vars.textColor||color_darkest,inverseText:vars.textInverseColor||color_lightest}},convert=function convert(){var inherit=arguments.length>0&&void 0!==arguments[0]?arguments[0]:themes[getPreferredColorScheme()],base=inherit.base,colorSecondary=(inherit.colorPrimary,inherit.colorSecondary),appBg=inherit.appBg,appContentBg=inherit.appContentBg,appBorderColor=inherit.appBorderColor,appBorderRadius=inherit.appBorderRadius,fontBase=inherit.fontBase,fontCode=inherit.fontCode,textColor=inherit.textColor,barTextColor=(inherit.textInverseColor,inherit.barTextColor),barSelectedColor=inherit.barSelectedColor,barBg=inherit.barBg,inputBg=inherit.inputBg,inputBorder=inherit.inputBorder,inputTextColor=inherit.inputTextColor,inputBorderRadius=inherit.inputBorderRadius,brandTitle=inherit.brandTitle,brandUrl=inherit.brandUrl,brandImage=inherit.brandImage,brandTarget=inherit.brandTarget,gridCellSize=inherit.gridCellSize,rest=function __rest(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return(_Object$prototype$has=Object.prototype.hasOwnProperty).call.apply(_Object$prototype$has,[o].concat(args))}(r,key)){var difference=deletedDiff(l[key],r[key]);return isObject(difference)&&function isEmpty(o){return 0===Object.keys(o).length}(difference)||(acc[key]=difference),acc}return acc[key]=void 0,acc}),{})};var ensure=function ensure(input){if(!input)return convert(theme$1);var missing=deletedDiff(theme$1,input);return Object.keys(missing).length&&_storybook_client_logger__WEBPACK_IMPORTED_MODULE_39__.a.warn(function dedent(templ){for(var values=[],_i=1;_i>8&255]},packInt32=function(number){return[255&number,number>>8&255,number>>16&255,number>>24&255]},unpackInt32=function(buffer){return buffer[3]<<24|buffer[2]<<16|buffer[1]<<8|buffer[0]},packFloat32=function(number){return packIEEE754(fround(number),23,4)},packFloat64=function(number){return packIEEE754(number,52,8)},addGetter=function(Constructor,key,getInternalState){defineBuiltInAccessor(Constructor.prototype,key,{configurable:!0,get:function(){return getInternalState(this)[key]}})},get=function(view,count,index,isLittleEndian){var store=getInternalDataViewState(view),intIndex=toIndex(index),boolIsLittleEndian=!!isLittleEndian;if(intIndex+count>store.byteLength)throw new RangeError("Wrong index");var bytes=store.bytes,start=intIndex+store.byteOffset,pack=arraySlice(bytes,start,start+count);return boolIsLittleEndian?pack:reverse(pack)},set=function(view,count,index,conversion,value,isLittleEndian){var store=getInternalDataViewState(view),intIndex=toIndex(index),pack=conversion(+value),boolIsLittleEndian=!!isLittleEndian;if(intIndex+count>store.byteLength)throw new RangeError("Wrong index");for(var bytes=store.bytes,start=intIndex+store.byteOffset,i=0;ij;)(key=keys[j++])in $ArrayBuffer||createNonEnumerableProperty($ArrayBuffer,key,NativeArrayBuffer[key]);ArrayBufferPrototype.constructor=$ArrayBuffer}setPrototypeOf&&getPrototypeOf(DataViewPrototype)!==ObjectPrototype&&setPrototypeOf(DataViewPrototype,ObjectPrototype);var testView=new $DataView(new $ArrayBuffer(2)),$setInt8=uncurryThis(DataViewPrototype.setInt8);testView.setInt8(0,2147483648),testView.setInt8(1,2147483649),!testView.getInt8(0)&&testView.getInt8(1)||defineBuiltIns(DataViewPrototype,{setInt8:function setInt8(byteOffset,value){$setInt8(this,byteOffset,value<<24>>24)},setUint8:function setUint8(byteOffset,value){$setInt8(this,byteOffset,value<<24>>24)}},{unsafe:!0})}else ArrayBufferPrototype=($ArrayBuffer=function ArrayBuffer(length){anInstance(this,ArrayBufferPrototype);var byteLength=toIndex(length);setInternalState(this,{type:"ArrayBuffer",bytes:fill(Array(byteLength),0),byteLength:byteLength}),DESCRIPTORS||(this.byteLength=byteLength,this.detached=!1)}).prototype,DataViewPrototype=($DataView=function DataView(buffer,byteOffset,byteLength){anInstance(this,DataViewPrototype),anInstance(buffer,ArrayBufferPrototype);var bufferState=getInternalArrayBufferState(buffer),bufferLength=bufferState.byteLength,offset=toIntegerOrInfinity(byteOffset);if(offset<0||offset>bufferLength)throw new RangeError("Wrong offset");if(offset+(byteLength=void 0===byteLength?bufferLength-offset:toLength(byteLength))>bufferLength)throw new RangeError("Wrong length");setInternalState(this,{type:"DataView",buffer:buffer,byteLength:byteLength,byteOffset:offset,bytes:bufferState.bytes}),DESCRIPTORS||(this.buffer=buffer,this.byteLength=byteLength,this.byteOffset=offset)}).prototype,DESCRIPTORS&&(addGetter($ArrayBuffer,"byteLength",getInternalArrayBufferState),addGetter($DataView,"buffer",getInternalDataViewState),addGetter($DataView,"byteLength",getInternalDataViewState),addGetter($DataView,"byteOffset",getInternalDataViewState)),defineBuiltIns(DataViewPrototype,{getInt8:function getInt8(byteOffset){return get(this,1,byteOffset)[0]<<24>>24},getUint8:function getUint8(byteOffset){return get(this,1,byteOffset)[0]},getInt16:function getInt16(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1&&arguments[1]);return(bytes[1]<<8|bytes[0])<<16>>16},getUint16:function getUint16(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1&&arguments[1]);return bytes[1]<<8|bytes[0]},getInt32:function getInt32(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1&&arguments[1]))},getUint32:function getUint32(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1&&arguments[1]))>>>0},getFloat32:function getFloat32(byteOffset){return unpackIEEE754(get(this,4,byteOffset,arguments.length>1&&arguments[1]),23)},getFloat64:function getFloat64(byteOffset){return unpackIEEE754(get(this,8,byteOffset,arguments.length>1&&arguments[1]),52)},setInt8:function setInt8(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setUint8:function setUint8(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setInt16:function setInt16(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2&&arguments[2])},setUint16:function setUint16(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2&&arguments[2])},setInt32:function setInt32(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2&&arguments[2])},setUint32:function setUint32(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2&&arguments[2])},setFloat32:function setFloat32(byteOffset,value){set(this,4,byteOffset,packFloat32,value,arguments.length>2&&arguments[2])},setFloat64:function setFloat64(byteOffset,value){set(this,8,byteOffset,packFloat64,value,arguments.length>2&&arguments[2])}});setToStringTag($ArrayBuffer,"ArrayBuffer"),setToStringTag($DataView,"DataView"),module.exports={ArrayBuffer:$ArrayBuffer,DataView:$DataView}},"./node_modules/core-js/internals/ieee754.js":function(module,exports,__webpack_require__){"use strict";var $Array=Array,abs=Math.abs,pow=Math.pow,floor=Math.floor,log=Math.log,LN2=Math.LN2;module.exports={pack:function(number,mantissaLength,bytes){var exponent,mantissa,c,buffer=$Array(bytes),exponentLength=8*bytes-mantissaLength-1,eMax=(1<>1,rt=23===mantissaLength?pow(2,-24)-pow(2,-77):0,sign=number<0||0===number&&1/number<0?1:0,index=0;for((number=abs(number))!=number||number===1/0?(mantissa=number!=number?1:0,exponent=eMax):(exponent=floor(log(number)/LN2),number*(c=pow(2,-exponent))<1&&(exponent--,c*=2),(number+=exponent+eBias>=1?rt/c:rt*pow(2,1-eBias))*c>=2&&(exponent++,c/=2),exponent+eBias>=eMax?(mantissa=0,exponent=eMax):exponent+eBias>=1?(mantissa=(number*c-1)*pow(2,mantissaLength),exponent+=eBias):(mantissa=number*pow(2,eBias-1)*pow(2,mantissaLength),exponent=0));mantissaLength>=8;)buffer[index++]=255&mantissa,mantissa/=256,mantissaLength-=8;for(exponent=exponent<0;)buffer[index++]=255&exponent,exponent/=256,exponentLength-=8;return buffer[--index]|=128*sign,buffer},unpack:function(buffer,mantissaLength){var mantissa,bytes=buffer.length,exponentLength=8*bytes-mantissaLength-1,eMax=(1<>1,nBits=exponentLength-7,index=bytes-1,sign=buffer[index--],exponent=127&sign;for(sign>>=7;nBits>0;)exponent=256*exponent+buffer[index--],nBits-=8;for(mantissa=exponent&(1<<-nBits)-1,exponent>>=-nBits,nBits+=mantissaLength;nBits>0;)mantissa=256*mantissa+buffer[index--],nBits-=8;if(0===exponent)exponent=1-eBias;else{if(exponent===eMax)return mantissa?NaN:sign?-1/0:1/0;mantissa+=pow(2,mantissaLength),exponent-=eBias}return(sign?-1:1)*mantissa*pow(2,exponent-mantissaLength)}}},"./node_modules/core-js/internals/math-float-round.js":function(module,exports,__webpack_require__){"use strict";var sign=__webpack_require__("./node_modules/core-js/internals/math-sign.js"),abs=Math.abs;module.exports=function(x,FLOAT_EPSILON,FLOAT_MAX_VALUE,FLOAT_MIN_VALUE){var n=+x,absolute=abs(n),s=sign(n);if(absoluteFLOAT_MAX_VALUE||result!=result?s*(1/0):s*result}},"./node_modules/core-js/internals/math-fround.js":function(module,exports,__webpack_require__){"use strict";var floatRound=__webpack_require__("./node_modules/core-js/internals/math-float-round.js");module.exports=Math.fround||function fround(x){return floatRound(x,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},"./node_modules/core-js/internals/math-sign.js":function(module,exports,__webpack_require__){"use strict";module.exports=Math.sign||function sign(x){var n=+x;return 0===n||n!=n?n:n<0?-1:1}},"./node_modules/core-js/internals/string-trim-end.js":function(module,exports,__webpack_require__){"use strict";var $trimEnd=__webpack_require__("./node_modules/core-js/internals/string-trim.js").end,forcedStringTrimMethod=__webpack_require__("./node_modules/core-js/internals/string-trim-forced.js");module.exports=forcedStringTrimMethod("trimEnd")?function trimEnd(){return $trimEnd(this)}:"".trimEnd},"./node_modules/core-js/internals/to-index.js":function(module,exports,__webpack_require__){"use strict";var toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),$RangeError=RangeError;module.exports=function(it){if(void 0===it)return 0;var number=toIntegerOrInfinity(it),length=toLength(number);if(number!==length)throw new $RangeError("Wrong length or index");return length}},"./node_modules/core-js/modules/es.array-buffer.constructor.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),arrayBufferModule=__webpack_require__("./node_modules/core-js/internals/array-buffer.js"),setSpecies=__webpack_require__("./node_modules/core-js/internals/set-species.js"),ArrayBuffer=arrayBufferModule.ArrayBuffer;$({global:!0,constructor:!0,forced:global.ArrayBuffer!==ArrayBuffer},{ArrayBuffer:ArrayBuffer}),setSpecies("ArrayBuffer")},"./node_modules/core-js/modules/es.global-this.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js");$({global:!0,forced:global.globalThis!==global},{globalThis:global})},"./node_modules/core-js/modules/es.object.get-own-property-names.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),getOwnPropertyNames=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names-external.js").f;$({target:"Object",stat:!0,forced:fails((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:getOwnPropertyNames})},"./node_modules/core-js/modules/es.string.bold.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),createHTML=__webpack_require__("./node_modules/core-js/internals/create-html.js");$({target:"String",proto:!0,forced:__webpack_require__("./node_modules/core-js/internals/string-html-forced.js")("bold")},{bold:function bold(){return createHTML(this,"b","","")}})},"./node_modules/core-js/modules/es.string.repeat.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/internals/export.js")({target:"String",proto:!0},{repeat:__webpack_require__("./node_modules/core-js/internals/string-repeat.js")})},"./node_modules/core-js/modules/es.string.trim-end.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.string.trim-right.js");var $=__webpack_require__("./node_modules/core-js/internals/export.js"),trimEnd=__webpack_require__("./node_modules/core-js/internals/string-trim-end.js");$({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==trimEnd},{trimEnd:trimEnd})},"./node_modules/core-js/modules/es.string.trim-right.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),trimEnd=__webpack_require__("./node_modules/core-js/internals/string-trim-end.js");$({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==trimEnd},{trimRight:trimEnd})},"./node_modules/core-js/modules/esnext.global-this.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.global-this.js")}}]); +//# sourceMappingURL=1.1ac8715f.iframe.bundle.js.map \ No newline at end of file diff --git a/1.1ac8715f.iframe.bundle.js.LICENSE.txt b/1.1ac8715f.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..c18ab1d93 --- /dev/null +++ b/1.1ac8715f.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,14 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ diff --git a/1.1ac8715f.iframe.bundle.js.map b/1.1ac8715f.iframe.bundle.js.map new file mode 100644 index 000000000..885d4196d --- /dev/null +++ b/1.1ac8715f.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"1.1ac8715f.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/1.87661c733251f8514cfc.manager.bundle.js b/1.87661c733251f8514cfc.manager.bundle.js new file mode 100644 index 000000000..5ad854f41 --- /dev/null +++ b/1.87661c733251f8514cfc.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{460:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithToolTipState",(function(){return WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltipPure",(function(){return WithTooltipPure}));__webpack_require__(14),__webpack_require__(19),__webpack_require__(20),__webpack_require__(54),__webpack_require__(7),__webpack_require__(94),__webpack_require__(36),__webpack_require__(42),__webpack_require__(27),__webpack_require__(16),__webpack_require__(95),__webpack_require__(46),__webpack_require__(22),__webpack_require__(74),__webpack_require__(29),__webpack_require__(93),__webpack_require__(113),__webpack_require__(13),__webpack_require__(176),__webpack_require__(18),__webpack_require__(15),__webpack_require__(65),__webpack_require__(23),__webpack_require__(123),__webpack_require__(61),__webpack_require__(33),__webpack_require__(308),__webpack_require__(143),__webpack_require__(305),__webpack_require__(47),__webpack_require__(59),__webpack_require__(85),__webpack_require__(222),__webpack_require__(26);var _templateObject,_templateObject2,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__(2),react__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_35___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_35__),_storybook_theming__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__(1),react_dom__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__(175),memoizerific__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__(24),memoizerific__WEBPACK_IMPORTED_MODULE_38___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_38__);__webpack_require__(51),__webpack_require__(83);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&(scaleX=round(rect.width)/offsetWidth||1),offsetHeight>0&&(scaleY=round(rect.height)/offsetHeight||1)}return{width:rect.width/scaleX,height:rect.height/scaleY,top:rect.top/scaleY,right:rect.right/scaleX,bottom:rect.bottom/scaleY,left:rect.left/scaleX,x:rect.left/scaleX,y:rect.top/scaleY}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width:width,height:height}}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window:offsetParent||function getContainingBlock(element){var isFirefox=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&isHTMLElement(element)&&"fixed"===getComputedStyle(element).position)return null;for(var currentNode=getParentNode(element);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window}function getMainAxisFromPlacement(placement){return["top","bottom"].indexOf(placement)>=0?"x":"y"}function within(min$1,value,max$1){return max(min$1,min(value,max$1))}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}var arrow$1={name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets){var paddingObject=function toPaddingObject(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.I))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O,maxProp="y"===axis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[len],startDiff=popperOffsets[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset=within(min,center,max),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset,_state$modifiersData$.centerOffset=offset-center,_state$modifiersData$)}},effect:function effect$1(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))&&contains(state.elements.popper,arrowElement)&&(state.elements.arrow=arrowElement)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(placement){return placement.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,variation=_ref2.variation,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,isFixed=_ref2.isFixed,_offsets$x=offsets.x,x=void 0===_offsets$x?0:_offsets$x,_offsets$y=offsets.y,y=void 0===_offsets$y?0:_offsets$y,_ref3="function"==typeof roundOffsets?roundOffsets({x:x,y:y}):{x:x,y:y};x=_ref3.x,y=_ref3.y;var hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O,sideY=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,win=window;if(adaptive){var offsetParent=getOffsetParent(popper),heightProp="clientHeight",widthProp="clientWidth";if(offsetParent===getWindow(popper)&&"static"!==getComputedStyle(offsetParent=getDocumentElement(popper)).position&&"absolute"===position&&(heightProp="scrollHeight",widthProp="scrollWidth"),placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W||(placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O||placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U)&&variation===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.L)sideY=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K,y-=(isFixed&&win.visualViewport?win.visualViewport.height:offsetParent[heightProp])-popperRect.height,y*=gpuAcceleration?1:-1;if(placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O||(placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W||placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K)&&variation===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.L)sideX=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U,x-=(isFixed&&win.visualViewport?win.visualViewport.width:offsetParent[widthProp])-popperRect.width,x*=gpuAcceleration?1:-1}var _Object$assign,commonStyles=Object.assign({position:position},adaptive&&unsetSides),_ref4=!0===roundOffsets?function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,dpr=window.devicePixelRatio||1;return{x:round(x*dpr)/dpr||0,y:round(y*dpr)/dpr||0}}({x:x,y:y}):{x:x,y:y};return x=_ref4.x,y=_ref4.y,gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<=1?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}var passive={passive:!0};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash$1[matched]}))}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return hash[matched]}))}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=getScrollParent(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent){return clippingParent===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y?rectToClientRect(function getViewportRect(element){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;return visualViewport&&(width=visualViewport.width,height=visualViewport.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)),{width:width,height:height,x:x+getWindowScrollBarX(element),y:y}}(element)):isElement(clippingParent)?function getInnerBoundingClientRect(element){var rect=getBoundingClientRect(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=max(html.clientWidth,body?body.clientWidth:0)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents[0],clippingRect=clippingParents.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W:offsets={x:commonX,y:reference.y-element.height};break;case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K:offsets={x:commonX,y:reference.y+reference.height};break;case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U:offsets={x:reference.x+reference.width,y:commonY};break;case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.V:offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.L:offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M:_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y:_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.S:_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.I)),altContext=elementContext===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.S?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.N:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.S,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary),referenceClientRect=getBoundingClientRect(state.elements.reference),popperOffsets=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement:placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets)),elementClientRect=elementContext===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.S?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if(elementContext===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.S&&offsetData){var offset=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K].indexOf(key)>=0?1:-1,axis=[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset[axis]*multiply}))}return overflowOffsets}function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O].some((function(side){return overflow[side]>=0}))}var offset$1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset=void 0===_options$offset?[0,0]:_options$offset,data=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q.reduce((function(acc,placement){return acc[placement]=function distanceAndSkiddingToXY(placement,rects,offset){var basePlacement=getBasePlacement(placement),invertDistance=[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W].indexOf(basePlacement)>=0?-1:1,_ref="function"==typeof offset?offset(Object.assign({},rects,{placement:placement})):offset,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}};var preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary:boundary,rootBoundary:rootBoundary,padding:padding,altBoundary:altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,normalizedTetherOffsetValue="number"==typeof tetherOffsetValue?{mainAxis:tetherOffsetValue,altAxis:tetherOffsetValue}:Object.assign({mainAxis:0,altAxis:0},tetherOffsetValue),offsetModifierState=state.modifiersData.offset?state.modifiersData.offset[state.placement]:null,data={x:0,y:0};if(popperOffsets){if(checkMainAxis){var _offsetModifierState$,mainSide="y"===mainAxis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O,altSide="y"===mainAxis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U,len="y"===mainAxis?"height":"width",offset=popperOffsets[mainAxis],min$1=offset+overflow[mainSide],max$1=offset-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen=variation===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.V?referenceRect[len]:popperRect[len],maxLen=variation===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.V?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis:minLen-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis:maxLen+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=null!=(_offsetModifierState$=null==offsetModifierState?void 0:offsetModifierState[mainAxis])?_offsetModifierState$:0,tetherMax=offset+maxOffset-offsetModifierValue,preventedOffset=within(tether?min(min$1,offset+minOffset-offsetModifierValue-clientOffset):min$1,offset,tether?max(max$1,tetherMax):max$1);popperOffsets[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset}if(checkAltAxis){var _offsetModifierState$2,_mainSide="x"===mainAxis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O,_altSide="x"===mainAxis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U,_offset=popperOffsets[altAxis],_len="y"===altAxis?"height":"width",_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],isOriginSide=-1!==[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O].indexOf(basePlacement),_offsetModifierValue=null!=(_offsetModifierState$2=null==offsetModifierState?void 0:offsetModifierState[altAxis])?_offsetModifierState$2:0,_tetherMin=isOriginSide?_min:_offset-referenceRect[_len]-popperRect[_len]-_offsetModifierValue+normalizedTetherOffsetValue.altAxis,_tetherMax=isOriginSide?_offset+referenceRect[_len]+popperRect[_len]-_offsetModifierValue-normalizedTetherOffsetValue.altAxis:_max,_preventedOffset=tether&&isOriginSide?function withinMaxClamp(min,value,max){var v=within(min,value,max);return v>max?max:v}(_tetherMin,_offset,_tetherMax):within(tether?_tetherMin:_min,_offset,tether?_tetherMax:_max);popperOffsets[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}state.modifiersData[name]=data}},requiresIfExists:["offset"]};function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&function isElementScaled(element){var rect=element.getBoundingClientRect(),scaleX=round(rect.width)/element.offsetWidth||1,scaleY=round(rect.height)/element.offsetHeight||1;return 1!==scaleX||1!==scaleY}(offsetParent),documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent,!0)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function order(modifiers){var map=new Map,visited=new Set,result=[];function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||sort(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function createPopper(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference,popper:popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state:state,setOptions:function setOptions(setOptionsAction){var options="function"==typeof setOptionsAction?setOptionsAction(state.options):setOptionsAction;cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.T.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options=void 0===_ref3$options?{}:_ref3$options,effect=_ref3.effect;if("function"==typeof effect){var cleanupFn=effect({state:state,name:name,instance:instance,options:options}),noopFn=function noopFn(){};effectCleanupFns.push(cleanupFn||noopFn)}}))}(),instance.update()},forceUpdate:function forceUpdate(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,popper=_state$elements.popper;if(areValidElements(reference,popper)){state.rects={reference:getCompositeRect(reference,getOffsetParent(popper),"fixed"===state.options.strategy),popper:getLayoutRect(popper)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0}));0===allowedPlacements.length&&(allowedPlacements=placements$1);var overflows=allowedPlacements.reduce((function(acc,placement){return acc[placement]=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding})[getBasePlacement(placement)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding,flipVariations:flipVariations,allowedAutoPlacements:allowedAutoPlacements}):placement)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,altBoundary:altBoundary,padding:padding}),mainVariationSide=isVertical?isStartVariation?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O:isStartVariation?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function _loop(_i){var fittingPlacement=placements.find((function(placement){var checks=checksMap.get(placement);if(checks)return checks.slice(0,_i).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},preventOverflow$1,arrow$1,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets:referenceClippingOffsets,popperEscapeOffsets:popperEscapeOffsets,isReferenceHidden:isReferenceHidden,hasPopperEscaped:hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]});function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}var ManagerReferenceNodeContext=react__WEBPACK_IMPORTED_MODULE_35__.createContext(),ManagerReferenceNodeSetterContext=react__WEBPACK_IMPORTED_MODULE_35__.createContext();function Manager(_ref){var children=_ref.children,_React$useState=react__WEBPACK_IMPORTED_MODULE_35__.useState(null),referenceNode=_React$useState[0],setReferenceNode=_React$useState[1],hasUnmounted=react__WEBPACK_IMPORTED_MODULE_35__.useRef(!1);react__WEBPACK_IMPORTED_MODULE_35__.useEffect((function(){return function(){hasUnmounted.current=!0}}),[]);var handleSetReferenceNode=react__WEBPACK_IMPORTED_MODULE_35__.useCallback((function(node){hasUnmounted.current||setReferenceNode(node)}),[]);return react__WEBPACK_IMPORTED_MODULE_35__.createElement(ManagerReferenceNodeContext.Provider,{value:referenceNode},react__WEBPACK_IMPORTED_MODULE_35__.createElement(ManagerReferenceNodeSetterContext.Provider,{value:handleSetReferenceNode},children))}var unwrapArray=function unwrapArray(arg){return Array.isArray(arg)?arg[0]:arg},safeInvoke=function safeInvoke(fn){if("function"==typeof fn){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef$1=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react__WEBPACK_IMPORTED_MODULE_35__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_35__.useEffect,hasElementType="undefined"!=typeof Element,hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==_typeof(a)&&"object"==_typeof(b)){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}var reactFastCompare=function isEqual(a,b){try{return equal(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}},EMPTY_MODIFIERS$1=[],NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react__WEBPACK_IMPORTED_MODULE_35__.useContext(ManagerReferenceNodeContext),_React$useState=react__WEBPACK_IMPORTED_MODULE_35__.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react__WEBPACK_IMPORTED_MODULE_35__.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react__WEBPACK_IMPORTED_MODULE_35__.useEffect((function(){setRef$1(innerRef,popperElement)}),[innerRef,popperElement]);var options=react__WEBPACK_IMPORTED_MODULE_35__.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react__WEBPACK_IMPORTED_MODULE_35__.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS$1},_React$useState=react__WEBPACK_IMPORTED_MODULE_35__.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react__WEBPACK_IMPORTED_MODULE_35__.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);setState({styles:fromEntries(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state.attributes[element]]})))})},requires:["computeStyles"]}}),[]),popperOptions=react__WEBPACK_IMPORTED_MODULE_35__.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return reactFastCompare(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react__WEBPACK_IMPORTED_MODULE_35__.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react__WEBPACK_IMPORTED_MODULE_35__.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}var warning=function warning(){},warning_1=warning;function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react__WEBPACK_IMPORTED_MODULE_35__.useContext(ManagerReferenceNodeSetterContext),refHandler=react__WEBPACK_IMPORTED_MODULE_35__.useCallback((function(node){setRef$1(innerRef,node),safeInvoke(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react__WEBPACK_IMPORTED_MODULE_35__.useEffect((function(){return function(){return setRef$1(innerRef,null)}})),react__WEBPACK_IMPORTED_MODULE_35__.useEffect((function(){warning_1(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),unwrapArray(children)({ref:refHandler})}var TooltipContext=react__WEBPACK_IMPORTED_MODULE_35___default.a.createContext({}),callAll=function callAll(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return fns.forEach((function(fn){return fn&&fn.apply(void 0,args)}))}},canUseDOM=function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},Tooltip$1=function(_Component){function Tooltip(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).observer=void 0,_this.tooltipRef=void 0,_this.handleOutsideClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideClickHandler=_this.context.parentOutsideClickHandler,_this$props=_this.props,hideTooltip=_this$props.hideTooltip;(0,_this$props.clearScheduled)(),hideTooltip(),parentOutsideClickHandler&&parentOutsideClickHandler(event)}},_this.handleOutsideRightClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideRightClickHandler=_this.context.parentOutsideRightClickHandler,_this$props2=_this.props,hideTooltip=_this$props2.hideTooltip;(0,_this$props2.clearScheduled)(),hideTooltip(),parentOutsideRightClickHandler&&parentOutsideRightClickHandler(event)}},_this.addOutsideClickHandler=function(){document.body.addEventListener("touchend",_this.handleOutsideClick),document.body.addEventListener("click",_this.handleOutsideClick)},_this.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",_this.handleOutsideClick),document.body.removeEventListener("click",_this.handleOutsideClick)},_this.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",_this.handleOutsideRightClick)},_this.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",_this.handleOutsideRightClick)},_this.getTooltipRef=function(node){_this.tooltipRef=node,function setRef(ref,node){if("function"==typeof ref)return ref(node);null!=ref&&(ref.current=node)}(_this.props.innerRef,node)},_this.getArrowProps=function(props){return void 0===props&&(props={}),Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({},props,{style:Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({},props.style,_this.props.arrowProps.style)})},_this.getTooltipProps=function(props){return void 0===props&&(props={}),Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({},props,_this.isTriggeredBy("hover")&&{onMouseEnter:callAll(_this.props.clearScheduled,props.onMouseEnter),onMouseLeave:callAll(_this.props.hideTooltip,props.onMouseLeave)},{style:Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({},props.style,_this.props.style)})},_this.contextValue={isParentNoneTriggered:"none"===_this.props.trigger,addParentOutsideClickHandler:_this.addOutsideClickHandler,addParentOutsideRightClickHandler:_this.addOutsideRightClickHandler,parentOutsideClickHandler:_this.handleOutsideClick,parentOutsideRightClickHandler:_this.handleOutsideRightClick,removeParentOutsideClickHandler:_this.removeOutsideClickHandler,removeParentOutsideRightClickHandler:_this.removeOutsideRightClickHandler},_this}_inheritsLoose(Tooltip,_Component);var _proto=Tooltip.prototype;return _proto.componentDidMount=function componentDidMount(){var _this2=this;if((this.observer=new MutationObserver((function(){_this2.props.update()}))).observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context=this.context,removeParentOutsideClickHandler=_this$context.removeParentOutsideClickHandler,removeParentOutsideRightClickHandler=_this$context.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),removeParentOutsideClickHandler&&removeParentOutsideClickHandler(),removeParentOutsideRightClickHandler&&removeParentOutsideRightClickHandler()}},_proto.componentDidUpdate=function componentDidUpdate(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},_proto.componentWillUnmount=function componentWillUnmount(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context2=this.context,isParentNoneTriggered=_this$context2.isParentNoneTriggered,addParentOutsideClickHandler=_this$context2.addParentOutsideClickHandler,addParentOutsideRightClickHandler=_this$context2.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!isParentNoneTriggered&&addParentOutsideClickHandler&&addParentOutsideClickHandler(),!isParentNoneTriggered&&addParentOutsideRightClickHandler&&addParentOutsideRightClickHandler()}},_proto.render=function render(){var _this$props3=this.props,arrowProps=_this$props3.arrowProps,placement=_this$props3.placement,tooltip=_this$props3.tooltip;return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(TooltipContext.Provider,{value:this.contextValue},tooltip({arrowRef:arrowProps.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:placement,tooltipRef:this.getTooltipRef}))},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},Tooltip}(react__WEBPACK_IMPORTED_MODULE_35__.Component);Tooltip$1.contextType=TooltipContext;var TooltipTrigger=function(_Component){function TooltipTrigger(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).state={tooltipShown:_this.props.defaultTooltipShown},_this.hideTimeout=void 0,_this.showTimeout=void 0,_this.popperOffset=void 0,_this.setTooltipState=function(state){var cb=function cb(){return _this.props.onVisibilityChange(state.tooltipShown)};_this.isControlled()?cb():_this.setState(state,cb)},_this.clearScheduled=function(){clearTimeout(_this.hideTimeout),clearTimeout(_this.showTimeout)},_this.showTooltip=function(_ref){var pageX=_ref.pageX,pageY=_ref.pageY;_this.clearScheduled();var state={tooltipShown:!0};_this.props.followCursor&&(state=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({},state,{pageX:pageX,pageY:pageY})),_this.showTimeout=window.setTimeout((function(){return _this.setTooltipState(state)}),_this.props.delayShow)},_this.hideTooltip=function(){_this.clearScheduled(),_this.hideTimeout=window.setTimeout((function(){return _this.setTooltipState({tooltipShown:!1})}),_this.props.delayHide)},_this.toggleTooltip=function(_ref2){var pageX=_ref2.pageX,pageY=_ref2.pageY,action=_this.getState()?"hideTooltip":"showTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.clickToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.contextMenuToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.getTriggerProps=function(props){return void 0===props&&(props={}),Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({},props,_this.isTriggeredBy("click")&&{onClick:callAll(_this.clickToggle,props.onClick),onTouchEnd:callAll(_this.clickToggle,props.onTouchEnd)},_this.isTriggeredBy("right-click")&&{onContextMenu:callAll(_this.contextMenuToggle,props.onContextMenu)},_this.isTriggeredBy("hover")&&Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({onMouseEnter:callAll(_this.showTooltip,props.onMouseEnter),onMouseLeave:callAll(_this.hideTooltip,props.onMouseLeave)},_this.props.followCursor&&{onMouseMove:callAll(_this.showTooltip,props.onMouseMove)}),_this.isTriggeredBy("focus")&&{onFocus:callAll(_this.showTooltip,props.onFocus),onBlur:callAll(_this.hideTooltip,props.onBlur)})},_this}_inheritsLoose(TooltipTrigger,_Component);var _proto=TooltipTrigger.prototype;return _proto.componentWillUnmount=function componentWillUnmount(){this.clearScheduled()},_proto.render=function render(){var _this2=this,_this$props=this.props,children=_this$props.children,tooltip=_this$props.tooltip,placement=_this$props.placement,trigger=_this$props.trigger,getTriggerRef=_this$props.getTriggerRef,modifiers=_this$props.modifiers,closeOnReferenceHidden=_this$props.closeOnReferenceHidden,usePortal=_this$props.usePortal,portalContainer=_this$props.portalContainer,followCursor=_this$props.followCursor,getTooltipRef=_this$props.getTooltipRef,mutationObserverOptions=_this$props.mutationObserverOptions,restProps=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.g)(_this$props,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),popper=react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Popper,Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({innerRef:getTooltipRef,placement:placement,modifiers:[{name:"followCursor",enabled:followCursor,phase:"main",fn:function fn(data){_this2.popperOffset=data.state.rects.popper}}].concat(modifiers)},restProps),(function(_ref3){var ref=_ref3.ref,style=_ref3.style,placement=_ref3.placement,arrowProps=_ref3.arrowProps,isReferenceHidden=_ref3.isReferenceHidden,update=_ref3.update;if(followCursor&&_this2.popperOffset){var _this2$state=_this2.state,pageX=_this2$state.pageX,pageY=_this2$state.pageY,_this2$popperOffset=_this2.popperOffset,width=_this2$popperOffset.width,height=_this2$popperOffset.height,x=pageX+width>window.pageXOffset+document.body.offsetWidth?pageX-width:pageX,y=pageY+height>window.pageYOffset+document.body.offsetHeight?pageY-height:pageY;style.transform="translate3d("+x+"px, "+y+"px, 0"}return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Tooltip$1,Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.h)({arrowProps:arrowProps,closeOnReferenceHidden:closeOnReferenceHidden,isReferenceHidden:isReferenceHidden,placement:placement,update:update,style:style,tooltip:tooltip,trigger:trigger,mutationObserverOptions:mutationObserverOptions},{clearScheduled:_this2.clearScheduled,hideTooltip:_this2.hideTooltip,innerRef:ref}))}));return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Manager,null,react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Reference,{innerRef:getTriggerRef},(function(_ref4){var ref=_ref4.ref;return children({getTriggerProps:_this2.getTriggerProps,triggerRef:ref})})),this.getState()&&(usePortal?Object(react_dom__WEBPACK_IMPORTED_MODULE_37__.createPortal)(popper,portalContainer):popper))},_proto.isControlled=function isControlled(){return void 0!==this.props.tooltipShown},_proto.getState=function getState(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},TooltipTrigger}(react__WEBPACK_IMPORTED_MODULE_35__.Component);TooltipTrigger.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function noop(){},placement:"right",portalContainer:canUseDOM()?document.body:null,trigger:"hover",usePortal:canUseDOM(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]};var TooltipTrigger$1=TooltipTrigger,match=memoizerific__WEBPACK_IMPORTED_MODULE_38___default()(1e3)((function(requests,actual,value){var fallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return actual.split("-")[0]===requests?value:fallback})),Arrow=_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.l.div({position:"absolute",borderStyle:"solid"},(function(_ref6){var placement=_ref6.placement,x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:"translate3d(".concat(x,"px, ").concat(y,"px, 0px)")}}),(function(_ref7){var theme=_ref7.theme,color=_ref7.color,placement=_ref7.placement;return{bottom:"".concat(match("top",placement,-8,"auto"),"px"),top:"".concat(match("bottom",placement,-8,"auto"),"px"),right:"".concat(match("left",placement,-8,"auto"),"px"),left:"".concat(match("right",placement,-8,"auto"),"px"),borderBottomWidth:"".concat(match("top",placement,"0",8),"px"),borderTopWidth:"".concat(match("bottom",placement,"0",8),"px"),borderRightWidth:"".concat(match("left",placement,"0",8),"px"),borderLeftWidth:"".concat(match("right",placement,"0",8),"px"),borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.k)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.g)(theme.background.app),"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.k)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.g)(theme.background.app),"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.k)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.g)(theme.background.app),"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.k)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.g)(theme.background.app),"transparent")}})),Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.l.div((function(_ref8){return{display:_ref8.hidden?"none":"inline-block",zIndex:2147483647}}),(function(_ref9){var theme=_ref9.theme,color=_ref9.color;return _ref9.hasChrome?{background:theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.k)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.g)(theme.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}})),Tooltip=function Tooltip(_a){var placement=_a.placement,hasChrome=_a.hasChrome,children=_a.children,arrowProps=_a.arrowProps,tooltipRef=_a.tooltipRef,arrowRef=_a.arrowRef,color=_a.color,props=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.G)(_a,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Wrapper,Object.assign({hasChrome:hasChrome,placement:placement,ref:tooltipRef},props,{color:color}),hasChrome&&react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Arrow,Object.assign({placement:placement,ref:arrowRef},arrowProps,{color:color})),children)};Tooltip.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var document$1=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Z.document,TargetContainer=_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.l.div(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.l.g(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltipPure=function WithTooltipPure(_a){var svg=_a.svg,trigger=_a.trigger,placement=(_a.closeOnClick,_a.placement),modifiers=_a.modifiers,hasChrome=_a.hasChrome,_tooltip=_a.tooltip,children=_a.children,tooltipShown=_a.tooltipShown,onVisibilityChange=_a.onVisibilityChange,props=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.G)(_a,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(TooltipTrigger$1,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref10){var getTooltipProps=_ref10.getTooltipProps,getArrowProps=_ref10.getArrowProps,tooltipRef=_ref10.tooltipRef,arrowRef=_ref10.arrowRef,tooltipPlacement=_ref10.placement;return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Tooltip,Object.assign({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref11){var getTriggerProps=_ref11.getTriggerProps,triggerRef=_ref11.triggerRef;return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Container,Object.assign({ref:triggerRef},getTriggerProps(),props),children)}))};WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithToolTipState=function WithToolTipState(_a){var startOpen=_a.startOpen,onChange=_a.onVisibilityChange,rest=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.G)(_a,["startOpen","onVisibilityChange"]),_useState2=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_35__.useState)(startOpen||!1),2),tooltipShown=_useState2[0],setTooltipShown=_useState2[1],onVisibilityChange=Object(react__WEBPACK_IMPORTED_MODULE_35__.useCallback)((function(visibility){onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return Object(react__WEBPACK_IMPORTED_MODULE_35__.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};document$1.addEventListener("keydown",hide,!1);var iframes=Array.from(document$1.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){document$1.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(WithTooltipPure,Object.assign({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))}}}]); \ No newline at end of file diff --git a/10.57ff2c7b.iframe.bundle.js b/10.57ff2c7b.iframe.bundle.js new file mode 100644 index 000000000..90728980b --- /dev/null +++ b/10.57ff2c7b.iframe.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see 10.57ff2c7b.iframe.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{"./node_modules/@storybook/components/dist/esm/OverlayScrollbars-1355f44c.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"OverlayScrollbarsComponent",(function(){return OverlayScrollbarsComponent})),__webpack_require__.d(__webpack_exports__,"default",(function(){return OverlayScrollbarsComponent}));__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.splice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.number.to-fixed.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js");var _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("./node_modules/@storybook/components/dist/esm/index-681e4b07.js"),react__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("./node_modules/react/index.js"),react__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_23__);__webpack_require__("./node_modules/memoizerific/memoizerific.js"),__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),__webpack_require__("./node_modules/qs/lib/index.js");function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var OverlayScrollbars$1={exports:{}};!function(module){var global;global="undefined"!=typeof window?window:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_22__.H,module.exports=function(window,document,undefined$1){var _targets,_instancePropertyString,_easingsMath,PLUGINNAME="OverlayScrollbars",TYPES={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function _cssProperty(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(_strSpace)}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],_animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){prop===_strScrollLeft||prop===_strScrollTop?el[prop]=value:setCSSVal(el,prop,value)}function _animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el:el,q:[]},_animations.push(animObj)),props)from[key]=key===_strScrollLeft||key===_strScrollTop?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined$1&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,_frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing:easing,complete:complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),_frame=function frame(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing:easing,speacialEasing:specialEasing,duration:duration,complete:complete,step:step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(_frame)},qObj.frame=COMPATIBILITY.rAF()(_frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function _stop(el,clearQ,jumpToEnd){for(var animObj,qObj,key,i=0;i<_animations[LEXICON.l];i++)if((animObj=_animations[i]).el===el){if(animObj.q[LEXICON.l]>0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES.s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;nodes[LEXICON.l]-i;deepest.firstChild===nodes[0]&&i++)deepest.appendChild(nodes[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function wrapInner(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function wrap(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function css(styles,val){var el,key,cptStyle,getCptStyle=window.getComputedStyle;return _type(styles)==TYPES.s?val===undefined$1?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function hasClass(className){for(var elem,classList,i=0,classNamePrepared=_strSpace+className+_strSpace;elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(_strSpace+stripAndCollapse(elem.className+_strEmpty)+_strSpace).indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function addClass(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined$1&&(supportClassList=elmClassList!==undefined$1),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+_strEmpty,cur=1===elem.nodeType&&_strSpace+stripAndCollapse(curValue)+_strSpace){for(;clazz=classes[v++];)cur.indexOf(_strSpace+clazz+_strSpace)<0&&(cur+=clazz+_strSpace);curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function removeClass(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined$1&&(supportClassList=elmClassList!==undefined$1),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+_strEmpty,cur=1===elem.nodeType&&_strSpace+stripAndCollapse(curValue)+_strSpace){for(;clazz=classes[v++];)for(;cur.indexOf(_strSpace+clazz+_strSpace)>-1;)cur=cur.replace(_strSpace+clazz+_strSpace,_strSpace);curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function hide(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function show(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function attr(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined$1)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function removeAttr(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function offset(){var rect=this[0][LEXICON.bCR](),scrollLeft=window.pageXOffset||document.documentElement[_strScrollLeft],scrollTop=window.pageYOffset||document.documentElement[_strScrollTop];return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function position(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function scrollLeft(value){for(var el,i=0;el=this[i++];){if(value===undefined$1)return el[_strScrollLeft];el[_strScrollLeft]=value}return this},scrollTop:function scrollTop(value){for(var el,i=0;el=this[i++];){if(value===undefined$1)return el[_strScrollTop];el[_strScrollTop]=value}return this},val:function val(value){var el=this[0];return value?(el.value=value,this):el.value},first:function first(){return this.eq(0)},last:function last(){return this.eq(-1)},eq:function eq(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function find(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i-1){if(!(argLen>1))return _targets[index][_instancePropertyString];delete target[_instancePropertyString],_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,restrictedStringsSplit,restrictedStringsPossibilitiesSplit,classNameAllowedValues,numberAllowedValues,booleanNullAllowedValues,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,overflowBehaviorAllowedValues,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES.b,TYPES.n,TYPES.s,TYPES.a,TYPES.o,TYPES.f,TYPES.z],restrictedStringsSplit=" ",restrictedStringsPossibilitiesSplit=":",classNameAllowedValues=[TYPES.z,TYPES.s],numberAllowedValues=TYPES.n,booleanNullAllowedValues=[TYPES.z,TYPES.b],booleanTrueTemplate=[!0,TYPES.b],booleanFalseTemplate=[!1,TYPES.b],callbackTemplate=[null,[TYPES.z,TYPES.f]],overflowBehaviorAllowedValues="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden",optionsDefaultsAndTemplate={className:["os-theme-dark",classNameAllowedValues],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate,clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate,autoUpdate:[null,booleanNullAllowedValues],autoUpdateInterval:[33,numberAllowedValues],updateOnLoad:[["img"],[TYPES.s,TYPES.a,TYPES.z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll",overflowBehaviorAllowedValues],y:["scroll",overflowBehaviorAllowedValues]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,numberAllowedValues],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES.s,TYPES.a,TYPES.z]]},callbacks:{onInitialized:callbackTemplate,onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function convert(template){return function recursive(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES.a?obj[key]=val[template?1:0]:valType==TYPES.o&&(obj[key]=recursive(val)));return obj}(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function _validate(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function checkObjectProps(data,template,diffData,validatedOptions,validatedOptionsPrepared,prevPropName){for(var prop in template)if(template[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES.o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined$1?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES.o)validatedOptions[prop]={},validatedOptionsPrepared[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions[prop],validatedOptionsPrepared[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions,validatedOptionsPrepared],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(restrictedStringsPossibilitiesSplit).join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,strOverflow="overflow",strHidden="hidden",strScroll="scroll",bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=function(){var result,ua=window.navigator.userAgent,strIndexOf="indexOf",strSubString="substring",msie=ua[strIndexOf]("MSIE "),trident=ua[strIndexOf]("Trident/"),edge=ua[strIndexOf]("Edge/"),rv=ua[strIndexOf]("rv:"),parseIntFunc=parseInt;return msie>0?result=parseIntFunc(ua[strSubString](msie+5,ua[strIndexOf](".",msie)),10):trident>0?result=parseIntFunc(ua[strSubString](rv+3,ua[strIndexOf](".",rv)),10):edge>0&&(result=parseIntFunc(ua[strSubString](edge+5,ua[strIndexOf](".",edge)),10)),result}();function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions:defaultOptions,msie:msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize:nativeScrollbarSize,nativeScrollbarIsOverlaid:nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch(ex){}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css(strOverflow,strHidden);var scrollSize={w:scrollbarDummyElement0[LEXICON.sW],h:scrollbarDummyElement0[LEXICON.sH]};scrollbarDummyElement.css(strOverflow,"visible");var scrollSize2={w:scrollbarDummyElement0[LEXICON.sW],h:scrollbarDummyElement0[LEXICON.sH]};return scrollSize.w-scrollSize2.w!=0||scrollSize.h-scrollSize2.h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":strHidden,"overflow-x":strScroll,direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function get(){supportsPassive=!0}}))}catch(e){}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR(),onResize=function onResize(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!differenceIsBiggerThanOne(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),oldScrollbarSize.x===newScrollbarSize.x&&oldScrollbarSize.y===newScrollbarSize.y||FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}};FRAMEWORK(window).on("resize",onResize)}function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}function getWindowDPR(){var dDPI=window.screen.deviceXDPI||0,sDPI=window.screen.logicalXDPI||1;return window.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_base=this,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strAutoUpdate="autoUpdate",_strAutoUpdateInterval=_strAutoUpdate+"Interval",_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopIntervalDefault=33,_loopInterval=_loopIntervalDefault,_loopTimeOld=_getNow(),loop=function loop(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=_loopIntervalDefault;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined$1&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options())[_strAutoUpdate],instanceAutoUpdateInterval=MATH.max(1,instanceOptions[_strAutoUpdateInterval]),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=_loopIntervalDefault};_base.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},_base.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined$1&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strMinusHidden="-hidden",_strMarginMinus="margin-",_strPaddingMinus="padding-",_strBorderMinus="border-",_strTop="top",_strRight="right",_strBottom="bottom",_strLeft="left",_strMinMinus="min-",_strMaxMinus="max-",_strWidth="width",_strHeight="height",_strFloat="float",_strEmpty="",_strAuto="auto",_strSync="sync",_strScroll="scroll",_strHundredPercent="100%",_strX="x",_strY="y",_strDot=".",_strSpace=" ",_strScrollbar="scrollbar",_strMinusHorizontal="-horizontal",_strMinusVertical="-vertical",_strScrollLeft=_strScroll+"Left",_strScrollTop=_strScroll+"Top",_strMouseTouchDownEvent="mousedown touchstart",_strMouseTouchUpEvent="mouseup touchend touchcancel",_strMouseTouchMoveEvent="mousemove touchmove",_strMouseEnter="mouseenter",_strMouseLeave="mouseleave",_strKeyDownEvent="keydown",_strKeyUpEvent="keyup",_strSelectStartEvent="selectstart",_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_strResizeObserverProperty="__overlayScrollbarsRO__",_cassNamesPrefix="os-",_classNameHTMLElement=_cassNamesPrefix+"html",_classNameHostElement=_cassNamesPrefix+"host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-"+_strScrollbar+_strMinusHorizontal+_strMinusHidden,_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-"+_strScrollbar+_strMinusVertical+_strMinusHidden,_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement=_cassNamesPrefix+"textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNamePaddingElement=_cassNamesPrefix+"padding",_classNameViewportElement=_cassNamesPrefix+"viewport",_classNameViewportNativeScrollbarsInvisible=_classNameViewportElement+"-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid=_classNameViewportElement+"-native-scrollbars-overlaid",_classNameContentElement=_cassNamesPrefix+"content",_classNameContentArrangeElement=_cassNamesPrefix+"content-arrange",_classNameContentGlueElement=_cassNamesPrefix+"content-glue",_classNameSizeAutoObserverElement=_cassNamesPrefix+"size-auto-observer",_classNameResizeObserverElement=_cassNamesPrefix+"resize-observer",_classNameResizeObserverItemElement=_cassNamesPrefix+"resize-observer-item",_classNameResizeObserverItemFinalElement=_classNameResizeObserverItemElement+"-final",_classNameTextInherit=_cassNamesPrefix+"text-inherit",_classNameScrollbar=_cassNamesPrefix+_strScrollbar,_classNameScrollbarTrack=_classNameScrollbar+"-track",_classNameScrollbarTrackOff=_classNameScrollbarTrack+"-off",_classNameScrollbarHandle=_classNameScrollbar+"-handle",_classNameScrollbarHandleOff=_classNameScrollbarHandle+"-off",_classNameScrollbarUnusable=_classNameScrollbar+"-unusable",_classNameScrollbarAutoHidden=_classNameScrollbar+"-"+_strAuto+_strMinusHidden,_classNameScrollbarCorner=_classNameScrollbar+"-corner",_classNameScrollbarCornerResize=_classNameScrollbarCorner+"-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+_strMinusHorizontal,_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+_strMinusVertical,_classNameScrollbarHorizontal=_classNameScrollbar+_strMinusHorizontal,_classNameScrollbarVertical=_classNameScrollbar+_strMinusVertical,_classNameDragging=_cassNamesPrefix+"dragging",_classNameThemeNone=_cassNamesPrefix+"theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(_strSpace),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_extensionsPrivateMethods="added removed on contract",_swallowedUpdateHints={},_swallowUpdateLag=42,_updateOnLoadEventName="load",_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES.s?force===_strAuto?(attrsChanged=meaningfulAttrsChanged(),contentSizeC=updateAutoContentSizeChanged(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined$1:_currentPreparedOptions})):force===_strSync?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update(_strAuto):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,_base.update(_strSync)&&!force||update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES.s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);setObjectPropVal(option,newOptions,value),changedOps=setOptions(option)}else changedOps=setOptions(newOptions);FRAMEWORK.isEmptyObject(changedOps)||update({_changedOptions:changedOps})},_base.destroy=function(){if(!_destroyed){for(var extName in autoUpdateLoop.remove(_base),disconnectMutationObservers(),setupResizeObserver(_sizeObserverElement),setupResizeObserver(_sizeAutoObserverElement),_extensions)_base.removeExt(extName);for(;_destroyEvents[LEXICON.l]>0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off(_updateOnLoadEventName,updateOnLoadCallback);_updateOnLoadElms=undefined$1,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined$1){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update(_strSync);var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=[_strX,_strLeft,"l"],coordinatesYAxisProps=[_strY,_strTop,"t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES.o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strEnd="end",strBegin="begin",strCenter="center",strNearest="nearest",strAlways="always",strNever="never",strIfNeeded="ifneeded",strLength=LEXICON.l,elementObjSettingsAxisValues=[_strX,_strY,"xy","yx"],elementObjSettingsBlockValues=[strBegin,strEnd,strCenter,strNearest],elementObjSettingsScrollValues=[strAlways,strNever,strIfNeeded],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function updateScrollbarInfos(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES.f?undefined$1:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll)[strReplace](/min/g,0)[strReplace](//g,(normalizeShortcuts?"-":_strEmpty)+_strHundredPercent)[strReplace](/px/g,_strEmpty)[strReplace](/%/g,mult+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100)[strReplace](/vw/g,mult+_viewportSize.w)[strReplace](/vh/g,mult+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined$1&&!isNaN(amount)&&type(amount)==TYPES.n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined$1:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES.a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES.n||marginType==TYPES.b?generateMargin([margin,margin,margin,margin]):marginType==TYPES.a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES.o?generateMargin([margin[_strTop],margin[_strRight],margin[_strBottom],margin[_strLeft]]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES.s,strAlways,elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES.s,strBegin,elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:settingsScroll.x==strNever||settingsAxis==_strY,y:settingsScroll.y==strNever||settingsAxis==_strX};elementOffset[_strTop]-=settingsMargin[0],elementOffset[_strLeft]-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset[_strLeft]-viewportOffset[_strLeft]+viewportScroll.l),y:MATH.round(elementOffset[_strTop]-viewportOffset[_strTop]+viewportScroll.t)};if(_isRTL&&(_rtlScrollBehavior.n||_rtlScrollBehavior.i||(elementScrollCoordinates.x=MATH.round(viewportOffset[_strLeft]-elementOffset[_strLeft]+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset[_strLeft]-elementOffset[_strLeft]+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),settingsBlock.x!=strBegin||settingsBlock.y!=strBegin||settingsScroll.x==strIfNeeded||settingsScroll.y==strIfNeeded||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize[_strWidth]+settingsMargin[3]+settingsMargin[1],h:rawElementSize[_strHeight]+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function finalizeBlock(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?strBegin:strEnd),blockIsCenter=settingsBlock[xy]==strCenter,blockIsNearest=settingsBlock[xy]==strNearest,scrollNever=settingsScroll[xy]==strNever,scrollIfNeeded=settingsScroll[xy]==strIfNeeded,vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration:duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing[_strScrollLeft]=easing[0]||easing.x,specialEasing[_strScrollTop]=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement[_strScrollLeft](finalScroll[_strScrollLeft]),doScrollTop&&_viewportElement[_strScrollTop](finalScroll[_strScrollTop]),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES.s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj){if(!FRAMEWORK.isPlainObject(obj))return obj;var extended=extendDeep({},obj),changePropertyName=function changePropertyName(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w",_strWidth),changePropertyName("h",_strHeight),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES.s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods=_extensionsPrivateMethods.split(" "),i=0;if(type(extName)==TYPES.s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv(_classNameResizeObserverElement,generateDiv({c:_classNameResizeObserverItemElement,dir:"ltr"},generateDiv(_classNameResizeObserverItemElement,generateDiv(_classNameResizeObserverItemFinalElement))+generateDiv(_classNameResizeObserverItemElement,generateDiv({c:_classNameResizeObserverItemFinalElement,style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0][strChildNodes][0][strChildNodes][0],shrinkElement=FRAMEWORK(observerElement[strChildNodes][1]),expandElement=FRAMEWORK(observerElement[strChildNodes][0]),expandElementChild=FRAMEWORK(expandElement[0][strChildNodes][0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],factor=2,nativeScrollbarSize=globals.nativeScrollbarSize,reset=function reset(){expandElement[_strScrollLeft](constScroll)[_strScrollTop](constScroll),shrinkElement[_strScrollLeft](constScroll)[_strScrollTop](constScroll)},onResized=function onResized(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function onScroll(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,_strEmpty,[-(nativeScrollbarSize.y+1)*factor,nativeScrollbarSize.x*-factor,nativeScrollbarSize.y*-factor,-(nativeScrollbarSize.x+1)*factor]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on(_strScroll,onScroll),shrinkElement.on(_strScroll,onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS[_strWidth]=constScroll,expandChildCSS[_strHeight]=constScroll,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined$1;if(attachEvent)targetElement.prepend(generateDiv(_classNameResizeObserverElement)),findFirst(targetElement,_strDot+_classNameResizeObserverElement)[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES.o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,_classNameResizeObserverElement),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function directionChanged(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css[_strLeft]=0,css[_strRight]=_strAuto,scrollLeftValue=constScroll):(css[_strLeft]=_strAuto,css[_strRight]=0,scrollLeftValue=_rtlScrollBehavior.n?-constScroll:_rtlScrollBehavior.i?0:constScroll),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement[_strScrollLeft](scrollLeftValue)[_strScrollTop](constScroll),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,_strScroll,(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0])[_strResizeObserverProperty];resizeObserverObj&&(resizeObserverObj.disconnect(),delete element[_strResizeObserverProperty])}else remove(targetElement.children(_strDot+_classNameResizeObserverElement).eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserverContentLag=11,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function _mutationObserverContentCallback(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return!(doUpdate=isUnknownMutation(this))})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function action(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update(_strAuto))},clearTimeout(contentTimeout),mutationObserverContentLag<=0||now-contentLastUpdate>mutationObserverContentLag||!sizeAuto?action():contentTimeout=setTimeout(action,mutationObserverContentLag))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function _mutationObserverHostCallback(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(_strSpace).concat(oldMutationVal.split(_strSpace).filter((function(name){return name.match(hostClassNameRegex)}))).join(_strSpace),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||_strAuto)),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){var elm=FRAMEWORK(event.target);eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,_strMouseTouchMoveEvent.split(_strSpace)[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,[_strMouseEnter,_strMouseLeave],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),_initialized||destroy||_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css(_strMinMinus+_strWidth)),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css(_strMinMinus+_strHeight)),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=_typeof(newClassNames)==TYPES.s?newClassNames.split(_strSpace):[],diff=getArrayDifferences(_typeof(oldClassNames)==TYPES.s?oldClassNames.split(_strSpace):[],currClasses),idx=inArray(_classNameThemeNone,diff);if(idx>-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i0}}function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var flexGrow="flex-grow",flexShrink="flex-shrink",flexBasis="flex-basis",affectingPropsX=[_strWidth,_strMinMinus+_strWidth,_strMaxMinus+_strWidth,_strMarginMinus+_strLeft,_strMarginMinus+_strRight,_strLeft,_strRight,"font-weight","word-spacing",flexGrow,flexShrink,flexBasis],affectingPropsXContentBox=[_strPaddingMinus+_strLeft,_strPaddingMinus+_strRight,_strBorderMinus+_strLeft+_strWidth,_strBorderMinus+_strRight+_strWidth],affectingPropsY=[_strHeight,_strMinMinus+_strHeight,_strMaxMinus+_strHeight,_strMarginMinus+_strTop,_strMarginMinus+_strBottom,_strTop,_strBottom,"line-height",flexGrow,flexShrink,flexBasis],affectingPropsYContentBox=[_strPaddingMinus+_strTop,_strPaddingMinus+_strBottom,_strBorderMinus+_strTop+_strWidth,_strBorderMinus+_strBottom+_strWidth],_strS="s",_strVS="v-s",checkX=_overflowBehaviorCache.x===_strS||_overflowBehaviorCache.x===_strVS,sizeIsAffected=!1,checkPropertyName=function checkPropertyName(arr,name){for(var i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES.s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css[_strMinMinus+_strWidth]=_strEmpty,css[_strMinMinus+_strHeight]=_strEmpty,css[_strWidth]=_strAuto,_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css[_strWidth]=_widthAutoCache?_strAuto:_strHundredPercent,css[_strMinMinus+_strWidth]=_strHundredPercent,css[_strHeight]=_strAuto,_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css[_strWidth]=width,css[_strHeight]=height,_textareaCoverElement.css(css),css[_strMinMinus+_strWidth]=minWidth,css[_strMinMinus+_strHeight]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<_swallowUpdateLag&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,_swallowUpdateLag)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function checkCacheAutoForce(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement[_strScrollLeft](),y:_viewportElement[_strScrollTop]()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+_strSpace+_classNameThemeNone),addClass(_hostElement,className!==undefined$1&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv(_classNameContentGlueElement)),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv(_classNameSizeAutoObserverElement)),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css(_strHeight,_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger(_strScroll),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger(_strScroll)),displayIsHidden=displayIsHidden===undefined$1?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost(_strPaddingMinus);try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch(ex){return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?_strLeft:_strRight,isRTLRight=_isRTL?_strRight:_strLeft,widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css(_strFloat))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css(_strWidth);_contentGlueElement.css(_strWidth,_strAuto);var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css(_strWidth,tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css(_strWidth,tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css(_strWidth,tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost(_strBorderMinus,"-"+_strWidth,!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost(_strMarginMinus),contentElementCSS={},contentGlueElementCSS={},getHostSize=function getHostSize(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function getViewportSize(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css(_strFloat,isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,_strMarginMinus,[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,_strEmpty,paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,_strPaddingMinus)):(setTopRightBottomLeft(paddingElementCSS,_strEmpty),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,_strPaddingMinus,paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS[_strHeight]=_strAuto:(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS[_strHeight]=_strHundredPercent),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS[_strWidth]=_strAuto,contentGlueElementCSS[_strMaxMinus+_strWidth]=_strHundredPercent):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS[_strWidth]=_strHundredPercent,contentElementCSS[_strFloat]=_strEmpty,contentGlueElementCSS[_strMaxMinus+_strWidth]=_strEmpty),widthAuto?(contentGlueElementCSS[_strWidth]=_strAuto,contentElementCSS[_strWidth]=VENDORS._cssPropertyValue(_strWidth,"max-content intrinsic")||_strAuto,contentElementCSS[_strFloat]=isRTLRight):contentGlueElementCSS[_strWidth]=_strEmpty,contentGlueElementCSS[_strHeight]=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:_strEmpty,sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){var strOverflow="overflow",strOverflowX=strOverflow+"-x",strOverflowY=strOverflow+"-y",strHidden="hidden",strVisible="visible";if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css(_strBottom):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,_strEmpty),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS[_strBottom]=wasHeightAuto?_strEmpty:resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?_strEmpty:resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS[_strWidth]=contentGlueSize.w,contentGlueElementCSS[_strHeight]=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function setContentGlueElementCSSfunction(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),!(autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS[_strWidth]=_strHundredPercent),!widthAuto||_isBorderBox||_mutationObserversConnected||(contentElementCSS[_strFloat]="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function setOverflowVariables(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax=_strScroll+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,borderDesign="px solid transparent",contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:_strEmpty,arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:_strEmpty,arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS[_strMarginMinus+isRTLRight]=contentElementCSS[_strBorderMinus+isRTLRight]=_strEmpty,setContentElementCSS=function setContentElementCSS(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?_strBottom:isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS[_strMarginMinus+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?_strEmpty:_overlayScrollbarDummySize[xy]:_strEmpty,contentElementCSS[_strBorderMinus+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?_strEmpty:_overlayScrollbarDummySize[xy]+borderDesign):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS[_strMarginMinus+strDirection]=contentElementCSS[_strBorderMinus+strDirection]=_strEmpty,arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h=_strEmpty,arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS[_strWidth]=hideOverflow.y?arrangeContent.w:_strEmpty,contentArrangeElementCSS[_strHeight]=hideOverflow.x?arrangeContent.h:_strEmpty,_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv(_classNameContentArrangeElement)),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]=_strEmpty,(setViewportCSS=function setViewportCSS(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?_strBottom:isRTLLeft,reset=function reset(){viewportElementCSS[strDirection]=_strEmpty,_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS[strOverflow+XY]=_strScroll,ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS[strOverflow+XY]=_strEmpty,reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS[_strPaddingMinus+_strTop]=_nativeScrollbarMinSize.x,viewportElementCSS[_strMarginMinus+_strTop]=-_nativeScrollbarMinSize.x,viewportElementCSS[_strPaddingMinus+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS[_strMarginMinus+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS[_strPaddingMinus+_strTop]=viewportElementCSS[_strMarginMinus+_strTop]=viewportElementCSS[_strPaddingMinus+isRTLRight]=viewportElementCSS[_strMarginMinus+isRTLRight]=_strEmpty,viewportElementCSS[_strPaddingMinus+isRTLLeft]=viewportElementCSS[_strMarginMinus+isRTLLeft]=_strEmpty,hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS[strOverflowX]=paddingElementCSS[strOverflowY]=strHidden):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS[strOverflowX]=paddingElementCSS[strOverflowY]=_strEmpty),viewportElementCSS[strOverflowX]=viewportElementCSS[strOverflowY]=strVisible),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",elementStyle.display=_strEmpty,elementStyle.webkitTransform=_strEmpty}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css(_strFloat),posLeftWithoutFloat=MATH.round(_contentElement.css(_strFloat,_strEmpty).css(_strLeft,_strEmpty).position().left);_contentElement.css(_strFloat,floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS[_strLeft]=posLeftWithoutFloat)}else contentElementCSS[_strLeft]=_strEmpty;if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=getTextareaInfo();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined$1||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement[_strScrollLeft](0),heightAuto&&_hostElement[_strScrollTop](0),_viewportElement[_strScrollLeft](currScroll.x)[_strScrollTop](currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function refreshScrollbarsVisibility(showX,showY){showY=showY===undefined$1?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css(_strMinMinus+_strWidth,_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css(_strMinMinus+_strHeight,_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off(_updateOnLoadEventName,updateOnLoadCallback).on(_updateOnLoadEventName,updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var strParent="parent",classNameResizeObserverHost="os-resize-observer-host",classNameTextareaElementFull=_classNameTextareaElement+_strSpace+_classNameTextInherit,textareaClass=_isTextarea?_strSpace+_classNameTextInherit:_strEmpty,adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function applyAdoptedAttrs(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES.s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(_strSpace),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement[strParent]()[strParent]()[strParent]()[strParent]():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass(_classNameContentElement+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass(_classNameViewportElement+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass(_classNamePaddingElement+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass(classNameResizeObserverHost),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined$1),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES.s?adoptAttrs.split(_strSpace):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES.s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,_classNameHTMLElement)):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS[_strWidth]=_targetElement.css(_strWidth),hostElementCSS[_strHeight]=_targetElement.css(_strHeight)),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement[strParent]().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,_strDot+_classNameContentElement),_viewportElement=findFirst(_hostElement,_strDot+_classNameViewportElement),_paddingElement=findFirst(_hostElement,_strDot+_classNamePaddingElement),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,_classNameHTMLElement),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[],scrollStopDelay=175,strFocus="focus";function updateTextarea(doClearInterval){textareaUpdate(),_base.update(_strAuto),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}function textareaOnScroll(event){return _targetElement[_strScrollLeft](_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement[_strScrollTop](0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)}function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,strFocus)}function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,strFocus),updateTextarea(!0)}function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))}function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&isSizeAffectingCSSProperty((event=event.originalEvent||event).propertyName)&&_base.update(_strAuto)}function viewportOnScroll(event){_sleeping||(scrollStopTimeoutId!==undefined$1?clearTimeout(scrollStopTimeoutId):((_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0),nativeOverlayScrollbarsAreActive()||addClass(_hostElement,_classNameHostScrolling),dispatchCallback("onScrollStart",event)),_scrollbarsHandlesDefineScrollPos||(refreshScrollbarHandleOffset(!0),refreshScrollbarHandleOffset(!1)),dispatchCallback("onScroll",event),scrollStopTimeoutId=setTimeout((function(){_destroyed||(clearTimeout(scrollStopTimeoutId),scrollStopTimeoutId=undefined$1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1),nativeOverlayScrollbarsAreActive()||removeClass(_hostElement,_classNameHostScrolling),dispatchCallback("onScrollStop",event))}),scrollStopDelay))}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,[_strKeyDownEvent,_strKeyUpEvent],[textareaOnKeyDown,textareaOnKeyUp]),addDestroyEventListener(_targetElement,[_strScroll,"drop",strFocus,strFocus+"out"],[textareaOnScroll,textareaOnDrop,textareaOnFocus,textareaOnFocusout])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,contentOnTransitionEnd),addDestroyEventListener(_viewportElement,_strScroll,viewportOnScroll,!0)}function setupScrollbarsDOM(destroy){var horizontalElements,verticalElements,selectOrGenerateScrollbarDOM=function selectOrGenerateScrollbarDOM(isHorizontal){var scrollbar=selectOrGenerateDivByClass(_classNameScrollbar+_strSpace+(isHorizontal?_classNameScrollbarHorizontal:_classNameScrollbarVertical),!0),track=selectOrGenerateDivByClass(_classNameScrollbarTrack,scrollbar),handle=selectOrGenerateDivByClass(_classNameScrollbarHandle,scrollbar);return _domExists||destroy||(scrollbar.append(track),track.append(handle)),{_scrollbar:scrollbar,_track:track,_handle:handle}};function resetScrollbarDOM(isHorizontal){var scrollbarVars=getScrollbarVars(isHorizontal),scrollbar=scrollbarVars._scrollbar,track=scrollbarVars._track,handle=scrollbarVars._handle;_domExists&&_initialized?each([scrollbar,track,handle],(function(i,elm){removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})):remove(scrollbar||selectOrGenerateScrollbarDOM(isHorizontal)._scrollbar)}destroy?(resetScrollbarDOM(!0),resetScrollbarDOM()):(horizontalElements=selectOrGenerateScrollbarDOM(!0),verticalElements=selectOrGenerateScrollbarDOM(),_scrollbarHorizontalElement=horizontalElements._scrollbar,_scrollbarHorizontalTrackElement=horizontalElements._track,_scrollbarHorizontalHandleElement=horizontalElements._handle,_scrollbarVerticalElement=verticalElements._scrollbar,_scrollbarVerticalTrackElement=verticalElements._track,_scrollbarVerticalHandleElement=verticalElements._handle,_domExists||(_paddingElement.after(_scrollbarVerticalElement),_paddingElement.after(_scrollbarHorizontalElement)))}function setupScrollbarEvents(isHorizontal){var trackTimeout,mouseDownScroll,mouseDownOffset,mouseDownInvertedScale,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,insideIFrame=_windowElementNative.top!==_windowElementNative,xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,scroll=_strScroll+scrollbarVars._Left_Top,strActive="active",strSnapHandle="snapHandle",strClickEvent="click",scrollDurationFactor=1,increaseDecreaseScrollAmountKeyCodes=[16,17];function getPointerPosition(event){return _msieVersion&&insideIFrame?event["screen"+XY]:COMPATIBILITY.page(event)[xy]}function getPreparedScrollbarsOption(name){return _currentPreparedOptions.scrollbars[name]}function increaseTrackScrollAmount(){scrollDurationFactor=.5}function decreaseTrackScrollAmount(){scrollDurationFactor=1}function stopClickEventPropagation(event){COMPATIBILITY.stpP(event)}function documentKeyDown(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined$1;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,[_strMouseTouchMoveEvent,_strMouseTouchUpEvent,_strKeyDownEvent,_strKeyUpEvent,_strSelectStartEvent],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,strClickEvent,stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,strActive),removeClass(scrollbarVars._track,strActive),removeClass(scrollbarVars._scrollbar,strActive),mouseDownScroll=undefined$1,mouseDownOffset=undefined$1,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined$1&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined$1),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption(strSnapHandle),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,strActive),addClass(scrollbarVars._scrollbar,strActive),setupResponsiveEventListener(_documentElement,[_strMouseTouchMoveEvent,_strMouseTouchUpEvent,_strSelectStartEvent],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,strClickEvent,stopClickEventPropagation,!1,{_capture:!0})})),!_msieVersion&&_documentMixed||COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,easing="linear",scrollActionFinsished=function scrollActionFinsished(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function scrollActionInstantFinished(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function scrollAction(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:easing,step:function step(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined$1,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption(strSnapHandle),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,strActive),addClass(scrollbarVars._scrollbar,strActive),setupResponsiveEventListener(_documentElement,[_strMouseTouchUpEvent,_strKeyDownEvent,_strKeyUpEvent,_strSelectStartEvent],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}}function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)}function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,_strMouseTouchDownEvent,onHandleMouseTouchDown),addDestroyEventListener(scrollbarVars._track,[_strMouseTouchDownEvent,_strMouseEnter,_strMouseLeave],[onTrackMouseTouchDown,onTrackMouseTouchEnter,onTrackMouseTouchLeave]),addDestroyEventListener(scrollbarVars._scrollbar,_strMouseTouchDownEvent,onScrollbarMouseTouchDown),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,strActive="active",hide=function hide(){_scrollbarsHandleHovered||_destroyed||(!(anyActive=_scrollbarHorizontalHandleElement.hasClass(strActive)||_scrollbarVerticalHandleElement.hasClass(strActive))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,digit=1e6,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*digit)/digit+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES.b,transitionDuration=250,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTranslateBrace="translate(",strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement[_strScrollLeft]():_viewportElement[_strScrollTop](),currentScroll=scrollOrTransition===undefined$1||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative[_strScroll+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function getScrollRatio(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function getHandleOffset(scrollRatio){var offset=handleTrackDiff*scrollRatio;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?strTranslateBrace+transformOffset+"px, 0)":strTranslateBrace+"0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?getCSSTransitionString(scrollbarVars._handle)+", "+(strTransform+_strSpace+transitionDuration)+"ms":_strEmpty)):handleCSS[scrollbarVars._left_top]=handleOffset,nativeOverlayScrollbarsAreActive()||(scrollbarVars._handle.css(handleCSS),_supportTransform&&_supportTransition&&transition&&scrollbarVars._handle.one(_strTransitionEndEvent,(function(){_destroyed||scrollbarVars._handle.css(strTransition,_strEmpty)}))),scrollbarVarsInfo._handleOffset=handleOffset,scrollbarVarsInfo._snappedHandleOffset=snappedHandleOffset,scrollbarVarsInfo._trackLength=trackLength}function refreshScrollbarsInteractive(isTrack,value){var action=value?"removeClass":"addClass",element2=isTrack?_scrollbarVerticalTrackElement:_scrollbarVerticalHandleElement,className=isTrack?_classNameScrollbarTrackOff:_classNameScrollbarHandleOff;(isTrack?_scrollbarHorizontalTrackElement:_scrollbarHorizontalHandleElement)[action](className),element2[action](className)}function getScrollbarVars(isHorizontal){return{_width_height:isHorizontal?_strWidth:_strHeight,_Width_Height:isHorizontal?"Width":"Height",_left_top:isHorizontal?_strLeft:_strTop,_Left_Top:isHorizontal?"Left":"Top",_x_y:isHorizontal?_strX:_strY,_X_Y:isHorizontal?"X":"Y",_w_h:isHorizontal?"w":"h",_l_t:isHorizontal?"l":"t",_track:isHorizontal?_scrollbarHorizontalTrackElement:_scrollbarVerticalTrackElement,_handle:isHorizontal?_scrollbarHorizontalHandleElement:_scrollbarVerticalHandleElement,_scrollbar:isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement,_info:isHorizontal?_scrollHorizontalInfo:_scrollVerticalInfo}}function setupScrollbarCornerDOM(destroy){_scrollbarCornerElement=_scrollbarCornerElement||selectOrGenerateDivByClass(_classNameScrollbarCorner,!0),destroy?_domExists&&_initialized?removeClass(_scrollbarCornerElement.removeAttr(LEXICON.s),_classNamesDynamicDestroy):remove(_scrollbarCornerElement):_domExists||_hostElement.append(_scrollbarCornerElement)}function setupScrollbarCornerEvents(){var reconnectMutationObserver,insideIFrame=_windowElementNative.top!==_windowElementNative,mouseDownPosition={},mouseDownSize={},mouseDownInvertedScale={};function documentDragMove(event){if(onMouseTouchDownContinue(event)){var pageOffset=getCoordinates(event),hostElementCSS={};(_resizeHorizontal||_resizeBoth)&&(hostElementCSS[_strWidth]=mouseDownSize.w+(pageOffset.x-mouseDownPosition.x)*mouseDownInvertedScale.x),(_resizeVertical||_resizeBoth)&&(hostElementCSS[_strHeight]=mouseDownSize.h+(pageOffset.y-mouseDownPosition.y)*mouseDownInvertedScale.y),_hostElement.css(hostElementCSS),COMPATIBILITY.stpP(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){var eventIsTrusted=event!==undefined$1;setupResponsiveEventListener(_documentElement,[_strSelectStartEvent,_strMouseTouchMoveEvent,_strMouseTouchUpEvent],[documentOnSelectStart,documentDragMove,documentMouseTouchUp],!0),removeClass(_bodyElement,_classNameDragging),_scrollbarCornerElement.releaseCapture&&_scrollbarCornerElement.releaseCapture(),eventIsTrusted&&(reconnectMutationObserver&&connectMutationObservers(),_base.update(_strAuto)),reconnectMutationObserver=!1}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined$1;return!_sleeping&&!_destroyed&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function getCoordinates(event){return _msieVersion&&insideIFrame?{x:event.screenX,y:event.screenY}:COMPATIBILITY.page(event)}addDestroyEventListener(_scrollbarCornerElement,_strMouseTouchDownEvent,(function(event){onMouseTouchDownContinue(event)&&!_resizeNone&&(_mutationObserversConnected&&(reconnectMutationObserver=!0,disconnectMutationObservers()),mouseDownPosition=getCoordinates(event),mouseDownSize.w=_hostElementNative[LEXICON.oW]-(_isBorderBox?0:_paddingX),mouseDownSize.h=_hostElementNative[LEXICON.oH]-(_isBorderBox?0:_paddingY),mouseDownInvertedScale=getHostElementInvertedScale(),setupResponsiveEventListener(_documentElement,[_strSelectStartEvent,_strMouseTouchMoveEvent,_strMouseTouchUpEvent],[documentOnSelectStart,documentDragMove,documentMouseTouchUp]),addClass(_bodyElement,_classNameDragging),_scrollbarCornerElement.setCapture&&_scrollbarCornerElement.setCapture(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event))}))}function dispatchCallback(name,args,dependent){if(!1!==dependent)if(_initialized){var ext,callback=_currentPreparedOptions.callbacks[name],extensionOnName=name;"on"===extensionOnName.substr(0,2)&&(extensionOnName=extensionOnName.substr(2,1).toLowerCase()+extensionOnName.substr(3)),type(callback)==TYPES.f&&callback.call(_base,args),each(_extensions,(function(){type((ext=this).on)==TYPES.f&&ext.on(extensionOnName,args)}))}else _destroyed||_callbacksInitQeueue.push({n:name,a:args})}function setTopRightBottomLeft(targetCSSObject,prefix,values){values=values||[_strEmpty,_strEmpty,_strEmpty,_strEmpty],targetCSSObject[(prefix=prefix||_strEmpty)+_strTop]=values[0],targetCSSObject[prefix+_strRight]=values[1],targetCSSObject[prefix+_strBottom]=values[2],targetCSSObject[prefix+_strLeft]=values[3]}function getTopRightBottomLeftHost(prefix,suffix,zeroX,zeroY){return suffix=suffix||_strEmpty,prefix=prefix||_strEmpty,{t:zeroY?0:parseToZeroOrNumber(_hostElement.css(prefix+_strTop+suffix)),r:zeroX?0:parseToZeroOrNumber(_hostElement.css(prefix+_strRight+suffix)),b:zeroY?0:parseToZeroOrNumber(_hostElement.css(prefix+_strBottom+suffix)),l:zeroX?0:parseToZeroOrNumber(_hostElement.css(prefix+_strLeft+suffix))}}function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpString="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",regExpMain=new RegExp(regExpString),regExpValidate=new RegExp("^("+regExpString+")+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function splitCssStyleByComma(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,_strEmpty);return strResult};itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}function nativeOverlayScrollbarsAreActive(){return _ignoreOverlayScrollbarHidingCache&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y}function getContentMeasureElement(){return _isTextarea?_textareaCoverElement[0]:_contentElementNative}function generateDiv(classesOrAttrs,content){return"
"+(content||_strEmpty)+"
"}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES.b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"](_strDot+className.replace(/\s/g,_strDot)).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split(_strDot),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined$1&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES.f&&options(v,inst)||options===undefined$1)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr},_plugin.globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined$1)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES.s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES.f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions:defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){var _elements=this;return JQUERY.isPlainObject(options)?(JQUERY.each(_elements,(function(){PLUGIN(this,options,extensions)})),_elements):PLUGIN(_elements,options)}),PLUGIN}(global,global.document,void 0)}(OverlayScrollbars$1);var OverlayScrollbars=OverlayScrollbars$1.exports,OverlayScrollbarsComponent=function OverlayScrollbarsComponent(_a){var _a$options=_a.options,options=void 0===_a$options?{}:_a$options,extensions=_a.extensions,className=_a.className,children=_a.children,rest=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_22__.I)(_a,["options","extensions","className","children"]),osTargetRef=Object(react__WEBPACK_IMPORTED_MODULE_23__.useRef)(),osInstance=Object(react__WEBPACK_IMPORTED_MODULE_23__.useRef)();return Object(react__WEBPACK_IMPORTED_MODULE_23__.useEffect)((function(){return osInstance.current=OverlayScrollbars(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),function(){OverlayScrollbars.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)}}),[]),Object(react__WEBPACK_IMPORTED_MODULE_23__.useEffect)((function(){OverlayScrollbars.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),Object(react__WEBPACK_IMPORTED_MODULE_23__.useEffect)((function(){OverlayScrollbars.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",Object.assign({className:"os-host"},rest,{ref:osTargetRef}),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(OverlayScrollbars.valid(osInstance)){var host=osInstance.getElements().host,regex=new RegExp("(^os-host([-_].+|)$)|".concat(osInstance.options().className.replace(/\s/g,"$|"),"$"),"g"),osClassNames=host.className.split(" ").filter((function(name){return name.match(regex)})).join(" ");host.className="".concat(osClassNames," ").concat(className||"")}}}}]); +//# sourceMappingURL=10.57ff2c7b.iframe.bundle.js.map \ No newline at end of file diff --git a/10.57ff2c7b.iframe.bundle.js.LICENSE.txt b/10.57ff2c7b.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..cfda1d61d --- /dev/null +++ b/10.57ff2c7b.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,12 @@ +/*! + * OverlayScrollbars + * https://github.com/KingSora/OverlayScrollbars + * + * Version: 1.13.0 + * + * Copyright KingSora | Rene Haas. + * https://github.com/KingSora + * + * Released under the MIT license. + * Date: 02.08.2020 + */ diff --git a/10.57ff2c7b.iframe.bundle.js.map b/10.57ff2c7b.iframe.bundle.js.map new file mode 100644 index 000000000..b0cbcbcf0 --- /dev/null +++ b/10.57ff2c7b.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"10.57ff2c7b.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/2.44e5e8cc.iframe.bundle.js b/2.44e5e8cc.iframe.bundle.js new file mode 100644 index 000000000..393b8830d --- /dev/null +++ b/2.44e5e8cc.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"./node_modules/@storybook/components/dist/esm/WithTooltip-167e9982.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithToolTipState",(function(){return WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltipPure",(function(){return WithTooltipPure}));__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.array.sort.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.map.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array-buffer.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.flags.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");var _templateObject,_templateObject2,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__("./node_modules/@storybook/components/dist/esm/index-681e4b07.js"),react__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("./node_modules/react/index.js"),react__WEBPACK_IMPORTED_MODULE_35___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_35__),_storybook_theming__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js"),react_dom__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("./node_modules/react-dom/index.js"),memoizerific__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_38___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_38__);__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),__webpack_require__("./node_modules/qs/lib/index.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&(scaleX=round(rect.width)/offsetWidth||1),offsetHeight>0&&(scaleY=round(rect.height)/offsetHeight||1)}return{width:rect.width/scaleX,height:rect.height/scaleY,top:rect.top/scaleY,right:rect.right/scaleX,bottom:rect.bottom/scaleY,left:rect.left/scaleX,x:rect.left/scaleX,y:rect.top/scaleY}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width:width,height:height}}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window:offsetParent||function getContainingBlock(element){var isFirefox=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&isHTMLElement(element)&&"fixed"===getComputedStyle(element).position)return null;for(var currentNode=getParentNode(element);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window}function getMainAxisFromPlacement(placement){return["top","bottom"].indexOf(placement)>=0?"x":"y"}function within(min$1,value,max$1){return max(min$1,min(value,max$1))}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}var arrow$1={name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets){var paddingObject=function toPaddingObject(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q,maxProp="y"===axis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[len],startDiff=popperOffsets[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset=within(min,center,max),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset,_state$modifiersData$.centerOffset=offset-center,_state$modifiersData$)}},effect:function effect$1(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))&&contains(state.elements.popper,arrowElement)&&(state.elements.arrow=arrowElement)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(placement){return placement.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,variation=_ref2.variation,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,isFixed=_ref2.isFixed,_offsets$x=offsets.x,x=void 0===_offsets$x?0:_offsets$x,_offsets$y=offsets.y,y=void 0===_offsets$y?0:_offsets$y,_ref3="function"==typeof roundOffsets?roundOffsets({x:x,y:y}):{x:x,y:y};x=_ref3.x,y=_ref3.y;var hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q,sideY=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y,win=window;if(adaptive){var offsetParent=getOffsetParent(popper),heightProp="clientHeight",widthProp="clientWidth";if(offsetParent===getWindow(popper)&&"static"!==getComputedStyle(offsetParent=getDocumentElement(popper)).position&&"absolute"===position&&(heightProp="scrollHeight",widthProp="scrollWidth"),placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y||(placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q||placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W)&&variation===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.N)sideY=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M,y-=(isFixed&&win.visualViewport?win.visualViewport.height:offsetParent[heightProp])-popperRect.height,y*=gpuAcceleration?1:-1;if(placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q||(placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y||placement===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M)&&variation===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.N)sideX=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,x-=(isFixed&&win.visualViewport?win.visualViewport.width:offsetParent[widthProp])-popperRect.width,x*=gpuAcceleration?1:-1}var _Object$assign,commonStyles=Object.assign({position:position},adaptive&&unsetSides),_ref4=!0===roundOffsets?function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,dpr=window.devicePixelRatio||1;return{x:round(x*dpr)/dpr||0,y:round(y*dpr)/dpr||0}}({x:x,y:y}):{x:x,y:y};return x=_ref4.x,y=_ref4.y,gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<=1?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}var passive={passive:!0};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash$1[matched]}))}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return hash[matched]}))}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=getScrollParent(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent){return clippingParent===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.ab?rectToClientRect(function getViewportRect(element){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;return visualViewport&&(width=visualViewport.width,height=visualViewport.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)),{width:width,height:height,x:x+getWindowScrollBarX(element),y:y}}(element)):isElement(clippingParent)?function getInnerBoundingClientRect(element){var rect=getBoundingClientRect(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=max(html.clientWidth,body?body.clientWidth:0)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents[0],clippingRect=clippingParents.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent);return accRect.top=max(rect.top,accRect.top),accRect.right=min(rect.right,accRect.right),accRect.bottom=min(rect.bottom,accRect.bottom),accRect.left=max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y:offsets={x:commonX,y:reference.y-element.height};break;case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M:offsets={x:commonX,y:reference.y+reference.height};break;case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W:offsets={x:reference.x+reference.width,y:commonY};break;case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.X:offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.N:offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.O:_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.ab:_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U:_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.K)),altContext=elementContext===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.P:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary),referenceClientRect=getBoundingClientRect(state.elements.reference),popperOffsets=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement:placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets)),elementClientRect=elementContext===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if(elementContext===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.U&&offsetData){var offset=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M].indexOf(key)>=0?1:-1,axis=[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset[axis]*multiply}))}return overflowOffsets}function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q].some((function(side){return overflow[side]>=0}))}var offset$1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset=void 0===_options$offset?[0,0]:_options$offset,data=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.S.reduce((function(acc,placement){return acc[placement]=function distanceAndSkiddingToXY(placement,rects,offset){var basePlacement=getBasePlacement(placement),invertDistance=[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y].indexOf(basePlacement)>=0?-1:1,_ref="function"==typeof offset?offset(Object.assign({},rects,{placement:placement})):offset,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}};var preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary:boundary,rootBoundary:rootBoundary,padding:padding,altBoundary:altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,normalizedTetherOffsetValue="number"==typeof tetherOffsetValue?{mainAxis:tetherOffsetValue,altAxis:tetherOffsetValue}:Object.assign({mainAxis:0,altAxis:0},tetherOffsetValue),offsetModifierState=state.modifiersData.offset?state.modifiersData.offset[state.placement]:null,data={x:0,y:0};if(popperOffsets){if(checkMainAxis){var _offsetModifierState$,mainSide="y"===mainAxis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q,altSide="y"===mainAxis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,len="y"===mainAxis?"height":"width",offset=popperOffsets[mainAxis],min$1=offset+overflow[mainSide],max$1=offset-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen=variation===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.X?referenceRect[len]:popperRect[len],maxLen=variation===_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.X?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis:minLen-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis:maxLen+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=null!=(_offsetModifierState$=null==offsetModifierState?void 0:offsetModifierState[mainAxis])?_offsetModifierState$:0,tetherMax=offset+maxOffset-offsetModifierValue,preventedOffset=within(tether?min(min$1,offset+minOffset-offsetModifierValue-clientOffset):min$1,offset,tether?max(max$1,tetherMax):max$1);popperOffsets[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset}if(checkAltAxis){var _offsetModifierState$2,_mainSide="x"===mainAxis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q,_altSide="x"===mainAxis?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W,_offset=popperOffsets[altAxis],_len="y"===altAxis?"height":"width",_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],isOriginSide=-1!==[_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q].indexOf(basePlacement),_offsetModifierValue=null!=(_offsetModifierState$2=null==offsetModifierState?void 0:offsetModifierState[altAxis])?_offsetModifierState$2:0,_tetherMin=isOriginSide?_min:_offset-referenceRect[_len]-popperRect[_len]-_offsetModifierValue+normalizedTetherOffsetValue.altAxis,_tetherMax=isOriginSide?_offset+referenceRect[_len]+popperRect[_len]-_offsetModifierValue-normalizedTetherOffsetValue.altAxis:_max,_preventedOffset=tether&&isOriginSide?function withinMaxClamp(min,value,max){var v=within(min,value,max);return v>max?max:v}(_tetherMin,_offset,_tetherMax):within(tether?_tetherMin:_min,_offset,tether?_tetherMax:_max);popperOffsets[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}state.modifiersData[name]=data}},requiresIfExists:["offset"]};function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&function isElementScaled(element){var rect=element.getBoundingClientRect(),scaleX=round(rect.width)/element.offsetWidth||1,scaleY=round(rect.height)/element.offsetHeight||1;return 1!==scaleX||1!==scaleY}(offsetParent),documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent,!0)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function order(modifiers){var map=new Map,visited=new Set,result=[];function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||sort(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function createPopper(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference,popper:popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state:state,setOptions:function setOptions(setOptionsAction){var options="function"==typeof setOptionsAction?setOptionsAction(state.options):setOptionsAction;cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.V.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options=void 0===_ref3$options?{}:_ref3$options,effect=_ref3.effect;if("function"==typeof effect){var cleanupFn=effect({state:state,name:name,instance:instance,options:options}),noopFn=function noopFn(){};effectCleanupFns.push(cleanupFn||noopFn)}}))}(),instance.update()},forceUpdate:function forceUpdate(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,popper=_state$elements.popper;if(areValidElements(reference,popper)){state.rects={reference:getCompositeRect(reference,getOffsetParent(popper),"fixed"===state.options.strategy),popper:getLayoutRect(popper)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0}));0===allowedPlacements.length&&(allowedPlacements=placements$1);var overflows=allowedPlacements.reduce((function(acc,placement){return acc[placement]=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding})[getBasePlacement(placement)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding,flipVariations:flipVariations,allowedAutoPlacements:allowedAutoPlacements}):placement)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,altBoundary:altBoundary,padding:padding}),mainVariationSide=isVertical?isStartVariation?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.W:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Q:isStartVariation?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.M:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.Y;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function _loop(_i){var fittingPlacement=placements.find((function(placement){var checks=checksMap.get(placement);if(checks)return checks.slice(0,_i).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},preventOverflow$1,arrow$1,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets:referenceClippingOffsets,popperEscapeOffsets:popperEscapeOffsets,isReferenceHidden:isReferenceHidden,hasPopperEscaped:hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]});function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}var ManagerReferenceNodeContext=react__WEBPACK_IMPORTED_MODULE_35__.createContext(),ManagerReferenceNodeSetterContext=react__WEBPACK_IMPORTED_MODULE_35__.createContext();function Manager(_ref){var children=_ref.children,_React$useState=react__WEBPACK_IMPORTED_MODULE_35__.useState(null),referenceNode=_React$useState[0],setReferenceNode=_React$useState[1],hasUnmounted=react__WEBPACK_IMPORTED_MODULE_35__.useRef(!1);react__WEBPACK_IMPORTED_MODULE_35__.useEffect((function(){return function(){hasUnmounted.current=!0}}),[]);var handleSetReferenceNode=react__WEBPACK_IMPORTED_MODULE_35__.useCallback((function(node){hasUnmounted.current||setReferenceNode(node)}),[]);return react__WEBPACK_IMPORTED_MODULE_35__.createElement(ManagerReferenceNodeContext.Provider,{value:referenceNode},react__WEBPACK_IMPORTED_MODULE_35__.createElement(ManagerReferenceNodeSetterContext.Provider,{value:handleSetReferenceNode},children))}var unwrapArray=function unwrapArray(arg){return Array.isArray(arg)?arg[0]:arg},safeInvoke=function safeInvoke(fn){if("function"==typeof fn){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef$1=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react__WEBPACK_IMPORTED_MODULE_35__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_35__.useEffect,hasElementType="undefined"!=typeof Element,hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==_typeof(a)&&"object"==_typeof(b)){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}var reactFastCompare=function isEqual(a,b){try{return equal(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}},EMPTY_MODIFIERS$1=[],NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react__WEBPACK_IMPORTED_MODULE_35__.useContext(ManagerReferenceNodeContext),_React$useState=react__WEBPACK_IMPORTED_MODULE_35__.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react__WEBPACK_IMPORTED_MODULE_35__.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react__WEBPACK_IMPORTED_MODULE_35__.useEffect((function(){setRef$1(innerRef,popperElement)}),[innerRef,popperElement]);var options=react__WEBPACK_IMPORTED_MODULE_35__.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react__WEBPACK_IMPORTED_MODULE_35__.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS$1},_React$useState=react__WEBPACK_IMPORTED_MODULE_35__.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react__WEBPACK_IMPORTED_MODULE_35__.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);setState({styles:fromEntries(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state.attributes[element]]})))})},requires:["computeStyles"]}}),[]),popperOptions=react__WEBPACK_IMPORTED_MODULE_35__.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return reactFastCompare(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react__WEBPACK_IMPORTED_MODULE_35__.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react__WEBPACK_IMPORTED_MODULE_35__.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}var warning=function warning(){},warning_1=warning;function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react__WEBPACK_IMPORTED_MODULE_35__.useContext(ManagerReferenceNodeSetterContext),refHandler=react__WEBPACK_IMPORTED_MODULE_35__.useCallback((function(node){setRef$1(innerRef,node),safeInvoke(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react__WEBPACK_IMPORTED_MODULE_35__.useEffect((function(){return function(){return setRef$1(innerRef,null)}})),react__WEBPACK_IMPORTED_MODULE_35__.useEffect((function(){warning_1(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),unwrapArray(children)({ref:refHandler})}var TooltipContext=react__WEBPACK_IMPORTED_MODULE_35___default.a.createContext({}),callAll=function callAll(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return fns.forEach((function(fn){return fn&&fn.apply(void 0,args)}))}},canUseDOM=function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},Tooltip$1=function(_Component){function Tooltip(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).observer=void 0,_this.tooltipRef=void 0,_this.handleOutsideClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideClickHandler=_this.context.parentOutsideClickHandler,_this$props=_this.props,hideTooltip=_this$props.hideTooltip;(0,_this$props.clearScheduled)(),hideTooltip(),parentOutsideClickHandler&&parentOutsideClickHandler(event)}},_this.handleOutsideRightClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideRightClickHandler=_this.context.parentOutsideRightClickHandler,_this$props2=_this.props,hideTooltip=_this$props2.hideTooltip;(0,_this$props2.clearScheduled)(),hideTooltip(),parentOutsideRightClickHandler&&parentOutsideRightClickHandler(event)}},_this.addOutsideClickHandler=function(){document.body.addEventListener("touchend",_this.handleOutsideClick),document.body.addEventListener("click",_this.handleOutsideClick)},_this.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",_this.handleOutsideClick),document.body.removeEventListener("click",_this.handleOutsideClick)},_this.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",_this.handleOutsideRightClick)},_this.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",_this.handleOutsideRightClick)},_this.getTooltipRef=function(node){_this.tooltipRef=node,function setRef(ref,node){if("function"==typeof ref)return ref(node);null!=ref&&(ref.current=node)}(_this.props.innerRef,node)},_this.getArrowProps=function(props){return void 0===props&&(props={}),Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({},props,{style:Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({},props.style,_this.props.arrowProps.style)})},_this.getTooltipProps=function(props){return void 0===props&&(props={}),Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({},props,_this.isTriggeredBy("hover")&&{onMouseEnter:callAll(_this.props.clearScheduled,props.onMouseEnter),onMouseLeave:callAll(_this.props.hideTooltip,props.onMouseLeave)},{style:Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({},props.style,_this.props.style)})},_this.contextValue={isParentNoneTriggered:"none"===_this.props.trigger,addParentOutsideClickHandler:_this.addOutsideClickHandler,addParentOutsideRightClickHandler:_this.addOutsideRightClickHandler,parentOutsideClickHandler:_this.handleOutsideClick,parentOutsideRightClickHandler:_this.handleOutsideRightClick,removeParentOutsideClickHandler:_this.removeOutsideClickHandler,removeParentOutsideRightClickHandler:_this.removeOutsideRightClickHandler},_this}_inheritsLoose(Tooltip,_Component);var _proto=Tooltip.prototype;return _proto.componentDidMount=function componentDidMount(){var _this2=this;if((this.observer=new MutationObserver((function(){_this2.props.update()}))).observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context=this.context,removeParentOutsideClickHandler=_this$context.removeParentOutsideClickHandler,removeParentOutsideRightClickHandler=_this$context.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),removeParentOutsideClickHandler&&removeParentOutsideClickHandler(),removeParentOutsideRightClickHandler&&removeParentOutsideRightClickHandler()}},_proto.componentDidUpdate=function componentDidUpdate(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},_proto.componentWillUnmount=function componentWillUnmount(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context2=this.context,isParentNoneTriggered=_this$context2.isParentNoneTriggered,addParentOutsideClickHandler=_this$context2.addParentOutsideClickHandler,addParentOutsideRightClickHandler=_this$context2.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!isParentNoneTriggered&&addParentOutsideClickHandler&&addParentOutsideClickHandler(),!isParentNoneTriggered&&addParentOutsideRightClickHandler&&addParentOutsideRightClickHandler()}},_proto.render=function render(){var _this$props3=this.props,arrowProps=_this$props3.arrowProps,placement=_this$props3.placement,tooltip=_this$props3.tooltip;return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(TooltipContext.Provider,{value:this.contextValue},tooltip({arrowRef:arrowProps.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:placement,tooltipRef:this.getTooltipRef}))},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},Tooltip}(react__WEBPACK_IMPORTED_MODULE_35__.Component);Tooltip$1.contextType=TooltipContext;var TooltipTrigger=function(_Component){function TooltipTrigger(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).state={tooltipShown:_this.props.defaultTooltipShown},_this.hideTimeout=void 0,_this.showTimeout=void 0,_this.popperOffset=void 0,_this.setTooltipState=function(state){var cb=function cb(){return _this.props.onVisibilityChange(state.tooltipShown)};_this.isControlled()?cb():_this.setState(state,cb)},_this.clearScheduled=function(){clearTimeout(_this.hideTimeout),clearTimeout(_this.showTimeout)},_this.showTooltip=function(_ref){var pageX=_ref.pageX,pageY=_ref.pageY;_this.clearScheduled();var state={tooltipShown:!0};_this.props.followCursor&&(state=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({},state,{pageX:pageX,pageY:pageY})),_this.showTimeout=window.setTimeout((function(){return _this.setTooltipState(state)}),_this.props.delayShow)},_this.hideTooltip=function(){_this.clearScheduled(),_this.hideTimeout=window.setTimeout((function(){return _this.setTooltipState({tooltipShown:!1})}),_this.props.delayHide)},_this.toggleTooltip=function(_ref2){var pageX=_ref2.pageX,pageY=_ref2.pageY,action=_this.getState()?"hideTooltip":"showTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.clickToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.contextMenuToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.getTriggerProps=function(props){return void 0===props&&(props={}),Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({},props,_this.isTriggeredBy("click")&&{onClick:callAll(_this.clickToggle,props.onClick),onTouchEnd:callAll(_this.clickToggle,props.onTouchEnd)},_this.isTriggeredBy("right-click")&&{onContextMenu:callAll(_this.contextMenuToggle,props.onContextMenu)},_this.isTriggeredBy("hover")&&Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({onMouseEnter:callAll(_this.showTooltip,props.onMouseEnter),onMouseLeave:callAll(_this.hideTooltip,props.onMouseLeave)},_this.props.followCursor&&{onMouseMove:callAll(_this.showTooltip,props.onMouseMove)}),_this.isTriggeredBy("focus")&&{onFocus:callAll(_this.showTooltip,props.onFocus),onBlur:callAll(_this.hideTooltip,props.onBlur)})},_this}_inheritsLoose(TooltipTrigger,_Component);var _proto=TooltipTrigger.prototype;return _proto.componentWillUnmount=function componentWillUnmount(){this.clearScheduled()},_proto.render=function render(){var _this2=this,_this$props=this.props,children=_this$props.children,tooltip=_this$props.tooltip,placement=_this$props.placement,trigger=_this$props.trigger,getTriggerRef=_this$props.getTriggerRef,modifiers=_this$props.modifiers,closeOnReferenceHidden=_this$props.closeOnReferenceHidden,usePortal=_this$props.usePortal,portalContainer=_this$props.portalContainer,followCursor=_this$props.followCursor,getTooltipRef=_this$props.getTooltipRef,mutationObserverOptions=_this$props.mutationObserverOptions,restProps=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.l)(_this$props,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),popper=react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Popper,Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({innerRef:getTooltipRef,placement:placement,modifiers:[{name:"followCursor",enabled:followCursor,phase:"main",fn:function fn(data){_this2.popperOffset=data.state.rects.popper}}].concat(modifiers)},restProps),(function(_ref3){var ref=_ref3.ref,style=_ref3.style,placement=_ref3.placement,arrowProps=_ref3.arrowProps,isReferenceHidden=_ref3.isReferenceHidden,update=_ref3.update;if(followCursor&&_this2.popperOffset){var _this2$state=_this2.state,pageX=_this2$state.pageX,pageY=_this2$state.pageY,_this2$popperOffset=_this2.popperOffset,width=_this2$popperOffset.width,height=_this2$popperOffset.height,x=pageX+width>window.pageXOffset+document.body.offsetWidth?pageX-width:pageX,y=pageY+height>window.pageYOffset+document.body.offsetHeight?pageY-height:pageY;style.transform="translate3d("+x+"px, "+y+"px, 0"}return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Tooltip$1,Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.m)({arrowProps:arrowProps,closeOnReferenceHidden:closeOnReferenceHidden,isReferenceHidden:isReferenceHidden,placement:placement,update:update,style:style,tooltip:tooltip,trigger:trigger,mutationObserverOptions:mutationObserverOptions},{clearScheduled:_this2.clearScheduled,hideTooltip:_this2.hideTooltip,innerRef:ref}))}));return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Manager,null,react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Reference,{innerRef:getTriggerRef},(function(_ref4){var ref=_ref4.ref;return children({getTriggerProps:_this2.getTriggerProps,triggerRef:ref})})),this.getState()&&(usePortal?Object(react_dom__WEBPACK_IMPORTED_MODULE_37__.createPortal)(popper,portalContainer):popper))},_proto.isControlled=function isControlled(){return void 0!==this.props.tooltipShown},_proto.getState=function getState(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},TooltipTrigger}(react__WEBPACK_IMPORTED_MODULE_35__.Component);TooltipTrigger.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function noop(){},placement:"right",portalContainer:canUseDOM()?document.body:null,trigger:"hover",usePortal:canUseDOM(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]};var TooltipTrigger$1=TooltipTrigger,match=memoizerific__WEBPACK_IMPORTED_MODULE_38___default()(1e3)((function(requests,actual,value){var fallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return actual.split("-")[0]===requests?value:fallback})),Arrow=_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.i.div({position:"absolute",borderStyle:"solid"},(function(_ref6){var placement=_ref6.placement,x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:"translate3d(".concat(x,"px, ").concat(y,"px, 0px)")}}),(function(_ref7){var theme=_ref7.theme,color=_ref7.color,placement=_ref7.placement;return{bottom:"".concat(match("top",placement,-8,"auto"),"px"),top:"".concat(match("bottom",placement,-8,"auto"),"px"),right:"".concat(match("left",placement,-8,"auto"),"px"),left:"".concat(match("right",placement,-8,"auto"),"px"),borderBottomWidth:"".concat(match("top",placement,"0",8),"px"),borderTopWidth:"".concat(match("bottom",placement,"0",8),"px"),borderRightWidth:"".concat(match("left",placement,"0",8),"px"),borderLeftWidth:"".concat(match("right",placement,"0",8),"px"),borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.h)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.d)(theme.background.app),"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.h)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.d)(theme.background.app),"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.h)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.d)(theme.background.app),"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.h)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.d)(theme.background.app),"transparent")}})),Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.i.div((function(_ref8){return{display:_ref8.hidden?"none":"inline-block",zIndex:2147483647}}),(function(_ref9){var theme=_ref9.theme,color=_ref9.color;return _ref9.hasChrome?{background:theme.color[color]||color||"light"===theme.base?Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.h)(theme.background.app):Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.d)(theme.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}})),Tooltip=function Tooltip(_a){var placement=_a.placement,hasChrome=_a.hasChrome,children=_a.children,arrowProps=_a.arrowProps,tooltipRef=_a.tooltipRef,arrowRef=_a.arrowRef,color=_a.color,props=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.I)(_a,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Wrapper,Object.assign({hasChrome:hasChrome,placement:placement,ref:tooltipRef},props,{color:color}),hasChrome&&react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Arrow,Object.assign({placement:placement,ref:arrowRef},arrowProps,{color:color})),children)};Tooltip.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var document$1=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.bb.document,TargetContainer=_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.i.div(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=_storybook_theming__WEBPACK_IMPORTED_MODULE_36__.i.g(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltipPure=function WithTooltipPure(_a){var svg=_a.svg,trigger=_a.trigger,placement=(_a.closeOnClick,_a.placement),modifiers=_a.modifiers,hasChrome=_a.hasChrome,_tooltip=_a.tooltip,children=_a.children,tooltipShown=_a.tooltipShown,onVisibilityChange=_a.onVisibilityChange,props=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.I)(_a,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(TooltipTrigger$1,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref10){var getTooltipProps=_ref10.getTooltipProps,getArrowProps=_ref10.getArrowProps,tooltipRef=_ref10.tooltipRef,arrowRef=_ref10.arrowRef,tooltipPlacement=_ref10.placement;return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Tooltip,Object.assign({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref11){var getTriggerProps=_ref11.getTriggerProps,triggerRef=_ref11.triggerRef;return react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(Container,Object.assign({ref:triggerRef},getTriggerProps(),props),children)}))};WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithToolTipState=function WithToolTipState(_a){var startOpen=_a.startOpen,onChange=_a.onVisibilityChange,rest=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_34__.I)(_a,["startOpen","onVisibilityChange"]),_useState2=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_35__.useState)(startOpen||!1),2),tooltipShown=_useState2[0],setTooltipShown=_useState2[1],onVisibilityChange=Object(react__WEBPACK_IMPORTED_MODULE_35__.useCallback)((function(visibility){onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return Object(react__WEBPACK_IMPORTED_MODULE_35__.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};document$1.addEventListener("keydown",hide,!1);var iframes=Array.from(document$1.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){document$1.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),react__WEBPACK_IMPORTED_MODULE_35___default.a.createElement(WithTooltipPure,Object.assign({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))}},"./node_modules/core-js/modules/es.regexp.flags.js":function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),defineBuiltInAccessor=__webpack_require__("./node_modules/core-js/internals/define-built-in-accessor.js"),regExpFlags=__webpack_require__("./node_modules/core-js/internals/regexp-flags.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),RegExp=global.RegExp,RegExpPrototype=RegExp.prototype;DESCRIPTORS&&fails((function(){var INDICES_SUPPORT=!0;try{RegExp(".","d")}catch(error){INDICES_SUPPORT=!1}var O={},calls="",expected=INDICES_SUPPORT?"dgimsy":"gimsy",addGetter=function(key,chr){Object.defineProperty(O,key,{get:function(){return calls+=chr,!0}})},pairs={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var key in INDICES_SUPPORT&&(pairs.hasIndices="d"),pairs)addGetter(key,pairs[key]);return Object.getOwnPropertyDescriptor(RegExpPrototype,"flags").get.call(O)!==expected||calls!==expected}))&&defineBuiltInAccessor(RegExpPrototype,"flags",{configurable:!0,get:regExpFlags})}}]); \ No newline at end of file diff --git a/3.4293b3a0.iframe.bundle.js b/3.4293b3a0.iframe.bundle.js new file mode 100644 index 000000000..e8dec8535 --- /dev/null +++ b/3.4293b3a0.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"./node_modules/@storybook/preview-web/dist/esm/renderDocs.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"renderDocs",(function(){return renderDocs})),__webpack_require__.d(__webpack_exports__,"unmountDocs",(function(){return unmountDocs}));__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js");var react=__webpack_require__("./node_modules/react/index.js"),react_default=__webpack_require__.n(react),react_dom=__webpack_require__("./node_modules/react-dom/index.js"),react_dom_default=__webpack_require__.n(react_dom),wrapper={fontSize:"14px",letterSpacing:"0.2px",margin:"10px 0"},main={margin:"auto",padding:30,borderRadius:10,background:"rgba(0,0,0,0.03)"},heading={textAlign:"center"},NoDocs_NoDocs=function NoDocs(){return react_default.a.createElement("div",{style:wrapper,className:"sb-nodocs sb-wrapper"},react_default.a.createElement("div",{style:main},react_default.a.createElement("h1",{style:heading},"No Docs"),react_default.a.createElement("p",null,"Sorry, but there are no docs for the selected story. To add them, set the story's ",react_default.a.createElement("code",null,"docs")," parameter. If you think this is an error:"),react_default.a.createElement("ul",null,react_default.a.createElement("li",null,"Please check the story definition."),react_default.a.createElement("li",null,"Please check the Storybook config."),react_default.a.createElement("li",null,"Try reloading the page.")),react_default.a.createElement("p",null,"If the problem persists, check the browser console, or the terminal you've run Storybook from.")))};function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function renderDocs(story,docsContext,element,callback){return function renderDocsAsync(_x,_x2,_x3){return _renderDocsAsync.apply(this,arguments)}(story,docsContext,element).then(callback)}function _renderDocsAsync(){return _renderDocsAsync=function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(regeneratorRuntime.mark((function _callee(story,docsContext,element){var _docs$getContainer,_docs$getPage,docs,DocsContainer,Page,docsElement;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(!(null!=(docs=story.parameters.docs)&&docs.getPage||null!=docs&&docs.page)||(null!=docs&&docs.getContainer||null!=docs&&docs.container)){_context.next=3;break}throw new Error("No `docs.container` set, did you run `addon-docs/preset`?");case 3:if(_context.t1=docs.container,_context.t1){_context.next=8;break}return _context.next=7,null===(_docs$getContainer=docs.getContainer)||void 0===_docs$getContainer?void 0:_docs$getContainer.call(docs);case 7:_context.t1=_context.sent;case 8:if(_context.t0=_context.t1,_context.t0){_context.next=11;break}_context.t0=function(_ref){var children=_ref.children;return react_default.a.createElement(react_default.a.Fragment,null,children)};case 11:if(DocsContainer=_context.t0,_context.t3=docs.page,_context.t3){_context.next=17;break}return _context.next=16,null===(_docs$getPage=docs.getPage)||void 0===_docs$getPage?void 0:_docs$getPage.call(docs);case 16:_context.t3=_context.sent;case 17:if(_context.t2=_context.t3,_context.t2){_context.next=20;break}_context.t2=NoDocs_NoDocs;case 20:return Page=_context.t2,docsElement=react_default.a.createElement(DocsContainer,{key:story.componentId,context:docsContext},react_default.a.createElement(Page,null)),_context.next=24,new Promise((function(resolve){react_dom_default.a.render(docsElement,element,resolve)}));case 24:case"end":return _context.stop()}}),_callee)}))),_renderDocsAsync.apply(this,arguments)}function unmountDocs(element){react_dom_default.a.unmountComponentAtNode(element)}NoDocs_NoDocs.displayName="NoDocs"}}]); \ No newline at end of file diff --git a/5.3636e952a31b18558f5e.manager.bundle.js b/5.3636e952a31b18558f5e.manager.bundle.js new file mode 100644 index 000000000..752ecb068 --- /dev/null +++ b/5.3636e952a31b18558f5e.manager.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 5.3636e952a31b18558f5e.manager.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{848:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"formatter",(function(){return formatter}));__webpack_require__(75),__webpack_require__(178),__webpack_require__(22),__webpack_require__(13),__webpack_require__(176),__webpack_require__(7),__webpack_require__(18),__webpack_require__(15),__webpack_require__(74),__webpack_require__(29),__webpack_require__(16),__webpack_require__(93),__webpack_require__(104),__webpack_require__(23),__webpack_require__(106),__webpack_require__(33),__webpack_require__(36),__webpack_require__(42),__webpack_require__(61),__webpack_require__(94),__webpack_require__(95),__webpack_require__(47),__webpack_require__(123),__webpack_require__(143),__webpack_require__(459),__webpack_require__(144),__webpack_require__(860),__webpack_require__(54),__webpack_require__(458),__webpack_require__(46),__webpack_require__(231),__webpack_require__(113),__webpack_require__(48),__webpack_require__(27),__webpack_require__(65),__webpack_require__(59),__webpack_require__(85),__webpack_require__(222),__webpack_require__(14),__webpack_require__(19),__webpack_require__(235),__webpack_require__(855),__webpack_require__(306),__webpack_require__(20),__webpack_require__(861),__webpack_require__(26),__webpack_require__(317),__webpack_require__(318),__webpack_require__(862),__webpack_require__(868),__webpack_require__(870),__webpack_require__(871),__webpack_require__(872),__webpack_require__(875),__webpack_require__(876),__webpack_require__(877),__webpack_require__(878),__webpack_require__(879),__webpack_require__(880),__webpack_require__(881),__webpack_require__(882),__webpack_require__(884),__webpack_require__(885),__webpack_require__(886),__webpack_require__(887),__webpack_require__(888),__webpack_require__(889),__webpack_require__(890),__webpack_require__(891),__webpack_require__(892),__webpack_require__(893),__webpack_require__(894),__webpack_require__(308),__webpack_require__(223),__webpack_require__(449),__webpack_require__(895),__webpack_require__(450),__webpack_require__(305),__webpack_require__(149),__webpack_require__(230),__webpack_require__(896),__webpack_require__(897),__webpack_require__(228),__webpack_require__(320),__webpack_require__(97),__webpack_require__(898),__webpack_require__(319),__webpack_require__(900),__webpack_require__(127),__webpack_require__(901);var memoizerific__WEBPACK_IMPORTED_MODULE_90__=__webpack_require__(24),memoizerific__WEBPACK_IMPORTED_MODULE_90___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_90__),_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__=__webpack_require__(2);__webpack_require__(0),__webpack_require__(51),__webpack_require__(83);function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function _wrapNativeSuper(Class){if(null===Class||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class))return Class;if("function"!=typeof Class)throw new TypeError("Super expression must either be null or a function");if(void 0!==_cache){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return _construct(Class,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,Class)},_wrapNativeSuper(Class)}function _construct(Parent,args,Class){return _construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance},_construct.apply(null,arguments)}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest()}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function _get(target,property,receiver){var base=function _superPropBase(object,property){for(;!Object.prototype.hasOwnProperty.call(object,property)&&null!==(object=_getPrototypeOf(object)););return object}(target,property);if(base){var desc=Object.getOwnPropertyDescriptor(base,property);return desc.get?desc.get.call(arguments.length<3?target:receiver):desc.value}},_get.apply(this,arguments)}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e217){throw _e217},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 err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e218){didErr=!0,err=_e218},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||function _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.")}()}function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _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.")}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=r,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||r(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})),n=function(){function n(e,t,r){_classCallCheck(this,n),this.filePath=e,this.name=t,this.members=r}return _createClass(n,[{key:"assertNoMembers",value:function assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),n}(),s=n,i=function(){function i(){_classCallCheck(this,i),this.cache=new Map}return _createClass(i,[{key:"get",value:function get(e,t,r){var s=(r=r||[]).length?".".concat(r.join(".")):"",_i2='"'.concat(e,'".').concat(t).concat(s),o=this.cache.get(_i2);return o||(o=new n(e,t,r),this.cache.set(_i2,o)),o}}]),i}(),o=Object.defineProperty({StaticSymbol:s,StaticSymbolCache:i},"__esModule",{value:!0}),a=/-+([a-z0-9])/g,u=function u(e){return e.replace(a,(function(){for(var _len=arguments.length,e=new Array(_len),_key=0;_key<_len;_key++)e[_key]=arguments[_key];return e[1].toUpperCase()}))},c=function c(e,t){return D(e,":",t)},l=function l(e,t){return D(e,".",t)};function D(e,t,r){var n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function p(e,t,r){return Array.isArray(e)?t.visitArray(e,r):"object"==_typeof(n=e)&&null!==n&&Object.getPrototypeOf(n)===v?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r);var n}var h=p,d=function d(e){return null!=e},m=function m(e){return void 0===e?null:e},f=function(){function f(){_classCallCheck(this,f)}return _createClass(f,[{key:"visitArray",value:function visitArray(e,t){var _this=this;return e.map((function(e){return p(e,_this,t)}))}},{key:"visitStringMap",value:function visitStringMap(e,t){var _this2=this,r={};return Object.keys(e).forEach((function(n){r[n]=p(e[n],_this2,t)})),r}},{key:"visitPrimitive",value:function visitPrimitive(e,t){return e}},{key:"visitOther",value:function visitOther(e,t){return e}}]),f}(),g={assertSync:function assertSync(e){if(N(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function then(e,t){return N(e)?e.then(t):t(e)},all:function all(e){return e.some(N)?Promise.all(e):e}},E=function E(e){throw new Error("Internal Error: ".concat(e))},C=function C(e,t){var r=Error(e);return r[T]=!0,t&&(r[_]=t),r},T="ngSyntaxError",_="ngParseErrors",S=function S(e){return e[T]},y=function y(e){return e[_]||[]},F=function F(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},v=Object.getPrototypeOf({}),A=function A(e){for(var t="",_r2=0;_r2=55296&&_n2<=56319&&e.length>_r2+1){var _t2=e.charCodeAt(_r2+1);_t2>=56320&&_t2<=57343&&(_r2++,_n2=(_n2-55296<<10)+_t2-56320+65536)}_n2<=127?t+=String.fromCharCode(_n2):_n2<=2047?t+=String.fromCharCode(_n2>>6&31|192,63&_n2|128):_n2<=65535?t+=String.fromCharCode(_n2>>12|224,_n2>>6&63|128,63&_n2|128):_n2<=2097151&&(t+=String.fromCharCode(_n2>>18&7|240,_n2>>12&63|128,_n2>>6&63|128,63&_n2|128))}return t},b=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";var r=t.toString();if(null==r)return""+r;var n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},w=function w(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e};function N(e){return!!e&&"function"==typeof e.then}var k=N,x=_createClass((function x(e){_classCallCheck(this,x),this.full=e;var t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")})),I="undefined"!=typeof window&&window,P="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,R=void 0!==e&&e||I||P,O=Object.defineProperty({dashCaseToCamelCase:u,splitAtColon:c,splitAtPeriod:l,visitValue:h,isDefined:d,noUndefined:m,ValueTransformer:f,SyncAsync:g,error:E,syntaxError:C,isSyntaxError:S,getParseErrors:y,escapeRegExp:F,utf8Encode:A,stringify:b,resolveForwardRef:w,isPromise:k,Version:x,global:R},"__esModule",{value:!0}),L=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function n(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=n;var a,s=0;function i(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof o.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;var r=O.stringify(t);return r.indexOf("(")>=0?(r="anonymous_".concat(s++),t.__anonymousType=r):r=n(r),r}t.identifierName=i,t.identifierModuleUrl=function(e){var t=e.reference;return t instanceof o.StaticSymbol?t.filePath:"./".concat(O.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}))},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(a=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?n(e.value):i(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},t.CompileStylesheetMetadata=function(){function _class(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_ref.moduleUrl,t=_ref.styles,r=_ref.styleUrls;_classCallCheck(this,_class),this.moduleUrl=e||null,this.styles=c(t),this.styleUrls=c(r)}return _createClass(_class)}(),t.CompileTemplateMetadata=function(){function _class2(_ref2){var e=_ref2.encapsulation,t=_ref2.template,r=_ref2.templateUrl,n=_ref2.htmlAst,s=_ref2.styles,i=_ref2.styleUrls,o=_ref2.externalStylesheets,a=_ref2.animations,u=_ref2.ngContentSelectors,D=_ref2.interpolation,p=_ref2.isInline,h=_ref2.preserveWhitespaces;if(_classCallCheck(this,_class2),this.encapsulation=e,this.template=t,this.templateUrl=r,this.htmlAst=n,this.styles=c(s),this.styleUrls=c(i),this.externalStylesheets=c(o),this.animations=a?l(a):[],this.ngContentSelectors=u||[],D&&2!=D.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=D,this.isInline=p,this.preserveWhitespaces=h}return _createClass(_class2,[{key:"toSummary",value:function toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),_class2}();var u=function(){function u(_ref3){var e=_ref3.isHost,t=_ref3.type,r=_ref3.isComponent,n=_ref3.selector,s=_ref3.exportAs,i=_ref3.changeDetection,o=_ref3.inputs,a=_ref3.outputs,_u2=_ref3.hostListeners,l=_ref3.hostProperties,D=_ref3.hostAttributes,p=_ref3.providers,h=_ref3.viewProviders,d=_ref3.queries,m=_ref3.guards,f=_ref3.viewQueries,g=_ref3.entryComponents,E=_ref3.template,C=_ref3.componentViewType,T=_ref3.rendererType,_=_ref3.componentFactory;_classCallCheck(this,u),this.isHost=!!e,this.type=t,this.isComponent=r,this.selector=n,this.exportAs=s,this.changeDetection=i,this.inputs=o,this.outputs=a,this.hostListeners=_u2,this.hostProperties=l,this.hostAttributes=D,this.providers=c(p),this.viewProviders=c(h),this.queries=c(d),this.guards=m,this.viewQueries=c(f),this.entryComponents=c(g),this.template=E,this.componentViewType=C,this.rendererType=T,this.componentFactory=_}return _createClass(u,[{key:"toSummary",value:function toSummary(){return{summaryKind:a.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function create(_ref4){var e=_ref4.isHost,t=_ref4.type,n=_ref4.isComponent,s=_ref4.selector,i=_ref4.exportAs,o=_ref4.changeDetection,a=_ref4.inputs,c=_ref4.outputs,l=_ref4.host,D=_ref4.providers,p=_ref4.viewProviders,h=_ref4.queries,d=_ref4.guards,m=_ref4.viewQueries,f=_ref4.entryComponents,g=_ref4.template,E=_ref4.componentViewType,C=_ref4.rendererType,T=_ref4.componentFactory,_={},S={},y={};null!=l&&Object.keys(l).forEach((function(e){var t=l[e],n=e.match(r);null===n?y[e]=t:null!=n[1]?S[n[1]]=t:null!=n[2]&&(_[n[2]]=t)}));var F={};null!=a&&a.forEach((function(e){var t=O.splitAtColon(e,[e,e]);F[t[0]]=t[1]}));var v={};return null!=c&&c.forEach((function(e){var t=O.splitAtColon(e,[e,e]);v[t[0]]=t[1]})),new u({isHost:e,type:t,isComponent:!!n,selector:s,exportAs:i,changeDetection:o,inputs:F,outputs:v,hostListeners:_,hostProperties:S,hostAttributes:y,providers:D,viewProviders:p,queries:h,guards:d,viewQueries:m,entryComponents:f,template:g,componentViewType:E,rendererType:C,componentFactory:T})}}]),u}();function c(e){return e||[]}function l(e){return e.reduce((function(e,t){var r=Array.isArray(t)?l(t):t;return e.concat(r)}),[])}function D(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=u,t.CompilePipeMetadata=function(){function _class3(_ref5){var e=_ref5.type,t=_ref5.name,r=_ref5.pure;_classCallCheck(this,_class3),this.type=e,this.name=t,this.pure=!!r}return _createClass(_class3,[{key:"toSummary",value:function toSummary(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),_class3}(),t.CompileShallowModuleMetadata=function(){function _class4(){_classCallCheck(this,_class4)}return _createClass(_class4)}(),t.CompileNgModuleMetadata=function(){function _class5(_ref6){var e=_ref6.type,t=_ref6.providers,r=_ref6.declaredDirectives,n=_ref6.exportedDirectives,s=_ref6.declaredPipes,i=_ref6.exportedPipes,o=_ref6.entryComponents,a=_ref6.bootstrapComponents,u=_ref6.importedModules,l=_ref6.exportedModules,D=_ref6.schemas,p=_ref6.transitiveModule,h=_ref6.id;_classCallCheck(this,_class5),this.type=e||null,this.declaredDirectives=c(r),this.exportedDirectives=c(n),this.declaredPipes=c(s),this.exportedPipes=c(i),this.providers=c(t),this.entryComponents=c(o),this.bootstrapComponents=c(a),this.importedModules=c(u),this.exportedModules=c(l),this.schemas=c(D),this.id=h||null,this.transitiveModule=p||null}return _createClass(_class5,[{key:"toSummary",value:function toSummary(){var e=this.transitiveModule;return{summaryKind:a.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}]),_class5}(),t.TransitiveCompileNgModuleMetadata=function(){function _class6(){_classCallCheck(this,_class6),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return _createClass(_class6,[{key:"addProvider",value:function addProvider(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),_class6}(),t.ProviderMeta=function(){function _class7(e,_ref7){var t=_ref7.useClass,r=_ref7.useValue,n=_ref7.useExisting,s=_ref7.useFactory,i=_ref7.deps,o=_ref7.multi;_classCallCheck(this,_class7),this.token=e,this.useClass=t||null,this.useValue=r,this.useExisting=n,this.useFactory=s||null,this.dependencies=i||null,this.multi=!!o}return _createClass(_class7)}(),t.flatten=l,t.templateSourceUrl=function(e,t,r){var n;return n=r.isInline?t.type.reference instanceof o.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):r.templateUrl,t.type.reference instanceof o.StaticSymbol?n:D(n)},t.sharedStylesheetJitUrl=function(e,t){var r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return D("css/".concat(t).concat(n,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return D("".concat(i(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return D("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"))}})),B=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function n(e,t,r,_n3){_classCallCheck(this,n),this.file=e,this.offset=t,this.line=r,this.col=_n3}return _createClass(n,[{key:"toString",value:function toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function moveBy(e){for(var t=this.file.content,s=t.length,i=this.offset,o=this.line,a=this.col;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==r.$LF){o--;var _e2=t.substr(0,i-1).lastIndexOf(String.fromCharCode(r.$LF));a=_e2>0?i-_e2:i}else a--;for(;i0;){var _n6=t.charCodeAt(i);i++,e--,_n6==r.$LF?(o++,a=0):a++}return new n(this.file,i,o,a)}},{key:"getContext",value:function getContext(e,t){var r=this.file.content,_n5=this.offset;if(null!=_n5){_n5>r.length-1&&(_n5=r.length-1);for(var _s2=_n5,_i3=0,_o2=0;_i30&&(_i3++,"\n"!=r[--_n5]||++_o2!=t););for(_i3=0,_o2=0;_i32&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,i),this.start=e,this.end=t,this.details=r}return _createClass(i,[{key:"toString",value:function toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),i}();t.ParseSourceSpan=i,t.EMPTY_PARSE_LOCATION=new n(new s("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new i(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(o=t.ParseErrorLevel||(t.ParseErrorLevel={})),t.ParseError=function(){function _class8(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.ERROR;_classCallCheck(this,_class8),this.span=e,this.msg=t,this.level=r}return _createClass(_class8,[{key:"contextualMessage",value:function contextualMessage(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(o[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function toString(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),_class8}(),t.typeSourceSpan=function(e,t){var r=L.identifierModuleUrl(t),o=null!=r?"in ".concat(e," ").concat(L.identifierName(t)," in ").concat(r):"in ".concat(e," ").concat(L.identifierName(t)),a=new s("",o);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,r){var o="in ".concat(e," ").concat(t," in ").concat(r),a=new s("",o);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))}})),q=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?[\\S\\s]*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)"),$=function $(e){var t=e.match(q);if(!t)return{content:e};var _t$groups=t.groups,r=_t$groups.startDelimiter,n=_t$groups.language,_t$groups$value=_t$groups.value,s=void 0===_t$groups$value?"":_t$groups$value,i=_t$groups.endDelimiter,o=n.trim()||"yaml";if("+++"===r&&(o="toml"),"yaml"!==o&&r!==i)return{content:e};var a=_slicedToArray(t,1)[0];return{frontMatter:{type:"front-matter",lang:o,value:s,startDelimiter:r,endDelimiter:i,raw:a.replace(/\n$/,"")},content:a.replace(/[^\n]/g," ")+e.slice(a.length)}},M=function M(e){return e[e.length-1]},U=function U(e,t){var r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r},V=function V(e){return"string"==typeof e?e.replace(function(){var _ref8$onlyFirst=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onlyFirst,e=void 0!==_ref8$onlyFirst&&_ref8$onlyFirst,t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),""):e},G=function G(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},j=G,X=G;j.default=X;var H=function H(e){if("string"!=typeof e||0===e.length)return 0;if(0===(e=V(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");for(var t=0,_r3=0;_r3=127&&_n7<=159||_n7>=768&&_n7<=879||(_n7>65535&&_r3++,t+=j(_n7)?2:1)}return t},z=H,W=H;z.default=W;var Y=function Y(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function Q(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var J=function J(e){for(var t=-1,r=null==e?0:e.length,n={};++t1)for(var r=1;r)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(s[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(s[i.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:".concat(s[i.PRERELEASE],")?").concat(s[i.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(s[i.PRERELEASELOOSE],")?").concat(s[i.BUILD],"?")+")?)?"),a("XRANGE","^".concat(s[i.GTLT],"\\s*").concat(s[i.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(s[i.GTLT],"\\s*").concat(s[i.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",s[i.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(s[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(s[i.LONETILDE]).concat(s[i.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(s[i.LONETILDE]).concat(s[i.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(s[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(s[i.LONECARET]).concat(s[i.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(s[i.LONECARET]).concat(s[i.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(s[i.GTLT],"\\s*(").concat(s[i.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(s[i.GTLT],"\\s*(").concat(s[i.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(s[i.GTLT],"\\s*(").concat(s[i.LOOSEPLAIN],"|").concat(s[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(s[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(s[i.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(s[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(s[i.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),Ae=["includePrerelease","loose","rtl"],be=function be(e){return e?"object"!=_typeof(e)?{loose:!0}:Ae.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}},we=/^[0-9]+$/,Ne=function Ne(e,t){var r=we.test(e),n=we.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:exe)throw new TypeError("version is longer than ".concat(xe," characters"));ye("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;var r=e.trim().match(t.loose?Pe[Re.LOOSE]:Pe[Re.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Ie||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ie||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ie||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var _t4=+e;if(_t4>=0&&_t4=0;)"number"==typeof this.prerelease[_e3]&&(this.prerelease[_e3]++,_e3=-2);-1===_e3&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),Le}(),Be=Le,qe=function qe(e,t,r){return new Be(e,r).compare(new Be(t,r))},$e=function $e(e,t,r){return qe(e,t,r)<0},He=function He(e,t,r){return qe(e,t,r)>=0},ze="2.3.0",We=t((function(e,t){function r(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{},_ref9$plugins=_ref9.plugins,e=void 0===_ref9$plugins?[]:_ref9$plugins,_ref9$showUnreleased=_ref9.showUnreleased,t=void 0!==_ref9$showUnreleased&&_ref9$showUnreleased,_ref9$showDeprecated=_ref9.showDeprecated,r=void 0!==_ref9$showDeprecated&&_ref9$showDeprecated,_ref9$showInternal=_ref9.showInternal,n=void 0!==_ref9$showInternal&&_ref9$showInternal,s=nt.split("-",1)[0],i=e.reduce((function(e,t){return[].concat(_toConsumableArray(e),_toConsumableArray(t.languages||[]))}),[]).filter(a),o=function(e,t){return Object.entries(e).map((function(_ref10){var _ref11=_slicedToArray(_ref10,2),e=_ref11[0],r=_ref11[1];return Object.assign(_defineProperty({},t,e),r)}))}(Object.assign.apply(Object,[{}].concat(_toConsumableArray(e.map((function(_ref12){return _ref12.options}))),[st])),"name").filter((function(e){return a(e)&&u(e)})).sort((function(e,t){return e.name===t.name?0:e.name=0||(s[r]=e[r]);return s}(e,["cliName","cliCategory","cliDescription"])})).map((function(t){t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(a).sort((function(e,t){return rt.compare(t.since,e.since)}))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((function(e){return a(e)&&u(e)})),"parser"===t.name&&function(e,t,r){var _step,n=new Set(e.choices.map((function(e){return e.value}))),_iterator=_createForOfIteratorHelper(t);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _s3=_step.value;if(_s3.parsers){var _step2,_iterator2=_createForOfIteratorHelper(_s3.parsers);try{var _loop=function _loop(){var t=_step2.value;if(!n.has(t)){n.add(t);var _i4=r.find((function(e){return e.parsers&&e.parsers[t]})),_o3=_s3.name;_i4&&_i4.name&&(_o3+=" (plugin: ".concat(_i4.name,")")),e.choices.push({value:t,description:_o3})}};for(_iterator2.s();!(_step2=_iterator2.n()).done;)_loop()}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}}}catch(err){_iterator.e(err)}finally{_iterator.f()}}(t,i,e));var r=J(e.filter((function(e){return e.defaultOptions&&void 0!==e.defaultOptions[t.name]})).map((function(e){return[e.name,e.defaultOptions[t.name]]})));return Object.assign({},t,{pluginDefaults:r})}));return{languages:i,options:o};function a(e){return t||!("since"in e)||e.since&&rt.gte(s,e.since)}function u(e){return r||!("deprecated"in e)||e.deprecated&&rt.lt(s,e.deprecated)}}},ot=it.getSupportInfo,at=/[^\x20-\x7F]/;function ut(e){return function(t,r,n){var s=n&&n.backwards;if(!1===r)return!1;for(var i=t.length,o=r;o>=0&&o2&&void 0!==arguments[2]?arguments[2]:{},n=lt(e,r.backwards?t-1:t,r);return n!==mt(e,n,r)}function gt(e,t){for(var r=null,n=t;n!==r;)r=n,n=ht(e,n=Dt(e,n)),n=lt(e,n);return!1!==(n=mt(e,n=dt(e,n)))&&ft(e,n)}function Et(e,t){for(var r=null,n=t;n!==r;)r=n,n=mt(e,n=dt(e,n=ht(e,n=lt(e,n))));return n}function Ct(e,t,r){return Et(e,r(t))}function Tt(e,t){for(var n=0,_s4=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;_s4(r.match(o.regex)||[]).length?o.quote:i.quote),a}function St(e,t,r){var n='"'===t?"'":'"',s=e.replace(/\\([\S\s])|(["'])/g,(function(e,s,i){return s===n?s:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(s)?s:"\\"+s)}));return t+s+t}function yt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){var t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==_typeof(e.id)?e.id.name:e.id)||e.key&&("object"==_typeof(e.key)?e.key.name:e.key)||e.value&&("object"==_typeof(e.value)?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}(e)}var Ft={inferParserByLanguage:function inferParserByLanguage(e,t){var r=ot({plugins:t.plugins}).languages,n=r.find((function(_ref13){return _ref13.name.toLowerCase()===e}))||r.find((function(_ref14){var t=_ref14.aliases;return Array.isArray(t)&&t.includes(e)}))||r.find((function(_ref15){var t=_ref15.extensions;return Array.isArray(t)&&t.includes(".".concat(e))}));return n&&n.parsers[0]},replaceEndOfLineWith:function replaceEndOfLineWith(e,t){var _step3,r=[],_iterator3=_createForOfIteratorHelper(e.split("\n"));try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _n10=_step3.value;r.length>0&&r.push(t),r.push(_n10)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}return r},getStringWidth:function getStringWidth(e){return e?at.test(e)?z(e):e.length:0},getMaxContinuousCount:function getMaxContinuousCount(e,t){var r=e.match(new RegExp("(".concat(Y(t),")+"),"g"));return null===r?0:r.reduce((function(e,r){return Math.max(e,r.length/t.length)}),0)},getMinNotPresentContinuousCount:function getMinNotPresentContinuousCount(e,t){var r=e.match(new RegExp("(".concat(Y(t),")+"),"g"));if(null===r)return 0;var _step4,n=new Map,s=0,_iterator4=_createForOfIteratorHelper(r);try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var _r8=_step4.value.length/t.length;n.set(_r8,!0),_r8>s&&(s=_r8)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}for(var _e4=1;_e42&&void 0!==arguments[2]?arguments[2]:{};return lt(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:Tt,getIndentSize:function getIndentSize(e,t){var r=e.lastIndexOf("\n");return-1===r?0:Tt(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:_t,printString:function printString(e,t){return St(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_t(e,t.singleQuote?"'":'"'),!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function printNumber(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:St,addLeadingComment:function addLeadingComment(e,t){t.leading=!0,t.trailing=!1,yt(e,t)},addDanglingComment:function addDanglingComment(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),yt(e,t)},addTrailingComment:function addTrailingComment(e,t){t.leading=!1,t.trailing=!0,yt(e,t)},isFrontMatterNode:function isFrontMatterNode(e){return e&&"front-matter"===e.type},getShebang:function getShebang(e){if(!e.startsWith("#!"))return"";var t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function isNonEmptyArray(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function createGroupIdMapper(e){var t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}},vt={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},At=Ft.inferParserByLanguage,bt=Ft.isFrontMatterNode,_CSS_DISPLAY_TAGS$CSS={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},wt=_CSS_DISPLAY_TAGS$CSS.CSS_DISPLAY_TAGS,Nt=_CSS_DISPLAY_TAGS$CSS.CSS_DISPLAY_DEFAULT,kt=_CSS_DISPLAY_TAGS$CSS.CSS_WHITE_SPACE_TAGS,xt=_CSS_DISPLAY_TAGS$CSS.CSS_WHITE_SPACE_DEFAULT,It=Lt(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),Pt=function(e,t){for(var r=Object.create(null),_i5=0,_Object$entries=Object.entries(e);_i5<_Object$entries.length;_i5++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i5],2),_n12=_Object$entries$_i[0],_s5=_Object$entries$_i[1];r[_n12]=t(_s5,_n12)}return r}(vt,Lt),Rt=new Set(["\t","\n","\f","\r"," "]),Ot=function Ot(e){return e.replace(/[\t\n\f\r ]+$/,"")};function Lt(e){var _step5,t=Object.create(null),_iterator5=_createForOfIteratorHelper(e);try{for(_iterator5.s();!(_step5=_iterator5.n()).done;)t[_step5.value]=!0}catch(err){_iterator5.e(err)}finally{_iterator5.f()}return t}function Bt(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!Yt(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))||!(!tr(e,t)||$t(e)||"interpolation"===e.type)}function qt(e){return"attribute"!==e.type&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function $t(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||Qt(e)&&("script"===e.name||"style"===e.name))}function Mt(e){return Jt(e).startsWith("pre")}function Ut(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function Vt(e){return Ht(e)||"element"===e.type&&"br"===e.fullName||Gt(e)}function Gt(e){return jt(e)&&Xt(e)}function jt(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Ht(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function zt(e){var _e$attrMap=e.attrMap,t=_e$attrMap.type,r=_e$attrMap.lang;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function Wt(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Yt(e){return Jt(e).startsWith("pre")}function Qt(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Jt(e){return"element"===e.type&&(!e.namespace||Qt(e))&&kt[e.name]||xt}var Zt=new Set(["template","style","script"]);function Kt(e,t){return er(e,t)&&!Zt.has(e.fullName)}function er(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function tr(e,t){return er(e,t)&&(Kt(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var rr={HTML_ELEMENT_ATTRIBUTES:Pt,HTML_TAGS:It,htmlTrim:function htmlTrim(e){return function(e){return e.replace(/^[\t\n\f\r ]+/,"")}(Ot(e))},htmlTrimPreserveIndentation:function htmlTrimPreserveIndentation(e){return function(e){return e.replace(/^[\t\f\r ]*?\n/g,"")}(Ot(e))},splitByHtmlWhitespace:function splitByHtmlWhitespace(e){return e.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function hasHtmlWhitespace(e){return/[\t\n\f\r ]/.test(e)},getLeadingAndTrailingHtmlWhitespace:function getLeadingAndTrailingHtmlWhitespace(e){var _e$match2=_slicedToArray(e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),4),t=_e$match2[1],r=_e$match2[2];return{leadingWhitespace:t,trailingWhitespace:_e$match2[3],text:r}},canHaveInterpolation:function canHaveInterpolation(e){return e.children&&!$t(e)},countChars:function countChars(e,t){for(var r=0,_n13=0;_n13=0;_n14--){var _s6=e.stack[_n14];_s6&&"object"==_typeof(_s6)&&!Array.isArray(_s6)&&t(_s6)&&r++}return r},dedentString:function dedentString(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var _step6,r,t=Number.POSITIVE_INFINITY,_iterator6=_createForOfIteratorHelper(e.split("\n"));try{for(_iterator6.s();!(_step6=_iterator6.n()).done;){var _n15=_step6.value;if(0!==_n15.length){if(!Rt.has(_n15[0]))return 0;var _e6=(r=_n15,r.match(/^[\t\n\f\r ]*/)[0]).length;_n15.length!==_e6&&_e60&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&jt(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Xt(e.lastChild))},forceNextEmptyLine:function forceNextEmptyLine(e){return bt(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1/.test(e)},insertPragma:function insertPragma(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},sr=Ft.isNonEmptyArray,ir={attrs:!0,children:!0},or=function(){function or(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,or);for(var _i6=0,_Object$entries2=Object.entries(e);_i6<_Object$entries2.length;_i6++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i6],2),_t6=_Object$entries2$_i[0],_r10=_Object$entries2$_i[1];_t6 in ir?this._setNodes(_t6,_r10):this[_t6]=_r10}}return _createClass(or,[{key:"_setNodes",value:function _setNodes(e,t){t!==this[e]&&(this[e]=function(e,t){for(var r=e.map((function(e){return e instanceof or?e.clone():new or(e)})),n=null,s=r[0],i=r[1]||null,_e7=0;_e7)([\s\S]*?)",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},t.NGSP_UNICODE="",t.NAMED_ENTITIES.ngsp=t.NGSP_UNICODE})),mr=function(){function mr(){var _this3=this,_ref20=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_ref20.closedByChildren,t=_ref20.implicitNamespacePrefix,_ref20$contentType=_ref20.contentType,r=void 0===_ref20$contentType?dr.TagContentType.PARSABLE_DATA:_ref20$contentType,_ref20$closedByParent=_ref20.closedByParent,n=void 0!==_ref20$closedByParent&&_ref20$closedByParent,_ref20$isVoid=_ref20.isVoid,s=void 0!==_ref20$isVoid&&_ref20$isVoid,_ref20$ignoreFirstLf=_ref20.ignoreFirstLf,i=void 0!==_ref20$ignoreFirstLf&&_ref20$ignoreFirstLf;_classCallCheck(this,mr),this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((function(e){return _this3.closedByChildren[e]=!0})),this.isVoid=s,this.closedByParent=n||s,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i}return _createClass(mr,[{key:"isClosedByChild",value:function isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}}]),mr}(),fr=mr,Cr=function Cr(e){return Er||(gr=new mr,Er={base:new mr({isVoid:!0}),meta:new mr({isVoid:!0}),area:new mr({isVoid:!0}),embed:new mr({isVoid:!0}),link:new mr({isVoid:!0}),img:new mr({isVoid:!0}),input:new mr({isVoid:!0}),param:new mr({isVoid:!0}),hr:new mr({isVoid:!0}),br:new mr({isVoid:!0}),source:new mr({isVoid:!0}),track:new mr({isVoid:!0}),wbr:new mr({isVoid:!0}),p:new mr({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new mr({closedByChildren:["tbody","tfoot"]}),tbody:new mr({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new mr({closedByChildren:["tbody"],closedByParent:!0}),tr:new mr({closedByChildren:["tr"],closedByParent:!0}),td:new mr({closedByChildren:["td","th"],closedByParent:!0}),th:new mr({closedByChildren:["td","th"],closedByParent:!0}),col:new mr({isVoid:!0}),svg:new mr({implicitNamespacePrefix:"svg"}),math:new mr({implicitNamespacePrefix:"math"}),li:new mr({closedByChildren:["li"],closedByParent:!0}),dt:new mr({closedByChildren:["dt","dd"]}),dd:new mr({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new mr({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new mr({closedByChildren:["optgroup"],closedByParent:!0}),option:new mr({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new mr({ignoreFirstLf:!0}),listing:new mr({ignoreFirstLf:!0}),style:new mr({contentType:dr.TagContentType.RAW_TEXT}),script:new mr({contentType:dr.TagContentType.RAW_TEXT}),title:new mr({contentType:dr.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new mr({contentType:dr.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Er[e]||gr},Tr=Object.defineProperty({HtmlTagDefinition:fr,getHtmlTagDefinition:Cr},"__esModule",{value:!0}),_r=function(){function _r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,_r),this.path=e,this.position=t}return _createClass(_r,[{key:"empty",get:function get(){return!this.path||!this.path.length}},{key:"head",get:function get(){return this.path[0]}},{key:"tail",get:function get(){return this.path[this.path.length-1]}},{key:"parentOf",value:function parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}},{key:"childOf",value:function childOf(e){return this.path[this.path.indexOf(e)+1]}},{key:"first",value:function first(e){for(var _t7=this.path.length-1;_t7>=0;_t7--){var _r16=this.path[_t7];if(_r16 instanceof e)return _r16}}},{key:"push",value:function push(e){this.path.push(e)}},{key:"pop",value:function pop(){return this.path.pop()}}]),_r}(),Sr=Object.defineProperty({AstPath:_r},"__esModule",{value:!0}),yr=function(){function yr(e,t,r){_classCallCheck(this,yr),this.value=e,this.sourceSpan=t,this.i18n=r,this.type="text"}return _createClass(yr,[{key:"visit",value:function visit(e,t){return e.visitText(this,t)}}]),yr}(),Fr=function(){function Fr(e,t){_classCallCheck(this,Fr),this.value=e,this.sourceSpan=t,this.type="cdata"}return _createClass(Fr,[{key:"visit",value:function visit(e,t){return e.visitCdata(this,t)}}]),Fr}(),vr=function(){function vr(e,t,r,n,s,i){_classCallCheck(this,vr),this.switchValue=e,this.type=t,this.cases=r,this.sourceSpan=n,this.switchValueSourceSpan=s,this.i18n=i}return _createClass(vr,[{key:"visit",value:function visit(e,t){return e.visitExpansion(this,t)}}]),vr}(),Ar=function(){function Ar(e,t,r,n,s){_classCallCheck(this,Ar),this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=s}return _createClass(Ar,[{key:"visit",value:function visit(e,t){return e.visitExpansionCase(this,t)}}]),Ar}(),br=function(){function br(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;_classCallCheck(this,br),this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.nameSpan=s,this.i18n=i,this.type="attribute"}return _createClass(br,[{key:"visit",value:function visit(e,t){return e.visitAttribute(this,t)}}]),br}(),wr=function(){function wr(e,t,r,n){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;_classCallCheck(this,wr),this.name=e,this.attrs=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=s,this.endSourceSpan=i,this.nameSpan=o,this.i18n=a,this.type="element"}return _createClass(wr,[{key:"visit",value:function visit(e,t){return e.visitElement(this,t)}}]),wr}(),Nr=wr,kr=function(){function kr(e,t){_classCallCheck(this,kr),this.value=e,this.sourceSpan=t,this.type="comment"}return _createClass(kr,[{key:"visit",value:function visit(e,t){return e.visitComment(this,t)}}]),kr}(),xr=function(){function xr(e,t){_classCallCheck(this,xr),this.value=e,this.sourceSpan=t,this.type="docType"}return _createClass(xr,[{key:"visit",value:function visit(e,t){return e.visitDocType(this,t)}}]),xr}();function Ir(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=[],s=e.visit?function(t){return e.visit(t,r)||t.visit(e,r)}:function(t){return t.visit(e,r)};return t.forEach((function(e){var t=s(e);t&&n.push(t)})),n}var Pr=Ir,Rr=function(){function Rr(){_classCallCheck(this,Rr)}return _createClass(Rr,[{key:"visitElement",value:function visitElement(e,t){this.visitChildren(t,(function(t){t(e.attrs),t(e.children)}))}},{key:"visitAttribute",value:function visitAttribute(e,t){}},{key:"visitText",value:function visitText(e,t){}},{key:"visitCdata",value:function visitCdata(e,t){}},{key:"visitComment",value:function visitComment(e,t){}},{key:"visitDocType",value:function visitDocType(e,t){}},{key:"visitExpansion",value:function visitExpansion(e,t){return this.visitChildren(t,(function(t){t(e.cases)}))}},{key:"visitExpansionCase",value:function visitExpansionCase(e,t){}},{key:"visitChildren",value:function visitChildren(e,t){var r=[],n=this;return t((function(t){t&&r.push(Ir(n,t,e))})),Array.prototype.concat.apply([],r)}}]),Rr}(),Or=Rr;function Lr(e){var t=e.sourceSpan.start.offset,r=e.sourceSpan.end.offset;return e instanceof wr&&(e.endSourceSpan?r=e.endSourceSpan.end.offset:e.children&&e.children.length&&(r=Lr(e.children[e.children.length-1]).end)),{start:t,end:r}}var Br=function Br(e,t){var r=[];return Ir(new(function(_Rr){_inherits(_class9,_Rr);var _super=_createSuper(_class9);function _class9(){return _classCallCheck(this,_class9),_super.apply(this,arguments)}return _createClass(_class9,[{key:"visit",value:function visit(e,n){var s=Lr(e);if(!(s.start<=t&&t]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],Ur=function Ur(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){var _e10=t[0],_r18=t[1];Mr.forEach((function(t){if(t.test(_e10)||t.test(_r18))throw new Error("['".concat(_e10,"', '").concat(_r18,"'] contains unusable interpolation symbol."))}))}},Vr=Object.defineProperty({assertArrayOfStrings:$r,assertInterpolationSymbols:Ur},"__esModule",{value:!0}),Gr=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){_classCallCheck(this,r),this.start=e,this.end=t}return _createClass(r,null,[{key:"fromArray",value:function fromArray(e){return e?(Vr.assertInterpolationSymbols("interpolation",e),new r(e[0],e[1])):t.DEFAULT_INTERPOLATION_CONFIG}}]),r}();t.InterpolationConfig=r,t.DEFAULT_INTERPOLATION_CONFIG=new r("{{","}}")})),jr=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var s,n=r;!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(s=t.TokenType||(t.TokenType={}));var i=_createClass((function i(e,t,r){_classCallCheck(this,i),this.type=e,this.parts=t,this.sourceSpan=r}));t.Token=i;var o=function(_B$ParseError){_inherits(o,_B$ParseError);var _super2=_createSuper(o);function o(e,t,r){var _this4;return _classCallCheck(this,o),(_this4=_super2.call(this,r,e)).tokenType=t,_this4}return _createClass(o)}(B.ParseError);t.TokenError=o;var a=_createClass((function a(e,t){_classCallCheck(this,a),this.tokens=e,this.errors=t}));t.TokenizeResult=a,t.tokenize=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new p(new B.ParseSourceFile(e,t),r,n).tokenize()};var u=/\r\n?/g;function c(e){var t=e===n.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"')}function l(e){return'Unknown entity "'.concat(e,'" - use the "&#;" or "&#x;" syntax')}var D=_createClass((function D(e){_classCallCheck(this,D),this.error=e})),p=function(){function p(e,t,r){_classCallCheck(this,p),this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Gr.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map((function(e){return e.codePointAt(0)||0})),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;var n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new C(e,n):new E(e,n);try{this._cursor.init()}catch(e){this.handleError(e)}}return _createClass(p,[{key:"_processCarriageReturns",value:function _processCarriageReturns(e){return e.replace(u,"\n")}},{key:"tokenize",value:function tokenize(){for(;this._cursor.peek()!==n.$EOF;){var _e11=this._cursor.clone();try{if(this._attemptCharCode(n.$LT))if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(_e11):this._attemptStr("--")?this._consumeComment(_e11):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(_e11):this._consumeBogusComment(_e11);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(_e11);else{var _t8=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=_t8,this._consumeBogusComment(_e11)):this._consumeTagOpen(_e11)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(s.EOF),this._endToken([]),new a(function(e){for(var r,t=[],_n19=0;_n191&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}},{key:"_endToken",value:function _endToken(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new o("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new o("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));var r=new i(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}},{key:"_createError",value:function _createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var r=new o(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new D(r)}},{key:"handleError",value:function handleError(e){if(e instanceof T&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof D))throw e;this.errors.push(e.error)}},{key:"_attemptCharCode",value:function _attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}},{key:"_attemptCharCodeCaseInsensitive",value:function _attemptCharCodeCaseInsensitive(e){return r=e,g(this._cursor.peek())==g(r)&&(this._cursor.advance(),!0);var r}},{key:"_requireCharCode",value:function _requireCharCode(e){var t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(t))}},{key:"_attemptStr",value:function _attemptStr(e){var t=e.length;if(this._cursor.charsLeft()")})),this._beginToken(s.CDATA_END),this._requireStr("]]>"),this._endToken([])}},{key:"_consumeDocType",value:function _consumeDocType(e){var _this8=this;this._beginToken(s.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(function(){return _this8._cursor.peek()===n.$GT})),this._beginToken(s.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}},{key:"_consumePrefixAndName",value:function _consumePrefixAndName(){for(var r,s,e=this._cursor.clone(),t="";this._cursor.peek()!==n.$COLON&&!(((r=this._cursor.peek())n.$9));)this._cursor.advance();return this._cursor.peek()===n.$COLON?(t=this._cursor.getChars(e),this._cursor.advance(),s=this._cursor.clone()):s=e,this._requireCharCodeUntilFn(d,""===t?0:1),[t,this._cursor.getChars(s)]}},{key:"_consumeTagOpen",value:function _consumeTagOpen(e){var t,r,i,o=this.tokens.length,a=this._cursor.clone(),u=[];try{if(!n.isAsciiLetter(this._cursor.peek()))throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(e));for(r=(i=this._consumeTagOpenStart(e)).parts[0],t=i.parts[1],this._attemptCharCodeUntilFn(h);this._cursor.peek()!==n.$SLASH&&this._cursor.peek()!==n.$GT;){var _this$_consumeAttribu2=_slicedToArray(this._consumeAttributeName(),2),_e14=_this$_consumeAttribu2[0],_t12=_this$_consumeAttribu2[1];if(this._attemptCharCodeUntilFn(h),this._attemptCharCode(n.$EQ)){this._attemptCharCodeUntilFn(h);var _r21=this._consumeAttributeValue();u.push({prefix:_e14,name:_t12,value:_r21})}else u.push({prefix:_e14,name:_t12});this._attemptCharCodeUntilFn(h)}this._consumeTagOpenEnd()}catch(t){if(t instanceof D)return this._cursor=a,i&&(this.tokens.length=o),this._beginToken(s.TEXT,e),void this._endToken(["<"]);throw t}if(!this._canSelfClose||this.tokens[this.tokens.length-1].type!==s.TAG_OPEN_END_VOID){var l=this._getTagContentType(t,r,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(r,t),l===dr.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):l===dr.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}}},{key:"_consumeRawTextWithTagClose",value:function _consumeRawTextWithTagClose(e,t,r){var _this9=this;this._consumeRawText(r,(function(){return!!_this9._attemptCharCode(n.$LT)&&!!_this9._attemptCharCode(n.$SLASH)&&(_this9._attemptCharCodeUntilFn(h),!!_this9._attemptStrCaseInsensitive(e?"".concat(e,":").concat(t):t)&&(_this9._attemptCharCodeUntilFn(h),_this9._attemptCharCode(n.$GT)))})),this._beginToken(s.TAG_CLOSE),this._requireCharCodeUntilFn((function(e){return e===n.$GT}),3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}},{key:"_consumeTagOpenStart",value:function _consumeTagOpenStart(e){this._beginToken(s.TAG_OPEN_START,e);var t=this._consumePrefixAndName();return this._endToken(t)}},{key:"_consumeAttributeName",value:function _consumeAttributeName(){var e=this._cursor.peek();if(e===n.$SQ||e===n.$DQ)throw this._createError(c(e),this._cursor.getSpan());this._beginToken(s.ATTR_NAME);var t=this._consumePrefixAndName();return this._endToken(t),t}},{key:"_consumeAttributeValue",value:function _consumeAttributeValue(){var e;if(this._cursor.peek()===n.$SQ||this._cursor.peek()===n.$DQ){this._beginToken(s.ATTR_QUOTE);var _t13=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(_t13)]),this._beginToken(s.ATTR_VALUE);for(var _r22=[];this._cursor.peek()!==_t13;)_r22.push(this._readChar(!0));e=this._processCarriageReturns(_r22.join("")),this._endToken([e]),this._beginToken(s.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(_t13)])}else{this._beginToken(s.ATTR_VALUE);var _t14=this._cursor.clone();this._requireCharCodeUntilFn(d,1),e=this._processCarriageReturns(this._cursor.getChars(_t14)),this._endToken([e])}return e}},{key:"_consumeTagOpenEnd",value:function _consumeTagOpenEnd(){var e=this._attemptCharCode(n.$SLASH)?s.TAG_OPEN_END_VOID:s.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(n.$GT),this._endToken([])}},{key:"_consumeTagClose",value:function _consumeTagClose(e){if(this._beginToken(s.TAG_CLOSE,e),this._attemptCharCodeUntilFn(h),this._allowHtmComponentClosingTags&&this._attemptCharCode(n.$SLASH))this._attemptCharCodeUntilFn(h),this._requireCharCode(n.$GT),this._endToken([]);else{var _this$_consumePrefixA2=_slicedToArray(this._consumePrefixAndName(),2),_e15=_this$_consumePrefixA2[0],_t15=_this$_consumePrefixA2[1];this._attemptCharCodeUntilFn(h),this._requireCharCode(n.$GT),this._endToken([_e15,_t15]),this._handleFullNameStackForTagClose(_e15,_t15)}}},{key:"_consumeExpansionFormStart",value:function _consumeExpansionFormStart(){this._beginToken(s.EXPANSION_FORM_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._expansionCaseStack.push(s.EXPANSION_FORM_START),this._beginToken(s.RAW_TEXT);var e=this._readUntil(n.$COMMA);this._endToken([e]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(h),this._beginToken(s.RAW_TEXT);var t=this._readUntil(n.$COMMA);this._endToken([t]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(h)}},{key:"_consumeExpansionCaseStart",value:function _consumeExpansionCaseStart(){this._beginToken(s.EXPANSION_CASE_VALUE);var e=this._readUntil(n.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(h),this._beginToken(s.EXPANSION_CASE_EXP_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(h),this._expansionCaseStack.push(s.EXPANSION_CASE_EXP_START)}},{key:"_consumeExpansionCaseEnd",value:function _consumeExpansionCaseEnd(){this._beginToken(s.EXPANSION_CASE_EXP_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(h),this._expansionCaseStack.pop()}},{key:"_consumeExpansionFormEnd",value:function _consumeExpansionFormEnd(){this._beginToken(s.EXPANSION_FORM_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}},{key:"_consumeText",value:function _consumeText(){var e=this._cursor.clone();this._beginToken(s.TEXT,e);var t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])}},{key:"_isTextEnd",value:function _isTextEnd(){if(this._cursor.peek()===n.$LT||this._cursor.peek()===n.$EOF)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===n.$RBRACE&&this._isInExpansionCase())return!0}return!1}},{key:"_readUntil",value:function _readUntil(e){var t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}},{key:"_isInExpansionCase",value:function _isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_CASE_EXP_START}},{key:"_isInExpansionForm",value:function _isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_FORM_START}},{key:"isExpansionFormStart",value:function isExpansionFormStart(){if(this._cursor.peek()!==n.$LBRACE)return!1;if(this._interpolationConfig){var _e16=this._cursor.clone(),_t16=this._attemptStr(this._interpolationConfig.start);return this._cursor=_e16,!_t16}return!0}},{key:"_handleFullNameStackForTagOpen",value:function _handleFullNameStackForTagOpen(e,t){var r=dr.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]!==r||this._fullNameStack.push(r)}},{key:"_handleFullNameStackForTagClose",value:function _handleFullNameStackForTagClose(e,t){var r=dr.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}}]),p}();function h(e){return!n.isWhitespace(e)||e===n.$EOF}function d(e){return n.isWhitespace(e)||e===n.$GT||e===n.$SLASH||e===n.$SQ||e===n.$DQ||e===n.$EQ}function m(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiHexDigit(e)}function f(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiLetter(e)}function g(e){return e>=n.$a&&e<=n.$z?e-n.$a+n.$A:e}var E=function(){function E(e,t){if(_classCallCheck(this,E),e instanceof E)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}return _createClass(E,[{key:"clone",value:function clone(){return new E(this)}},{key:"peek",value:function peek(){return this.state.peek}},{key:"charsLeft",value:function charsLeft(){return this.end-this.state.offset}},{key:"diff",value:function diff(e){return this.state.offset-e.state.offset}},{key:"advance",value:function advance(){this.advanceState(this.state)}},{key:"init",value:function init(){this.updatePeek(this.state)}},{key:"getSpan",value:function getSpan(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new B.ParseSourceSpan(new B.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new B.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}},{key:"getChars",value:function getChars(e){return this.input.substring(e.state.offset,this.state.offset)}},{key:"charAt",value:function charAt(e){return this.input.charCodeAt(e)}},{key:"advanceState",value:function advanceState(e){if(e.offset>=this.end)throw this.state=e,new T('Unexpected character "EOF"',this);var t=this.charAt(e.offset);t===n.$LF?(e.line++,e.column=0):n.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}},{key:"updatePeek",value:function updatePeek(e){e.peek=e.offset>=this.end?n.$EOF:this.charAt(e.offset)}}]),E}(),C=function(_E2){_inherits(C,_E2);var _super3=_createSuper(C);function C(e,t){var _this10;return _classCallCheck(this,C),e instanceof C?(_this10=_super3.call(this,e)).internalState=Object.assign({},e.internalState):(_this10=_super3.call(this,e,t)).internalState=_this10.state,_possibleConstructorReturn(_this10)}return _createClass(C,[{key:"advance",value:function advance(){this.state=this.internalState,_get(_getPrototypeOf(C.prototype),"advance",this).call(this),this.processEscapeSequence()}},{key:"init",value:function init(){_get(_getPrototypeOf(C.prototype),"init",this).call(this),this.processEscapeSequence()}},{key:"clone",value:function clone(){return new C(this)}},{key:"getChars",value:function getChars(e){for(var t=e.clone(),r="";t.internalState.offset3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4?arguments[4]:void 0,i=function i(e){return function(t){for(var _len3=arguments.length,r=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)r[_key3-1]=arguments[_key3];return e.apply(void 0,[t.toLowerCase()].concat(r))}},o=n?this.getTagDefinition:i(this.getTagDefinition),a=function a(e){return o(e).contentType},u=n?s:i(s),c=s?function(e,t,r,n){var s=u(e,t,r,n);return void 0!==s?s:a(e)}:a,l=jr.tokenize(e,t,c,r),D=r&&r.canSelfClose||!1,p=r&&r.allowHtmComponentClosingTags||!1,h=new Qr(l.tokens,o,D,p,n).build();return new zr(h.rootNodes,l.errors.concat(h.errors))}}]),Yr}(),Qr=function(){function Qr(e,t,r,n,s){_classCallCheck(this,Qr),this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=s,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return _createClass(Qr,[{key:"build",value:function build(){for(;this._peek.type!==jr.TokenType.EOF;)this._peek.type===jr.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===jr.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===jr.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===jr.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===jr.TokenType.TEXT||this._peek.type===jr.TokenType.RAW_TEXT||this._peek.type===jr.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===jr.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===jr.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new zr(this._rootNodes,this._errors)}},{key:"_advance",value:function _advance(){var e=this._peek;return this._index0)return this._errors=this._errors.concat(s.errors),null;var i=new B.ParseSourceSpan(e.sourceSpan.start,n.sourceSpan.end),o=new B.ParseSourceSpan(t.sourceSpan.start,n.sourceSpan.end);return new qr.ExpansionCase(e.parts[0],s.rootNodes,i,e.sourceSpan,o)}},{key:"_collectExpansionExpTokens",value:function _collectExpansionExpTokens(e){for(var t=[],r=[jr.TokenType.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==jr.TokenType.EXPANSION_FORM_START&&this._peek.type!==jr.TokenType.EXPANSION_CASE_EXP_START||r.push(this._peek.type),this._peek.type===jr.TokenType.EXPANSION_CASE_EXP_END){if(!Jr(r,jr.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0==r.length)return t}if(this._peek.type===jr.TokenType.EXPANSION_FORM_END){if(!Jr(r,jr.TokenType.EXPANSION_FORM_START))return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(this._peek.type===jr.TokenType.EOF)return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}},{key:"_getText",value:function _getText(e){var t=e.parts[0];if(t.length>0&&"\n"==t[0]){var _e20=this._getParentElement();null!=_e20&&0==_e20.children.length&&this.getTagDefinition(_e20.name).ignoreFirstLf&&(t=t.substring(1))}return t}},{key:"_consumeText",value:function _consumeText(e){var t=this._getText(e);t.length>0&&this._addToParent(new qr.Text(t,e.sourceSpan))}},{key:"_closeVoidElement",value:function _closeVoidElement(){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}},{key:"_consumeStartTag",value:function _consumeStartTag(e){for(var t=e.parts[0],r=e.parts[1],n=[];this._peek.type===jr.TokenType.ATTR_NAME;)n.push(this._consumeAttr(this._advance()));var s=this._getElementFullName(t,r,this._getParentElement()),i=!1;if(this._peek.type===jr.TokenType.TAG_OPEN_END_VOID){this._advance(),i=!0;var _t19=this.getTagDefinition(s);this.canSelfClose||_t19.canSelfClose||null!==dr.getNsPrefix(s)||_t19.isVoid||this._errors.push(Xr.create(s,e.sourceSpan,'Only void and foreign elements can be self closed "'.concat(e.parts[1],'"')))}else this._peek.type===jr.TokenType.TAG_OPEN_END&&(this._advance(),i=!1);var o=this._peek.sourceSpan.start,a=new B.ParseSourceSpan(e.sourceSpan.start,o),u=new B.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),c=new qr.Element(s,n,[],a,a,void 0,u);this._pushElement(c),i&&(this._popElement(s),c.endSourceSpan=a)}},{key:"_pushElement",value:function _pushElement(e){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}},{key:"_consumeEndTag",value:function _consumeEndTag(e){var t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(Xr.create(t,e.sourceSpan,'Void elements do not have end tags "'.concat(e.parts[1],'"')));else if(!this._popElement(t)){var _r25='Unexpected closing tag "'.concat(t,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(Xr.create(t,e.sourceSpan,_r25))}}},{key:"_popElement",value:function _popElement(e){for(var _t20=this._elementStack.length-1;_t20>=0;_t20--){var _r26=this._elementStack[_t20];if(!e||(dr.getNsPrefix(_r26.name)?_r26.name==e:_r26.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(_t20,this._elementStack.length-_t20),!0;if(!this.getTagDefinition(_r26.name).closedByParent)return!1}return!1}},{key:"_consumeAttr",value:function _consumeAttr(e){var r,n,t=dr.mergeNsAndName(e.parts[0],e.parts[1]),s=e.sourceSpan.end,i="";if(this._peek.type===jr.TokenType.ATTR_QUOTE&&(n=this._advance().sourceSpan.start),this._peek.type===jr.TokenType.ATTR_VALUE){var _e21=this._advance();i=_e21.parts[0],s=_e21.sourceSpan.end,r=_e21.sourceSpan}return this._peek.type===jr.TokenType.ATTR_QUOTE&&(s=this._advance().sourceSpan.end,r=new B.ParseSourceSpan(n,s)),new qr.Attribute(t,i,new B.ParseSourceSpan(e.sourceSpan.start,s),r,e.sourceSpan)}},{key:"_getParentElement",value:function _getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}},{key:"_getParentElementSkippingContainers",value:function _getParentElementSkippingContainers(){for(var e=null,_t21=this._elementStack.length-1;_t21>=0;_t21--){if(!dr.isNgContainer(this._elementStack[_t21].name))return{parent:this._elementStack[_t21],container:e};e=this._elementStack[_t21]}return{parent:null,container:e}}},{key:"_addToParent",value:function _addToParent(e){var t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}},{key:"_insertBeforeContainer",value:function _insertBeforeContainer(e,t,r){if(t){if(e){var _n22=e.children.indexOf(t);e.children[_n22]=r}else this._rootNodes.push(r);r.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,r)}else this._addToParent(r),this._elementStack.push(r)}},{key:"_getElementFullName",value:function _getElementFullName(e,t,r){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=r&&(e=dr.getNsPrefix(r.name)),dr.mergeNsAndName(e,t)}}]),Qr}();function Jr(e,t){return e.length>0&&e[e.length-1]===t}var Zr=Object.defineProperty({TreeError:Hr,ParseTreeResult:Wr,Parser:Yr},"__esModule",{value:!0}),Kr=Zr,en=Kr.ParseTreeResult,tn=Kr.TreeError,rn=function(_Zr$Parser){_inherits(rn,_Zr$Parser);var _super5=_createSuper(rn);function rn(){return _classCallCheck(this,rn),_super5.call(this,Tr.getHtmlTagDefinition)}return _createClass(rn,[{key:"parse",value:function parse(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4?arguments[4]:void 0;return _get(_getPrototypeOf(rn.prototype),"parse",this).call(this,e,t,r,n,s)}}]),rn}(Zr.Parser),nn=rn,sn=Object.defineProperty({ParseTreeResult:en,TreeError:tn,HtmlParser:nn},"__esModule",{value:!0}),on=dr.TagContentType,an=null,un=function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_t$canSelfClose=t.canSelfClose,r=void 0!==_t$canSelfClose&&_t$canSelfClose,_t$allowHtmComponentC=t.allowHtmComponentClosingTags,n=void 0!==_t$allowHtmComponentC&&_t$allowHtmComponentC,_t$isTagNameCaseSensi=t.isTagNameCaseSensitive,s=void 0!==_t$isTagNameCaseSensi&&_t$isTagNameCaseSensi,i=t.getTagContentType;return(an||(an=new sn.HtmlParser),an).parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},s,i)},cn=Object.defineProperty({TagContentType:on,parse:un},"__esModule",{value:!0}),ln=B.ParseSourceSpan,Dn=B.ParseLocation,pn=B.ParseSourceFile,hn=Ft.inferParserByLanguage,dn=rr.HTML_ELEMENT_ATTRIBUTES,mn=rr.HTML_TAGS,fn=rr.isUnknownNamespace,gn=nr.hasPragma,En=cr.Node,Cn=pr.parseIeConditionalComment,Tn=hr.locStart,_n=hr.locEnd;function Sn(e,_ref21,a){var t=_ref21.recognizeSelfClosing,r=_ref21.normalizeTagName,n=_ref21.normalizeAttributeName,s=_ref21.allowHtmComponentClosingTags,i=_ref21.isTagNameCaseSensitive,o=_ref21.getTagContentType,u=cn,c=qr.RecursiveVisitor,l=qr.visitAll,D=B.ParseSourceSpan,p=Tr.getHtmlTagDefinition,_u$parse=u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i,getTagContentType:o}),h=_u$parse.rootNodes,d=_u$parse.errors;if("vue"===a.parser)if(h.some((function(e){return"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()}))){t=!0,r=!0,n=!0,s=!0,i=!1;var _o4=u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i});h=_o4.rootNodes,d=_o4.errors}else{var _r27=function _r27(e){if(!e)return!1;if("element"!==e.type||"template"!==e.name)return!1;var t=e.attrs.find((function(e){return"lang"===e.name})),r=t&&t.value;return!r||"html"===hn(r,a)};if(h.some(_r27))for(var _n23,_o5=function _o5(){return u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i})},_a2=function _a2(){return _n23||(_n23=_o5())},_c2=function _c2(e){return _a2().rootNodes.find((function(_ref22){var t=_ref22.startSourceSpan;return t&&t.start.offset===e.startSourceSpan.start.offset}))},_e22=0;_e220){var _d$=d[0],_e24=_d$.msg,_d$$span=_d$.span,_t24=_d$$span.start,_r29=_d$$span.end;throw U(_e24,{start:{line:_t24.line+1,column:_t24.col+1},end:{line:_r29.line+1,column:_r29.col+1}})}var m=function m(e){var t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith("".concat(t,":")),s=n?r.slice(t.length+1):r;e.name=s,e.namespace=t,e.hasExplicitNamespace=n},f=function f(e,t){var r=e.toLowerCase();return t(r)?r:e};return l(new(function(_c3){_inherits(_class10,_c3);var _super6=_createSuper(_class10);function _class10(){return _classCallCheck(this,_class10),_super6.apply(this,arguments)}return _createClass(_class10,[{key:"visit",value:function visit(e){(function(e){if("element"===e.type){m(e);var _step9,_iterator9=_createForOfIteratorHelper(e.attrs);try{for(_iterator9.s();!(_step9=_iterator9.n()).done;){var _t25=_step9.value;m(_t25),_t25.valueSpan?(_t25.value=_t25.valueSpan.toString(),/["']/.test(_t25.value[0])&&(_t25.value=_t25.value.slice(1,-1))):_t25.value=null}}catch(err){_iterator9.e(err)}finally{_iterator9.f()}}else"comment"===e.type?e.value=e.sourceSpan.toString().slice(4,-3):"text"===e.type&&(e.value=e.sourceSpan.toString())})(e),function(e){if("element"===e.type){var _t26=p(i?e.name:e.name.toLowerCase());!e.namespace||e.namespace===_t26.implicitNamespacePrefix||fn(e)?e.tagDefinition=_t26:e.tagDefinition=p("")}}(e),function(e){"element"===e.type&&(!r||e.namespace&&e.namespace!==e.tagDefinition.implicitNamespacePrefix&&!fn(e)||(e.name=f(e.name,(function(e){return e in mn}))),n)&&function(){var _step10,t=dn[e.name]||Object.create(null),_iterator10=_createForOfIteratorHelper(e.attrs);try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var _r30=_step10.value;_r30.namespace||(_r30.name=f(_r30.name,(function(r){return e.name in dn&&(r in dn["*"]||r in t)})))}}catch(err){_iterator10.e(err)}finally{_iterator10.f()}}()}(e),function(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new D(e.sourceSpan.start,e.endSourceSpan.end))}(e)}}]),_class10}(c)),h),h}function yn(e,t,r){var _ref23=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?{frontMatter:null,content:e}:$(e),s=_ref23.frontMatter,i=_ref23.content,o=new pn(e,t.filepath),a=new Dn(o,0,0,0),u=a.moveBy(e.length),c={type:"root",sourceSpan:new ln(a,u),children:Sn(i,r,t)};if(s){var _e25=new Dn(o,0,0,0),_t27=_e25.moveBy(s.raw.length);s.sourceSpan=new ln(_e25,_t27),c.children.unshift(s)}var l=new En(c),D=function D(n,s){var i=s.offset,o=yn(e.slice(0,i).replace(/[^\n\r]/g," ")+n,t,r,!1);o.sourceSpan=new ln(s,M(o.children).sourceSpan.end);var a=o.children[0];return a.length===i?o.children.shift():(a.sourceSpan=new ln(a.sourceSpan.start.moveBy(i),a.sourceSpan.end),a.value=a.value.slice(i)),o};return l.map((function(e){if("comment"===e.type){var _t28=Cn(e,D);if(_t28)return _t28}return e}))}function Fn(){var _ref24=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref24$recognizeSelfC=_ref24.recognizeSelfClosing,e=void 0!==_ref24$recognizeSelfC&&_ref24$recognizeSelfC,_ref24$normalizeTagNa=_ref24.normalizeTagName,t=void 0!==_ref24$normalizeTagNa&&_ref24$normalizeTagNa,_ref24$normalizeAttri=_ref24.normalizeAttributeName,r=void 0!==_ref24$normalizeAttri&&_ref24$normalizeAttri,_ref24$allowHtmCompon=_ref24.allowHtmComponentClosingTags,n=void 0!==_ref24$allowHtmCompon&&_ref24$allowHtmCompon,_ref24$isTagNameCaseS=_ref24.isTagNameCaseSensitive,s=void 0!==_ref24$isTagNameCaseS&&_ref24$isTagNameCaseS,i=_ref24.getTagContentType;return{parse:function parse(o,a,u){return yn(o,u,{recognizeSelfClosing:e,normalizeTagName:t,normalizeAttributeName:r,allowHtmComponentClosingTags:n,isTagNameCaseSensitive:s,getTagContentType:i})},hasPragma:gn,astFormat:"html",locStart:Tn,locEnd:_n}}return{parsers:{html:Fn({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Fn(),vue:Fn({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:function getTagContentType(e,t,r,n){if("html"!==e.toLowerCase()&&!r&&("template"!==e||n.some((function(_ref25){var e=_ref25.name,t=_ref25.value;return"lang"===e&&"html"!==t}))))return cn.TagContentType.RAW_TEXT}}),lwc:Fn()}}}()}(parserHtml);var prettierHtml=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.J)(parserHtml.exports),standalone={exports:{}};!function(module,exports){_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.F,module.exports=function(){function e(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var n={name:"prettier",version:"2.3.0",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"11.2.13","@babel/code-frame":"7.12.13","@babel/parser":"7.14.1","@glimmer/syntax":"0.79.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.22.0","angular-estree-parser":"2.3.0","angular-html-parser":"1.8.0",camelcase:"6.2.0",chalk:"4.1.1","ci-info":"3.1.1","cjk-regex":"2.0.1",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.1",esutils:"2.0.3","fast-glob":"3.2.5","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.150.1","get-stdin":"8.0.0",globby:"11.0.3",graphql:"15.5.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.2.0",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.14.0",lodash:"4.17.21",mem:"8.1.1",meriyah:"4.1.5",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.8.0","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.20.0",semver:"7.3.5","string-width":"4.2.2","strip-ansi":"6.0.0",typescript:"4.2.4","unicode-regex":"3.0.0",unified:"9.2.1",vnopts:"1.0.2",wcwidth:"1.0.1","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.14.0","@babel/preset-env":"7.14.1","@babel/types":"7.14.1","@glimmer/reference":"0.79.0","@rollup/plugin-alias":"3.1.2","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"18.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@types/estree":"0.0.47","@types/node":"15.0.1","babel-jest":"26.6.3","babel-loader":"8.2.2",benchmark:"2.1.4","builtin-modules":"3.2.0","cross-env":"7.0.3",cspell:"4.2.8",eslint:"7.26.0","eslint-config-prettier":"8.3.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.3.6","eslint-plugin-prettier-internal-rules":"link:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.23.2","eslint-plugin-unicorn":"31.0.0",execa:"5.0.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.2.0","jest-watch-typeahead":"0.6.3","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.1","pretty-bytes":"5.6.0",rimraf:"3.0.2",rollup:"2.47.0","rollup-plugin-polyfill-node":"0.6.2","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","synchronous-promise":"2.0.15",tempy:"1.0.1","terser-webpack-plugin":"5.1.1",webpack:"5.36.2"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests/integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --no-inline-config --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}},r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.F?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.F:"undefined"!=typeof self?self:{};function o(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e){var t={exports:{}};return e(t,t.exports),t.exports}var y,u=i((function(e,t){function n(){}function r(e,t,n,r,o){for(var i=0,u=t.length,s=0,a=0;ie.length?n:e})),c.value=e.join(p)}else c.value=e.join(n.slice(s,s+c.count));s+=c.count,c.added||(a+=c.count)}}var f=t[u-1];return u>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[u-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function diff(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var u=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,l=1,p=a+c,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=a&&d+1>=c)return s([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*l;n<=l;n+=2){var i=void 0,p=f[n-1],d=f[n+1],h=(d?d.newPos:0)-n;p&&(f[n-1]=void 0);var m=p&&p.newPos+1=a&&h+1>=c)return s(r(u,i.components,t,e,u.useLongestToken));f[n]=i}else f[n]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>p)return i();h()||e()}),0)}();else for(;l<=p;){var m=h();if(m)return m}},pushComponent:function pushComponent(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function extractCommon(e,t,n,r){for(var o=t.length,i=n.length,u=e.newPos,s=u-r,a=0;u+11&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function u(){var e={};for(o.push(e);i2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,D.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,o,i=e.split(/\r\n|[\n\v\f\r\x85]/),u=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,a=n.compareLine||function(e,t,n,r){return t===r},c=0,l=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",u=r.length>0?r.substr(1):r;if(" "===o||"-"===o){if(!a(t+1,i[t],o,u)&&++c>l)return!1;t++}}return!0}for(var h=0;h0?w[0]:" ",B=w.length>0?w.substr(1):w,k=F.linedelimiters[S];if(" "===T)x++;else if("-"===T)i.splice(x,1),u.splice(x,1);else if("+"===T)i.splice(x,0,B),u.splice(x,0,k),x++;else if("\\"===T){var N=F.lines[S-1]?F.lines[S-1][0]:null;"+"===N?r=!0:"-"===N&&(o=!0)}}}if(r)for(;!i[i.length-1];)i.pop(),u.pop();else o&&(i.push(""),u.push("\n"));for(var P=0;Pe.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?a(p.lines.slice(-u.context)):[],l-=d.length,f-=d.length)}(i=d).push.apply(i,B(o.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=o.length:h+=o.length}else{if(l)if(o.length<=2*u.context&&e=s.length-2&&o.length<=u.context){var b=/\n$/.test(n),C=/\n$/.test(r),v=0==o.length&&d.length>E.oldLines;!b&&v&&n.length>0&&d.splice(E.oldLines,0,"\\ No newline at end of file"),(b||v)&&C||d.push("\\ No newline at end of file")}c.push(E),l=0,f=0,d=[]}h+=o.length,m+=o.length}},y=0;ye.length)return!1;for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n"):r.removed&&t.push(""),t.push(ce(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")};function ce(e){var t=e;return(t=(t=(t=t.replace(/&/g,"&")).replace(//g,">")).replace(/"/g,""")}var le=Object.defineProperty({convertChangesToXML:ae},"__esModule",{value:!0}),pe=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function get(){return n.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function get(){return s.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function get(){return l.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function get(){return l.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function get(){return p.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function get(){return p.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function get(){return f.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function get(){return d.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function get(){return h.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function get(){return h.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function get(){return m.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function get(){return F.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function get(){return F.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function get(){return D.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function get(){return ie.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function get(){return I.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function get(){return I.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function get(){return I.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function get(){return se.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function get(){return le.convertChangesToXML}});var n=function(e){return e&&e.__esModule?e:{default:e}}(u)}));function fe(e){return{type:"concat",parts:e}}function de(e){return{type:"indent",contents:e}}function he(e,t){return{type:"align",contents:t,n:e}}function me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}var ge={type:"break-parent"},ye={type:"line",hard:!0},De={type:"line",hard:!0,literal:!0},Ee=fe([ye,ge]),be=fe([De,ge]),Ce={concat:fe,join:function join(e,t){for(var n=[],_r31=0;_r312&&void 0!==arguments[2]?arguments[2]:{}).groupId}},trim:{type:"trim"},indent:de,indentIfBreak:function indentIfBreak(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:he,addAlignmentToDoc:function addAlignmentToDoc(e,t,n){var r=e;if(t>0){for(var _e26=0;_e260&&void 0!==arguments[0]?arguments[0]:{}).onlyFirst,e=void 0!==_ref26$onlyFirst&&_ref26$onlyFirst,t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),""):e},Ae=function Ae(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},Fe=Ae,xe=Ae;Fe.default=xe;var Se=function Se(e){if("string"!=typeof e||0===e.length)return 0;if(0===(e=ve(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");for(var t=0,_n25=0;_n25=127&&_r32<=159||_r32>=768&&_r32<=879||(_r32>65535&&_n25++,t+=Fe(_r32)?2:1)}return t},we=Se,Te=Se;we.default=Te;var Be=function Be(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},ke=function ke(e){return e[e.length-1]},Ne=function Ne(e){for(var t=-1,n=null==e?0:e.length,r={};++t1)for(var n=1;n)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(o[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(o[i.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:".concat(o[i.PRERELEASE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[i.PRERELEASELOOSE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",o[i.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(o[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(o[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(o[i.GTLT],"\\s*(").concat(o[i.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],"|").concat(o[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(o[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),ut=["includePrerelease","loose","rtl"],st=function st(e){return e?"object"!=_typeof(e)?{loose:!0}:ut.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}},at=/^[0-9]+$/,ct=function ct(e,t){var n=at.test(e),r=at.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:ept)throw new TypeError("version is longer than ".concat(pt," characters"));rt("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;var n=e.trim().match(t.loose?dt[ht.LOOSE]:dt[ht.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>ft||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ft||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ft||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var _t29=+e;if(_t29>=0&&_t29=0;)"number"==typeof this.prerelease[_e27]&&(this.prerelease[_e27]++,_e27=-2);-1===_e27&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),gt}(),yt=gt,Dt=function Dt(e,t,n){return new yt(e,n).compare(new yt(t,n))},Et=function Et(e,t,n){return Dt(e,t,n)<0},St=function St(e,t,n){return Dt(e,t,n)>=0},wt=i((function(e,t){function n(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{},_ref27$plugins=_ref27.plugins,t=void 0===_ref27$plugins?[]:_ref27$plugins,_ref27$showUnreleased=_ref27.showUnreleased,n=void 0!==_ref27$showUnreleased&&_ref27$showUnreleased,_ref27$showDeprecated=_ref27.showDeprecated,r=void 0!==_ref27$showDeprecated&&_ref27$showDeprecated,_ref27$showInternal=_ref27.showInternal,o=void 0!==_ref27$showInternal&&_ref27$showInternal,i=Lt.split("-",1)[0],u=t.reduce((function(e,t){return[].concat(_toConsumableArray(e),_toConsumableArray(t.languages||[]))}),[]).filter(a),s=function(e,t){return Object.entries(e).map((function(_ref28){var _ref29=_slicedToArray(_ref28,2),e=_ref29[0],n=_ref29[1];return Object.assign(_defineProperty({},t,e),n)}))}(Object.assign.apply(Object,[{}].concat(_toConsumableArray(t.map((function(_ref30){return _ref30.options}))),[_t])),"name").filter((function(e){return a(e)&&c(e)})).sort((function(e,t){return e.name===t.name?0:e.name=0&&u2&&void 0!==arguments[2]?arguments[2]:{},r=Wt(e,n.backwards?t-1:t,n);return r!==Jt(e,r,n)}function Yt(e,t){for(var n=null,r=t;r!==n;)n=r,r=Ht(e,r=Ut(e,r)),r=Wt(e,r);return!1!==(r=Jt(e,r=Gt(e,r)))&&Xt(e,r)}function Kt(e,t){for(var n=null,r=t;r!==n;)n=r,r=Jt(e,r=Gt(e,r=Ht(e,r=Wt(e,r))));return r}function Qt(e,t,n){return Kt(e,n(t))}function Zt(e,t){for(var r=0,_o8=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;_o8(n.match(u.regex)||[]).length?u.quote:i.quote),s}function tn(e,t,n){var r='"'===t?"'":'"',o=e.replace(/\\([\S\s])|(["'])/g,(function(e,o,i){return o===r?o:i===t?"\\"+i:i||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o)}));return t+o+t}function nn(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){var t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&("object"==_typeof(e.id)?e.id.name:e.id)||e.key&&("object"==_typeof(e.key)?e.key.name:e.key)||e.value&&("object"==_typeof(e.value)?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}(e)}var rn={inferParserByLanguage:function inferParserByLanguage(e,t){var n=Rt({plugins:t.plugins}).languages,r=n.find((function(_ref31){return _ref31.name.toLowerCase()===e}))||n.find((function(_ref32){var t=_ref32.aliases;return Array.isArray(t)&&t.includes(e)}))||n.find((function(_ref33){var t=_ref33.extensions;return Array.isArray(t)&&t.includes(".".concat(e))}));return r&&r.parsers[0]},replaceEndOfLineWith:function replaceEndOfLineWith(e,t){var _step13,n=[],_iterator13=_createForOfIteratorHelper(e.split("\n"));try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var _r35=_step13.value;n.length>0&&n.push(t),n.push(_r35)}}catch(err){_iterator13.e(err)}finally{_iterator13.f()}return n},getStringWidth:function getStringWidth(e){return e?Vt.test(e)?we(e):e.length:0},getMaxContinuousCount:function getMaxContinuousCount(e,t){var n=e.match(new RegExp("(".concat(Be(t),")+"),"g"));return null===n?0:n.reduce((function(e,n){return Math.max(e,n.length/t.length)}),0)},getMinNotPresentContinuousCount:function getMinNotPresentContinuousCount(e,t){var n=e.match(new RegExp("(".concat(Be(t),")+"),"g"));if(null===n)return 0;var _step14,r=new Map,o=0,_iterator14=_createForOfIteratorHelper(n);try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var _n30=_step14.value.length/t.length;r.set(_n30,!0),_n30>o&&(o=_n30)}}catch(err){_iterator14.e(err)}finally{_iterator14.f()}for(var _e28=1;_e282&&void 0!==arguments[2]?arguments[2]:{};return Wt(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:Zt,getIndentSize:function getIndentSize(e,t){var n=e.lastIndexOf("\n");return-1===n?0:Zt(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:en,printString:function printString(e,t){return tn(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":en(e,t.singleQuote?"'":'"'),!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function printNumber(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:tn,addLeadingComment:function addLeadingComment(e,t){t.leading=!0,t.trailing=!1,nn(e,t)},addDanglingComment:function addDanglingComment(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),nn(e,t)},addTrailingComment:function addTrailingComment(e,t){t.leading=!1,t.trailing=!0,nn(e,t)},isFrontMatterNode:function isFrontMatterNode(e){return e&&"front-matter"===e.type},getShebang:function getShebang(e){if(!e.startsWith("#!"))return"";var t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function isNonEmptyArray(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function createGroupIdMapper(e){var t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}},on={guessEndOfLine:function guessEndOfLine(e){var t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function convertEndOfLineToChars(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function countEndOfLineChars(e,t){var n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}var r=e.match(n);return r?r.length:0},normalizeEndOfLine:function normalizeEndOfLine(e){return e.replace(/\r\n?/g,"\n")}},un=Ce.literalline,sn=function sn(e){return Array.isArray(e)||e&&"concat"===e.type},an=function an(e){if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},cn={};function ln(e,t,n,r){for(var o=[e];o.length>0;){var _e30=o.pop();if(_e30!==cn){if(n&&o.push(_e30,cn),!t||!1!==t(_e30))if(sn(_e30)||"fill"===_e30.type)for(var _t30=an(_e30),_e31=_t30.length-1;_e31>=0;--_e31)o.push(_t30[_e31]);else if("if-break"===_e30.type)_e30.flatContents&&o.push(_e30.flatContents),_e30.breakContents&&o.push(_e30.breakContents);else if("group"===_e30.type&&_e30.expandedStates)if(r)for(var _t31=_e30.expandedStates.length-1;_t31>=0;--_t31)o.push(_e30.expandedStates[_t31]);else o.push(_e30.contents);else _e30.contents&&o.push(_e30.contents)}else n(o.pop())}}function pn(e,t){var n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);var o=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){var _n31=e.parts.map(r);return t(Object.assign({},e,{parts:_n31}))}if("if-break"===e.type){var _n32=e.breakContents&&r(e.breakContents),_o9=e.flatContents&&r(e.flatContents);return t(Object.assign({},e,{breakContents:_n32,flatContents:_o9}))}if("group"===e.type&&e.expandedStates){var _n33=e.expandedStates.map(r),_o10=_n33[0];return t(Object.assign({},e,{contents:_o10,expandedStates:_n33}))}if(e.contents){var _n34=r(e.contents);return t(Object.assign({},e,{contents:_n34}))}return t(e)}(e);return n.set(e,o),o}}function fn(e,t,n){var r=n,o=!1;return ln(e,(function(e){var n=t(e);if(void 0!==n&&(o=!0,r=n),o)return!1})),r}function dn(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function hn(e){if(e.length>0){var _t32=ke(e);_t32.expandedStates||_t32.break||(_t32.break="propagated")}return null}function mn(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var gn=function gn(e,t){return e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type};function yn(e){if(!e)return e;if(sn(e)||"fill"===e.type){for(var _t33=an(e);_t33.length>1&&gn.apply(void 0,_toConsumableArray(_t33.slice(-2)));)_t33.length-=2;if(_t33.length>0){var _e32=yn(ke(_t33));_t33[_t33.length-1]=_e32}return Array.isArray(e)?_t33:Object.assign({},e,{parts:_t33})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":var _t34=yn(e.contents);return Object.assign({},e,{contents:_t34});case"if-break":var _t35=yn(e.breakContents),_n35=yn(e.flatContents);return Object.assign({},e,{breakContents:_t35,flatContents:_n35})}return e}function Dn(e){return pn(e,(function(e){return function(e){switch(e.type){case"fill":if(0===e.parts.length||e.parts.every((function(e){return""===e})))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!sn(e))return e;var _step15,t=[],_iterator15=_createForOfIteratorHelper(an(e));try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var _n36=_step15.value;if(_n36){var _ref35=_toArray(sn(_n36)?an(_n36):[_n36]),_e33=_ref35[0],_r37=_ref35.slice(1);"string"==typeof _e33&&"string"==typeof ke(t)?t[t.length-1]+=_e33:t.push(_e33),t.push.apply(t,_toConsumableArray(_r37))}}}catch(err){_iterator15.e(err)}finally{_iterator15.f()}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign({},e,{parts:t})}(e)}))}function En(e){for(var t=[],n=e.filter(Boolean);n.length>0;){var _e34=n.shift();_e34&&(sn(_e34)?n.unshift.apply(n,_toConsumableArray(an(_e34))):t.length>0&&"string"==typeof ke(t)&&"string"==typeof _e34?t[t.length-1]+=_e34:t.push(_e34))}return t}var Bn,bn={isConcat:sn,getDocParts:an,willBreak:function willBreak(e){return fn(e,dn,!1)},traverseDoc:ln,findInDoc:fn,mapDoc:pn,propagateBreaks:function propagateBreaks(e){var t=new Set,n=[];ln(e,(function(e){if("break-parent"===e.type&&hn(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&hn(n)}),!0)},removeLines:function removeLines(e){return pn(e,mn)},stripTrailingHardline:function stripTrailingHardline(e){return yn(Dn(e))},normalizeParts:En,normalizeDoc:function normalizeDoc(e){return pn(e,(function(e){return Array.isArray(e)?En(e):e.parts?Object.assign({},e,{parts:En(e.parts)}):e}))},cleanDoc:Dn,replaceNewlinesWithLiterallines:function replaceNewlinesWithLiterallines(e){return pn(e,(function(e){return"string"==typeof e&&e.includes("\n")?e.split(/(\n)/g).map((function(e,t){return t%2==0?e:un})):e}))}},Cn=rn.getStringWidth,vn=rn.getLast,An=on.convertEndOfLineToChars,Fn=Ce.fill,xn=Ce.cursor,Sn=Ce.indent,wn=bn.isConcat,Tn=bn.getDocParts;function kn(e,t){return Pn(e,{type:"indent"},t)}function Nn(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?Pn(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):Pn(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function Pn(e,t,n){var _step16,r="dedent"===t.type?e.queue.slice(0,-1):[].concat(_toConsumableArray(e.queue),[t]),o="",i=0,u=0,s=0,_iterator16=_createForOfIteratorHelper(r);try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var _e35=_step16.value;switch(_e35.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=_e35.n,i+=_e35.n.length;break;case"numberAlign":u+=1,s+=_e35.n;break;default:throw new Error("Unexpected type '".concat(_e35.type,"'"))}}}catch(err){_iterator16.e(err)}finally{_iterator16.f()}return p(),Object.assign({},e,{value:o,length:i,queue:r});function a(e){o+="\t".repeat(e),i+=n.tabWidth*e}function c(e){o+=" ".repeat(e),i+=e}function l(){n.useTabs?(u>0&&a(u),f()):p()}function p(){s>0&&c(s),f()}function f(){u=0,s=0}}function On(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"==typeof vn(e)&&/^[\t ]*$/.test(vn(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof vn(e)){var _n37=vn(e).replace(/[\t ]*$/,"");t+=vn(e).length-_n37.length,e[e.length-1]=_n37}return t}function In(e,t,n,r,o,i){for(var u=t.length,s=[e],a=[];n>=0;)if(0!==s.length){var _s$pop2=_slicedToArray(s.pop(),3),_e36=_s$pop2[0],_c4=_s$pop2[1],_l2=_s$pop2[2];if("string"==typeof _l2)a.push(_l2),n-=Cn(_l2);else if(wn(_l2))for(var _t36=Tn(_l2),_n38=_t36.length-1;_n38>=0;_n38--)s.push([_e36,_c4,_t36[_n38]]);else switch(_l2.type){case"indent":s.push([kn(_e36,r),_c4,_l2.contents]);break;case"align":s.push([Nn(_e36,_l2.n,r),_c4,_l2.contents]);break;case"trim":n+=On(a);break;case"group":if(i&&_l2.break)return!1;var _t37=_l2.break?1:_c4;s.push([_e36,_t37,_l2.expandedStates&&1===_t37?vn(_l2.expandedStates):_l2.contents]),_l2.id&&(Bn[_l2.id]=_t37);break;case"fill":for(var _t38=_l2.parts.length-1;_t38>=0;_t38--)s.push([_e36,_c4,_l2.parts[_t38]]);break;case"if-break":case"indent-if-break":var _t39=_l2.groupId?Bn[_l2.groupId]:_c4;if(1===_t39){var _t40="if-break"===_l2.type?_l2.breakContents:_l2.negate?_l2.contents:Sn(_l2.contents);_t40&&s.push([_e36,_c4,_t40])}if(2===_t39){var _t41="if-break"===_l2.type?_l2.flatContents:_l2.negate?Sn(_l2.contents):_l2.contents;_t41&&s.push([_e36,_c4,_t41])}break;case"line":switch(_c4){case 2:if(!_l2.hard){_l2.soft||(a.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1;break;case"label":s.push([_e36,_c4,_l2.contents])}}else{if(0===u)return!0;s.push(t[u-1]),u--}return!1}var jn={printDocToString:function printDocToString(e,t){Bn={};for(var n=t.printWidth,r=An(t.endOfLine),o=0,i=[[{value:"",length:0,queue:[]},1,e]],u=[],s=!1,a=[];i.length>0;){var _i$pop2=_slicedToArray(i.pop(),3),_e37=_i$pop2[0],_c5=_i$pop2[1],_l3=_i$pop2[2];if("string"==typeof _l3){var _e38="\n"!==r?_l3.replace(/\n/g,r):_l3;u.push(_e38),o+=Cn(_e38)}else if(wn(_l3))for(var _t42=Tn(_l3),_n39=_t42.length-1;_n39>=0;_n39--)i.push([_e37,_c5,_t42[_n39]]);else switch(_l3.type){case"cursor":u.push(xn.placeholder);break;case"indent":i.push([kn(_e37,t),_c5,_l3.contents]);break;case"align":i.push([Nn(_e37,_l3.n,t),_c5,_l3.contents]);break;case"trim":o-=On(u);break;case"group":switch(_c5){case 2:if(!s){i.push([_e37,_l3.break?1:2,_l3.contents]);break}case 1:s=!1;var _r38=[_e37,2,_l3.contents],_u4=n-o,_c6=a.length>0;if(!_l3.break&&In(_r38,i,_u4,t,_c6))i.push(_r38);else if(_l3.expandedStates){var _n40=vn(_l3.expandedStates);if(_l3.break){i.push([_e37,1,_n40]);break}for(var _r39=1;_r39<_l3.expandedStates.length+1;_r39++){if(_r39>=_l3.expandedStates.length){i.push([_e37,1,_n40]);break}var _n41=[_e37,2,_l3.expandedStates[_r39]];if(In(_n41,i,_u4,t,_c6)){i.push(_n41);break}}}else i.push([_e37,1,_l3.contents])}_l3.id&&(Bn[_l3.id]=vn(i)[1]);break;case"fill":var _r40=n-o,_u5=_l3.parts;if(0===_u5.length)break;var _u6=_slicedToArray(_u5,2),_s15=_u6[0],_p2=_u6[1],_f2=[_e37,2,_s15],_d2=[_e37,1,_s15],_h2=In(_f2,[],_r40,t,a.length>0,!0);if(1===_u5.length){_h2?i.push(_f2):i.push(_d2);break}var _m2=[_e37,2,_p2],_g2=[_e37,1,_p2];if(2===_u5.length){_h2?i.push(_m2,_f2):i.push(_g2,_d2);break}_u5.splice(0,2);var _y2=[_e37,_c5,Fn(_u5)];In([_e37,2,[_s15,_p2,_u5[0]]],[],_r40,t,a.length>0,!0)?i.push(_y2,_m2,_f2):_h2?i.push(_y2,_g2,_f2):i.push(_y2,_g2,_d2);break;case"if-break":case"indent-if-break":var _t43=_l3.groupId?Bn[_l3.groupId]:_c5;if(1===_t43){var _t44="if-break"===_l3.type?_l3.breakContents:_l3.negate?_l3.contents:Sn(_l3.contents);_t44&&i.push([_e37,_c5,_t44])}if(2===_t43){var _t45="if-break"===_l3.type?_l3.flatContents:_l3.negate?Sn(_l3.contents):_l3.contents;_t45&&i.push([_e37,_c5,_t45])}break;case"line-suffix":a.push([_e37,_c5,_l3.contents]);break;case"line-suffix-boundary":a.length>0&&i.push([_e37,_c5,{type:"line",hard:!0}]);break;case"line":switch(_c5){case 2:if(!_l3.hard){_l3.soft||(u.push(" "),o+=1);break}s=!0;case 1:if(a.length>0){i.push.apply(i,[[_e37,_c5,_l3]].concat(_toConsumableArray(a.reverse()))),a=[];break}_l3.literal?_e37.root?(u.push(r,_e37.root.value),o=_e37.root.length):(u.push(r),o=0):(o-=On(u),u.push(r+_e37.value),o=_e37.length)}break;case"label":i.push([_e37,_c5,_l3.contents])}0===i.length&&a.length>0&&(i.push.apply(i,_toConsumableArray(a.reverse())),a=[])}var c=u.indexOf(xn.placeholder);if(-1!==c){var _e39=u.indexOf(xn.placeholder,c+1),_t46=u.slice(0,c).join(""),_n42=u.slice(c+1,_e39).join("");return{formatted:_t46+_n42+u.slice(_e39+1).join(""),cursorNodeStart:_t46.length,cursorNodeText:_n42}}return{formatted:u.join("")}}},Ln=bn.isConcat,_n=bn.getDocParts;function Mn(e){if(!e)return"";if(Ln(e)){var _step17,_t47=[],_iterator17=_createForOfIteratorHelper(_n(e));try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var _n43=_step17.value;if(Ln(_n43))_t47.push.apply(_t47,_toConsumableArray(Mn(_n43).parts));else{var _e40=Mn(_n43);""!==_e40&&_t47.push(_e40)}}}catch(err){_iterator17.e(err)}finally{_iterator17.f()}return{type:"concat",parts:_t47}}return"if-break"===e.type?Object.assign({},e,{breakContents:Mn(e.breakContents),flatContents:Mn(e.flatContents)}):"group"===e.type?Object.assign({},e,{contents:Mn(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(Mn)}):"fill"===e.type?{type:"fill",parts:e.parts.map(Mn)}:e.contents?Object.assign({},e,{contents:Mn(e.contents)}):e}var Rn={builders:Ce,printer:jn,utils:bn,debug:{printDocToDebug:function printDocToDebug(e){var t=Object.create(null),n=new Set;return function e(t,n,o){if("string"==typeof t)return JSON.stringify(t);if(Ln(t)){var _n44=_n(t).map(e).filter(Boolean);return 1===_n44.length?_n44[0]:"[".concat(_n44.join(", "),"]")}if("line"===t.type){var _e41=Array.isArray(o)&&o[n+1]&&"break-parent"===o[n+1].type;return t.literal?_e41?"literalline":"literallineWithoutBreakParent":t.hard?_e41?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(o)&&o[n-1]&&"line"===o[n-1].type&&o[n-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+", { groupId: ".concat(r(t.groupId)," }"):"")+")";if("indent-if-break"===t.type){var _n45=[];t.negate&&_n45.push("negate: true"),t.groupId&&_n45.push("groupId: ".concat(r(t.groupId)));var _o11=_n45.length>0?", { ".concat(_n45.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(_o11,")")}if("group"===t.type){var _n46=[];t.break&&"propagated"!==t.break&&_n46.push("shouldBreak: true"),t.id&&_n46.push("id: ".concat(r(t.id)));var _o12=_n46.length>0?", { ".concat(_n46.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map((function(t){return e(t)})).join(","),"]").concat(_o12,")"):"group(".concat(e(t.contents)).concat(_o12,")")}if("fill"===t.type)return"fill([".concat(t.parts.map((function(t){return e(t)})).join(", "),"])");if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return"label(".concat(JSON.stringify(t.label),", ").concat(e(t.contents),")");throw new Error("Unknown doc type "+t.type)}(Mn(e));function r(e){if("symbol"!=_typeof(e))return JSON.stringify(String(e));if(e in t)return t[e];for(var r=String(e).slice(7,-1)||"symbol",_o13=0;;_o13++){var _i11=r+(_o13>0?" #".concat(_o13):"");if(!n.has(_i11))return n.add(_i11),t[e]="Symbol.for(".concat(JSON.stringify(_i11),")")}}}}},Vn=Object.freeze({__proto__:null,default:{}});function $n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var qn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Wn=function Wn(e){return qn.exec(e).slice(1)};function Un(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=$n(Zn(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function zn(e){var t=Hn(e),n="/"===er(e,-1);return(e=$n(Zn(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Hn(e){return"/"===e.charAt(0)}function Gn(){return zn(Zn(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Jn(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=Un(e).substr(1),t=Un(t).substr(1);for(var r=n(e.split("/")),o=n(t.split("/")),i=Math.min(r.length,o.length),u=i,s=0;s>18&63]+nr[o>>12&63]+nr[o>>6&63]+nr[63&o]);return i.join("")}function ar(e){var t;ir||ur();for(var n=e.length,r=n%3,o="",i=[],u=16383,s=0,a=n-r;sa?a:s+u));return 1===r?(t=e[n-1],o+=nr[t>>2],o+=nr[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=nr[t>>10],o+=nr[t>>4&63],o+=nr[t<<2&63],o+="="),i.push(o),i.join("")}function cr(e,t,n,r,o){var i,u,s=8*o-r-1,a=(1<>1,l=-7,p=n?o-1:0,f=n?-1:1,d=e[t+p];for(p+=f,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=f,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;l>0;u=256*u+e[t+p],p+=f,l-=8);if(0===i)i=1-c;else{if(i===a)return u?NaN:1/0*(d?-1:1);u+=Math.pow(2,r),i-=c}return(d?-1:1)*u*Math.pow(2,i-r)}function lr(e,t,n,r,o,i){var u,s,a,c=8*i-o-1,l=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,u=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-u))<1&&(u--,a*=2),(t+=u+p>=1?f/a:f*Math.pow(2,1-p))*a>=2&&(u++,a/=2),u+p>=l?(s=0,u=l):u+p>=1?(s=(t*a-1)*Math.pow(2,o),u+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),u=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(u=u<0;e[n+d]=255&u,d+=h,u/=256,c-=8);e[n+d-h]|=128*m}var pr={}.toString,fr=Array.isArray||function(e){return"[object Array]"==pr.call(e)};function dr(){return mr.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function hr(e,t){if(dr()=dr())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+dr().toString(16)+" bytes");return 0|e}function Cr(e){return!(null==e||!e._isBuffer)}function vr(e,t){if(Cr(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Xr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Yr(e).length;default:if(r)return Xr(e).length;t=(""+t).toLowerCase(),r=!0}}function Ar(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Mr(this,t,n);case"utf8":case"utf-8":return Ir(this,t,n);case"ascii":return Lr(this,t,n);case"latin1":case"binary":return _r(this,t,n);case"base64":return Or(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Fr(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function xr(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=mr.from(t,r)),Cr(t))return 0===t.length?-1:Sr(e,t,n,r,o);if("number"==typeof t)return t&=255,mr.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Sr(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function Sr(e,t,n,r,o){var i,u=1,s=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;u=2,s/=2,a/=2,n/=2}function c(e,t){return 1===u?e[t]:e.readUInt16BE(t*u)}if(o){var l=-1;for(i=n;is&&(n=s-a),i=n;i>=0;i--){for(var p=!0,f=0;fo&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var u=0;u>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function Or(e,t,n){return 0===t&&n===e.length?ar(e):ar(e.slice(t,n))}function Ir(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:c>223?3:c>191?2:1;if(o+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(a=(31&c)<<6|63&i)>127&&(l=a);break;case 3:i=e[o+1],u=e[o+2],128==(192&i)&&128==(192&u)&&(a=(15&c)<<12|(63&i)<<6|63&u)>2047&&(a<55296||a>57343)&&(l=a);break;case 4:i=e[o+1],u=e[o+2],s=e[o+3],128==(192&i)&&128==(192&u)&&128==(192&s)&&(a=(15&c)<<18|(63&i)<<12|(63&u)<<6|63&s)>65535&&a<1114112&&(l=a)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=p}return function(e){var t=e.length;if(t<=jr)return String.fromCharCode.apply(String,e);for(var n="",r=0;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},mr.prototype.compare=function(e,t,n,r,o){if(!Cr(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),u=(n>>>=0)-(t>>>=0),s=Math.min(i,u),a=this.slice(r,o),c=e.slice(t,n),l=0;lo)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return wr(this,e,t,n);case"utf8":case"utf-8":return Tr(this,e,t,n);case"ascii":return Br(this,e,t,n);case"latin1":case"binary":return kr(this,e,t,n);case"base64":return Nr(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},mr.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var jr=4096;function Lr(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;or)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function $r(e,t,n,r,o,i){if(!Cr(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function qr(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function Wr(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function Ur(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function zr(e,t,n,r,o){return o||Ur(e,0,n,4),lr(e,t,n,r,23,4),n+4}function Hr(e,t,n,r,o){return o||Ur(e,0,n,8),lr(e,t,n,r,52,8),n+8}mr.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},mr.prototype.readUInt8=function(e,t){return t||Vr(e,1,this.length),this[e]},mr.prototype.readUInt16LE=function(e,t){return t||Vr(e,2,this.length),this[e]|this[e+1]<<8},mr.prototype.readUInt16BE=function(e,t){return t||Vr(e,2,this.length),this[e]<<8|this[e+1]},mr.prototype.readUInt32LE=function(e,t){return t||Vr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},mr.prototype.readUInt32BE=function(e,t){return t||Vr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},mr.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Vr(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},mr.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Vr(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},mr.prototype.readInt8=function(e,t){return t||Vr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},mr.prototype.readInt16LE=function(e,t){t||Vr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},mr.prototype.readInt16BE=function(e,t){t||Vr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},mr.prototype.readInt32LE=function(e,t){return t||Vr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},mr.prototype.readInt32BE=function(e,t){return t||Vr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},mr.prototype.readFloatLE=function(e,t){return t||Vr(e,4,this.length),cr(this,e,!0,23,4)},mr.prototype.readFloatBE=function(e,t){return t||Vr(e,4,this.length),cr(this,e,!1,23,4)},mr.prototype.readDoubleLE=function(e,t){return t||Vr(e,8,this.length),cr(this,e,!0,52,8)},mr.prototype.readDoubleBE=function(e,t){return t||Vr(e,8,this.length),cr(this,e,!1,52,8)},mr.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||$r(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},mr.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,1,255,0),mr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},mr.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,65535,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):qr(this,e,t,!0),t+2},mr.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,65535,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):qr(this,e,t,!1),t+2},mr.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,4294967295,0),mr.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Wr(this,e,t,!0),t+4},mr.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,4294967295,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Wr(this,e,t,!1),t+4},mr.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);$r(this,e,t,n,o-1,-o)}var i=0,u=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},mr.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);$r(this,e,t,n,o-1,-o)}var i=n-1,u=1,s=0;for(this[t+i]=255&e;--i>=0&&(u*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/u>>0)-s&255;return t+n},mr.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,1,127,-128),mr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},mr.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,32767,-32768),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):qr(this,e,t,!0),t+2},mr.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,32767,-32768),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):qr(this,e,t,!1),t+2},mr.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,2147483647,-2147483648),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Wr(this,e,t,!0),t+4},mr.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Wr(this,e,t,!1),t+4},mr.prototype.writeFloatLE=function(e,t,n){return zr(this,e,t,!0,n)},mr.prototype.writeFloatBE=function(e,t,n){return zr(this,e,t,!1,n)},mr.prototype.writeDoubleLE=function(e,t,n){return Hr(this,e,t,!0,n)},mr.prototype.writeDoubleBE=function(e,t,n){return Hr(this,e,t,!1,n)},mr.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!mr.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(u+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Yr(e){return function(e){var t,n,r,o,i,u;ir||ur();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,u=new or(3*s/4-i),r=i>0?s-4:s;var a=0;for(t=0,n=0;t>16&255,u[a++]=o>>8&255,u[a++]=255&o;return 2===i?(o=rr[e.charCodeAt(t)]<<2|rr[e.charCodeAt(t+1)]>>4,u[a++]=255&o):1===i&&(o=rr[e.charCodeAt(t)]<<10|rr[e.charCodeAt(t+1)]<<4|rr[e.charCodeAt(t+2)]>>2,u[a++]=o>>8&255,u[a++]=255&o),u}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Gr,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Kr(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Qr(e){return null!=e&&(!!e._isBuffer||Zr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Zr(e.slice(0,0))}(e))}function Zr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var eo=o(Vn),to=function(){function to(e,t){_classCallCheck(this,to),(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:eo.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}return _createClass(to,[{key:"_searchInBuffer",value:function _searchInBuffer(e,t){for(var n=-1,_r41=0;_r41<=e.length;_r41++)if(e[_r41]===t){n=_r41;break}return n}},{key:"reset",value:function reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function close(){eo.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function _extractLines(e){for(var t,n=[],r=0,o=0;;){var _i12=e[r++];if(_i12===this.newLineCharacter)t=e.slice(o,r),n.push(t),o=r;else if(void 0===_i12)break}var i=e.slice(o,r);return i.length&&n.push(i),n}},{key:"_readChunk",value:function _readChunk(e){var t,n=0,r=[];do{var _e42=new mr(this.options.readChunk);n+=t=eo.readSync(this.fd,_e42,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+t,r.push(_e42)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));var o=mr.concat(r);return t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function lo(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function po(e){return this instanceof po?(this.v=e,this):new po(e)}var fo=Object.freeze({__proto__:null,__extends:function __extends(e,t){function n(){this.constructor=e}_so(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return _ao},__rest:function __rest(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0;s--)(o=e[s])&&(u=(i<3?o(u):i>3?o(t,n,u):o(t,n))||u);return i>3&&u&&Object.defineProperty(t,n,u),u},__param:function __param(e,t){return function(n,r){t(n,r,e)}},__metadata:function __metadata(e,t){if("object"==("undefined"==typeof Reflect?"undefined":_typeof(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function __awaiter(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function s(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(u,s)}a((r=r.apply(e,t||[])).next())}))},__generator:function __generator(e,t){var n,r,o,i,u={label:0,sent:function sent(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof po?Promise.resolve(n.value.v).then(a,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function a(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}},__asyncDelegator:function __asyncDelegator(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:po(e[r](t)),done:"return"===r}:o?o(t):t}:o}},__asyncValues:function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=co(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function __makeTemplateObject(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function __importStar(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function __importDefault(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function __classPrivateFieldGet(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function __classPrivateFieldSet(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),ho=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:function key(e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)},value:function value(e){if(null===e||"object"!=_typeof(e))return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map((function(e){return t.apiDescriptor.value(e)})).join(", "),"]");var n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map((function(n){return"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))})).join(", ")," }")},pair:function pair(_ref36){var e=_ref36.key,n=_ref36.value;return t.apiDescriptor.value(_defineProperty({},e,n))}}})),mo=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(ho,t)})),go=/[|\\{}()[\]^$+*?.]/g,yo=function yo(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(go,"\\$&")},Do={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Eo=i((function(e){var t={};for(var n in Do)Do.hasOwnProperty(n)&&(t[Do[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var i=r[o].channels,u=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:i}),Object.defineProperty(r[o],"labels",{value:u})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,u=Math.min(r,o,i),s=Math.max(r,o,i),a=s-u;return s===u?t=0:r===s?t=(o-i)/a:o===s?t=2+(i-r)/a:i===s&&(t=4+(r-o)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(u+s)/2,[t,100*(s===u?0:n<=.5?a/(s+u):a/(2-s-u)),100*n]},r.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function p(e){return(c-e)/6/l+.5};return 0===l?o=i=0:(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,o))*100,100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,o,i,u=1/0;for(var s in Do)if(Do.hasOwnProperty(s)){var c=(o=e,i=Do[s],Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.hsl.rgb=function(e){var t,n,r,o,i,u=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[i=255*a,i,i];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];for(var c=0;c<3;c++)(r=u+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},r.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,u=e[2]/100,s=Math.max(u,.01);return r=(2-i)*u,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,o,i,u,s,a=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-l)-c),t){default:case 6:case 0:i=n,u=o,s=c;break;case 1:i=o,u=n,s=c;break;case 2:i=c,u=n,s=o;break;case 3:i=c,u=o,s=n;break;case 4:i=o,u=c,s=n;break;case 5:i=n,u=c,s=o}return[255*i,255*u,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},r.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,u=e[2]/100;return n=-.9689*o+1.8758*i+.0415*u,r=.0557*o+-.204*i+1.057*u,t=(t=3.2406*o+-1.5372*i+-.4986*u)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(u+=60),u},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),u=Math.min(Math.min(n,r),o),s=i-u;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?u/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],u=t%1*6,s=u%1,a=1-s;switch(Math.floor(u)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function bo(e){var t=function(){for(var e={},t=Object.keys(Eo),n=t.length,r=0;r1&&(_t48=Array.prototype.slice.call(arguments));var n=e(_t48);if("object"==_typeof(n))for(var r=n.length,o=0;o1&&(_t49=Array.prototype.slice.call(arguments)),e(_t49))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Fo,xo=Ao,So=i((function(e){var t=function t(e,_t50){return function(){var n=e.apply(xo,arguments);return"[".concat(n+_t50,"m")}},n=function n(e,t){return function(){var n=e.apply(xo,arguments);return"[".concat(38+t,";5;").concat(n,"m")}},r=function r(e,t){return function(){var n=e.apply(xo,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function get(){var e=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.grey=o.color.gray;for(var _i13=0,_Object$keys=Object.keys(o);_i13<_Object$keys.length;_i13++){for(var _t51=_Object$keys[_i13],_n47=o[_t51],_i14=0,_Object$keys2=Object.keys(_n47);_i14<_Object$keys2.length;_i14++){var _t52=_Object$keys2[_i14],_r42=_n47[_t52];o[_t52]={open:"[".concat(_r42[0],"m"),close:"[".concat(_r42[1],"m")},_n47[_t52]=o[_t52],e.set(_r42[0],_r42[1])}Object.defineProperty(o,_t51,{value:_n47,enumerable:!1}),Object.defineProperty(o,"codes",{value:e,enumerable:!1})}var i=function i(e){return e},u=function u(e,t,n){return[e,t,n]};o.color.close="",o.bgColor.close="",o.color.ansi={ansi:t(i,0)},o.color.ansi256={ansi256:n(i,0)},o.color.ansi16m={rgb:r(u,0)},o.bgColor.ansi={ansi:t(i,10)},o.bgColor.ansi256={ansi256:n(i,10)},o.bgColor.ansi16m={rgb:r(u,10)};for(var _i15=0,_Object$keys3=Object.keys(xo);_i15<_Object$keys3.length;_i15++){var _e43=_Object$keys3[_i15];if("object"==_typeof(xo[_e43])){var _i16=xo[_e43];"ansi16"===_e43&&(_e43="ansi"),"ansi16"in _i16&&(o.color.ansi[_e43]=t(_i16.ansi16,0),o.bgColor.ansi[_e43]=t(_i16.ansi16,10)),"ansi256"in _i16&&(o.color.ansi256[_e43]=n(_i16.ansi256,0),o.bgColor.ansi256[_e43]=n(_i16.ansi256,10)),"rgb"in _i16&&(o.color.ansi16m[_e43]=r(_i16.rgb,0),o.bgColor.ansi16m[_e43]=r(_i16.rgb,10))}}return o}})}));function wo(){if(void 0===Fo){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])Fo="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");Fo="LE"}}return Fo}function To(){return void 0!==Pe.location?Pe.location.hostname:""}function Bo(){return[]}function ko(){return 0}function No(){return Number.MAX_VALUE}function Po(){return Number.MAX_VALUE}function Oo(){return[]}function Io(){return"Browser"}function jo(){return void 0!==Pe.navigator?Pe.navigator.appVersion:""}function Lo(){}function _o(){}function Mo(){return"javascript"}function Ro(){return"browser"}function Vo(){return"/tmp"}var Ho,$o=Vo,qo={EOL:"\n",arch:Mo,platform:Ro,tmpdir:$o,tmpDir:Vo,networkInterfaces:Lo,getNetworkInterfaces:_o,release:jo,type:Io,cpus:Oo,totalmem:Po,freemem:No,uptime:ko,loadavg:Bo,hostname:To,endianness:wo},Wo=function Wo(e,t){t=t||nt.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r=2,has16m:e>=3}}(function(e){if(!1===Ho)return 0;if(Wo("color=16m")||Wo("color=full")||Wo("color=truecolor"))return 3;if(Wo("color=256"))return 2;if(e&&!e.isTTY&&!0!==Ho)return 0;var t=Ho?1:0;if("CI"in zo)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in zo}))||"codeship"===zo.CI_NAME?1:t;if("TEAMCITY_VERSION"in zo)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zo.TEAMCITY_VERSION)?1:0;if("truecolor"===zo.COLORTERM)return 3;if("TERM_PROGRAM"in zo){var _e44=parseInt((zo.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zo.TERM_PROGRAM){case"iTerm.app":return _e44>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zo.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zo.TERM)||"COLORTERM"in zo?1:(zo.TERM,t)}(e))}Wo("no-color")||Wo("no-colors")||Wo("color=false")?Ho=!1:(Wo("color")||Wo("colors")||Wo("color=true")||Wo("color=always"))&&(Ho=!0),"FORCE_COLOR"in zo&&(Ho=0===zo.FORCE_COLOR.length||0!==parseInt(zo.FORCE_COLOR,10));var Jo={supportsColor:Go,stdout:Go(nt.stdout),stderr:Go(nt.stderr)},Xo=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Yo=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ko=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Qo=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Zo=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function ei(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Zo.get(e)||e}function ti(e,t){var o,_step18,n=[],_iterator18=_createForOfIteratorHelper(t.trim().split(/\s*,\s*/g));try{for(_iterator18.s();!(_step18=_iterator18.n()).done;){var _t53=_step18.value;if(isNaN(_t53)){if(!(o=_t53.match(Ko)))throw new Error("Invalid Chalk template style argument: ".concat(_t53," (in style '").concat(e,"')"));n.push(o[2].replace(Qo,(function(e,t,n){return t?ei(t):n})))}else n.push(Number(_t53))}}catch(err){_iterator18.e(err)}finally{_iterator18.f()}return n}function ni(e){Yo.lastIndex=0;for(var n,t=[];null!==(n=Yo.exec(e));){var _e45=n[1];if(n[2]){var _r43=ti(_e45,n[2]);t.push([_e45].concat(_r43))}else t.push([_e45])}return t}function ri(e,t){var _step19,n={},_iterator19=_createForOfIteratorHelper(t);try{for(_iterator19.s();!(_step19=_iterator19.n()).done;){var _step20,_e47=_step19.value,_iterator20=_createForOfIteratorHelper(_e47.styles);try{for(_iterator20.s();!(_step20=_iterator20.n()).done;){var _t54=_step20.value;n[_t54[0]]=_e47.inverse?null:_t54.slice(1)}}catch(err){_iterator20.e(err)}finally{_iterator20.f()}}}catch(err){_iterator19.e(err)}finally{_iterator19.f()}for(var r=e,_i17=0,_Object$keys4=Object.keys(n);_i17<_Object$keys4.length;_i17++){var _e46=_Object$keys4[_i17];if(Array.isArray(n[_e46])){if(!(_e46 in r))throw new Error("Unknown Chalk style: ".concat(_e46));r=n[_e46].length>0?r[_e46].apply(r,n[_e46]):r[_e46]}}return r}var oi=function oi(e,t){var n=[],r=[],o=[];if(t.replace(Xo,(function(t,i,u,s,a,c){if(i)o.push(ei(i));else if(s){var _t55=o.join("");o=[],r.push(0===n.length?_t55:ri(e,n)(_t55)),n.push({inverse:u,styles:ni(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ri(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){var _e48="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(_e48)}return r.join("")},ii=i((function(e){var t=Jo.stdout,r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),i=Object.create(null);function u(e,n){n=n||{};var r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){var _t56={};return u(_t56,e),_t56.template=function(){var e=[].slice.call(arguments);return p.apply(null,[_t56.template].concat(e))},Object.setPrototypeOf(_t56,s.prototype),Object.setPrototypeOf(_t56.template,_t56),_t56.template.constructor=s,_t56.template}u(this,e)}for(var _loop3=function _loop3(){var e=_Object$keys5[_i18];So[e].closeRe=new RegExp(yo(So[e].close),"g"),i[e]={get:function get(){var t=So[e];return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},_i18=0,_Object$keys5=Object.keys(So);_i18<_Object$keys5.length;_i18++)_loop3();i.visible={get:function get(){return c.call(this,this._styles||[],!0,"visible")}},So.color.closeRe=new RegExp(yo(So.color.close),"g");for(var _loop4=function _loop4(){var e=_Object$keys6[_i19];o.has(e)||(i[e]={get:function get(){var t=this.level;return function(){var o={open:So.color[r[t]][e].apply(null,arguments),close:So.color.close,closeRe:So.color.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}})},_i19=0,_Object$keys6=Object.keys(So.color.ansi);_i19<_Object$keys6.length;_i19++)_loop4();So.bgColor.closeRe=new RegExp(yo(So.bgColor.close),"g");for(var _loop5=function _loop5(){var e=_Object$keys7[_i20];if(o.has(e))return"continue";i["bg"+e[0].toUpperCase()+e.slice(1)]={get:function get(){var t=this.level;return function(){var o={open:So.bgColor[r[t]][e].apply(null,arguments),close:So.bgColor.close,closeRe:So.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}},_i20=0,_Object$keys7=Object.keys(So.bgColor.ansi);_i20<_Object$keys7.length;_i20++)_loop5();var a=Object.defineProperties((function(){}),i);function c(e,t,n){var r=function r(){return l.apply(r,arguments)};r._styles=e,r._empty=t;var o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function get(){return o.level},set:function set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function get(){return o.enabled},set:function set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=a,r}function l(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var _n48=1;_n48t.length&&(e=t,t=n);var r=e.length,o=t.length;if(0===r)return o;if(0===o)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;if(0===r)return o;for(var i,u,s,a,c=0;cu?a>u?u+1:a:a>s?s+1:a;return u}(e,t)<3}));u&&i.push("Did you mean ".concat(ii.default.blue(n.key(u)),"?")),r.warn(i.join(" "))}},"__esModule",{value:!0}),di=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(fi,t)})),hi=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(si,t),fo.__exportStar(ci,t),fo.__exportStar(di,t)})),mi=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function gi(e,t){var _step22,n=new e(t),r=Object.create(n),_iterator22=_createForOfIteratorHelper(mi);try{for(_iterator22.s();!(_step22=_iterator22.n()).done;){var _e51=_step22.value;_e51 in t&&(r[_e51]=bi(t[_e51],n,Di.prototype[_e51].length))}}catch(err){_iterator22.e(err)}finally{_iterator22.f()}return r}var yi=gi,Di=function(){function Di(e){_classCallCheck(this,Di),this.name=e.name}return _createClass(Di,[{key:"default",value:function _default(e){}},{key:"expected",value:function expected(e){return"nothing"}},{key:"validate",value:function validate(e,t){return!1}},{key:"deprecated",value:function deprecated(e,t){return!1}},{key:"forward",value:function forward(e,t){}},{key:"redirect",value:function redirect(e,t){}},{key:"overlap",value:function overlap(e,t,n){return e}},{key:"preprocess",value:function preprocess(e,t){return e}},{key:"postprocess",value:function postprocess(e,t){return e}}],[{key:"create",value:function create(e){return gi(this,e)}}]),Di}(),Ei=Di;function bi(e,t,n){return"function"==typeof e?function(){for(var _len5=arguments.length,r=new Array(_len5),_key5=0;_key5<_len5;_key5++)r[_key5]=arguments[_key5];return e.apply(void 0,_toConsumableArray(r.slice(0,n-1)).concat([t],_toConsumableArray(r.slice(n-1))))}:function(){return e}}var Ci=Object.defineProperty({createSchema:yi,Schema:Ei},"__esModule",{value:!0}),vi=function(_Ci$Schema){_inherits(vi,_Ci$Schema);var _super11=_createSuper(vi);function vi(e){var _this13;return _classCallCheck(this,vi),(_this13=_super11.call(this,e))._sourceName=e.sourceName,_this13}return _createClass(vi,[{key:"expected",value:function expected(e){return e.schemas[this._sourceName].expected(e)}},{key:"validate",value:function validate(e,t){return t.schemas[this._sourceName].validate(e,t)}},{key:"redirect",value:function redirect(e,t){return this._sourceName}}]),vi}(Ci.Schema),Ai=vi,Fi=Object.defineProperty({AliasSchema:Ai},"__esModule",{value:!0}),xi=function(_Ci$Schema2){_inherits(xi,_Ci$Schema2);var _super12=_createSuper(xi);function xi(){return _classCallCheck(this,xi),_super12.apply(this,arguments)}return _createClass(xi,[{key:"expected",value:function expected(){return"anything"}},{key:"validate",value:function validate(){return!0}}]),xi}(Ci.Schema),Si=xi,wi=Object.defineProperty({AnySchema:Si},"__esModule",{value:!0}),Ti=function(_Ci$Schema3){_inherits(Ti,_Ci$Schema3);var _super13=_createSuper(Ti);function Ti(e){var _this14;_classCallCheck(this,Ti);var t=e.valueSchema,_e$name=e.name,n=void 0===_e$name?t.name:_e$name,r=fo.__rest(e,["valueSchema","name"]);return(_this14=_super13.call(this,Object.assign({},r,{name:n})))._valueSchema=t,_this14}return _createClass(Ti,[{key:"expected",value:function expected(e){return"an array of ".concat(this._valueSchema.expected(e))}},{key:"validate",value:function validate(e,t){if(!Array.isArray(e))return!1;var _step23,n=[],_iterator23=_createForOfIteratorHelper(e);try{for(_iterator23.s();!(_step23=_iterator23.n()).done;){var _r44=_step23.value,_e52=t.normalizeValidateResult(this._valueSchema.validate(_r44,t),_r44);!0!==_e52&&n.push(_e52.value)}}catch(err){_iterator23.e(err)}finally{_iterator23.f()}return 0===n.length||{value:n}}},{key:"deprecated",value:function deprecated(e,t){var _step24,n=[],_iterator24=_createForOfIteratorHelper(e);try{for(_iterator24.s();!(_step24=_iterator24.n()).done;){var _r45=_step24.value,_e53=t.normalizeDeprecatedResult(this._valueSchema.deprecated(_r45,t),_r45);!1!==_e53&&n.push.apply(n,_toConsumableArray(_e53.map((function(_ref39){return{value:[_ref39.value]}}))))}}catch(err){_iterator24.e(err)}finally{_iterator24.f()}return n}},{key:"forward",value:function forward(e,t){var _step25,n=[],_iterator25=_createForOfIteratorHelper(e);try{for(_iterator25.s();!(_step25=_iterator25.n()).done;){var _r46=_step25.value,_e54=t.normalizeForwardResult(this._valueSchema.forward(_r46,t),_r46);n.push.apply(n,_toConsumableArray(_e54.map(ki)))}}catch(err){_iterator25.e(err)}finally{_iterator25.f()}return n}},{key:"redirect",value:function redirect(e,t){var _step26,n=[],r=[],_iterator26=_createForOfIteratorHelper(e);try{for(_iterator26.s();!(_step26=_iterator26.n()).done;){var _o14=_step26.value,_e55=t.normalizeRedirectResult(this._valueSchema.redirect(_o14,t),_o14);"remain"in _e55&&n.push(_e55.remain),r.push.apply(r,_toConsumableArray(_e55.redirect.map(ki)))}}catch(err){_iterator26.e(err)}finally{_iterator26.f()}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}},{key:"overlap",value:function overlap(e,t){return e.concat(t)}}]),Ti}(Ci.Schema),Bi=Ti;function ki(_ref40){return{from:[_ref40.from],to:_ref40.to}}var Ni=Object.defineProperty({ArraySchema:Bi},"__esModule",{value:!0}),Pi=function(_Ci$Schema4){_inherits(Pi,_Ci$Schema4);var _super14=_createSuper(Pi);function Pi(){return _classCallCheck(this,Pi),_super14.apply(this,arguments)}return _createClass(Pi,[{key:"expected",value:function expected(){return"true or false"}},{key:"validate",value:function validate(e){return"boolean"==typeof e}}]),Pi}(Ci.Schema),Oi=Pi,Ii=Object.defineProperty({BooleanSchema:Oi},"__esModule",{value:!0}),ji=function ji(e,t){var _step27,n=Object.create(null),_iterator27=_createForOfIteratorHelper(e);try{for(_iterator27.s();!(_step27=_iterator27.n()).done;){var _r47=_step27.value,_e56=_r47[t];if(n[_e56])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(_e56)));n[_e56]=_r47}}catch(err){_iterator27.e(err)}finally{_iterator27.f()}return n},Li=function Li(e,t){var _step28,n=new Map,_iterator28=_createForOfIteratorHelper(e);try{for(_iterator28.s();!(_step28=_iterator28.n()).done;){var _r48=_step28.value,_e57=_r48[t];if(n.has(_e57))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(_e57)));n.set(_e57,_r48)}}catch(err){_iterator28.e(err)}finally{_iterator28.f()}return n},_i=function _i(){var e=Object.create(null);return function(t){var n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},Mi=function Mi(e,t){var _step29,n=[],r=[],_iterator29=_createForOfIteratorHelper(e);try{for(_iterator29.s();!(_step29=_iterator29.n()).done;){var _o15=_step29.value;t(_o15)?n.push(_o15):r.push(_o15)}}catch(err){_iterator29.e(err)}finally{_iterator29.f()}return[n,r]},Ri=function Ri(e){return e===Math.floor(e)},Vi=function Vi(e,t){if(e===t)return 0;var n=_typeof(e),r=_typeof(t),o=["undefined","object","boolean","number","string"];return n!==r?o.indexOf(n)-o.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},$i=function $i(e){return void 0===e?{}:e},qi=function qi(e,t){return!0===e||(!1===e?{value:t}:e)},Wi=function Wi(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)};function Ui(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}var zi=Ui;function Hi(e,t){return void 0===e?[]:Array.isArray(e)?e.map((function(e){return Ui(e,t)})):[Ui(e,t)]}var Gi=Hi,Ji=function Ji(e,t){var n=Hi("object"==_typeof(e)&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==_typeof(e)&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},Xi=Object.defineProperty({recordFromArray:ji,mapFromArray:Li,createAutoChecklist:_i,partition:Mi,isInt:Ri,comparePrimitive:Vi,normalizeDefaultResult:$i,normalizeValidateResult:qi,normalizeDeprecatedResult:Wi,normalizeTransferResult:zi,normalizeForwardResult:Gi,normalizeRedirectResult:Ji},"__esModule",{value:!0}),Yi=function(_Ci$Schema5){_inherits(Yi,_Ci$Schema5);var _super15=_createSuper(Yi);function Yi(e){var _this15;return _classCallCheck(this,Yi),(_this15=_super15.call(this,e))._choices=Xi.mapFromArray(e.choices.map((function(e){return e&&"object"==_typeof(e)?e:{value:e}})),"value"),_this15}return _createClass(Yi,[{key:"expected",value:function expected(_ref41){var _this16=this,e=_ref41.descriptor,t=Array.from(this._choices.keys()).map((function(e){return _this16._choices.get(e)})).filter((function(e){return!e.deprecated})).map((function(e){return e.value})).sort(Xi.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}},{key:"validate",value:function validate(e){return this._choices.has(e)}},{key:"deprecated",value:function deprecated(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function forward(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function redirect(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),Yi}(Ci.Schema),Ki=Yi,Qi=Object.defineProperty({ChoiceSchema:Ki},"__esModule",{value:!0}),Zi=function(_Ci$Schema6){_inherits(Zi,_Ci$Schema6);var _super16=_createSuper(Zi);function Zi(){return _classCallCheck(this,Zi),_super16.apply(this,arguments)}return _createClass(Zi,[{key:"expected",value:function expected(){return"a number"}},{key:"validate",value:function validate(e,t){return"number"==typeof e}}]),Zi}(Ci.Schema),eu=Zi,tu=Object.defineProperty({NumberSchema:eu},"__esModule",{value:!0}),nu=function(_tu$NumberSchema){_inherits(nu,_tu$NumberSchema);var _super17=_createSuper(nu);function nu(){return _classCallCheck(this,nu),_super17.apply(this,arguments)}return _createClass(nu,[{key:"expected",value:function expected(){return"an integer"}},{key:"validate",value:function validate(e,t){return!0===t.normalizeValidateResult(_get(_getPrototypeOf(nu.prototype),"validate",this).call(this,e,t),e)&&Xi.isInt(e)}}]),nu}(tu.NumberSchema),ru=nu,ou=Object.defineProperty({IntegerSchema:ru},"__esModule",{value:!0}),iu=function(_Ci$Schema7){_inherits(iu,_Ci$Schema7);var _super18=_createSuper(iu);function iu(){return _classCallCheck(this,iu),_super18.apply(this,arguments)}return _createClass(iu,[{key:"expected",value:function expected(){return"a string"}},{key:"validate",value:function validate(e){return"string"==typeof e}}]),iu}(Ci.Schema),uu=iu,su=Object.defineProperty({StringSchema:uu},"__esModule",{value:!0}),au=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(Fi,t),fo.__exportStar(wi,t),fo.__exportStar(Ni,t),fo.__exportStar(Ii,t),fo.__exportStar(Qi,t),fo.__exportStar(ou,t),fo.__exportStar(tu,t),fo.__exportStar(su,t)})),cu=ho.apiDescriptor,lu=fi.levenUnknownHandler,pu=ci.commonInvalidHandler,fu=ui.commonDeprecatedHandler,du=Object.defineProperty({defaultDescriptor:cu,defaultUnknownHandler:lu,defaultInvalidHandler:pu,defaultDeprecatedHandler:fu},"__esModule",{value:!0}),hu=function(){function hu(e,t){_classCallCheck(this,hu);var _ref42=t||{},_ref42$logger=_ref42.logger,n=void 0===_ref42$logger?console:_ref42$logger,_ref42$descriptor=_ref42.descriptor,r=void 0===_ref42$descriptor?du.defaultDescriptor:_ref42$descriptor,_ref42$unknown=_ref42.unknown,o=void 0===_ref42$unknown?du.defaultUnknownHandler:_ref42$unknown,_ref42$invalid=_ref42.invalid,i=void 0===_ref42$invalid?du.defaultInvalidHandler:_ref42$invalid,_ref42$deprecated=_ref42.deprecated,u=void 0===_ref42$deprecated?du.defaultDeprecatedHandler:_ref42$deprecated;this._utils={descriptor:r,logger:n||{warn:function warn(){}},schemas:Xi.recordFromArray(e,"name"),normalizeDefaultResult:Xi.normalizeDefaultResult,normalizeDeprecatedResult:Xi.normalizeDeprecatedResult,normalizeForwardResult:Xi.normalizeForwardResult,normalizeRedirectResult:Xi.normalizeRedirectResult,normalizeValidateResult:Xi.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=i,this._deprecatedHandler=u,this.cleanHistory()}return _createClass(hu,[{key:"cleanHistory",value:function cleanHistory(){this._hasDeprecationWarned=Xi.createAutoChecklist()}},{key:"normalize",value:function normalize(e){var _this17=this,t={},n=[e],r=function r(){for(;0!==n.length;){var _e58=n.shift(),_r49=_this17._applyNormalization(_e58,t);n.push.apply(n,_toConsumableArray(_r49))}};r();for(var _i21=0,_Object$keys8=Object.keys(this._utils.schemas);_i21<_Object$keys8.length;_i21++){var _e59=_Object$keys8[_i21],_r50=this._utils.schemas[_e59];if(!(_e59 in t)){var _t57=Xi.normalizeDefaultResult(_r50.default(this._utils));"value"in _t57&&n.push(_defineProperty({},_e59,_t57.value))}}r();for(var _i22=0,_Object$keys9=Object.keys(this._utils.schemas);_i22<_Object$keys9.length;_i22++){var _e60=_Object$keys9[_i22],_n49=this._utils.schemas[_e60];_e60 in t&&(t[_e60]=_n49.postprocess(t[_e60],this._utils))}return t}},{key:"_applyNormalization",value:function _applyNormalization(e,t){var _step30,_this18=this,n=[],_Xi$partition=Xi.partition(Object.keys(e),(function(e){return e in _this18._utils.schemas})),_Xi$partition2=_slicedToArray(_Xi$partition,2),r=_Xi$partition2[0],o=_Xi$partition2[1],_iterator30=_createForOfIteratorHelper(r);try{var _loop6=function _loop6(){var o=_step30.value,r=_this18._utils.schemas[o],i=r.preprocess(e[o],_this18._utils),u=Xi.normalizeValidateResult(r.validate(i,_this18._utils),i);if(!0!==u){var _e61=u.value,_t58=_this18._invalidHandler(o,_e61,_this18._utils);throw"string"==typeof _t58?new Error(_t58):_t58}var s=function s(_ref43){var e=_ref43.from,t=_ref43.to;n.push("string"==typeof t?_defineProperty({},t,e):_defineProperty({},t.key,t.value))},a=function a(_ref46){var e=_ref46.value,t=_ref46.redirectTo,n=Xi.normalizeDeprecatedResult(r.deprecated(e,_this18._utils),i,!0);if(!1!==n)if(!0===n)_this18._hasDeprecationWarned(o)||_this18._utils.logger.warn(_this18._deprecatedHandler(o,t,_this18._utils));else{var _step32,_iterator32=_createForOfIteratorHelper(n);try{for(_iterator32.s();!(_step32=_iterator32.n()).done;){var _e62=_step32.value.value,_n50={key:o,value:_e62};if(!_this18._hasDeprecationWarned(_n50)){var _r51="string"==typeof t?{key:t,value:_e62}:t;_this18._utils.logger.warn(_this18._deprecatedHandler(_n50,_r51,_this18._utils))}}}catch(err){_iterator32.e(err)}finally{_iterator32.f()}}};Xi.normalizeForwardResult(r.forward(i,_this18._utils),i).forEach(s);var c=Xi.normalizeRedirectResult(r.redirect(i,_this18._utils),i);if(c.redirect.forEach(s),"remain"in c){var _e63=c.remain;t[o]=o in t?r.overlap(t[o],_e63,_this18._utils):_e63,a({value:_e63})}var _step33,_iterator33=_createForOfIteratorHelper(c.redirect);try{for(_iterator33.s();!(_step33=_iterator33.n()).done;){var _step33$value=_step33.value;a({value:_step33$value.from,redirectTo:_step33$value.to})}}catch(err){_iterator33.e(err)}finally{_iterator33.f()}};for(_iterator30.s();!(_step30=_iterator30.n()).done;)_loop6()}catch(err){_iterator30.e(err)}finally{_iterator30.f()}var _step31,_iterator31=_createForOfIteratorHelper(o);try{for(_iterator31.s();!(_step31=_iterator31.n()).done;){var _r52=_step31.value,_o16=e[_r52],_i23=this._unknownHandler(_r52,_o16,this._utils);if(_i23)for(var _i24=0,_Object$keys10=Object.keys(_i23);_i24<_Object$keys10.length;_i24++){var _e65=_Object$keys10[_i24],_r53=_defineProperty({},_e65,_i23[_e65]);_e65 in this._utils.schemas?n.push(_r53):Object.assign(t,_r53)}}}catch(err){_iterator31.e(err)}finally{_iterator31.f()}return n}}]),hu}(),mu=hu,gu=Object.defineProperty({normalize:function normalize(e,t,n){return new hu(t,n).normalize(e)},Normalizer:mu},"__esModule",{value:!0}),yu=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(mo,t),fo.__exportStar(hi,t),fo.__exportStar(au,t),fo.__exportStar(gu,t),fo.__exportStar(Ci,t)})),Du=[],Eu=[],bu=function bu(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);for(var r=e.length,o=t.length;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;for(var i,u,s,a,c=0;cu?a>u?u+1:a:a>s?s+1:a;return u},Cu=bu,vu=bu;Cu.default=vu;for(var Au={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Fu={},_i25=0,_Object$keys11=Object.keys(Au);_i25<_Object$keys11.length;_i25++){var _e66=_Object$keys11[_i25];Fu[Au[_e66]]=_e66}for(var xu={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Su=xu,_i26=0,_Object$keys12=Object.keys(xu);_i26<_Object$keys12.length;_i26++){var _e67=_Object$keys12[_i26];if(!("channels"in xu[_e67]))throw new Error("missing channels property: "+_e67);if(!("labels"in xu[_e67]))throw new Error("missing channel labels property: "+_e67);if(xu[_e67].labels.length!==xu[_e67].channels)throw new Error("channel and label counts mismatch: "+_e67);var _xu$_e=xu[_e67],_t60=_xu$_e.channels,_n51=_xu$_e.labels;delete xu[_e67].channels,delete xu[_e67].labels,Object.defineProperty(xu[_e67],"channels",{value:_t60}),Object.defineProperty(xu[_e67],"labels",{value:_n51})}function wu(e){var t=function(){for(var e={},t=Object.keys(Su),_n52=t.length,_r55=0;_r55<_n52;_r55++)e[t[_r55]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var _e68=n.pop(),_r56=Object.keys(Su[_e68]),_o17=_r56.length,_i27=0;_i27<_o17;_i27++){var _o18=_r56[_i27],_u7=t[_o18];-1===_u7.distance&&(_u7.distance=t[_e68].distance+1,_u7.parent=_e68,n.unshift(_o18))}return t}function Tu(e,t){return function(n){return t(e(n))}}function Bu(e,t){for(var n=[t[e].parent,e],r=Su[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=Tu(Su[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}xu.rgb.hsl=function(e){var s,t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),u=i-o;i===o?s=0:t===i?s=(n-r)/u:n===i?s=2+(r-t)/u:r===i&&(s=4+(t-n)/u),(s=Math.min(60*s,360))<0&&(s+=360);var c=(o+i)/2;return[s,100*(i===o?0:c<=.5?u/(i+o):u/(2-i-o)),100*c]},xu.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function p(e){return(c-e)/6/l+.5};return 0===l?(o=0,i=0):(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},xu.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[xu.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},xu.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},xu.rgb.keyword=function(e){var t=Fu[e];if(t)return t;for(var n,o,i,r=1/0,_i28=0,_Object$keys13=Object.keys(Au);_i28<_Object$keys13.length;_i28++){var _t61=_Object$keys13[_i28],_u8=(i=Au[_t61],Math.pow((o=e)[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));_u8.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},xu.rgb.lab=function(e){var t=xu.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},xu.hsl.rgb=function(e){var o,i,u,t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[u=255*r,u,u];for(var s=2*r-(o=r<.5?r*(1+n):r+n-r*n),a=[0,0,0],_e69=0;_e69<3;_e69++)(i=t+1/3*-(_e69-1))<0&&i++,i>1&&i--,u=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,a[_e69]=255*u;return a},xu.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},xu.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},xu.hsv.hsl=function(e){var i,u,t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);u=(2-n)*r;var s=(2-n)*o;return i=n*o,[t,100*(i=(i/=s<=1?s:2-s)||0),100*(u/=2)]},xu.hwb.rgb=function(e){var i,t=e[0]/360,n=e[1]/100,r=e[2]/100,o=n+r;o>1&&(n/=o,r/=o);var u=Math.floor(6*t),s=1-r;i=6*t-u,0!=(1&u)&&(i=1-i);var c,l,p,a=n+i*(s-n);switch(u){default:case 6:case 0:c=s,l=a,p=n;break;case 1:c=a,l=s,p=n;break;case 2:c=n,l=s,p=a;break;case 3:c=n,l=a,p=s;break;case 4:c=a,l=n,p=s;break;case 5:c=s,l=n,p=a}return[255*c,255*l,255*p]},xu.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},xu.xyz.rgb=function(e){var o,i,u,t=e[0]/100,n=e[1]/100,r=e[2]/100;return i=-.9689*t+1.8758*n+.0415*r,u=.0557*t+-.204*n+1.057*r,o=(o=3.2406*t+-1.5372*n+-.4986*r)>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,u=u>.0031308?1.055*Math.pow(u,1/2.4)-.055:12.92*u,[255*(o=Math.min(Math.max(0,o),1)),255*(i=Math.min(Math.max(0,i),1)),255*(u=Math.min(Math.max(0,u),1))]},xu.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},xu.lab.xyz=function(e){var t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;var o=Math.pow(n,3),i=Math.pow(t,3),u=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},xu.lab.lch=function(e){var o,t=e[0],n=e[1],r=e[2];return(o=360*Math.atan2(r,n)/2/Math.PI)<0&&(o+=360),[t,Math.sqrt(n*n+r*r),o]},xu.lch.lab=function(e){var t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},xu.rgb.ansi16=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,_e70=_slicedToArray(e,3),n=_e70[0],r=_e70[1],o=_e70[2],i=null===t?xu.rgb.hsv(e)[2]:t;if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(u+=60),u},xu.hsv.ansi16=function(e){return xu.rgb.ansi16(xu.hsv.rgb(e),e[2])},xu.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},xu.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},xu.ansi256.rgb=function(e){if(e>=232){var _t62=10*(e-232)+8;return[_t62,_t62,_t62]}var t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},xu.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},xu.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},xu.rgb.hcg=function(e){var a,t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),u=o-i;return a=u<=0?0:o===t?(n-r)/u%6:o===n?2+(r-t)/u:4+(t-n)/u,a/=6,[360*(a%=1),100*u,100*(u<1?i/(1-u):0)]},xu.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},xu.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},xu.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o=[0,0,0],i=t%1*6,u=i%1,s=1-u,a=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=u,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=u;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=u,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return a=(1-n)*r,[255*(n*o[0]+a),255*(n*o[1]+a),255*(n*o[2]+a)]},xu.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},xu.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},xu.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},xu.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},xu.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},xu.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},xu.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},xu.gray.hsl=function(e){return[0,0,e[0]]},xu.gray.hsv=xu.gray.hsl,xu.gray.hwb=function(e){return[0,100,e[0]]},xu.gray.cmyk=function(e){return[0,0,0,e[0]]},xu.gray.lab=function(e){return[e[0],0,0]},xu.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},xu.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var ku={};Object.keys(Su).forEach((function(e){ku[e]={},Object.defineProperty(ku[e],"channels",{value:Su[e].channels}),Object.defineProperty(ku[e],"labels",{value:Su[e].labels});var t=function(e){for(var t=wu(e),n={},r=Object.keys(t),_e71=r.length,_o19=0;_o19<_e71;_o19++){var _e72=r[_o19];null!==t[_e72].parent&&(n[_e72]=Bu(_e72,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];ku[e][n]=function(e){var t=function t(){for(var _len6=arguments.length,t=new Array(_len6),_key6=0;_key6<_len6;_key6++)t[_key6]=arguments[_key6];var n=t[0];if(null==n)return n;n.length>1&&(t=n);var r=e(t);if("object"==_typeof(r))for(var _e73=r.length,_t63=0;_t63<_e73;_t63++)r[_t63]=Math.round(r[_t63]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),ku[e][n].raw=function(e){var t=function t(){for(var _len7=arguments.length,t=new Array(_len7),_key7=0;_key7<_len7;_key7++)t[_key7]=arguments[_key7];var n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Nu=ku,Pu=i((function(e){var s,t=function t(e,_t64){return function(){var r=e.apply(void 0,arguments);return"[".concat(r+_t64,"m")}},n=function n(e,t){return function(){var r=e.apply(void 0,arguments);return"[".concat(38+t,";5;").concat(r,"m")}},r=function r(e,t){return function(){var r=e.apply(void 0,arguments);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")}},o=function o(e){return e},i=function i(e,t,n){return[e,t,n]},u=function u(e,t,n){Object.defineProperty(e,t,{get:function get(){var r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},a=function a(e,t,n,r){void 0===s&&(s=Nu);for(var o=r?10:0,i={},_i29=0,_Object$entries3=Object.entries(s);_i29<_Object$entries3.length;_i29++){var _Object$entries3$_i=_slicedToArray(_Object$entries3[_i29],2),_r57=_Object$entries3$_i[0],_u9=_Object$entries3$_i[1],_s16="ansi16"===_r57?"ansi":_r57;_r57===t?i[_s16]=e(n,o):"object"==_typeof(_u9)&&(i[_s16]=e(_u9[t],o))}return i};Object.defineProperty(e,"exports",{enumerable:!0,get:function get(){var e=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(var _i30=0,_Object$entries4=Object.entries(s);_i30<_Object$entries4.length;_i30++){for(var _Object$entries4$_i=_slicedToArray(_Object$entries4[_i30],2),_t65=_Object$entries4$_i[0],_n53=_Object$entries4$_i[1],_i31=0,_Object$entries5=Object.entries(_n53);_i31<_Object$entries5.length;_i31++){var _Object$entries5$_i=_slicedToArray(_Object$entries5[_i31],2),_t66=_Object$entries5$_i[0],_r58=_Object$entries5$_i[1];s[_t66]={open:"[".concat(_r58[0],"m"),close:"[".concat(_r58[1],"m")},_n53[_t66]=s[_t66],e.set(_r58[0],_r58[1])}Object.defineProperty(s,_t65,{value:_n53,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="",s.bgColor.close="",u(s.color,"ansi",(function(){return a(t,"ansi16",o,!1)})),u(s.color,"ansi256",(function(){return a(n,"ansi256",o,!1)})),u(s.color,"ansi16m",(function(){return a(r,"rgb",i,!1)})),u(s.bgColor,"ansi",(function(){return a(t,"ansi16",o,!0)})),u(s.bgColor,"ansi256",(function(){return a(n,"ansi256",o,!0)})),u(s.bgColor,"ansi16m",(function(){return a(r,"rgb",i,!0)})),s}})}));function Ou(){return!1}function Iu(){throw new Error("tty.ReadStream is not implemented")}function ju(){throw new Error("tty.ReadStream is not implemented")}var Vu,Lu={isatty:Ou,ReadStream:Iu,WriteStream:ju},_u=function _u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nt.argv,n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r=2,has16m:e>=3}}function qu(e,t){if(0===Vu)return 0;if(_u("color=16m")||_u("color=full")||_u("color=truecolor"))return 3;if(_u("color=256"))return 2;if(e&&!t&&void 0===Vu)return 0;var n=Vu||0;if("dumb"===Ru.TERM)return n;if("CI"in Ru)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((function(e){return e in Ru}))||"codeship"===Ru.CI_NAME?1:n;if("TEAMCITY_VERSION"in Ru)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ru.TEAMCITY_VERSION)?1:0;if("truecolor"===Ru.COLORTERM)return 3;if("TERM_PROGRAM"in Ru){var _e74=parseInt((Ru.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ru.TERM_PROGRAM){case"iTerm.app":return _e74>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ru.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ru.TERM)||"COLORTERM"in Ru?1:n}_u("no-color")||_u("no-colors")||_u("color=false")||_u("color=never")?Vu=0:(_u("color")||_u("colors")||_u("color=true")||_u("color=always"))&&(Vu=1),"FORCE_COLOR"in Ru&&(Vu="true"===Ru.FORCE_COLOR?1:"false"===Ru.FORCE_COLOR?0:0===Ru.FORCE_COLOR.length?1:Math.min(parseInt(Ru.FORCE_COLOR,10),3));var Wu={supportsColor:function supportsColor(e){return $u(qu(e,e&&e.isTTY))},stdout:$u(qu(!0,Mu.isatty(1))),stderr:$u(qu(!0,Mu.isatty(2)))},Uu={stringReplaceAll:function stringReplaceAll(e,t,n){var r=e.indexOf(t);if(-1===r)return e;var o=t.length,i=0,u="";do{u+=e.substr(i,r-i)+t+n,i=r+o,r=e.indexOf(t,i)}while(-1!==r);return u+=e.substr(i)},stringEncaseCRLFWithFirstIndex:function stringEncaseCRLFWithFirstIndex(e,t,n,r){var o=0,i="";do{var _u10="\r"===e[r-1];i+=e.substr(o,(_u10?r-1:r)-o)+t+(_u10?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return i+=e.substr(o)}},zu=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Hu=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Gu=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ju=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Xu=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Yu(e){var t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Xu.get(e)||e}function Ku(e,t){var o,_step34,n=[],_iterator34=_createForOfIteratorHelper(t.trim().split(/\s*,\s*/g));try{for(_iterator34.s();!(_step34=_iterator34.n()).done;){var _t67=_step34.value,_r59=Number(_t67);if(Number.isNaN(_r59)){if(!(o=_t67.match(Gu)))throw new Error("Invalid Chalk template style argument: ".concat(_t67," (in style '").concat(e,"')"));n.push(o[2].replace(Ju,(function(e,t,n){return t?Yu(t):n})))}else n.push(_r59)}}catch(err){_iterator34.e(err)}finally{_iterator34.f()}return n}function Qu(e){Hu.lastIndex=0;for(var n,t=[];null!==(n=Hu.exec(e));){var _e75=n[1];if(n[2]){var _r60=Ku(_e75,n[2]);t.push([_e75].concat(_r60))}else t.push([_e75])}return t}function Zu(e,t){var _step35,n={},_iterator35=_createForOfIteratorHelper(t);try{for(_iterator35.s();!(_step35=_iterator35.n()).done;){var _step36,_e77=_step35.value,_iterator36=_createForOfIteratorHelper(_e77.styles);try{for(_iterator36.s();!(_step36=_iterator36.n()).done;){var _t69=_step36.value;n[_t69[0]]=_e77.inverse?null:_t69.slice(1)}}catch(err){_iterator36.e(err)}finally{_iterator36.f()}}}catch(err){_iterator35.e(err)}finally{_iterator35.f()}for(var r=e,_i32=0,_Object$entries6=Object.entries(n);_i32<_Object$entries6.length;_i32++){var _Object$entries6$_i=_slicedToArray(_Object$entries6[_i32],2),_e76=_Object$entries6$_i[0],_t68=_Object$entries6$_i[1];if(Array.isArray(_t68)){var _r61;if(!(_e76 in r))throw new Error("Unknown Chalk style: ".concat(_e76));r=_t68.length>0?(_r61=r)[_e76].apply(_r61,_toConsumableArray(_t68)):r[_e76]}}return r}var es=function es(e,t){var n=[],r=[],o=[];if(t.replace(zu,(function(t,i,u,s,a,c){if(i)o.push(Yu(i));else if(s){var _t70=o.join("");o=[],r.push(0===n.length?_t70:Zu(e,n)(_t70)),n.push({inverse:u,styles:Qu(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Zu(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){var _e78="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(_e78)}return r.join("")},ts=Wu.stdout,ns=Wu.stderr,rs=Uu.stringReplaceAll,os=Uu.stringEncaseCRLFWithFirstIndex,is=Array.isArray,us=["ansi","ansi","ansi256","ansi16m"],ss=Object.create(null),as=_createClass((function as(e){return _classCallCheck(this,as),cs(e)})),cs=function cs(e){var t={};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");var n=ts?ts.level:0;e.level=void 0===t.level?n:t.level}(t,e),t.template=function(){for(var _len8=arguments.length,e=new Array(_len8),_key8=0;_key8<_len8;_key8++)e[_key8]=arguments[_key8];return ys.apply(void 0,[t.template].concat(e))},Object.setPrototypeOf(t,ls.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=function(){throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=as,t.template};function ls(e){return cs(e)}for(var _loop7=function _loop7(){var _Object$entries7$_i=_slicedToArray(_Object$entries7[_i33],2),e=_Object$entries7$_i[0],t=_Object$entries7$_i[1];ss[e]={get:function get(){var n=hs(this,ds(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}}},_i33=0,_Object$entries7=Object.entries(Pu);_i33<_Object$entries7.length;_i33++)_loop7();ss.visible={get:function get(){var e=hs(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};for(var ps=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"],_loop8=function _loop8(){var e=_ps[_i34];ss[e]={get:function get(){var t=this.level;return function(){var _Pu$color$us$t,r=ds((_Pu$color$us$t=Pu.color[us[t]])[e].apply(_Pu$color$us$t,arguments),Pu.color.close,this._styler);return hs(this,r,this._isEmpty)}}}},_i34=0,_ps=ps;_i34<_ps.length;_i34++)_loop8();for(var _loop9=function _loop9(){var e=_ps2[_i35];ss["bg"+e[0].toUpperCase()+e.slice(1)]={get:function get(){var t=this.level;return function(){var _Pu$bgColor$us$t,r=ds((_Pu$bgColor$us$t=Pu.bgColor[us[t]])[e].apply(_Pu$bgColor$us$t,arguments),Pu.bgColor.close,this._styler);return hs(this,r,this._isEmpty)}}}},_i35=0,_ps2=ps;_i35<_ps2.length;_i35++)_loop9();var gs,fs=Object.defineProperties((function(){}),Object.assign({},ss,{level:{enumerable:!0,get:function get(){return this._generator.level},set:function set(e){this._generator.level=e}}})),ds=function ds(e,t,n){var r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},hs=function hs(e,t,n){var r=function r(){for(var _len9=arguments.length,e=new Array(_len9),_key9=0;_key9<_len9;_key9++)e[_key9]=arguments[_key9];return is(e[0])&&is(e[0].raw)?ms(r,ys.apply(void 0,[r].concat(e))):ms(r,1===e.length?""+e[0]:e.join(" "))};return Object.setPrototypeOf(r,fs),r._generator=e,r._styler=t,r._isEmpty=n,r},ms=function ms(e,t){if(e.level<=0||!t)return e._isEmpty?"":t;var n=e._styler;if(void 0===n)return t;var _n54=n,r=_n54.openAll,o=_n54.closeAll;if(-1!==t.indexOf(""))for(;void 0!==n;)t=rs(t,n.close,n.open),n=n.parent;var i=t.indexOf("\n");return-1!==i&&(t=os(t,o,r,i)),r+t+o},ys=function ys(e){for(var _len10=arguments.length,t=new Array(_len10>1?_len10-1:0),_key10=1;_key10<_len10;_key10++)t[_key10-1]=arguments[_key10];var n=t[0];if(!is(n)||!is(n.raw))return t.join(" ");for(var r=t.slice(1),o=[n.raw[0]],_e79=1;_e790&&r(a)?n>1?e(a,n-1,r,o,i):bs(i,a):o||(i[i.length]=a)}return i},Ws=function Ws(e){return null!=e&&e.length?qs(e,1):[]},Us={key:function key(e){return 1===e.length?"-".concat(e):"--".concat(e)},value:function value(e){return yu.apiDescriptor.value(e)},pair:function pair(_ref47){var e=_ref47.key,t=_ref47.value;return!1===t?"--no-".concat(e):!0===t?Us.key(e):""===t?"".concat(Us.key(e)," without an argument"):"".concat(Us.key(e),"=").concat(t)}},zs=function(_yu$ChoiceSchema){_inherits(zs,_yu$ChoiceSchema);var _super19=_createSuper(zs);function zs(_ref48){var _this19,e=_ref48.name,t=_ref48.flags;return _classCallCheck(this,zs),(_this19=_super19.call(this,{name:e,choices:t}))._flags=_toConsumableArray(t).sort(),_this19}return _createClass(zs,[{key:"preprocess",value:function preprocess(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){var _n55=this._flags.find((function(t){return Cu(t,e)<3}));if(_n55)return t.logger.warn(["Unknown flag ".concat(Es.yellow(t.descriptor.value(e)),","),"did you mean ".concat(Es.blue(t.descriptor.value(_n55)),"?")].join(" ")),_n55}return e}},{key:"expected",value:function expected(){return"a flag"}}]),zs}(yu.ChoiceSchema);function Gs(t,n){var _ref49=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_ref49.logger,_ref49$isCLI=_ref49.isCLI,o=void 0!==_ref49$isCLI&&_ref49$isCLI,_ref49$passThrough=_ref49.passThrough,i=void 0!==_ref49$passThrough&&_ref49$passThrough,u=i?Array.isArray(i)?function(e,t){return i.includes(e)?_defineProperty({},e,t):void 0}:function(e,t){return _defineProperty({},e,t)}:function(t,n,r){var o=e(r.schemas,["_"]);return yu.levenUnknownHandler(t,n,Object.assign({},r,{schemas:o}))},s=o?Us:yu.apiDescriptor,a=function(e,_ref52){var t=_ref52.isCLI,n=[];t&&n.push(yu.AnySchema.create({name:"_"}));var _step37,_iterator37=_createForOfIteratorHelper(e);try{for(_iterator37.s();!(_step37=_iterator37.n()).done;){var _r62=_step37.value;n.push(Js(_r62,{isCLI:t,optionInfos:e})),_r62.alias&&t&&n.push(yu.AliasSchema.create({name:_r62.alias,sourceName:_r62.name}))}}catch(err){_iterator37.e(err)}finally{_iterator37.f()}return n}(n,{isCLI:o}),c=new yu.Normalizer(a,{logger:r,unknown:u,descriptor:s}),l=!1!==r;l&&Hs&&(c._hasDeprecationWarned=Hs);var p=c.normalize(t);return l&&(Hs=c._hasDeprecationWarned),p}function Js(e,_ref53){var r,t=_ref53.isCLI,n=_ref53.optionInfos,o={name:e.name},i={};switch(e.type){case"int":r=yu.IntegerSchema,t&&(o.preprocess=function(e){return Number(e)});break;case"string":case"path":r=yu.StringSchema;break;case"choice":r=yu.ChoiceSchema,o.choices=e.choices.map((function(t){return"object"==_typeof(t)&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t}));break;case"boolean":r=yu.BooleanSchema;break;case"flag":r=zs,o.flags=Ws(n.map((function(e){return[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)})));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?o.validate=function(t,n,r){return e.exception(t)||n.validate(t,r)}:o.validate=function(e,t,n){return void 0===e||t.validate(e,n)},e.redirect&&(i.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(i.deprecated=!0),t&&!e.array){var _e80=o.preprocess||function(e){return e};o.preprocess=function(t,n,r){return n.preprocess(_e80(Array.isArray(t)?ke(t):t),r)}}return e.array?yu.ArraySchema.create(Object.assign({},t?{preprocess:function preprocess(e){return Array.isArray(e)?e:[e]}}:{},i,{valueSchema:r.create(o)})):r.create(Object.assign({},o,i))}var Xs={normalizeApiOptions:function normalizeApiOptions(e,t,n){return Gs(e,t,n)},normalizeCliOptions:function normalizeCliOptions(e,t,n){return Gs(e,t,Object.assign({isCLI:!0},n))}},Ys=rn.isNonEmptyArray;function Ks(e,t){if(!(t||{}).ignoreDecorators){var _t71=e.declaration&&e.declaration.decorators||e.decorators;if(Ys(_t71))return Ks(_t71[0])}return e.range?e.range[0]:e.start}function Qs(e){return e.range?e.range[1]:e.end}function Zs(e,t){return Ks(e)===Ks(t)}var ea={locStart:Ks,locEnd:Qs,hasSameLocStart:Zs,hasSameLoc:function hasSameLoc(e,t){return Zs(e,t)&&function(e,t){return Qs(e)===Qs(t)}(e,t)}},ta=Object.defineProperty({default:/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,matchToToken:function matchToToken(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},"__esModule",{value:!0}),na=fa,ra=da,oa=function oa(e){for(var t=!0,_n56=0;_n56e)return!1;if((n+=t[_r64+1])>=e)return!0}return!1}function fa(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&sa.test(String.fromCharCode(e)):pa(e,ca)))}function da(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&aa.test(String.fromCharCode(e)):pa(e,ca)||pa(e,la))))}var ha=Object.defineProperty({isIdentifierStart:na,isIdentifierChar:ra,isIdentifierName:oa},"__esModule",{value:!0}),ma=xa,ga=Sa,ya=wa,Da=function Da(e,t){return Sa(e,t)||wa(e)},Ea=function Ea(e){return va.has(e)},ba=["implements","interface","let","package","private","protected","public","static","yield"],Ca=["eval","arguments"],va=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),Aa=new Set(ba),Fa=new Set(Ca);function xa(e,t){return t&&"await"===e||"enum"===e}function Sa(e,t){return xa(e,t)||Aa.has(e)}function wa(e){return Fa.has(e)}var Ta=Object.defineProperty({isReservedWord:ma,isStrictReservedWord:ga,isStrictBindOnlyReservedWord:ya,isStrictBindReservedWord:Da,isKeyword:Ea},"__esModule",{value:!0}),Ba=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function get(){return ha.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function get(){return ha.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function get(){return ha.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function get(){return Ta.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function get(){return Ta.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function get(){return Ta.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function get(){return Ta.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function get(){return Ta.isKeyword}})})),ka=/[|\\{}()[\]^$+*?.]/g,Na=function Na(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(ka,"\\$&")},Pa={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Oa=i((function(e){var t={};for(var n in Pa)Pa.hasOwnProperty(n)&&(t[Pa[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var i=r[o].channels,u=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:i}),Object.defineProperty(r[o],"labels",{value:u})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,u=Math.min(r,o,i),s=Math.max(r,o,i),a=s-u;return s===u?t=0:r===s?t=(o-i)/a:o===s?t=2+(i-r)/a:i===s&&(t=4+(r-o)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(u+s)/2,[t,100*(s===u?0:n<=.5?a/(s+u):a/(2-s-u)),100*n]},r.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function p(e){return(c-e)/6/l+.5};return 0===l?o=i=0:(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,o))*100,100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,o,i,u=1/0;for(var s in Pa)if(Pa.hasOwnProperty(s)){var c=(o=e,i=Pa[s],Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.hsl.rgb=function(e){var t,n,r,o,i,u=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[i=255*a,i,i];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];for(var c=0;c<3;c++)(r=u+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},r.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,u=e[2]/100,s=Math.max(u,.01);return r=(2-i)*u,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,o,i,u,s,a=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-l)-c),t){default:case 6:case 0:i=n,u=o,s=c;break;case 1:i=o,u=n,s=c;break;case 2:i=c,u=n,s=o;break;case 3:i=c,u=o,s=n;break;case 4:i=o,u=c,s=n;break;case 5:i=n,u=c,s=o}return[255*i,255*u,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},r.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,u=e[2]/100;return n=-.9689*o+1.8758*i+.0415*u,r=.0557*o+-.204*i+1.057*u,t=(t=3.2406*o+-1.5372*i+-.4986*u)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(u+=60),u},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),u=Math.min(Math.min(n,r),o),s=i-u;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?u/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],u=t%1*6,s=u%1,a=1-s;switch(Math.floor(u)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Ia(e){var t=function(){for(var e={},t=Object.keys(Oa),n=t.length,r=0;r1&&(_t73=Array.prototype.slice.call(arguments));var n=e(_t73);if("object"==_typeof(n))for(var r=n.length,o=0;o1&&(_t74=Array.prototype.slice.call(arguments)),e(_t74))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var $a,Ma=_a,Ra=i((function(e){var t=function t(e,_t75){return function(){var n=e.apply(Ma,arguments);return"[".concat(n+_t75,"m")}},n=function n(e,t){return function(){var n=e.apply(Ma,arguments);return"[".concat(38+t,";5;").concat(n,"m")}},r=function r(e,t){return function(){var n=e.apply(Ma,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function get(){var e=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.grey=o.color.gray;for(var _i36=0,_Object$keys14=Object.keys(o);_i36<_Object$keys14.length;_i36++){for(var _t76=_Object$keys14[_i36],_n57=o[_t76],_i37=0,_Object$keys15=Object.keys(_n57);_i37<_Object$keys15.length;_i37++){var _t77=_Object$keys15[_i37],_r65=_n57[_t77];o[_t77]={open:"[".concat(_r65[0],"m"),close:"[".concat(_r65[1],"m")},_n57[_t77]=o[_t77],e.set(_r65[0],_r65[1])}Object.defineProperty(o,_t76,{value:_n57,enumerable:!1}),Object.defineProperty(o,"codes",{value:e,enumerable:!1})}var i=function i(e){return e},u=function u(e,t,n){return[e,t,n]};o.color.close="",o.bgColor.close="",o.color.ansi={ansi:t(i,0)},o.color.ansi256={ansi256:n(i,0)},o.color.ansi16m={rgb:r(u,0)},o.bgColor.ansi={ansi:t(i,10)},o.bgColor.ansi256={ansi256:n(i,10)},o.bgColor.ansi16m={rgb:r(u,10)};for(var _i38=0,_Object$keys16=Object.keys(Ma);_i38<_Object$keys16.length;_i38++){var _e81=_Object$keys16[_i38];if("object"==_typeof(Ma[_e81])){var _i39=Ma[_e81];"ansi16"===_e81&&(_e81="ansi"),"ansi16"in _i39&&(o.color.ansi[_e81]=t(_i39.ansi16,0),o.bgColor.ansi[_e81]=t(_i39.ansi16,10)),"ansi256"in _i39&&(o.color.ansi256[_e81]=n(_i39.ansi256,0),o.bgColor.ansi256[_e81]=n(_i39.ansi256,10)),"rgb"in _i39&&(o.color.ansi16m[_e81]=r(_i39.rgb,0),o.bgColor.ansi16m[_e81]=r(_i39.rgb,10))}}return o}})})),Va=nt.env;function qa(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===$a)return 0;if(Wo("color=16m")||Wo("color=full")||Wo("color=truecolor"))return 3;if(Wo("color=256"))return 2;if(e&&!e.isTTY&&!0!==$a)return 0;var t=$a?1:0;if("CI"in Va)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in Va}))||"codeship"===Va.CI_NAME?1:t;if("TEAMCITY_VERSION"in Va)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Va.TEAMCITY_VERSION)?1:0;if("truecolor"===Va.COLORTERM)return 3;if("TERM_PROGRAM"in Va){var _e82=parseInt((Va.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Va.TERM_PROGRAM){case"iTerm.app":return _e82>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Va.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Va.TERM)||"COLORTERM"in Va?1:(Va.TERM,t)}(e))}Wo("no-color")||Wo("no-colors")||Wo("color=false")?$a=!1:(Wo("color")||Wo("colors")||Wo("color=true")||Wo("color=always"))&&($a=!0),"FORCE_COLOR"in Va&&($a=0===Va.FORCE_COLOR.length||0!==parseInt(Va.FORCE_COLOR,10));var Wa={supportsColor:qa,stdout:qa(nt.stdout),stderr:qa(nt.stderr)},Ua=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,za=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ha=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ga=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ja=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Xa(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ja.get(e)||e}function Ya(e,t){var o,_step38,n=[],_iterator38=_createForOfIteratorHelper(t.trim().split(/\s*,\s*/g));try{for(_iterator38.s();!(_step38=_iterator38.n()).done;){var _t78=_step38.value;if(isNaN(_t78)){if(!(o=_t78.match(Ha)))throw new Error("Invalid Chalk template style argument: ".concat(_t78," (in style '").concat(e,"')"));n.push(o[2].replace(Ga,(function(e,t,n){return t?Xa(t):n})))}else n.push(Number(_t78))}}catch(err){_iterator38.e(err)}finally{_iterator38.f()}return n}function Ka(e){za.lastIndex=0;for(var n,t=[];null!==(n=za.exec(e));){var _e83=n[1];if(n[2]){var _r66=Ya(_e83,n[2]);t.push([_e83].concat(_r66))}else t.push([_e83])}return t}function Qa(e,t){var _step39,n={},_iterator39=_createForOfIteratorHelper(t);try{for(_iterator39.s();!(_step39=_iterator39.n()).done;){var _step40,_e85=_step39.value,_iterator40=_createForOfIteratorHelper(_e85.styles);try{for(_iterator40.s();!(_step40=_iterator40.n()).done;){var _t79=_step40.value;n[_t79[0]]=_e85.inverse?null:_t79.slice(1)}}catch(err){_iterator40.e(err)}finally{_iterator40.f()}}}catch(err){_iterator39.e(err)}finally{_iterator39.f()}for(var r=e,_i40=0,_Object$keys17=Object.keys(n);_i40<_Object$keys17.length;_i40++){var _e84=_Object$keys17[_i40];if(Array.isArray(n[_e84])){if(!(_e84 in r))throw new Error("Unknown Chalk style: ".concat(_e84));r=n[_e84].length>0?r[_e84].apply(r,n[_e84]):r[_e84]}}return r}var Za=function Za(e,t){var n=[],r=[],o=[];if(t.replace(Ua,(function(t,i,u,s,a,c){if(i)o.push(Xa(i));else if(s){var _t80=o.join("");o=[],r.push(0===n.length?_t80:Qa(e,n)(_t80)),n.push({inverse:u,styles:Ka(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Qa(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){var _e86="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(_e86)}return r.join("")},ec=i((function(e){var t=Wa.stdout,r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),i=Object.create(null);function u(e,n){n=n||{};var r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){var _t81={};return u(_t81,e),_t81.template=function(){var e=[].slice.call(arguments);return p.apply(null,[_t81.template].concat(e))},Object.setPrototypeOf(_t81,s.prototype),Object.setPrototypeOf(_t81.template,_t81),_t81.template.constructor=s,_t81.template}u(this,e)}for(var _loop10=function _loop10(){var e=_Object$keys18[_i41];Ra[e].closeRe=new RegExp(Na(Ra[e].close),"g"),i[e]={get:function get(){var t=Ra[e];return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},_i41=0,_Object$keys18=Object.keys(Ra);_i41<_Object$keys18.length;_i41++)_loop10();i.visible={get:function get(){return c.call(this,this._styles||[],!0,"visible")}},Ra.color.closeRe=new RegExp(Na(Ra.color.close),"g");for(var _loop11=function _loop11(){var e=_Object$keys19[_i42];o.has(e)||(i[e]={get:function get(){var t=this.level;return function(){var o={open:Ra.color[r[t]][e].apply(null,arguments),close:Ra.color.close,closeRe:Ra.color.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}})},_i42=0,_Object$keys19=Object.keys(Ra.color.ansi);_i42<_Object$keys19.length;_i42++)_loop11();Ra.bgColor.closeRe=new RegExp(Na(Ra.bgColor.close),"g");for(var _loop12=function _loop12(){var e=_Object$keys20[_i43];if(o.has(e))return"continue";i["bg"+e[0].toUpperCase()+e.slice(1)]={get:function get(){var t=this.level;return function(){var o={open:Ra.bgColor[r[t]][e].apply(null,arguments),close:Ra.bgColor.close,closeRe:Ra.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}},_i43=0,_Object$keys20=Object.keys(Ra.bgColor.ansi);_i43<_Object$keys20.length;_i43++)_loop12();var a=Object.defineProperties((function(){}),i);function c(e,t,n){var r=function r(){return l.apply(r,arguments)};r._styles=e,r._empty=t;var o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function get(){return o.level},set:function set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function get(){return o.enabled},set:function set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=a,r}function l(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var _n58=1;_n581&&void 0!==arguments[1]?arguments[1]:{};return pc(t)?function(e,t){var _step42,n="",_iterator42=_createForOfIteratorHelper(lc(t));try{var _loop13=function _loop13(){var _step42$value=_step42.value,r=_step42$value.type,o=_step42$value.value,t=e[r];n+=t?o.split(ac).map((function(e){return t(e)})).join("\n"):o};for(_iterator42.s();!(_step42=_iterator42.n()).done;)_loop13()}catch(err){_iterator42.e(err)}finally{_iterator42.f()}return n}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(fc(t)),e):e},oc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=_typeof(e)&&"function"!=typeof e)return{default:e};var t=uc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(ta),ic=function(e){return e&&e.__esModule?e:{default:e}}(ec);function uc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return uc=function uc(){return e},e}var lc,sc=new Set(["as","async","from","get","of","set"]),ac=/\r\n|[\n\r\u2028\u2029]/,cc=/^[()[\]{}]$/,_e89=oc.matchToToken,_t82=/^[a-z][\w-]*$/i,_n60=function _n60(e,n,r){if("name"===e.type){if((0,Ba.isKeyword)(e.value)||(0,Ba.isStrictReservedWord)(e.value,!0)||sc.has(e.value))return"keyword";if(_t82.test(e.value)&&("<"===r[n-1]||"3&&void 0!==arguments[3]?arguments[3]:{};if(!yc){yc=!0;var _e90="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(_e90).name="DeprecationWarning",console.warn(new Error(_e90))}return Ec(e,{start:{column:n=Math.max(n,0),line:t}},r)},mc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=_typeof(e)&&"function"!=typeof e)return{default:e};var t=gc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(Object.defineProperty({shouldHighlight:tc,getChalk:nc,default:rc},"__esModule",{value:!0}));function gc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return gc=function gc(){return e},e}var yc=!1,Dc=/\r\n|[\n\r\u2028\u2029]/;function Ec(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(n.highlightCode||n.forceColor)&&(0,mc.shouldHighlight)(n),o=(0,mc.getChalk)(n),i=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(o),u=function u(e,t){return r?e(t):t},_ref55=function(e,t,n){var r=Object.assign({column:0,line:-1},e.start),o=Object.assign({},r,e.end),_ref56=n||{},_ref56$linesAbove=_ref56.linesAbove,i=void 0===_ref56$linesAbove?2:_ref56$linesAbove,_ref56$linesBelow=_ref56.linesBelow,u=void 0===_ref56$linesBelow?3:_ref56$linesBelow,s=r.line,a=r.column,c=o.line,l=o.column,p=Math.max(s-(i+1),0),f=Math.min(t.length,c+u);-1===s&&(p=0),-1===c&&(f=t.length);var d=c-s,h={};if(d)for(var _e91=0;_e91<=d;_e91++){var _n61=_e91+s;if(a)if(0===_e91){var _e92=t[_n61-1].length;h[_n61]=[a,_e92-a+1]}else if(_e91===d)h[_n61]=[0,l];else{var _r67=t[_n61-_e91].length;h[_n61]=[0,_r67]}else h[_n61]=!0}else h[s]=a===l?!a||[a,0]:[a,l-a];return{start:p,end:f,markerLines:h}}(t,e.split(Dc),n),a=_ref55.start,c=_ref55.end,l=_ref55.markerLines,p=t.start&&"number"==typeof t.start.column,f=String(c).length,d=(r?(0,mc.default)(e,n):e).split(Dc).slice(a,c).map((function(e,t){var r=a+1+t,o=" ".concat(r).slice(-f),s=" ".concat(o," |"),c=l[r],p=!l[r+1];if(c){var _t83="";if(Array.isArray(c)){var _r68=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g," "),_o22=c[1]||1;_t83=["\n ",u(i.gutter,s.replace(/\d/g," "))," ",_r68,u(i.marker,"^").repeat(_o22)].join(""),p&&n.message&&(_t83+=" "+u(i.message,n.message))}return[u(i.marker,">"),u(i.gutter,s),e.length>0?" ".concat(e):"",_t83].join("")}return" ".concat(u(i.gutter,s)).concat(e.length>0?" ".concat(e):"")})).join("\n");return n.message&&!p&&(d="".concat(" ".repeat(f+1)).concat(n.message,"\n").concat(d)),r?o.reset(d):d}var bc=Object.defineProperty({codeFrameColumns:dc,default:hc},"__esModule",{value:!0}),Cc=o(tr),vc=uo.ConfigError,Ac=ea.locStart,Fc=ea.locEnd,xc=Object.getOwnPropertyNames,Sc=Object.getOwnPropertyDescriptor;function wc(e){var _step43,t={},_iterator43=_createForOfIteratorHelper(e.plugins);try{for(_iterator43.s();!(_step43=_iterator43.n()).done;){var _n62=_step43.value;if(_n62.parsers){var _step44,_iterator44=_createForOfIteratorHelper(xc(_n62.parsers));try{for(_iterator44.s();!(_step44=_iterator44.n()).done;){var _e93=_step44.value;Object.defineProperty(t,_e93,Sc(_n62.parsers,_e93))}}catch(err){_iterator44.e(err)}finally{_iterator44.f()}}}}catch(err){_iterator43.e(err)}finally{_iterator43.f()}return t}function Tc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wc(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Ac,locEnd:Fc};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new vc("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Bc={parse:function parse(e,t){var n=wc(t),r=Object.keys(n).reduce((function(e,t){return Object.defineProperty(e,t,{enumerable:!0,get:function get(){return n[t].parse}})}),{}),o=Tc(t,n);try{return o.preprocess&&(e=o.preprocess(e,t)),{text:e,ast:o.parse(e,r,t)}}catch(t){var _n63=t.loc;if(_n63){var _r69=bc.codeFrameColumns;throw t.codeFrame=_r69(e,_n63,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Tc},kc=uo.UndefinedParserError,Nc=Mt.getSupportInfo,Pc=Bc.resolveParser,Oc={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Ic(e,t){var n=Cc.basename(e).toLowerCase(),r=Nc({plugins:t}).languages.filter((function(e){return null!==e.since})),o=r.find((function(e){return e.extensions&&e.extensions.some((function(e){return n.endsWith(e)}))||e.filenames&&e.filenames.some((function(e){return e.toLowerCase()===n}))}));if(!o&&!n.includes(".")){var _t84=function(e){if("string"!=typeof e)return"";var t;try{t=eo.openSync(e,"r")}catch(e){return""}try{var _e94=new to(t).next().toString("utf8"),_n64=_e94.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(_n64)return _n64[1];var _r70=_e94.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return _r70?_r70[1]:""}catch(e){return""}finally{try{eo.closeSync(t)}catch(e){}}}(e);o=r.find((function(e){return e.interpreters&&e.interpreters.includes(_t84)}))}return o&&o.parsers[0]}var jc={normalize:function normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e),r=Nc({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,o=Object.assign({},Oc,Ne(r.filter((function(e){return void 0!==e.default})).map((function(e){return[e.name,e.default]}))));if(!n.parser)if(n.filepath){if(n.parser=Ic(n.filepath,n.plugins),!n.parser)throw new kc("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";var i=Pc(Xs.normalizeApiOptions(n,[r.find((function(e){return"parser"===e.name}))],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;var u=function(e){var t=e.astFormat;if(!t)throw new Error("getPlugin() requires astFormat to be set");var n=e.plugins.find((function(e){return e.printers&&e.printers[t]}));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=u.printers[n.astFormat];for(var s=Ne(r.filter((function(e){return e.pluginDefaults&&void 0!==e.pluginDefaults[u.name]})).map((function(e){return[e.name,e.pluginDefaults[u.name]]}))),a=Object.assign({},o,s),_i44=0,_Object$entries8=Object.entries(a);_i44<_Object$entries8.length;_i44++){var _Object$entries8$_i=_slicedToArray(_Object$entries8[_i44],2),_e95=_Object$entries8$_i[0],_t85=_Object$entries8$_i[1];null!==n[_e95]&&void 0!==n[_e95]||(n[_e95]=_t85)}return"json"===n.parser&&(n.trailingComma="none"),Xs.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Oc)},t))},hiddenDefaults:Oc,inferParser:Ic},Lc=function e(t,n,r){if(Array.isArray(t))return t.map((function(t){return e(t,n,r)})).filter(Boolean);if(!t||"object"!=_typeof(t))return t;var i,o=n.printer.massageAstNode;i=o&&o.ignoredProperties?o.ignoredProperties:new Set;for(var u={},_i45=0,_Object$entries9=Object.entries(t);_i45<_Object$entries9.length;_i45++){var _Object$entries9$_i=_slicedToArray(_Object$entries9[_i45],2),_r71=_Object$entries9$_i[0],_o23=_Object$entries9$_i[1];i.has(_r71)||"function"==typeof _o23||(u[_r71]=e(_o23,n,t))}if(o){var _e96=o(t,u,r);if(null===_e96)return;if(_e96)return _e96}return u},_c="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function n(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e};function Mc(e,t){var n={seen:[],stylize:Vc};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Uc(t)?n.showHidden=t:t&&tl(n,t),Gc(n.showHidden)&&(n.showHidden=!1),Gc(n.depth)&&(n.depth=2),Gc(n.colors)&&(n.colors=!1),Gc(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Rc),$c(n,e,n.depth)}function Rc(e,t){var n=Mc.styles[t];return n?"["+Mc.colors[n][0]+"m"+e+"["+Mc.colors[n][1]+"m":e}function Vc(e,t){return e}function $c(e,t,n){if(e.customInspect&&t&&Qc(t.inspect)&&t.inspect!==Mc&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Hc(r)||(r=$c(e,r,n)),r}var o=function(e,t){if(Gc(t))return e.stylize("undefined","undefined");if(Hc(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return"number"==typeof t?e.stylize(""+t,"number"):Uc(t)?e.stylize(""+t,"boolean"):zc(t)?e.stylize("null","null"):void 0}(e,t);if(o)return o;var i=Object.keys(t),u=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),Kc(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return qc(t);if(0===i.length){if(Qc(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Jc(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Yc(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Kc(t))return qc(t)}var a,c,l="",p=!1,f=["{","}"];return a=t,Array.isArray(a)&&(p=!0,f=["[","]"]),Qc(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),Jc(t)&&(l=" "+RegExp.prototype.toString.call(t)),Yc(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Kc(t)&&(l=" "+qc(t)),0!==i.length||p&&0!=t.length?n<0?Jc(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(e,t,n,r,o){for(var i=[],u=0,s=t.length;u60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,f)):f[0]+l+f[1]}function qc(e){return"["+Error.prototype.toString.call(e)+"]"}function Wc(e,t,n,r,o,i){var u,s,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(s=e.stylize("[Setter]","special")),nl(r,o)||(u="["+o+"]"),s||(e.seen.indexOf(a.value)<0?(s=zc(n)?$c(e,a.value,null):$c(e,a.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Gc(u)){if(i&&o.match(/^\d+$/))return s;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+s}function Uc(e){return"boolean"==typeof e}function zc(e){return null===e}function Hc(e){return"string"==typeof e}function Gc(e){return void 0===e}function Jc(e){return Xc(e)&&"[object RegExp]"===el(e)}function Xc(e){return"object"==_typeof(e)&&null!==e}function Yc(e){return Xc(e)&&"[object Date]"===el(e)}function Kc(e){return Xc(e)&&("[object Error]"===el(e)||e instanceof Error)}function Qc(e){return"function"==typeof e}function Zc(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==_typeof(e)||void 0===e}function el(e){return Object.prototype.toString.call(e)}function tl(e,t){if(!t||!Xc(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function nl(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function rl(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o=0){var u=r.indexOf("\n",i+1);r=r.substring(u+1)}this.stack=r}}}function ml(e,t){return"string"==typeof e?e.length=0;s--)if(a[s]!==c[s])return!1;for(s=a.length-1;s>=0;s--)if(!Al(e[u=a[s]],t[u],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function Fl(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function xl(e,t,n){Al(e,t,!1)&&yl(e,t,n,"notDeepEqual",xl)}function Sl(e,t,n){Al(e,t,!0)&&yl(e,t,n,"notDeepStrictEqual",Sl)}function wl(e,t,n){e!==t&&yl(e,t,n,"===",wl)}function Tl(e,t,n){e===t&&yl(e,t,n,"!==",Tl)}function Bl(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function kl(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&yl(o,n,"Missing expected exception"+r);var i="string"==typeof r,u=!e&&o&&!n;if((!e&&Kc(o)&&i&&Bl(o,n)||u)&&yl(o,n,"Got unwanted exception"+r),e&&o&&n&&!Bl(o,n)||!e&&o)throw o}function Nl(e,t,n){kl(!0,e,t,n)}function Pl(e,t,n){kl(!1,e,t,n)}function Ol(e){if(e)throw e}pl.AssertionError=hl,_c(hl,Error),pl.fail=yl,pl.ok=Dl,pl.equal=El,pl.notEqual=bl,pl.deepEqual=Cl,pl.deepStrictEqual=vl,pl.notDeepEqual=xl,pl.notDeepStrictEqual=Sl,pl.strictEqual=wl,pl.notStrictEqual=Tl,pl.throws=Nl,pl.doesNotThrow=Pl,pl.ifError=Ol;var Il=o(Object.freeze({__proto__:null,default:pl,AssertionError:hl,fail:yl,ok:Dl,assert:Dl,equal:El,notEqual:bl,deepEqual:Cl,deepStrictEqual:vl,notDeepEqual:xl,notDeepStrictEqual:Sl,strictEqual:wl,notStrictEqual:Tl,throws:Nl,doesNotThrow:Pl,ifError:Ol})),_Rn$builders=Rn.builders,jl=_Rn$builders.line,Ll=_Rn$builders.hardline,_l=_Rn$builders.breakParent,Ml=_Rn$builders.indent,Rl=_Rn$builders.lineSuffix,Vl=_Rn$builders.join,$l=_Rn$builders.cursor,ql=rn.hasNewline,Wl=rn.skipNewline,Ul=rn.skipSpaces,zl=rn.isPreviousLineEmpty,Hl=rn.addLeadingComment,Gl=rn.addDanglingComment,Jl=rn.addTrailingComment,Xl=new WeakMap;function Yl(e,t,n){if(e){var r=t.printer,o=t.locStart,i=t.locEnd;if(n){if(r.canAttachComment&&r.canAttachComment(e)){var _t86;for(_t86=n.length-1;_t86>=0&&!(o(n[_t86])<=o(e)&&i(n[_t86])<=i(e));--_t86);return void n.splice(_t86+1,0,e)}}else if(Xl.has(e))return Xl.get(e);var u=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==_typeof(e)&&Object.entries(e).filter((function(_ref57){var e=_slicedToArray(_ref57,1)[0];return"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e})).map((function(_ref59){return _slicedToArray(_ref59,2)[1]}));if(u){n||(n=[],Xl.set(e,n));var _step45,_iterator45=_createForOfIteratorHelper(u);try{for(_iterator45.s();!(_step45=_iterator45.n()).done;)Yl(_step45.value,t,n)}catch(err){_iterator45.e(err)}finally{_iterator45.f()}return n}}}function Kl(e,t,n,r){for(var c,l,o=n.locStart,i=n.locEnd,u=o(t),s=i(t),a=Yl(e,n),p=0,f=a.length;p>1,_r72=a[_e98],_d3=o(_r72),_h3=i(_r72);if(_d3<=u&&s<=_h3)return Kl(_r72,t,n,_r72);if(_h3<=u)c=_r72,p=_e98+1;else{if(!(s<=_d3))throw new Error("Comment location overlaps with node location");l=_r72,f=_e98}}if(r&&"TemplateLiteral"===r.type){var _e99=r.quasis,_o24=op(_e99,t,n);c&&op(_e99,c,n)!==_o24&&(c=null),l&&op(_e99,l,n)!==_o24&&(l=null)}return{enclosingNode:r,precedingNode:c,followingNode:l}}var Ql=function Ql(){return!1},Zl=function Zl(e){return!/[\S\n\u2028\u2029]/.test(e)};function ep(e,t,n,r){var _n$r=n[r],o=_n$r.comment,i=_n$r.precedingNode,u=t.locStart,s=t.locEnd,a=u(o);if(i)for(var _t87=r-1;_t87>=0;_t87--){var _n$_t=n[_t87],_r73=_n$_t.comment;if(_n$_t.precedingNode!==i||!Zl(e.slice(s(_r73),a)))break;a=u(_r73)}return ql(e,a,{backwards:!0})}function tp(e,t,n,r){var _n$r2=n[r],o=_n$r2.comment,i=_n$r2.followingNode,u=t.locStart,s=t.locEnd,a=s(o);if(i)for(var _t88=r+1;_t880;--a){var _e100=e[a-1],_r75=_e100.comment,_u11=_e100.precedingNode,_l4=_e100.followingNode;Il.strictEqual(_u11,o),Il.strictEqual(_l4,i);var _p3=t.slice(n.locEnd(_r75),c);if(!s.test(_p3))break;c=n.locStart(_r75)}var _step46,_iterator46=_createForOfIteratorHelper(e.entries());try{for(_iterator46.s();!(_step46=_iterator46.n()).done;){var _step46$value=_slicedToArray(_step46.value,2),_t89=_step46$value[0],_n65=_step46$value[1].comment;_t891&&_e101.comments.sort((function(e,t){return n.locStart(e)-n.locStart(t)}))}e.length=0}}function rp(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function op(e,t,n){for(var r=n.locStart(t)-1,_t90=1;_t90=0){Jl(_g3,_n66);continue}}var _D2=void 0;if(a?_D2=[_t92]:(_n66.enclosingNode=_s17,_n66.precedingNode=_r76,_n66.followingNode=_d4,_D2=[_n66,_h4,_m3,_g3,_y3]),ep(_h4,_m3,f,_e105))_n66.placement="ownLine",c.apply(void 0,_toConsumableArray(_D2))||(_d4?Hl(_d4,_n66):_r76?Jl(_r76,_n66):Gl(_s17||_g3,_n66));else if(tp(_h4,_m3,f,_e105))_n66.placement="endOfLine",l.apply(void 0,_toConsumableArray(_D2))||(_r76?Jl(_r76,_n66):_d4?Hl(_d4,_n66):Gl(_s17||_g3,_n66));else if(_n66.placement="remaining",p.apply(void 0,_toConsumableArray(_D2)));else if(_r76&&_d4){var _e106=o.length;_e106>0&&o[_e106-1].followingNode!==_d4&&np(o,_h4,_m3),o.push(_t92)}else _r76?Jl(_r76,_n66):_d4?Hl(_d4,_n66):Gl(_s17||_g3,_n66)}}catch(err){_iterator47.e(err)}finally{_iterator47.f()}if(np(o,n,r),!a){var _step48,_iterator48=_createForOfIteratorHelper(e);try{for(_iterator48.s();!(_step48=_iterator48.n()).done;){var _t91=_step48.value;delete _t91.precedingNode,delete _t91.enclosingNode,delete _t91.followingNode}}catch(err){_iterator48.e(err)}finally{_iterator48.f()}}}},printComments:function printComments(e,t,n,r){var _ip=ip(e,n,r),o=_ip.leading,i=_ip.trailing;return o||i?[o,t,i]:t},printCommentsSeparately:ip,printDanglingComments:function printDanglingComments(e,t,n,r){var o=[],i=e.getValue();return i&&i.comments?(e.each((function(){var n=e.getValue();n.leading||n.trailing||r&&!r(n)||o.push(rp(e,t))}),"comments"),0===o.length?"":n?Vl(Ll,o):Ml([Ll,Vl(Ll,o)])):""},getSortedChildNodes:Yl,ensureAllCommentsPrinted:function ensureAllCommentsPrinted(e){if(e){var _step49,_iterator49=_createForOfIteratorHelper(e);try{for(_iterator49.s();!(_step49=_iterator49.n()).done;){var _t93=_step49.value;if(!_t93.printed)throw new Error('Comment "'+_t93.value.trim()+'" was not printed. Please report this error!');delete _t93.printed}}catch(err){_iterator49.e(err)}finally{_iterator49.f()}}}};function sp(e,t){var n=ap(e.stack,t);return-1===n?null:e.stack[n]}function ap(e,t){for(var _n67=e.length-1;_n67>=0;_n67-=2){var r=e[_n67];if(r&&!Array.isArray(r)&&--t<0)return _n67}return-1}var cp=function(){function cp(e){_classCallCheck(this,cp),this.stack=[e]}return _createClass(cp,[{key:"getName",value:function getName(){var e=this.stack,t=e.length;return t>1?e[t-2]:null}},{key:"getValue",value:function getValue(){return ke(this.stack)}},{key:"getNode",value:function getNode(){return sp(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"getParentNode",value:function getParentNode(){return sp(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}},{key:"call",value:function call(e){for(var n=this.stack,r=n.length,o=ke(n),_len11=arguments.length,t=new Array(_len11>1?_len11-1:0),_key11=1;_key11<_len11;_key11++)t[_key11-1]=arguments[_key11];for(var _i47=0,_t94=t;_i47<_t94.length;_i47++){var _e107=_t94[_i47];o=o[_e107],n.push(_e107,o)}var i=e(this);return n.length=r,i}},{key:"callParent",value:function callParent(e){var _this$stack,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=ap(this.stack,t+1),r=this.stack.splice(n+1),o=e(this);return(_this$stack=this.stack).push.apply(_this$stack,_toConsumableArray(r)),o}},{key:"each",value:function each(e){for(var n=this.stack,r=n.length,o=ke(n),_len12=arguments.length,t=new Array(_len12>1?_len12-1:0),_key12=1;_key12<_len12;_key12++)t[_key12-1]=arguments[_key12];for(var _i48=0,_t95=t;_i48<_t95.length;_i48++){var _e108=_t95[_i48];o=o[_e108],n.push(_e108,o)}for(var _t96=0;_t961?_len13-1:0),_key13=1;_key13<_len13;_key13++)t[_key13-1]=arguments[_key13];return this.each.apply(this,[function(t,r,o){n[r]=e(t,r,o)}].concat(t)),n}},{key:"try",value:function _try(e){var t=this.stack,n=_toConsumableArray(t);try{return e()}finally{t.length=0,t.push.apply(t,n)}}},{key:"match",value:function match(){for(var t=this.stack.length-1,n=null,r=this.stack[t--],_len14=arguments.length,e=new Array(_len14),_key14=0;_key14<_len14;_key14++)e[_key14]=arguments[_key14];for(var _i49=0,_e109=e;_i49<_e109.length;_i49++){var _o27=_e109[_i49];if(void 0===r)return!1;var _e110=null;if("number"==typeof n&&(_e110=n,n=this.stack[t--],r=this.stack[t--]),_o27&&!_o27(r,n,_e110))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}},{key:"findAncestor",value:function findAncestor(e){for(var t=this.stack.length-1,n=null,r=this.stack[t--];r;){var _o28=null;if("number"==typeof n&&(_o28=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,_o28))return r;n=this.stack[t--],r=this.stack[t--]}}}]),cp}(),lp=Rn.utils.stripTrailingHardline,pp=jc.normalize,fp={printSubtree:function printSubtree(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(function(e,t,o){return function(e,t,n,r){var _ref61$stripTrailingH=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:{}).stripTrailingHardline,o=void 0!==_ref61$stripTrailingH&&_ref61$stripTrailingH,i=pp(Object.assign({},n,t,{parentParser:n.parser,originalText:e}),{passThrough:!0}),u=Bc.parse(e,i),s=u.ast;e=u.text;var a=s.comments;delete s.comments,up.attach(a,s,e,i),i[Symbol.for("comments")]=a||[],i[Symbol.for("tokens")]=s.tokens||[];var c=r(s,i);return up.ensureAllCommentsPrinted(a),o?"string"==typeof c?c.replace(/(?:\r?\n)*$/,""):lp(c):c}(e,t,n,r,o)}),n)}},_Rn$builders2=Rn.builders,dp=_Rn$builders2.hardline,hp=_Rn$builders2.addAlignmentToDoc,mp=Rn.utils.propagateBreaks,gp=up.printComments;function yp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=t.printer;o.preprocess&&(e=o.preprocess(e,t));var i=new Map,u=new cp(e),s=a();return n>0&&(s=hp([dp,s],n,t.tabWidth)),mp(s),s;function a(e,t){return void 0===e||e===u?c(t):Array.isArray(e)?u.call.apply(u,[function(){return c(t)}].concat(_toConsumableArray(e))):u.call((function(){return c(t)}),e)}function c(e){var n=u.getValue(),o=n&&"object"==_typeof(n)&&void 0===e;if(o&&i.has(n))return i.get(n);var s=function(e,t,n,o){var s,a,i=e.getValue(),u=t.printer;if(u.hasPrettierIgnore&&u.hasPrettierIgnore(e)){var _ref62=function(e,t){var _step50,n=t.originalText,r=t[Symbol.for("comments")],o=t.locStart,i=t.locEnd,u=o(e),s=i(e),a=new Set,_iterator50=_createForOfIteratorHelper(r);try{for(_iterator50.s();!(_step50=_iterator50.n()).done;){var _e111=_step50.value;o(_e111)>=u&&i(_e111)<=s&&(_e111.printed=!0,a.add(_e111))}}catch(err){_iterator50.e(err)}finally{_iterator50.f()}return{doc:n.slice(u,s),printedComments:a}}(i,t);s=_ref62.doc,a=_ref62.printedComments}else{if(i)try{s=fp.printSubtree(e,n,t,yp)}catch(e){if(r.PRETTIER_DEBUG)throw e}s||(s=u.print(e,t,n,o))}return u.willPrintOwnComments&&u.willPrintOwnComments(e,t)||(s=gp(e,s,t,a)),s}(u,t,a,e);return o&&i.set(n,s),s}}var Dp=yp;function Ep(e){for(var t=e.length-1;;){var _n68=e[t];if(!_n68||"Program"!==_n68.type&&"File"!==_n68.type)break;t--}return e.slice(0,t+1)}function bp(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5?arguments[5]:void 0,u=n.locStart,s=n.locEnd,a=u(e),c=s(e);if(!(t>c||tr);var s=e.slice(r,o).search(/\S/),a=-1===s;if(!a)for(r+=s;o>r&&!/\S/.test(e[o-1]);--o);var p,f,c=bp(n,r,t,(function(e,n){return Ap(t,e,n)}),[],"rangeStart"),l=a?c:bp(n,o,t,(function(e){return Ap(t,e)}),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};if(function(_ref63){var e=_ref63.parser;return"json"===e||"json5"===e||"json-stringify"===e}(t)){var _e112=function(e,t){var n=[e.node].concat(_toConsumableArray(e.parentNodes)),r=new Set([t.node].concat(_toConsumableArray(t.parentNodes)));return n.find((function(e){return Cp.has(e.type)&&r.has(e)}))}(c,l);p=_e112,f=_e112}else{var _ref64=function(e,t,_ref65){var n=_ref65.locStart,r=_ref65.locEnd,o=e.node,i=t.node;if(o===i)return{startNode:o,endNode:i};var _step52,u=n(e.node),_iterator52=_createForOfIteratorHelper(Ep(t.parentNodes));try{for(_iterator52.s();!(_step52=_iterator52.n()).done;){var _e113=_step52.value;if(!(n(_e113)>=u))break;i=_e113}}catch(err){_iterator52.e(err)}finally{_iterator52.f()}var _step53,s=r(t.node),_iterator53=_createForOfIteratorHelper(Ep(e.parentNodes));try{for(_iterator53.s();!(_step53=_iterator53.n()).done;){var _t97=_step53.value;if(!(r(_t97)<=s))break;o=_t97}}catch(err){_iterator53.e(err)}finally{_iterator53.f()}return{startNode:o,endNode:i}}(c,l,t);p=_ref64.startNode,f=_ref64.endNode}return{rangeStart:Math.min(i(p),i(f)),rangeEnd:Math.max(u(p),u(f))}},findNodeAtOffset:bp},xp=Rn.printer.printDocToString,Sp=Rn.debug.printDocToDebug,wp=rn.getAlignmentSize,Tp=on.guessEndOfLine,Bp=on.convertEndOfLineToChars,kp=on.countEndOfLineChars,Np=on.normalizeEndOfLine,Pp=jc.normalize,Op=Symbol("cursor");function Ip(e,t,n){var r=t.comments;return r&&(delete t.comments,up.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function jp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};var _Bc$parse=Bc.parse(e,t),r=_Bc$parse.ast,o=_Bc$parse.text;if(t.cursorOffset>=0){var _e114=Fp.findNodeAtOffset(r,t.cursorOffset,t);_e114&&_e114.node&&(t.cursorNode=_e114.node)}var i=Ip(o,r,t),u=Dp(r,t,n),s=xp(u,t);if(up.ensureAllCommentsPrinted(i),n>0){var _e115=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(_e115)),s.formatted=_e115+Bp(t.endOfLine)}if(t.cursorOffset>=0){var _e116,_n69,_r77,_u13,_a3;if(t.cursorNode&&s.cursorNodeText?(_e116=t.locStart(t.cursorNode),_n69=o.slice(_e116,t.locEnd(t.cursorNode)),_r77=t.cursorOffset-_e116,_u13=s.cursorNodeStart,_a3=s.cursorNodeText):(_e116=0,_n69=o,_r77=t.cursorOffset,_u13=0,_a3=s.formatted),_n69===_a3)return{formatted:s.formatted,cursorOffset:_u13+_r77,comments:i};var _c7=_n69.split("");_c7.splice(_r77,0,Op);var _step54,_l5=_a3.split(""),_f3=_u13,_iterator54=_createForOfIteratorHelper(pe.diffArrays(_c7,_l5));try{for(_iterator54.s();!(_step54=_iterator54.n()).done;){var _e117=_step54.value;if(_e117.removed){if(_e117.value.includes(Op))break}else _f3+=_e117.count}}catch(err){_iterator54.e(err)}finally{_iterator54.f()}return{formatted:s.formatted,cursorOffset:_f3,comments:i}}return{formatted:s.formatted,cursorOffset:-1,comments:i}}function Lp(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function _p(e,t){var n=t.cursorOffset,r=t.rangeStart,o=t.rangeEnd;return n=Lp(e,n,-1),r=Lp(e,r,0),o=Lp(e,o,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o})}function Mp(e,t){var _p5=_p(e,t),n=_p5.cursorOffset,r=_p5.rangeStart,o=_p5.rangeEnd,i=_p5.endOfLine,u="\ufeff"===e.charAt(0);if(u&&(e=e.slice(1),n--,r--,o--),"auto"===i&&(i=Tp(e)),e.includes("\r")){var _t98=function _t98(t){return kp(e.slice(0,Math.max(t,0)),"\r\n")};n-=_t98(n),r-=_t98(r),o-=_t98(o),e=Np(e)}return{hasBOM:u,text:e,options:_p(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}))}}function Rp(e,t){var n=Bc.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function Vp(e,t){var n,_Mp=Mp(e,Pp(t)),r=_Mp.hasBOM,o=_Mp.text,i=_Mp.options;return i.rangeStart>=i.rangeEnd&&""!==o||i.requirePragma&&!Rp(o,i)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEndo&&t.cursorOffset=i?f+=p.length-u.length:l.cursorOffset>=0&&(f=l.cursorOffset+o);var d=r.slice(0,o)+p+r.slice(i);if("lf"!==t.endOfLine){var _e118=Bp(t.endOfLine);f>=0&&"\r\n"===_e118&&(f+=kp(d.slice(0,f),"\n")),d=d.replace(/\n/g,_e118)}return{formatted:d,cursorOffset:f,comments:l.comments}}(o,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!Rp(o,i)&&(o=i.printer.insertPragma(o)),n=jp(o,i)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var $p={formatWithCursor:Vp,parse:function parse(e,t,n){var _Mp2=Mp(e,Pp(t)),r=_Mp2.text,o=_Mp2.options,i=Bc.parse(r,o);return n&&(i.ast=Lc(i.ast,o)),i},formatAST:function formatAST(e,t){t=Pp(t);var n=Dp(e,t);return xp(n,t)},formatDoc:function formatDoc(e,t){return Vp(Sp(e),Object.assign({},t,{parser:"__js_expression"})).formatted},printToDoc:function printToDoc(e,t){t=Pp(t);var _Bc$parse3=Bc.parse(e,t),n=_Bc$parse3.ast;return Ip(_Bc$parse3.text,n,t),Dp(n,t)},printDocToString:function printDocToString(e,t){return xp(e,Pp(t))}},qp=rn.getMaxContinuousCount,Wp=rn.getStringWidth,Up=rn.getAlignmentSize,zp=rn.getIndentSize,Hp=rn.skip,Gp=rn.skipWhitespace,Jp=rn.skipSpaces,Xp=rn.skipNewline,Yp=rn.skipToLineEnd,Kp=rn.skipEverythingButNewLine,Qp=rn.skipInlineComment,Zp=rn.skipTrailingComment,ef=rn.hasNewline,tf=rn.hasNewlineInRange,nf=rn.hasSpaces,rf=rn.isNextLineEmpty,of=rn.isNextLineEmptyAfterIndex,uf=rn.isPreviousLineEmpty,sf=rn.getNextNonSpaceNonCommentCharacterIndex,af=rn.makeString,cf=rn.addLeadingComment,lf=rn.addDanglingComment,pf=rn.addTrailingComment,ff={getMaxContinuousCount:qp,getStringWidth:Wp,getAlignmentSize:Up,getIndentSize:zp,skip:Hp,skipWhitespace:Gp,skipSpaces:Jp,skipNewline:Xp,skipToLineEnd:Yp,skipEverythingButNewLine:Kp,skipInlineComment:Qp,skipTrailingComment:Zp,hasNewline:ef,hasNewlineInRange:tf,hasSpaces:nf,isNextLineEmpty:rf,isNextLineEmptyAfterIndex:of,isPreviousLineEmpty:uf,getNextNonSpaceNonCommentCharacterIndex:sf,makeString:af,addLeadingComment:cf,addDanglingComment:lf,addTrailingComment:pf},df=function df(t,n){var r=t.languageId,o=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},o,n(t))},hf=i((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function isExpression(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function isIterationStatement(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function isProblematicIfStatement(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),mf=i((function(e){!function(){var t,n,r,o,i,u;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],o=new Array(128),u=0;u<128;++u)o[u]=u>=97&&u<=122||u>=65&&u<=90||36===u||95===u;for(i=new Array(128),u=0;u<128;++u)i[u]=u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||36===u||95===u;e.exports={isDecimalDigit:function isDecimalDigit(e){return 48<=e&&e<=57},isHexDigit:function isHexDigit(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function isOctalDigit(e){return e>=48&&e<=55},isWhiteSpace:function isWhiteSpace(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function isLineTerminator(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function isIdentifierStartES5(e){return e<128?o[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function isIdentifierPartES5(e){return e<128?i[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function isIdentifierStartES6(e){return e<128?o[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function isIdentifierPartES6(e){return e<128?i[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()})),gf=i((function(e){!function(){var t=mf;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function o(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function u(e){var n,r,o;if(0===e.length)return!1;if(o=e.charCodeAt(0),!t.isIdentifierStartES5(o))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(i=e.charCodeAt(n))&&i<=57343))return!1;o=1024*(o-55296)+(i-56320)+65536}if(!u(o))return!1;u=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:o,isReservedWordES6:i,isRestrictedWord:function isRestrictedWord(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:u,isIdentifierNameES6:s,isIdentifierES5:function isIdentifierES5(e,t){return u(e)&&!o(e,t)},isIdentifierES6:function isIdentifierES6(e,t){return s(e)&&!i(e,t)}}}()})),yf=i((function(e,t){t.ast=hf,t.code=mf,t.keyword=gf})).keyword.isIdentifierNameES5,Df=rn.getLast,Ef=rn.hasNewline,bf=rn.skipWhitespace,Cf=rn.isNonEmptyArray,vf=rn.isNextLineEmptyAfterIndex,Af=ea.locStart,Ff=ea.locEnd,xf=ea.hasSameLocStart,Sf="(?:(?=.)\\s)",wf=new RegExp("^".concat(Sf,"*:")),Tf=new RegExp("^".concat(Sf,"*::"));function Bf(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Uf(e)||zf(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function kf(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function Nf(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}var Pf=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Of(e){return e&&Pf.has(e.type)}function If(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function jf(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Lf(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function _f(e){return Uf(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function Mf(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Rf(e){return"get"===e.kind||"set"===e.kind}function Vf(e){return Rf(e)||xf(e,e.value)}var $f=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),qf=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),Wf=/^(skip|[fx]?(it|describe|test))$/;function Uf(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function zf(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function Hf(e,t){return Mf(t)?id(t):ad(t,ud.Leading,(function(t){return Ef(e,Ff(t))}))}function Gf(e){return/^(\d+|\d+\.\d+)$/.test(e)}function Jf(e){return e.quasis.some((function(e){return e.value.raw.includes("\n")}))}function Xf(e){return e.extra?e.extra.raw:e.raw}var _step55,Yf={"==":!0,"!=":!0,"===":!0,"!==":!0},Kf={"*":!0,"/":!0,"%":!0},Qf={">>":!0,">>>":!0,"<<":!0},Zf={},_iterator55=_createForOfIteratorHelper([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries());try{for(_iterator55.s();!(_step55=_iterator55.n()).done;){var _step79,_step55$value=_slicedToArray(_step55.value,2),_e216=_step55$value[0],_iterator79=_createForOfIteratorHelper(_step55$value[1]);try{for(_iterator79.s();!(_step79=_iterator79.n()).done;){var _n134=_step79.value;Zf[_n134]=_e216}}catch(err){_iterator79.e(err)}finally{_iterator79.f()}}}catch(err){_iterator55.e(err)}finally{_iterator55.f()}function ed(e){return Zf[e]}var td=new WeakMap;function nd(e){if(td.has(e))return td.get(e);var t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push.apply(t,_toConsumableArray(e.parameters)):Array.isArray(e.params)&&t.push.apply(t,_toConsumableArray(e.params)),e.rest&&t.push(e.rest),td.set(e,t),t}var rd=new WeakMap;function od(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function id(e){return e&&(e.prettierIgnore||ad(e,ud.PrettierIgnore))}var ud={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},sd=function sd(e,t){if("function"==typeof e&&(t=e,e=0),e||t)return function(n,r,o){return!(e&ud.Leading&&!n.leading||e&ud.Trailing&&!n.trailing||e&ud.Dangling&&(n.leading||n.trailing)||e&ud.Block&&!kf(n)||e&ud.Line&&!Nf(n)||e&ud.First&&0!==r||e&ud.Last&&r!==o.length-1||e&ud.PrettierIgnore&&!od(n)||t&&!t(n))}};function ad(e,t,n){if(!e||!Cf(e.comments))return!1;var r=sd(t,n);return!r||e.comments.some(r)}function cd(e,t,n){if(!e||!Array.isArray(e.comments))return[];var r=sd(t,n);return r?e.comments.filter(r):e.comments}function ld(e){return Uf(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var pd={getFunctionParameters:nd,iterateFunctionParametersPath:function iterateFunctionParametersPath(e,t){var n=e.getValue(),r=0,o=function o(e){return t(e,r++)};n.this&&e.call(o,"this"),Array.isArray(n.parameters)?e.each(o,"parameters"):Array.isArray(n.params)&&e.each(o,"params"),n.rest&&e.call(o,"rest")},getCallArguments:function getCallArguments(e){if(rd.has(e))return rd.get(e);var t="ImportExpression"===e.type?[e.source]:e.arguments;return rd.set(e,t),t},iterateCallArgumentsPath:function iterateCallArgumentsPath(e,t){"ImportExpression"===e.getValue().type?e.call((function(e){return t(e,0)}),"source"):e.each(t,"arguments")},hasRestParameter:function hasRestParameter(e){if(e.rest)return!0;var t=nd(e);return t.length>0&&"RestElement"===Df(t).type},getLeftSidePathName:function getLeftSidePathName(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function getParentExportDeclaration(e){var t=e.getParentNode();return"declaration"===e.getName()&&Of(t)?t:null},getTypeScriptMappedTypeModifier:function getTypeScriptMappedTypeModifier(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function hasFlowAnnotationComment(e){return e&&kf(e[0])&&Tf.test(e[0].value)},hasFlowShorthandAnnotationComment:function hasFlowShorthandAnnotationComment(e){return e.extra&&e.extra.parenthesized&&Cf(e.trailingComments)&&kf(e.trailingComments[0])&&wf.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:Hf,hasNakedLeftSide:Bf,hasNode:function e(t,n){if(!t||"object"!=_typeof(t))return!1;if(Array.isArray(t))return t.some((function(t){return e(t,n)}));var r=n(t);return"boolean"==typeof r?r:Object.values(t).some((function(t){return e(t,n)}))},hasIgnoreComment:function hasIgnoreComment(e){return id(e.getValue())},hasNodeIgnoreComment:id,identity:function identity(e){return e},isBinaryish:function isBinaryish(e){return $f.has(e.type)},isBlockComment:kf,isCallLikeExpression:ld,isLineComment:Nf,isPrettierIgnoreComment:od,isCallExpression:Uf,isMemberExpression:zf,isExportDeclaration:Of,isFlowAnnotationComment:function isFlowAnnotationComment(e,t){var n=Af(t),r=bf(e,Ff(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function isFunctionCompositionArgs(e){if(e.length<=1)return!1;var _step56,t=0,_iterator56=_createForOfIteratorHelper(e);try{for(_iterator56.s();!(_step56=_iterator56.n()).done;){var _n70=_step56.value;if(Lf(_n70)){if((t+=1)>1)return!0}else if(Uf(_n70)){var _step57,_iterator57=_createForOfIteratorHelper(_n70.arguments);try{for(_iterator57.s();!(_step57=_iterator57.n()).done;)if(Lf(_step57.value))return!0}catch(err){_iterator57.e(err)}finally{_iterator57.f()}}}}catch(err){_iterator56.e(err)}finally{_iterator56.f()}return!1},isFunctionNotation:Vf,isFunctionOrArrowExpression:Lf,isGetterOrSetter:Rf,isJestEachTemplateLiteral:function isJestEachTemplateLiteral(e,t){var n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJsxNode:Mf,isLiteral:function isLiteral(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type},isLongCurriedCallExpression:function isLongCurriedCallExpression(e){var t=e.getValue(),n=e.getParentNode();return Uf(t)&&Uf(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;var r=function r(t){return e(t,n+1)},o="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(o&&o.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((function(e){return!e.value.raw.includes("\n")}))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((function(e){return!e.computed&&(e.shorthand||e.value&&r(e.value))})):"ArrayExpression"===t.type?t.elements.every((function(e){return null===e||r(e)})):"ImportExpression"===t.type?r(t.source):ld(t)?e(t.callee,n)&&t.arguments.every(r):zf(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMemberish:function isMemberish(e){return zf(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:If,isSignedNumericLiteral:function isSignedNumericLiteral(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&If(e.argument)},isObjectType:function isObjectType(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function isObjectTypePropertyAFunction(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Vf(e))},isSimpleType:function isSimpleType(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!qf.has(e.type))},isSimpleNumber:Gf,isSimpleTemplateLiteral:function isSimpleTemplateLiteral(e){var t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");var n=e[t];return 0!==n.length&&n.every((function(e){if(ad(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(zf(e)){for(var _t99=e;zf(_t99);){if("Identifier"!==_t99.property.type&&"Literal"!==_t99.property.type&&"StringLiteral"!==_t99.property.type&&"NumericLiteral"!==_t99.property.type)return!1;if(ad(_t99=_t99.object))return!1}return"Identifier"===_t99.type||"ThisExpression"===_t99.type}return!1}))},isStringLiteral:jf,isStringPropSafeToUnquote:function isStringPropSafeToUnquote(e,t){return"json"!==t.parser&&jf(e.key)&&Xf(e.key).slice(1,-1)===e.key.value&&(yf(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||Gf(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser))},isTemplateOnItsOwnLine:function isTemplateOnItsOwnLine(e,t){return("TemplateLiteral"===e.type&&Jf(e)||"TaggedTemplateExpression"===e.type&&Jf(e.quasi))&&!Ef(t,Af(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(_f(t)&&n&&e(n))return Lf(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return _f(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Wf.test(t.callee.name)||function(e){return zf(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&Wf.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||jf(t.arguments[0])))return!(t.arguments[2]&&!If(t.arguments[2]))&&((2===t.arguments.length?Lf(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&nd(t.arguments[1]).length<=1)||_f(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function isTheOnlyJsxElementInMarkdown(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!Mf(n.expression))return!1;var r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function isTSXFile(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function isTypeAnnotationAFunction(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||xf(e,e.typeAnnotation))},isNextLineEmpty:function isNextLineEmpty(e,_ref66){var t=_ref66.originalText;return vf(t,Ff(e))},needsHardlineAfterDanglingComment:function needsHardlineAfterDanglingComment(e){if(!ad(e))return!1;var t=Df(cd(e,ud.Dangling));return t&&!kf(t)},rawText:Xf,returnArgumentHasLeadingComment:function returnArgumentHasLeadingComment(e,t){if(Hf(e.originalText,t))return!0;if(Bf(t))for(var _r78,_o29=t;_r78=(n=_o29).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(_o29=_r78,Hf(e.originalText,_o29))return!0;var n;return!1},shouldPrintComma:function shouldPrintComma(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function isBitwiseOperator(e){return Boolean(Qf[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function shouldFlatten(e,t){return!(ed(t)!==ed(e)||"**"===e||Yf[e]&&Yf[t]||"%"===t&&Kf[e]||"%"===e&&Kf[t]||t!==e&&Kf[t]&&Kf[e]||Qf[e]&&Qf[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1}},getPrecedence:ed,hasComment:ad,getComments:cd,CommentCheckFlags:ud},fd=rn.getStringWidth,dd=rn.getIndentSize,_Rn$builders3=Rn.builders,hd=_Rn$builders3.join,md=_Rn$builders3.hardline,gd=_Rn$builders3.softline,yd=_Rn$builders3.group,Dd=_Rn$builders3.indent,Ed=_Rn$builders3.align,bd=_Rn$builders3.lineSuffixBoundary,Cd=_Rn$builders3.addAlignmentToDoc,vd=Rn.printer.printDocToString,Ad=Rn.utils.mapDoc,Fd=pd.isBinaryish,xd=pd.isJestEachTemplateLiteral,Sd=pd.isSimpleTemplateLiteral,wd=pd.hasComment,Td=pd.isMemberExpression;function Bd(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var kd={printTemplateLiteral:function printTemplateLiteral(e,t,n){var r=e.getValue();if("TemplateLiteral"===r.type&&xd(r,e.getParentNode())){var _r79=function(e,t,n){var r=e.getNode(),o=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(o.length>1||o.some((function(e){return e.length>0}))){t.__inJestEach=!0;var _i50=e.map(n,"expressions");t.__inJestEach=!1;for(var _u14=[],_s19=_i50.map((function(e){return"${"+vd(e,Object.assign({},t,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"})),_a4=[{hasLineBreak:!1,cells:[]}],_e120=1;_e1200})))),_iterator58=_createForOfIteratorHelper(_p6.filter((function(e){return!e.hasLineBreak})));try{for(_iterator58.s();!(_step58=_iterator58.n()).done;){var _step59,_iterator59=_createForOfIteratorHelper(_step58.value.cells.entries());try{for(_iterator59.s();!(_step59=_iterator59.n()).done;){var _step59$value=_slicedToArray(_step59.value,2),_t101=_step59$value[0],_n72=_step59$value[1];_l6[_t101]=Math.max(_l6[_t101],fd(_n72))}}catch(err){_iterator59.e(err)}finally{_iterator59.f()}}}catch(err){_iterator58.e(err)}finally{_iterator58.f()}return _u14.push(bd,"`",Dd([md,hd(md,_p6.map((function(e){return hd(" | ",e.cells.map((function(t,n){return e.hasLineBreak?t:t+" ".repeat(_l6[n]-fd(t))})))})))]),md,"`"),_u14}}(e,n,t);if(_r79)return _r79}var o="expressions";"TSTemplateLiteralType"===r.type&&(o="types");var i=[],u=e.map(t,o),s=Sd(r);return s&&(u=u.map((function(e){return vd(e,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted}))),i.push(bd,"`"),e.each((function(e){var a=e.getName();if(i.push(t()),a2&&""===_c10[0].trim()&&""===_c10[1].trim(),_d5=_l8>2&&""===_c10[_l8-1].trim()&&""===_c10[_l8-2].trim(),_h5=_c10.every((function(e){return/^\s*(?:#[^\n\r]*)?$/.test(e)}));if(!_s20&&/#[^\n\r]*$/.test(_c10[_l8-1]))return null;var _m4=null;(_m4=_h5?Kd(_c10):n(_a5,{parser:"graphql"},{stripTrailingHardline:!0}))?(_m4=Xd(_m4,!1),!_t103&&_f5&&u.push(""),u.push(_m4),!_s20&&_d5&&u.push("")):_t103||_s20||!_f5||u.push(""),_p8&&u.push(_p8)}return["`",Hd([Jd,Gd(Jd,u)]),Jd,"`"]},_Rn$builders7=Rn.builders,Zd=_Rn$builders7.indent,eh=_Rn$builders7.line,th=_Rn$builders7.hardline,nh=_Rn$builders7.group,rh=Rn.utils.mapDoc,oh=kd.printTemplateExpressions,ih=kd.uncookTemplateElementValue,uh=0,sh=function sh(e,t,n,r,_ref67){var o=_ref67.parser,i=e.getValue(),u=uh;uh=uh+1>>>0;var s=function s(e){return"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(u,"_IN_JS")},a=i.quasis.map((function(e,t,n){return t===n.length-1?e.value.cooked:e.value.cooked+s(t)})).join(""),c=oh(e,t);if(0===c.length&&0===a.trim().length)return"``";var l=new RegExp(s("(\\d+)"),"g"),p=0,f=n(a,{parser:o,__onHtmlRoot:function __onHtmlRoot(e){p=e.children.length}},{stripTrailingHardline:!0}),d=rh(f,(function(e){if("string"!=typeof e)return e;for(var t=[],n=e.split(l),_e125=0;_e1251?Zd(nh(d)):nh(d),m,"`"])},ah=pd.hasComment,ch=pd.CommentCheckFlags;function lh(e){return function(e){var t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var n=t.tag;switch(n.type){case"MemberExpression":return fh(n.object)||dh(n);case"CallExpression":return fh(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(fh(n.callee.object.object)||dh(n.callee.object))||"CallExpression"===n.callee.object.type&&fh(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat(ph))}(e)?"css":function(e){var t=e.getValue(),n=e.getParentNode();return hh(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return hh(e.getValue(),"HTML")||e.match((function(e){return"TemplateLiteral"===e.type}),(function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}))}(e)?"html":function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat(ph))}(e)?"angular":function(e){var t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}var ph=[function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}];function fh(e){return"Identifier"===e.type&&"styled"===e.name}function dh(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function hh(e,t){return ah(e,ch.Block|ch.Leading,(function(_ref68){return _ref68.value===" ".concat(t," ")}))}var mh=function mh(e,t,n,r){var o=e.getValue();if("TemplateLiteral"===o.type&&!o.quasis.some((function(_ref70){return null===_ref70.value.cooked}))){var i=lh(e);return i?"markdown"===i?Ld(e,t,n):"css"===i?zd(e,t,n):"graphql"===i?Qd(e,t,n):"html"===i||"angular"===i?sh(e,t,n,r,{parser:i}):void 0:void 0}},gh=pd.isBlockComment,yh=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Dh=function Dh(e){var _step61,_iterator61=_createForOfIteratorHelper(e.quasis);try{for(_iterator61.s();!(_step61=_iterator61.n()).done;)delete _step61.value.value}catch(err){_iterator61.e(err)}finally{_iterator61.f()}};function Eh(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=_typeof(e.key)||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))){var _step62,_iterator62=_createForOfIteratorHelper(t.children);try{for(_iterator62.s();!(_step62=_iterator62.n()).done;){var _step62$value=_step62.value,_e126=_step62$value.type,_n73=_step62$value.expression;"JSXExpressionContainer"===_e126&&"TemplateLiteral"===_n73.type&&Dh(_n73)}}catch(err){_iterator62.e(err)}finally{_iterator62.f()}}"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&Dh(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));var r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){var _step63,_n74=e.expression.arguments[0].properties,_iterator63=_createForOfIteratorHelper(t.expression.arguments[0].properties.entries());try{for(_iterator63.s();!(_step63=_iterator63.n()).done;){var _step63$value=_slicedToArray(_step63.value,2),_e127=_step63$value[0],_r80=_step63$value[1];switch(_n74[_e127].key.name){case"styles":"ArrayExpression"===_r80.value.type&&Dh(_r80.value.elements[0]);break;case"template":"TemplateLiteral"===_r80.value.type&&Dh(_r80.value)}}}catch(err){_iterator63.e(err)}finally{_iterator63.f()}}return"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||Dh(t.quasi),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some((function(e){return gh(e)&&["GraphQL","HTML"].some((function(t){return e.value===" ".concat(t," ")}))}))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&Dh(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}Eh.ignoredProperties=yh;var bh=Eh,Ch=function Ch(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0!==t.length){var n=t.filter((function(e){return"\r\n"===e})).length;return n>t.length-n?"\r\n":"\n"}},vh=Ch;vh.graceful=function(e){return"string"==typeof e&&Ch(e)||"\n"};var Ah=function Ah(e){var t=e.match(Ph);return t?t[0].trimLeft():""},Fh=function Fh(e){var t=e.match(Ph);return t&&t[0]?e.substring(t[0].length):e},xh=function xh(e){return Rh(e).pragmas},Sh=Rh,wh=function wh(_ref71){var _ref71$comments=_ref71.comments,e=void 0===_ref71$comments?"":_ref71$comments,_ref71$pragmas=_ref71.pragmas,t=void 0===_ref71$pragmas?{}:_ref71$pragmas,n=(0,Bh().default)(e)||Th().EOL,r=" *",o=Object.keys(t),i=o.map((function(e){return Vh(e,t[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return" * "+e+n})).join("");if(!e){if(0===o.length)return"";if(1===o.length&&!Array.isArray(t[o[0]])){var _e128=t[o[0]];return"".concat("/**"," ").concat(Vh(o[0],_e128)[0]).concat(" */")}}var u=e.split(n).map((function(e){return"".concat(r," ").concat(e)})).join(n)+n;return"/**"+n+(e?u:"")+(e&&o.length?r+n:"")+i+" */"};function Th(){var e=Uo;return Th=function Th(){return e},e}function Bh(){var e=function(e){return e&&e.__esModule?e:{default:e}}(vh);return Bh=function Bh(){return e},e}var kh=/\*\/$/,Nh=/^\/\*\*/,Ph=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Oh=/(^|\s+)\/\/([^\r\n]*)/g,Ih=/^(\r?\n)+/,jh=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Lh=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,_h=/(\r?\n|^) *\* ?/g,Mh=[];function Rh(e){var t=(0,Bh().default)(e)||Th().EOL;e=e.replace(Nh,"").replace(kh,"").replace(_h,"$1");for(var n="";n!==e;)n=e,e=e.replace(jh,"".concat(t,"$1 $2").concat(t));e=e.replace(Ih,"").trimRight();for(var i,r=Object.create(null),o=e.replace(Lh,"").replace(Ih,"").trimRight();i=Lh.exec(e);){var _e129=i[2].replace(Oh,"");"string"==typeof r[i[1]]||Array.isArray(r[i[1]])?r[i[1]]=Mh.concat(r[i[1]],_e129):r[i[1]]=_e129}return{comments:o,pragmas:r}}function Vh(e,t){return Mh.concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}var $h=Object.defineProperty({extract:Ah,strip:Fh,parse:xh,parseWithComments:Sh,print:wh},"__esModule",{value:!0}),qh=$h.parseWithComments,Wh=$h.strip,Uh=$h.extract,zh=$h.print,Hh=rn.getShebang,Gh=on.normalizeEndOfLine;function Jh(e){var t=Hh(e);t&&(e=e.slice(t.length+1));var n=Uh(e),_qh=qh(n);return{shebang:t,text:e,pragmas:_qh.pragmas,comments:_qh.comments}}var Xh={hasPragma:function hasPragma(e){var t=Object.keys(Jh(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function insertPragma(e){var _Jh=Jh(e),t=_Jh.shebang,n=_Jh.text,r=_Jh.pragmas,o=_Jh.comments,i=Wh(n),u=zh({pragmas:Object.assign({format:""},r),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+Gh(u)+(i.startsWith("\n")?"\n":"\n\n")+i}},Yh=rn.getLast,Kh=rn.hasNewline,Qh=rn.getNextNonSpaceNonCommentCharacterIndexWithStartIndex,Zh=rn.getNextNonSpaceNonCommentCharacter,em=rn.hasNewlineInRange,tm=rn.addLeadingComment,nm=rn.addTrailingComment,rm=rn.addDanglingComment,om=rn.getNextNonSpaceNonCommentCharacterIndex,im=rn.isNonEmptyArray,um=pd.isBlockComment,sm=pd.getFunctionParameters,am=pd.isPrettierIgnoreComment,cm=pd.isJsxNode,lm=pd.hasFlowShorthandAnnotationComment,pm=pd.hasFlowAnnotationComment,fm=pd.hasIgnoreComment,dm=pd.isCallLikeExpression,hm=pd.getCallArguments,mm=pd.isCallExpression,gm=pd.isMemberExpression,ym=ea.locStart,Dm=ea.locEnd;function Em(e,t){var n=(e.body||e.properties).find((function(_ref72){return"EmptyStatement"!==_ref72.type}));n?tm(n,t):rm(e,t)}function bm(e,t){"BlockStatement"===e.type?Em(e,t):tm(e,t)}function Cm(_ref73){var e=_ref73.comment,t=_ref73.followingNode;return!(!t||!Ym(e)||(tm(t,e),0))}function vm(_ref74){var e=_ref74.comment,t=_ref74.precedingNode,n=_ref74.enclosingNode,r=_ref74.followingNode,o=_ref74.text;return!(!n||"IfStatement"!==n.type||!r||(")"===Zh(o,e,Dm)?(nm(t,e),0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?nm(t,e):rm(n,e),0):"BlockStatement"===r.type?(Em(r,e),0):"IfStatement"===r.type?(bm(r.consequent,e),0):n.consequent!==r||(tm(r,e),0)))}function Am(_ref75){var e=_ref75.comment,t=_ref75.precedingNode,n=_ref75.enclosingNode,r=_ref75.followingNode,o=_ref75.text;return!(!n||"WhileStatement"!==n.type||!r||(")"===Zh(o,e,Dm)?(nm(t,e),0):"BlockStatement"===r.type?(Em(r,e),0):n.body!==r||(tm(r,e),0)))}function Fm(_ref76){var e=_ref76.comment,t=_ref76.precedingNode,n=_ref76.enclosingNode,r=_ref76.followingNode;return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r||("CatchClause"===n.type&&t?(nm(t,e),0):"BlockStatement"===r.type?(Em(r,e),0):"TryStatement"===r.type?(bm(r.finalizer,e),0):"CatchClause"!==r.type||(bm(r.body,e),0)))}function xm(_ref77){var e=_ref77.comment,t=_ref77.enclosingNode,n=_ref77.followingNode;return!(!gm(t)||!n||"Identifier"!==n.type||(tm(t,e),0))}function Sm(_ref78){var e=_ref78.comment,t=_ref78.precedingNode,n=_ref78.enclosingNode,r=_ref78.followingNode,o=_ref78.text,i=t&&!em(o,Dm(t),ym(e));return!(t&&i||!n||"ConditionalExpression"!==n.type&&"TSConditionalType"!==n.type||!r||(tm(r,e),0))}function wm(_ref79){var e=_ref79.comment,t=_ref79.precedingNode,n=_ref79.enclosingNode;return!(!n||"ObjectProperty"!==n.type&&"Property"!==n.type||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type||(nm(n.value.left,e),0))}function Tm(_ref80){var e=_ref80.comment,t=_ref80.precedingNode,n=_ref80.enclosingNode,r=_ref80.followingNode;if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(im(n.decorators)&&(!r||"Decorator"!==r.type))return nm(Yh(n.decorators),e),!0;if(n.body&&r===n.body)return Em(n.body,e),!0;if(r)for(var _i52=0,_arr3=["implements","extends","mixins"];_i52<_arr3.length;_i52++){var _o32=_arr3[_i52];if(n[_o32]&&r===n[_o32][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?rm(n,e,_o32):nm(t,e),!0}}return!1}function Bm(_ref81){var e=_ref81.comment,t=_ref81.precedingNode,n=_ref81.enclosingNode,r=_ref81.text;return(n&&t&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===t.type&&n.key===t&&":"!==Zh(r,t,Dm)||!(!t||!n||"Decorator"!==t.type||"ClassMethod"!==n.type&&"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type&&"TSAbstractClassProperty"!==n.type&&"TSAbstractMethodDefinition"!==n.type&&"TSDeclareMethod"!==n.type&&"MethodDefinition"!==n.type))&&(nm(t,e),!0)}function km(_ref82){var e=_ref82.comment,t=_ref82.precedingNode,n=_ref82.enclosingNode,r=_ref82.text;return"("===Zh(r,e,Dm)&&!(!t||!n||"FunctionDeclaration"!==n.type&&"FunctionExpression"!==n.type&&"ClassMethod"!==n.type&&"MethodDefinition"!==n.type&&"ObjectMethod"!==n.type)&&(nm(t,e),!0)}function Nm(_ref83){var e=_ref83.comment,t=_ref83.enclosingNode,n=_ref83.text;if(!t||"ArrowFunctionExpression"!==t.type)return!1;var r=om(n,e,Dm);return!1!==r&&"=>"===n.slice(r,r+2)&&(rm(t,e),!0)}function Pm(_ref84){var e=_ref84.comment,t=_ref84.enclosingNode,n=_ref84.text;return!(")"!==Zh(n,e,Dm)||(t&&(Xm(t)&&0===sm(t).length||dm(t)&&0===hm(t).length)?(rm(t,e),0):!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==sm(t.value).length||(rm(t.value,e),0)))}function Om(_ref85){var e=_ref85.comment,t=_ref85.precedingNode,n=_ref85.enclosingNode,r=_ref85.followingNode,o=_ref85.text;if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return nm(t,e),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&Xm(n)&&")"===Zh(o,e,Dm))return nm(t,e),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){var _t105=function(){var e=sm(n);if(e.length>0)return Qh(o,Dm(Yh(e)));var t=Qh(o,Dm(n.id));return!1!==t&&Qh(o,t+1)}();if(ym(e)>_t105)return Em(r,e),!0}return!1}function Im(_ref86){var e=_ref86.comment,t=_ref86.enclosingNode;return!(!t||"ImportSpecifier"!==t.type||(tm(t,e),0))}function jm(_ref87){var e=_ref87.comment,t=_ref87.enclosingNode;return!(!t||"LabeledStatement"!==t.type||(tm(t,e),0))}function Lm(_ref88){var e=_ref88.comment,t=_ref88.enclosingNode;return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label||(nm(t,e),0))}function _m(_ref89){var e=_ref89.comment,t=_ref89.precedingNode,n=_ref89.enclosingNode;return!!(mm(n)&&t&&n.callee===t&&n.arguments.length>0)&&(tm(n.arguments[0],e),!0)}function Mm(_ref90){var e=_ref90.comment,t=_ref90.precedingNode,n=_ref90.enclosingNode,r=_ref90.followingNode;return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&am(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(am(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(nm(t,e),!0))}function Rm(_ref91){var e=_ref91.comment,t=_ref91.enclosingNode;return!(!t||"Property"!==t.type&&"ObjectProperty"!==t.type||(tm(t,e),0))}function Vm(_ref92){var e=_ref92.comment,t=_ref92.enclosingNode,n=_ref92.followingNode,r=_ref92.ast,o=_ref92.isLastComment;return r&&r.body&&0===r.body.length?(o?rm(r,e):tm(r,e),!0):t&&"Program"===t.type&&0===t.body.length&&t.directives&&0===t.directives.length?(o?rm(t,e):tm(t,e),!0):!(!n||"Program"!==n.type||0!==n.body.length||!t||"ModuleExpression"!==t.type||(rm(n,e),0))}function $m(_ref93){var e=_ref93.comment,t=_ref93.enclosingNode;return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type||(tm(t,e),0))}function qm(_ref94){var e=_ref94.comment,t=_ref94.precedingNode,n=_ref94.enclosingNode,r=_ref94.text;return!!(t&&"ImportSpecifier"===t.type&&n&&"ImportDeclaration"===n.type&&Kh(r,Dm(e)))&&(nm(t,e),!0)}function Wm(_ref95){var e=_ref95.comment,t=_ref95.enclosingNode;return!(!t||"AssignmentPattern"!==t.type||(tm(t,e),0))}function Um(_ref96){var e=_ref96.comment,t=_ref96.enclosingNode;return!(!t||"TypeAlias"!==t.type||(tm(t,e),0))}function zm(_ref97){var e=_ref97.comment,t=_ref97.enclosingNode,n=_ref97.followingNode;return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&!um(e)||(tm(n,e),0))}function Hm(_ref98){var e=_ref98.comment,t=_ref98.enclosingNode,n=_ref98.followingNode,r=_ref98.text;return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==Zh(r,e,Dm)||(nm(t,e),0))}function Gm(_ref99){var e=_ref99.comment,t=_ref99.enclosingNode,n=_ref99.followingNode;if(am(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Jm(_ref100){var e=_ref100.comment,t=_ref100.precedingNode,n=_ref100.enclosingNode,r=_ref100.followingNode;return!(!n||"TSMappedType"!==n.type||(r&&"TSTypeParameter"===r.type&&r.name?(tm(r.name,e),0):!t||"TSTypeParameter"!==t.type||!t.constraint||(nm(t.constraint,e),0)))}function Xm(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Ym(e){return um(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Km={handleOwnLineComment:function handleOwnLineComment(e){return[Gm,Om,xm,vm,Am,Fm,Tm,Im,$m,Mm,Vm,qm,Wm,Bm,jm].some((function(t){return t(e)}))},handleEndOfLineComment:function handleEndOfLineComment(e){return[Cm,Om,Sm,Im,vm,Am,Fm,Tm,jm,_m,Rm,Vm,Um,zm].some((function(t){return t(e)}))},handleRemainingComment:function handleRemainingComment(e){return[Gm,vm,Am,wm,Pm,Bm,Vm,Nm,km,Jm,Lm,Hm].some((function(t){return t(e)}))},isTypeCastComment:Ym,getCommentChildNodes:function getCommentChildNodes(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===sm(e.value).length&&!e.value.returnType&&!im(e.value.typeParameters)&&e.value.body)return[].concat(_toConsumableArray(e.decorators||[]),[e.key,e.value.body])},willPrintOwnComments:function willPrintOwnComments(e){var t=e.getValue(),n=e.getParentNode();return(t&&(cm(t)||lm(t)||mm(n)&&(pm(t.leadingComments)||pm(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!fm(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}},Qm=pd.getFunctionParameters,Zm=pd.getLeftSidePathName,eg=pd.hasFlowShorthandAnnotationComment,tg=pd.hasNakedLeftSide,ng=pd.hasNode,rg=pd.isBitwiseOperator,og=pd.startsWithNoLookaheadToken,ig=pd.shouldFlatten,ug=pd.getPrecedence,sg=pd.isCallExpression,ag=pd.isMemberExpression;function cg(e,t){var n=e.getParentNode();if(!n)return!1;var r=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(o)&&lg(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(o))return!1;if("flow"!==t.parser&&eg(e.getValue()))return!0;if("Identifier"===o.type)return!!(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name))||"left"===r&&"async"===o.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"ParenthesizedExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return pg(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===r){for(var _e130=!1,_t106=!1,_n75=o;_n75;)switch(_n75.type){case"MemberExpression":_t106=!0,_n75=_n75.object;break;case"CallExpression":if(_t106||_e130)return!0;_e130=!0,_n75=_n75.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(og(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==o.type&&og(o,!1))return!0}switch(o.type){case"UpdateExpression":if("UnaryExpression"===n.type)return o.prefix&&("++"===o.operator&&"+"===n.operator||"--"===o.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return o.operator===n.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===o.operator)return!0;if("in"===o.operator&&function(e){for(var t=0,n=e.getValue();n;){var _r81=e.getParentNode(t++);if(_r81&&"ForStatement"===_r81.type&&_r81.init===n)return!0;n=_r81}return!1}(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){var _t107=e.getParentNode(1);if("BinaryExpression"===_t107.type&&"|>"===_t107.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==o.type;case"ConditionalExpression":return"TSAsExpression"===o.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":case"AssignmentPattern":return"left"===r&&("TSTypeAssertion"===o.type||"TSAsExpression"===o.type);case"LogicalExpression":if("LogicalExpression"===o.type)return n.operator!==o.operator;case"BinaryExpression":var _e131=o.operator,_t108=o.type;if(!_e131&&"TSTypeAssertion"!==_t108)return!0;var _i53=ug(_e131),_u15=n.operator,_s21=ug(_u15);return _s21>_i53||"right"===r&&_s21===_i53||_s21===_i53&&!ig(_u15,_e131)||(_s21<_i53&&"%"===_e131?"+"===_u15||"-"===_u15:!!rg(_u15));default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;if("expression"===r&&o.argument&&"PipelinePrimaryTopicReference"===o.argument.type&&"PipelineTopicExpression"===n.type)return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"BinaryExpression":return!(!o.argument&&"|>"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":var _t109="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===_t109.type||"IntersectionTypeAnnotation"===_t109.type||"ArrayTypeAnnotation"===_t109.type||"NullableTypeAnnotation"===_t109.type||"FunctionTypeParam"===n.type&&null===n.name&&Qm(o).some((function(e){return e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type}));case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===n.type&&!n.directive){var _t110=e.getParentNode(1);return"Program"===_t110.type||"BlockStatement"===_t110.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof o.value;case"AssignmentExpression":var _t111=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===o.left.type:!("key"===r&&"TSPropertySignature"===n.type||"AssignmentExpression"===n.type||"SequenceExpression"===n.type&&_t111&&"ForStatement"===_t111.type&&(_t111.init===n||_t111.update===n)||"value"===r&&"Property"===n.type&&_t111&&"ObjectPattern"===_t111.type&&_t111.properties.includes(n)||"NGChainedExpression"===n.type));case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return Boolean(o.extra&&o.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":return"NewExpression"===n.type&&"callee"===r;case"OptionalMemberExpression":case"OptionalCallExpression":var _t112=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===_t112.type&&_t112.object===n)return!0;case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type))for(var _e132=o;_e132;)switch(_e132.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":_e132=_e132.object;break;case"TaggedTemplateExpression":_e132=_e132.tag;break;case"TSNonNullExpression":_e132=_e132.expression;break;default:return!1}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&ag(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===n.type||sg(n)&&n.arguments[r]===o||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&!sg(n)&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return ng(e,(function(e){return"ObjectTypeAnnotation"===e.type&&ng(e,(function(e){return"FunctionTypeAnnotation"===e.type||void 0}))||void 0}))}(o)}return!1}function lg(e){var t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(lg);break;case"ObjectProperty":if("value"===r){var _t113=e.getParentNode(1);return ke(_t113.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(lg);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(lg);break;case"UnaryExpression":if(n.prefix)return e.callParent(lg)}return!1}function pg(e,t){var n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!cg(e,t):!(!tg(n)||"ExportDefaultDeclaration"!==r.type&&cg(e,t))&&e.call.apply(e,[function(e){return pg(e,t)}].concat(_toConsumableArray(Zm(e,n))))}var fg=cg,dg=function dg(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}},_Rn$builders8=Rn.builders,hg=_Rn$builders8.join,mg=_Rn$builders8.line,gg=_Rn$builders8.group,yg=_Rn$builders8.softline,Dg=_Rn$builders8.indent,Eg={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function printHtmlBinding(e,t,n){var r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((function(e){var t=hg([",",mg],e.map(n,"params"));return 1===e.getValue().params.length?t:["(",Dg([yg,gg(t)]),yg,")"]}),"program","body",0):t.__isVueBindings?e.call((function(e){return hg([",",mg],e.map(n,"params"))}),"program","body",0):void 0}},bg=up.printComments,Cg=rn.getLast,_Rn$builders9=Rn.builders,vg=_Rn$builders9.join,Ag=_Rn$builders9.line,Fg=_Rn$builders9.softline,xg=_Rn$builders9.group,Sg=_Rn$builders9.indent,wg=_Rn$builders9.align,Tg=_Rn$builders9.ifBreak,Bg=_Rn$builders9.indentIfBreak,_Rn$utils2=Rn.utils,kg=_Rn$utils2.cleanDoc,Ng=_Rn$utils2.getDocParts,Pg=_Rn$utils2.isConcat,Og=pd.hasLeadingOwnLineComment,Ig=pd.isBinaryish,jg=pd.isJsxNode,Lg=pd.shouldFlatten,_g=pd.hasComment,Mg=pd.CommentCheckFlags,Rg=pd.isCallExpression,Vg=pd.isMemberExpression,$g=0;function qg(e,t,n,r,o){var i=[],u=e.getValue();if(Ig(u)){Lg(u.operator,u.left.operator)?i=[].concat(_toConsumableArray(i),_toConsumableArray(e.call((function(e){return qg(e,t,n,!0,o)}),"left"))):i.push(xg(t("left")));var _s22=Wg(u),_a6=("|>"===u.operator||"NGPipeExpression"===u.type||"|"===u.operator&&"__vue_expression"===n.parser)&&!Og(n.originalText,u.right),_c11="NGPipeExpression"===u.type?"|":u.operator,_l9="NGPipeExpression"===u.type&&u.arguments.length>0?xg(Sg([Fg,": ",vg([Fg,":",Tg(" ")],e.map(t,"arguments").map((function(e){return wg(2,xg(e))})))])):"",_p9=_s22?[_c11," ",t("right"),_l9]:[_a6?Ag:"",_c11,_a6?" ":Ag,t("right"),_l9],_f6=e.getParentNode(),_d6=_g(u.left,Mg.Trailing|Mg.Line),_h6=_d6||!(o&&"LogicalExpression"===u.type)&&_f6.type!==u.type&&u.left.type!==u.type&&u.right.type!==u.type;if(i.push(_a6?"":" ",_h6?xg(_p9,{shouldBreak:_d6}):_p9),r&&_g(u)){var _t114=kg(bg(e,i,n));i=Pg(_t114)||"fill"===_t114.type?Ng(_t114):[_t114]}}else i.push(xg(t()));return i}function Wg(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||!!jg(e.right))}var Ug={printBinaryishExpression:function printBinaryishExpression(e,t,n){var r=e.getValue(),o=e.getParentNode(),i=e.getParentNode(1),u=r!==o.body&&("IfStatement"===o.type||"WhileStatement"===o.type||"SwitchStatement"===o.type||"DoWhileStatement"===o.type),s=qg(e,n,t,!1,u);if(u)return s;if(Rg(o)&&o.callee===r||"UnaryExpression"===o.type||Vg(o)&&!o.computed)return xg([Sg([Fg].concat(_toConsumableArray(s))),Fg]);var a="ReturnStatement"===o.type||"ThrowStatement"===o.type||"JSXExpressionContainer"===o.type&&"JSXAttribute"===i.type||"|"!==r.operator&&"JsExpressionRoot"===o.type||"NGPipeExpression"!==r.type&&("NGRoot"===o.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===o.type&&"NGMicrosyntax"===i.type&&1===i.body.length)||r===o.body&&"ArrowFunctionExpression"===o.type||r!==o.body&&"ForStatement"===o.type||"ConditionalExpression"===o.type&&"ReturnStatement"!==i.type&&"ThrowStatement"!==i.type&&!Rg(i)||"TemplateLiteral"===o.type,c="AssignmentExpression"===o.type||"VariableDeclarator"===o.type||"ClassProperty"===o.type||"PropertyDefinition"===o.type||"TSAbstractClassProperty"===o.type||"ClassPrivateProperty"===o.type||"ObjectProperty"===o.type||"Property"===o.type,l=Ig(r.left)&&Lg(r.operator,r.left.operator);if(a||Wg(r)&&!l||!Wg(r)&&c)return xg(s);if(0===s.length)return"";var p=jg(r.right),f=s.findIndex((function(e){return"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type})),d=s.slice(0,-1===f?1:f+1),h=s.slice(d.length,p?-1:void 0),m=Symbol("logicalChain-"+ ++$g),g=xg([].concat(_toConsumableArray(d),[Sg(h)]),{id:m});if(!p)return g;var y=Cg(s);return xg([g,Bg(y,{groupId:m})])},shouldInlineLogicalExpression:Wg},_Rn$builders10=Rn.builders,zg=_Rn$builders10.join,Hg=_Rn$builders10.line,Gg=_Rn$builders10.group,Jg=pd.hasNode,Xg=pd.hasComment,Yg=pd.getComments,Kg=Ug.printBinaryishExpression;function Qg(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var Zg={printAngular:function printAngular(e,t,n){var r=e.getValue();switch(r.type){case"NGRoot":return[n("node"),Xg(r.node)?" //"+Yg(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return Kg(e,t,n);case"NGChainedExpression":return Gg(zg([";",Hg],e.map((function(e){return function(e){return Jg(e.getValue(),(function(e){switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?n():["(",n(),")"]}),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map((function(e,t){return[0===t?"":Qg(e.getValue(),t,r)?" ":[";",Hg],n()]}),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),null===r.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":var _t115=e.getName(),_o33=e.getParentNode(),_i54=Qg(r,_t115,_o33)||(1===_t115&&("then"===r.key.name||"else"===r.key.name)||2===_t115&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===_o33.body[_t115-1].type&&"then"===_o33.body[_t115-1].key.name)&&"NGMicrosyntaxExpression"===_o33.body[0].type;return[n("key"),_i54?" ":": ",n("expression")];case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")]}}},ey=up.printComments,ty=up.printDanglingComments,_Rn$builders11=Rn.builders,ny=_Rn$builders11.line,ry=_Rn$builders11.hardline,oy=_Rn$builders11.softline,iy=_Rn$builders11.group,uy=_Rn$builders11.indent,sy=_Rn$builders11.conditionalGroup,ay=_Rn$builders11.fill,cy=_Rn$builders11.ifBreak,ly=_Rn$builders11.lineSuffixBoundary,py=_Rn$builders11.join,fy=Rn.utils.willBreak,dy=rn.getLast,hy=rn.getPreferredQuote,my=pd.isJsxNode,gy=pd.rawText,yy=pd.isLiteral,Dy=pd.isCallExpression,Ey=pd.isStringLiteral,by=pd.isBinaryish,Cy=pd.hasComment,vy=pd.CommentCheckFlags,Ay=pd.hasNodeIgnoreComment,Fy=Km.willPrintOwnComments,xy=function xy(e){return""===e||e===ny||e===ry||e===oy};function Sy(e,t,n){var r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return yy(t)&&!Iy(t)}(r))return[n("openingElement"),n("closingElement")];var o="JSXElement"===r.type?n("openingElement"):n("openingFragment"),i="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[o].concat(_toConsumableArray(e.map(n,"children")),[i]);r.children=r.children.map((function(e){return function(e){return"JSXExpressionContainer"===e.type&&yy(e.expression)&&" "===e.expression.value&&!Cy(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e}));for(var u=r.children.filter(my).length>0,s=r.children.filter((function(e){return"JSXExpressionContainer"===e.type})).length>1,a="JSXElement"===r.type&&r.openingElement.attributes.length>1,c=fy(o)||u||a||s,l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=l?" ":cy([p,oy]," "),d=function(e,t,n,r,o){var i=[];return e.each((function(e,t,u){var s=e.getValue();if(yy(s)){var _e133=gy(s);if(Iy(s)){var _a7,_n76=_e133.split(Ny);if(""===_n76[0]){if(i.push(""),_n76.shift(),/\n/.test(_n76[0])){var _e134=u[t+1];i.push(Ty(o,_n76[1],s,_e134))}else i.push(r);_n76.shift()}if(""===dy(_n76)&&(_n76.pop(),_a7=_n76.pop()),0===_n76.length)return;var _step64,_iterator64=_createForOfIteratorHelper(_n76.entries());try{for(_iterator64.s();!(_step64=_iterator64.n()).done;){var _step64$value=_slicedToArray(_step64.value,2),_e137=_step64$value[0],_t116=_step64$value[1];_e137%2==1?i.push(ny):i.push(_t116)}}catch(err){_iterator64.e(err)}finally{_iterator64.f()}if(void 0!==_a7)if(/\n/.test(_a7)){var _e135=u[t+1];i.push(Ty(o,dy(i),s,_e135))}else i.push(r);else{var _e136=u[t+1];i.push(wy(o,dy(i),s,_e136))}}else/\n/.test(_e133)?_e133.match(/\n/g).length>1&&i.push("",ry):i.push("",r)}else{var _e138=n();i.push(_e138);var _r82=u[t+1];if(_r82&&Iy(_r82)){var _e139=Oy(gy(_r82)).split(Ny)[0];i.push(wy(o,_e139,s,_r82))}else i.push(ry)}}),"children"),i}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some((function(e){return Iy(e)})),_e140=d.length-2;_e140>=0;_e140--){var _t117=""===d[_e140]&&""===d[_e140+1],_n77=d[_e140]===ry&&""===d[_e140+1]&&d[_e140+2]===ry,_r83=(d[_e140]===oy||d[_e140]===ry)&&""===d[_e140+1]&&d[_e140+2]===f,_o34=d[_e140]===f&&""===d[_e140+1]&&(d[_e140+2]===oy||d[_e140+2]===ry),_i55=d[_e140]===f&&""===d[_e140+1]&&d[_e140+2]===f,_u16=d[_e140]===oy&&""===d[_e140+1]&&d[_e140+2]===ry||d[_e140]===ry&&""===d[_e140+1]&&d[_e140+2]===oy;_n77&&h||_t117||_r83||_i55||_u16?d.splice(_e140,2):_o34&&d.splice(_e140+1,2)}for(;d.length>0&&xy(dy(d));)d.pop();for(;d.length>1&&xy(d[0])&&xy(d[1]);)d.shift(),d.shift();var _step65,m=[],_iterator65=_createForOfIteratorHelper(d.entries());try{for(_iterator65.s();!(_step65=_iterator65.n()).done;){var _step65$value=_slicedToArray(_step65.value,2),_e141=_step65$value[0],_t118=_step65$value[1];if(_t118===f){if(1===_e141&&""===d[_e141-1]){if(2===d.length){m.push(p);continue}m.push([p,ry]);continue}if(_e141===d.length-1){m.push(p);continue}if(""===d[_e141-1]&&d[_e141-2]===ry){m.push(p);continue}}m.push(_t118),fy(_t118)&&(c=!0)}}catch(err){_iterator65.e(err)}finally{_iterator65.f()}var g=h?ay(m):iy(m,{shouldBreak:!0});if(l)return g;var y=iy([o,uy([ry,g]),ry,i]);return c?y:sy([iy([o].concat(_toConsumableArray(d),[i])),y])}function wy(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?oy:ry:oy}function Ty(e,t,n,r){return e?ry:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?ry:oy:ry}function By(e,t,n){return function(e,t,n){var r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;var o=e.match(void 0,(function(e){return"ArrowFunctionExpression"===e.type}),Dy,(function(e){return"JSXExpressionContainer"===e.type})),i=fg(e,n);return iy([i?"":cy("("),uy([oy,t]),oy,i?"":cy(")")],{shouldBreak:o})}(e,ey(e,Sy(e,t,n),t),t)}function ky(e,t,n){var r=e.getValue();return["{",e.call((function(e){var r=["...",n()],o=e.getValue();return Cy(o)&&Fy(e)?[uy([oy,ey(e,r,t)]),oy]:r}),"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}var Ny=new RegExp("([ \n\r\t]+)"),Py=new RegExp("[^ \n\r\t]"),Oy=function Oy(e){return e.replace(new RegExp("(?:^"+Ny.source+"|"+Ny.source+"$)"),"")};function Iy(e){return yy(e)&&(Py.test(gy(e))||!/\n/.test(gy(e)))}var jy={hasJsxIgnoreComment:function hasJsxIgnoreComment(e){var t=e.getValue(),n=e.getParentNode();if(!(n&&t&&my(t)&&my(n)))return!1;for(var r=null,_e142=n.children.indexOf(t);_e142>0;_e142--){var _t119=n.children[_e142-1];if("JSXText"!==_t119.type||Iy(_t119)){r=_t119;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&Ay(r.expression)},printJsx:function printJsx(e,t,n){var r=e.getValue();switch(r.type){case"JSXAttribute":return function(e,t,n){var r=e.getValue(),o=[];if(o.push(n("name")),r.value){var _e143;if(Ey(r.value)){var _n78=gy(r.value).replace(/'/g,"'").replace(/"/g,'"'),_o35=hy(_n78,t.jsxSingleQuote?"'":'"'),_i56="'"===_o35?"'":""";_e143=[_o35,_n78=_n78.slice(1,-1).replace(new RegExp(_o35,"g"),_i56),_o35]}else _e143=n("value");o.push("=",_e143)}return o}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return py(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return py(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return ky(e,t,n);case"JSXExpressionContainer":return function(e,t,n){var r=e.getValue(),o=e.getParentNode(0),i="JSXEmptyExpression"===r.expression.type||!Cy(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||Dy(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||my(o)&&("ConditionalExpression"===r.expression.type||by(r.expression)));return iy(i?["{",n("expression"),ly,"}"]:["{",uy([oy,n("expression")]),oy,ly,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return By(e,t,n);case"JSXOpeningElement":return function(e,t,n){var r=e.getValue(),o=r.name&&Cy(r.name)||r.typeParameters&&Cy(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!o)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Ey(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!o&&!Cy(r.attributes[0]))return iy(["<",n("name"),n("typeParameters")," "].concat(_toConsumableArray(e.map(n,"attributes")),[r.selfClosing?" />":">"]));var i=r.attributes.length>0&&Cy(dy(r.attributes),vy.Trailing),u=0===r.attributes.length&&!o||t.jsxBracketSameLine&&(!o||r.attributes.length>0)&&!i,s=r.attributes&&r.attributes.some((function(e){return e.value&&Ey(e.value)&&e.value.value.includes("\n")}));return iy(["<",n("name"),n("typeParameters"),uy(e.map((function(){return[ny,n()]}),"attributes")),r.selfClosing?ny:u?">":oy,r.selfClosing?"/>":u?"":">"],{shouldBreak:s})}(e,t,n);case"JSXClosingElement":return function(e,t,n){var r=e.getValue(),o=[];o.push(""),o}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){var n=e.getValue(),r=Cy(n),o=Cy(n,vy.Line),i="JSXOpeningFragment"===n.type;return[i?"<":""]}(e,t);case"JSXEmptyExpression":return function(e,t){var n=e.getValue(),r=Cy(n,vy.Line);return[ty(e,t,!r),r?ry:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}}},Ly=rn.isNonEmptyArray,_Rn$builders12=Rn.builders,_y=_Rn$builders12.indent,My=_Rn$builders12.join,Ry=_Rn$builders12.line,Vy=pd.isFlowAnnotationComment,$y={printOptionalToken:function printOptionalToken(e){var t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printFunctionTypeParameters:function printFunctionTypeParameters(e,t,n){var r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function printBindExpressionCallee(e,t,n){return["::",n("callee")]},printTypeScriptModifiers:function printTypeScriptModifiers(e,t,n){var r=e.getValue();return Ly(r.modifiers)?[My(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:function printTypeAnnotation(e,t,n){var r=e.getValue();if(!r.typeAnnotation)return"";var o=e.getParentNode(),i=r.definite||o&&"VariableDeclarator"===o.type&&o.definite,u="DeclareFunction"===o.type&&o.id===r;return Vy(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[u?"":i?"!: ":": ",n("typeAnnotation")]},adjustClause:function adjustClause(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:_y([Ry,t])}},qy=up.printDanglingComments,_Rn$builders13=Rn.builders,Wy=_Rn$builders13.line,Uy=_Rn$builders13.softline,zy=_Rn$builders13.hardline,Hy=_Rn$builders13.group,Gy=_Rn$builders13.indent,Jy=_Rn$builders13.ifBreak,Xy=_Rn$builders13.fill,Yy=rn.getLast,Ky=rn.hasNewline,Qy=pd.shouldPrintComma,Zy=pd.hasComment,eD=pd.CommentCheckFlags,tD=pd.isNextLineEmpty,nD=pd.isNumericLiteral,rD=pd.isSignedNumericLiteral,oD=ea.locStart,iD=$y.printOptionalToken,uD=$y.printTypeAnnotation;function sD(e,t){return e.elements.length>1&&e.elements.every((function(e){return e&&(nD(e)||rD(e)&&!Zy(e.argument))&&!Zy(e,eD.Trailing|eD.Line,(function(e){return!Ky(t.originalText,oD(e),{backwards:!0})}))}))}function aD(e,t,n,r){var o=[],i=[];return e.each((function(e){o.push(i,Hy(r())),i=[",",Wy],e.getValue()&&tD(e.getValue(),t)&&i.push(Uy)}),n),o}function cD(e,t,n,r){var o=[];return e.each((function(e,i,u){var s=i===u.length-1;o.push([n(),s?r:","]),s||o.push(tD(e.getValue(),t)?[zy,zy]:Zy(u[i+1],eD.Leading|eD.Line)?zy:Wy)}),"elements"),Xy(o)}var lD={printArray:function printArray(e,t,n){var r=e.getValue(),o=[],i="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)Zy(r,eD.Dangling)?o.push(Hy([i,qy(e,t),Uy,"]"])):o.push(i,"]");else{var _u17=Yy(r.elements),_s23=!(_u17&&"RestElement"===_u17.type),_a8=null===_u17,_c12=Symbol("array"),_l10=!t.__inJestEach&&r.elements.length>1&&r.elements.every((function(e,t,n){var r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;var o=n[t+1];if(o&&r!==o.type)return!1;var i="ArrayExpression"===r?"elements":"properties";return e[i]&&e[i].length>1})),_p10=sD(r,t),_f7=_s23?_a8?",":Qy(t)?_p10?Jy(",","",{groupId:_c12}):Jy(","):"":"";o.push(Hy([i,Gy([Uy,_p10?cD(e,t,n,_f7):[aD(e,t,"elements",n),_f7],qy(e,t,!0)]),Uy,"]"],{shouldBreak:_l10,id:_c12}))}return o.push(iD(e),uD(e,t,n)),o},printArrayItems:aD,isConciselyPrintedArray:sD},pD=up.printDanglingComments,fD=rn.getLast,dD=rn.getPenultimate,hD=pd.getFunctionParameters,mD=pd.hasComment,gD=pd.CommentCheckFlags,yD=pd.isFunctionCompositionArgs,DD=pd.isJsxNode,ED=pd.isLongCurriedCallExpression,bD=pd.shouldPrintComma,CD=pd.getCallArguments,vD=pd.iterateCallArgumentsPath,AD=pd.isNextLineEmpty,FD=pd.isCallExpression,_Rn$builders14=Rn.builders,xD=_Rn$builders14.line,SD=_Rn$builders14.hardline,wD=_Rn$builders14.softline,TD=_Rn$builders14.group,BD=_Rn$builders14.indent,kD=_Rn$builders14.conditionalGroup,ND=_Rn$builders14.ifBreak,PD=_Rn$builders14.breakParent,OD=Rn.utils.willBreak,ID=uo.ArgExpansionBailout,jD=lD.isConciselyPrintedArray;function LD(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||mD(e))||"ArrayExpression"===e.type&&(e.elements.length>0||mD(e))||"TSTypeAssertion"===e.type&&LD(e.expression)||"TSAsExpression"===e.type&&LD(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(n=e.body).type&&(n.body.some((function(e){return"EmptyStatement"!==e.type}))||mD(n,gD.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&LD(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(FD(e.body)||"ConditionalExpression"===e.body.type)||DD(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}var _D=function _D(e,t,n){var r=e.getValue(),o="ImportExpression"===r.type,i=CD(r);if(0===i.length)return["(",pD(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===hD(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((function(e){return mD(e)}))}(i))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var u=!1,s=!1,a=i.length-1,c=[];vD(e,(function(e,r){var o=e.getNode(),i=[n()];r===a||(AD(o,t)?(0===r&&(s=!0),u=!0,i.push(",",SD,SD)):i.push(",",xD)),c.push(i)}));var l=o||r.callee&&"Import"===r.callee.type||!bD(t,"all")?"":",";function p(){return TD(["(",BD([xD].concat(c)),l,xD,")"],{shouldBreak:!0})}if(u||"Decorator"!==e.getParentNode().type&&yD(i))return p();var f=function(e){if(2!==e.length)return!1;var _e144=_slicedToArray(e,2),t=_e144[0],n=_e144[1];return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&"ObjectProperty"===e.properties[0].type&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&"StringLiteral"===e.properties[0].value.type&&"module"===e.properties[0].value.value}(n))||!mD(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!LD(n)}(i),d=function(e,t){var n=fD(e),r=dD(e);return!mD(n,gD.Leading)&&!mD(n,gD.Trailing)&&LD(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&jD(n,t))}(i,t);if(f||d){if(f?c.slice(1).some(OD):c.slice(0,-1).some(OD))return p();var _t120=[];try{e.try((function(){vD(e,(function(e,r){f&&0===r&&(_t120=[[n([],{expandFirstArg:!0}),c.length>1?",":"",s?SD:xD,s?SD:""]].concat(_toConsumableArray(c.slice(1)))),d&&r===a&&(_t120=[].concat(_toConsumableArray(c.slice(0,-1)),[n([],{expandLastArg:!0})]))}))}))}catch(e){if(e instanceof ID)return p();throw e}return[c.some(OD)?PD:"",kD([["("].concat(_toConsumableArray(_t120),[")"]),f?["(",TD(_t120[0],{shouldBreak:!0})].concat(_toConsumableArray(_t120.slice(1)),[")"]):["("].concat(_toConsumableArray(c.slice(0,-1)),[TD(fD(_t120),{shouldBreak:!0}),")"]),p()])]}var h=["(",BD([wD].concat(c)),ND(l),wD,")"];return ED(e)?h:TD(h,{shouldBreak:c.some(OD)||u})},_Rn$builders15=Rn.builders,MD=_Rn$builders15.softline,RD=_Rn$builders15.group,VD=_Rn$builders15.indent,$D=_Rn$builders15.label,qD=pd.isNumericLiteral,WD=pd.isMemberExpression,UD=pd.isCallExpression,zD=$y.printOptionalToken;function HD(e,t,n){var r=n("property"),o=e.getValue(),i=zD(e);return o.computed?!o.property||qD(o.property)?[i,"[",r,"]"]:RD([i,"[",VD([MD,r]),MD,"]"]):[i,".",r]}var GD={printMemberExpression:function printMemberExpression(e,t,n){var i,r=e.getValue(),o=e.getParentNode(),u=0;do{i=e.getParentNode(u),u++}while(i&&(WD(i)||"TSNonNullExpression"===i.type));var s=n("object"),a=HD(e,t,n),c=i&&("NewExpression"===i.type||"BindExpression"===i.type||"AssignmentExpression"===i.type&&"Identifier"!==i.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&!WD(o)||("AssignmentExpression"===o.type||"VariableDeclarator"===o.type)&&(UD(r.object)&&r.object.arguments.length>0||"TSNonNullExpression"===r.object.type&&UD(r.object.expression)&&r.object.expression.arguments.length>0||"member-chain"===s.label);return $D("member-chain"===s.label?"member-chain":"member",[s,c?a:RD(VD([MD,a]))])},printMemberLookup:HD},JD=up.printComments,XD=rn.getLast,YD=rn.isNextLineEmptyAfterIndex,KD=rn.getNextNonSpaceNonCommentCharacterIndex,QD=pd.isCallExpression,ZD=pd.isMemberExpression,eE=pd.isFunctionOrArrowExpression,tE=pd.isLongCurriedCallExpression,nE=pd.isMemberish,rE=pd.isNumericLiteral,oE=pd.isSimpleCallArgument,iE=pd.hasComment,uE=pd.CommentCheckFlags,sE=pd.isNextLineEmpty,aE=ea.locEnd,_Rn$builders16=Rn.builders,cE=_Rn$builders16.join,lE=_Rn$builders16.hardline,pE=_Rn$builders16.group,fE=_Rn$builders16.indent,dE=_Rn$builders16.conditionalGroup,hE=_Rn$builders16.breakParent,mE=_Rn$builders16.label,gE=Rn.utils.willBreak,yE=GD.printMemberLookup,DE=$y.printOptionalToken,EE=$y.printFunctionTypeParameters,bE=$y.printBindExpressionCallee,CE=function CE(e,t,n){var r=e.getParentNode(),o=!r||"ExpressionStatement"===r.type,i=[];function u(e){var n=t.originalText,r=KD(n,e,aE);return")"===n.charAt(r)?!1!==r&&YD(n,r+1):sE(e,t)}function s(e){var r=e.getValue();QD(r)&&(nE(r.callee)||QD(r.callee))?(i.unshift({node:r,printed:[JD(e,[DE(e),EE(e,t,n),_D(e,t,n)],t),u(r)?lE:""]}),e.call((function(e){return s(e)}),"callee")):nE(r)?(i.unshift({node:r,needsParens:fg(e,t),printed:JD(e,ZD(r)?yE(e,t,n):bE(e,t,n),t)}),e.call((function(e){return s(e)}),"object")):"TSNonNullExpression"===r.type?(i.unshift({node:r,printed:JD(e,"!",t)}),e.call((function(e){return s(e)}),"expression")):i.unshift({node:r,printed:n()})}var a=e.getValue();i.unshift({node:a,printed:[DE(e),EE(e,t,n),_D(e,t,n)]}),a.callee&&e.call((function(e){return s(e)}),"callee");for(var c=[],l=[i[0]],p=1;p0&&c.push(l);var h=c.length>=2&&!iE(c[1][0].node)&&function(e){var n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){var _r84=e[0][0].node;return"ThisExpression"===_r84.type||"Identifier"===_r84.type&&(d(_r84.name)||o&&function(e){return e.length<=t.tabWidth}(_r84.name)||n)}var r=XD(e[0]).node;return ZD(r)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(c);function m(e){var t=e.map((function(e){return e.printed}));return e.length>0&&XD(e).needsParens?["("].concat(_toConsumableArray(t),[")"]):t}var g=c.map(m),y=g,D=h?3:2,E=Ws(c),b=E.slice(1,-1).some((function(e){return iE(e.node,uE.Leading)}))||E.slice(0,-1).some((function(e){return iE(e.node,uE.Trailing)}))||c[D]&&iE(c[D][0].node,uE.Leading);if(c.length<=D&&!b)return tE(e)?y:pE(y);var x,C=XD(c[h?1:0]).node,v=!QD(C)&&u(C),A=[m(c[0]),h?c.slice(1,2).map(m):"",v?lE:"",function(e){return 0===e.length?"":fE(pE([lE,cE(lE,e.map(m))]))}(c.slice(h?2:1))],F=i.map((function(_ref101){return _ref101.node})).filter(QD);return x=b||F.length>2&&F.some((function(e){return!e.arguments.every((function(e){return oE(e,0)}))}))||g.slice(0,-1).some(gE)||function(){var e=XD(XD(c)).node,t=XD(g);return QD(e)&&gE(t)&&F.slice(0,-1).some((function(e){return e.arguments.some(eE)}))}()?pE(A):[gE(y)||v?hE:"",dE([y,A])],mE("member-chain",x)},_Rn$builders17=Rn.builders,vE=_Rn$builders17.join,AE=_Rn$builders17.group,FE=pd.getCallArguments,xE=pd.hasFlowAnnotationComment,SE=pd.isCallExpression,wE=pd.isMemberish,TE=pd.isStringLiteral,BE=pd.isTemplateOnItsOwnLine,kE=pd.isTestCall,NE=pd.iterateCallArgumentsPath,PE=$y.printOptionalToken,OE=$y.printFunctionTypeParameters,IE={printCallExpression:function printCallExpression(e,t,n){var r=e.getValue(),o=e.getParentNode(),i="NewExpression"===r.type,u="ImportExpression"===r.type,s=PE(e),a=FE(r);if(a.length>0&&(!u&&!i&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){var _n79=FE(e);return"ExpressionStatement"===t.type&&(1===_n79.length||2===_n79.length&&"ArrayExpression"===_n79[0].type||3===_n79.length&&TE(_n79[0])&&"ArrayExpression"===_n79[1].type)}return!1}(r,o)||1===a.length&&BE(a[0],t.originalText)||!i&&kE(r,o))){var _r85=[];return NE(e,(function(){_r85.push(n())})),[i?"new ":"",n("callee"),s,OE(e,t,n),"(",vE(", ",_r85),")"]}var c=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&xE(r.callee.trailingComments);if(c&&(r.callee.trailingComments[0].printed=!0),!u&&!i&&wE(r.callee)&&!e.call((function(e){return fg(e,t)}),"callee"))return CE(e,t,n);var l=[i?"new ":"",u?"import":n("callee"),s,c?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",OE(e,t,n),_D(e,t,n)];return u||SE(r.callee)?AE(l):l}},jE=rn.isNonEmptyArray,LE=rn.getStringWidth,_Rn$builders18=Rn.builders,_E=_Rn$builders18.line,ME=_Rn$builders18.group,RE=_Rn$builders18.indent,VE=_Rn$builders18.indentIfBreak,$E=Rn.utils.cleanDoc,qE=pd.hasLeadingOwnLineComment,WE=pd.isBinaryish,UE=pd.isStringLiteral,zE=pd.isLiteral,HE=pd.isNumericLiteral,GE=pd.isCallExpression,JE=pd.isMemberExpression,XE=pd.getCallArguments,YE=pd.rawText,KE=pd.hasComment,QE=pd.isSignedNumericLiteral,ZE=Ug.shouldInlineLogicalExpression,eb=IE.printCallExpression;function tb(e,t,n,r,o,i){var u=function(e,t,n,r,o){var i=e.getValue(),u=i[o];if(!u)return"only-left";var s=!nb(u);if(e.match(nb,rb,(function(e){return!s||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type})))return s?"ArrowFunctionExpression"===u.type&&"ArrowFunctionExpression"===u.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!s&&nb(u.right)||qE(t.originalText,u))return"break-after-operator";if("CallExpression"===u.type&&"require"===u.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(rb(e)){var _t121=e.left||e.id;return"ObjectPattern"===_t121.type&&_t121.properties.length>2&&_t121.properties.some((function(e){return("ObjectProperty"===e.type||"Property"===e.type)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)}))}return!1}(i))return"break-lhs";var a=function(e,t,n){if("ObjectProperty"!==e.type&&"Property"!==e.type)return!1;var r=3;return"string"==typeof(t=$E(t))&&LE(t)3&&void 0!==arguments[3]&&arguments[3],o=e.getValue(),i=function i(){return ob(e,t,n,!0)};if("TSNonNullExpression"===o.type)return e.call(i,"expression");if(GE(o)){if("member-chain"===eb(e,t,n).label)return!1;var _r86=XE(o);return!!(0===_r86.length||1===_r86.length&&function(e,_ref102){var t=_ref102.printWidth;if(KE(e))return!1;var n=.25*t;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||QE(e)&&!KE(e.argument))return!0;var r="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return r?r.length<=n:UE(e)?YE(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):zE(e)}(_r86[0],t))&&e.call(i,"callee")}return JE(o)?e.call(i,"object"):r&&("Identifier"===o.type||"ThisExpression"===o.type)}var ib={printVariableDeclarator:function printVariableDeclarator(e,t,n){return tb(e,t,n,n("id")," =","init")},printAssignmentExpression:function printAssignmentExpression(e,t,n){var r=e.getValue();return tb(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:tb},ub=rn.getNextNonSpaceNonCommentCharacter,sb=up.printDanglingComments,_Rn$builders19=Rn.builders,ab=_Rn$builders19.line,cb=_Rn$builders19.hardline,lb=_Rn$builders19.softline,pb=_Rn$builders19.group,fb=_Rn$builders19.indent,db=_Rn$builders19.ifBreak,_Rn$utils3=Rn.utils,hb=_Rn$utils3.removeLines,mb=_Rn$utils3.willBreak,gb=pd.getFunctionParameters,yb=pd.iterateFunctionParametersPath,Db=pd.isSimpleType,Eb=pd.isTestCall,bb=pd.isTypeAnnotationAFunction,Cb=pd.isObjectType,vb=pd.isObjectTypePropertyAFunction,Ab=pd.hasRestParameter,Fb=pd.shouldPrintComma,xb=pd.hasComment,Sb=pd.isNextLineEmpty,wb=ea.locEnd,Tb=uo.ArgExpansionBailout,Bb=$y.printFunctionTypeParameters;function kb(e){if(!e)return!1;var t=gb(e);if(1!==t.length)return!1;var n=_slicedToArray(t,1)[0];return!xb(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&Cb(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&Cb(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var Nb={printFunctionParameters:function printFunctionParameters(e,t,n,r,o){var i=e.getValue(),u=gb(i),s=o?Bb(e,n,t):"";if(0===u.length)return[s,"(",sb(e,n,!0,(function(e){return")"===ub(n.originalText,e,wb)})),")"];var a=e.getParentNode(),c=Eb(a),l=kb(i),p=[];if(yb(e,(function(e,r){var o=r===u.length-1;o&&i.rest&&p.push("..."),p.push(t()),o||(p.push(","),c||l?p.push(" "):Sb(u[r],n)?p.push(cb,cb):p.push(ab))})),r){if(mb(s)||mb(p))throw new Tb;return pb([hb(s),"(",hb(p),")"])}var f=u.every((function(e){return!e.decorators}));return l&&f||c?[s,"("].concat(p,[")"]):(vb(a)||bb(a)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===i)&&1===u.length&&null===u[0].name&&i.this!==u[0]&&u[0].typeAnnotation&&null===i.typeParameters&&Db(u[0].typeAnnotation)&&!i.rest?"always"===n.arrowParens?["("].concat(p,[")"]):p:[s,"(",fb([lb].concat(p)),db(!Ab(i)&&Fb(n,"all")?",":""),lb,")"]},shouldHugFunctionParameters:kb,shouldGroupFunctionParameters:function shouldGroupFunctionParameters(e,t){var n=function(e){var t;return e.returnType?(t=e.returnType).typeAnnotation&&(t=t.typeAnnotation):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!n)return!1;var r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){var _e147=r[0];if(_e147.constraint||_e147.default)return!1}}return 1===gb(e).length&&(Cb(n)||mb(t))}},Pb=up.printComments,Ob=up.printDanglingComments,Ib=rn.getLast,_Rn$builders20=Rn.builders,jb=_Rn$builders20.group,Lb=_Rn$builders20.join,_b=_Rn$builders20.line,Mb=_Rn$builders20.softline,Rb=_Rn$builders20.indent,Vb=_Rn$builders20.align,$b=_Rn$builders20.ifBreak,qb=ea.locStart,Wb=pd.isSimpleType,Ub=pd.isObjectType,zb=pd.hasLeadingOwnLineComment,Hb=pd.isObjectTypePropertyAFunction,Gb=pd.shouldPrintComma,Jb=ib.printAssignment,Xb=Nb.printFunctionParameters,Yb=Nb.shouldGroupFunctionParameters,Kb=lD.printArrayItems;function Qb(e){if(Wb(e)||Ub(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var _t123=e.types.filter((function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type})).length,_n80=e.types.some((function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type}));if(e.types.length-1===_t123&&_n80)return!0}return!1}var Zb={printOpaqueType:function printOpaqueType(e,t,n){var r=t.semi?";":"",o=e.getValue(),i=[];return i.push("opaque type ",n("id"),n("typeParameters")),o.supertype&&i.push(": ",n("supertype")),o.impltype&&i.push(" = ",n("impltype")),i.push(r),i},printTypeAlias:function printTypeAlias(e,t,n){var r=t.semi?";":"",o=e.getValue(),i=[];o.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters"));var u="TSTypeAliasDeclaration"===o.type?"typeAnnotation":"right";return[Jb(e,t,n,i," =",u),r]},printIntersectionType:function printIntersectionType(e,t,n){for(var r=e.getValue(),o=e.map(n,"types"),i=[],u=!1,_e148=0;_e1481&&(u=!0),i.push(" & ",_e148>1?Rb(o[_e148]):o[_e148])):i.push(Rb([" &",_b,o[_e148]]));return jb(i)},printUnionType:function printUnionType(e,t,n){var r=e.getValue(),o=e.getParentNode(),i=!("TypeParameterInstantiation"===o.type||"TSTypeParameterInstantiation"===o.type||"GenericTypeAnnotation"===o.type||"TSTypeReference"===o.type||"TSTypeAssertion"===o.type||"TupleTypeAnnotation"===o.type||"TSTupleType"===o.type||"FunctionTypeParam"===o.type&&!o.name&&e.getParentNode(1).this!==o||("TypeAlias"===o.type||"VariableDeclarator"===o.type||"TSTypeAliasDeclaration"===o.type)&&zb(t.originalText,r)),u=Qb(r),s=e.map((function(e){var r=n();return u||(r=Vb(2,r)),Pb(e,r,t)}),"types");if(u)return Lb(" | ",s);var a=i&&!zb(t.originalText,r),c=[$b([a?_b:"","| "]),Lb([_b,"| "],s)];return fg(e,t)?jb([Rb(c),Mb]):"TupleTypeAnnotation"===o.type&&o.types.length>1||"TSTupleType"===o.type&&o.elementTypes.length>1?jb([Rb([$b(["(",Mb]),c]),Mb,$b(")")]):jb(i?Rb(c):c)},printFunctionType:function printFunctionType(e,t,n){var r=e.getValue(),o=[],i=e.getParentNode(0),u=e.getParentNode(1),s=e.getParentNode(2),a="TSFunctionType"===r.type||!(("ObjectTypeProperty"===i.type||"ObjectTypeInternalSlot"===i.type)&&!i.variance&&!i.optional&&qb(i)===qb(r)||"ObjectTypeCallProperty"===i.type||s&&"DeclareFunction"===s.type),c=a&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type),l=c&&a&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type)&&"ArrowFunctionExpression"===u.type;Hb(i)&&(a=!0,c=!0),l&&o.push("(");var p=Xb(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[a?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",d=Yb(r,f);return o.push(d?jb(p):p),f&&o.push(f),l&&o.push(")"),jb(o)},printTupleType:function printTupleType(e,t,n){var r=e.getValue(),o="TSTupleType"===r.type?"elementTypes":"types",i=r[o].length>0&&"TSRestType"===Ib(r[o]).type;return jb(["[",Rb([Mb,Kb(e,t,o,n)]),$b(Gb(t,"all")&&!i?",":""),Ob(e,t,!0),Mb,"]"])},printIndexedAccessType:function printIndexedAccessType(e,t,n){var r=e.getValue(),o="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),o,n("indexType"),"]"]},shouldHugType:Qb},eC=up.printDanglingComments,_Rn$builders21=Rn.builders,tC=_Rn$builders21.join,nC=_Rn$builders21.line,rC=_Rn$builders21.hardline,oC=_Rn$builders21.softline,iC=_Rn$builders21.group,uC=_Rn$builders21.indent,sC=_Rn$builders21.ifBreak,aC=pd.isTestCall,cC=pd.hasComment,lC=pd.CommentCheckFlags,pC=pd.isTSXFile,fC=pd.shouldPrintComma,dC=pd.getFunctionParameters,hC=rn.createGroupIdMapper,mC=Zb.shouldHugType,gC=hC("typeParameters");function yC(e,t){var n=e.getValue();if(!cC(n,lC.Dangling))return"";var r=!cC(n,lC.Line),o=eC(e,t,r);return r?o:[o,rC]}var DC={printTypeParameter:function printTypeParameter(e,t,n){var r=e.getValue(),o=[],i=e.getParentNode();return"TSMappedType"===i.type?(o.push("[",n("name")),r.constraint&&o.push(" in ",n("constraint")),i.nameType&&o.push(" as ",e.callParent((function(){return n("nameType")}))),o.push("]"),o):(r.variance&&o.push(n("variance")),o.push(n("name")),r.bound&&o.push(": ",n("bound")),r.constraint&&o.push(" extends ",n("constraint")),r.default&&o.push(" = ",n("default")),o)},printTypeParameters:function printTypeParameters(e,t,n,r){var o=e.getValue();if(!o[r])return"";if(!Array.isArray(o[r]))return n(r);var i=e.getNode(2);if(i&&aC(i)||0===o[r].length||1===o[r].length&&(mC(o[r][0])||"NullableTypeAnnotation"===o[r][0].type))return["<",tC(", ",e.map(n,r)),yC(e,t),">"];var u="TSTypeParameterInstantiation"===o.type?"":1===dC(o).length&&pC(t)&&!o[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":fC(t,"all")?sC(","):"";return iC(["<",uC([oC,tC([",",nC],e.map(n,r))]),u,oC,">"],{id:gC(o)})},getTypeParametersGroupId:gC},EC=up.printComments,bC=rn.printString,CC=rn.printNumber,vC=pd.isNumericLiteral,AC=pd.isSimpleNumber,FC=pd.isStringLiteral,xC=pd.isStringPropSafeToUnquote,SC=pd.rawText,wC=ib.printAssignment,TC=new WeakMap;function BC(e,t,n){var r=e.getNode();if(r.computed)return["[",n("key"),"]"];var o=e.getParentNode(),i=r.key;if("ClassPrivateProperty"===r.type&&"Identifier"===i.type)return["#",n("key")];if("consistent"===t.quoteProps&&!TC.has(o)){var _e149=(o.properties||o.body||o.members).some((function(e){return!e.computed&&e.key&&FC(e.key)&&!xC(e,t)}));TC.set(o,_e149)}if(("Identifier"===i.type||vC(i)&&AC(CC(SC(i)))&&String(i.value)===CC(SC(i))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&TC.get(o))){var _n81=bC(JSON.stringify("Identifier"===i.type?i.name:i.value.toString()),t);return e.call((function(e){return EC(e,_n81,t)}),"key")}return xC(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!TC.get(o))?e.call((function(e){return EC(e,/^\d/.test(i.value)?CC(i.value):i.value,t)}),"key"):n("key")}var kC={printProperty:function printProperty(e,t,n){return e.getValue().shorthand?n("value"):wC(e,t,n,BC(e,t,n),":","value")},printPropertyKey:BC},NC=up.printDanglingComments,PC=up.printCommentsSeparately,OC=rn.getNextNonSpaceNonCommentCharacterIndex,_Rn$builders22=Rn.builders,IC=_Rn$builders22.line,jC=_Rn$builders22.softline,LC=_Rn$builders22.group,_C=_Rn$builders22.indent,MC=_Rn$builders22.ifBreak,RC=_Rn$builders22.hardline,VC=_Rn$builders22.join,$C=_Rn$builders22.indentIfBreak,qC=pd.getFunctionParameters,WC=pd.hasLeadingOwnLineComment,UC=pd.isFlowAnnotationComment,zC=pd.isJsxNode,HC=pd.isTemplateOnItsOwnLine,GC=pd.shouldPrintComma,JC=pd.startsWithNoLookaheadToken,XC=pd.returnArgumentHasLeadingComment,YC=pd.isBinaryish,KC=pd.isLineComment,QC=pd.hasComment,ZC=pd.getComments,ev=pd.CommentCheckFlags,tv=pd.isCallLikeExpression,nv=ea.locEnd,rv=Nb.printFunctionParameters,ov=Nb.shouldGroupFunctionParameters,iv=kC.printPropertyKey,uv=$y.printFunctionTypeParameters;function sv(e,t,n){var r=e.getNode(),o=rv(e,n,t),i=cv(e,n,t),u=ov(r,i),s=[uv(e,t,n),LC([u?LC(o):o,i])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s}function av(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){var t=qC(e);return!(1!==t.length||e.typeParameters||QC(e,ev.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||QC(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function cv(e,t,n){var r=e.getValue(),o=t("returnType");if(r.returnType&&UC(n.originalText,r.returnType))return[" /*: ",o," */"];var i=[o];return r.returnType&&r.returnType.typeAnnotation&&i.unshift(": "),r.predicate&&i.push(r.returnType?" ":": ",t("predicate")),i}function lv(e,t,n){var r=e.getValue(),o=t.semi?";":"",i=[];r.argument&&(XC(t,r.argument)?i.push([" (",_C([RC,n("argument")]),RC,")"]):YC(r.argument)||"SequenceExpression"===r.argument.type?i.push(LC([MC(" ("," "),_C([jC,n("argument")]),jC,MC(")")])):i.push(" ",n("argument")));var u=ZC(r),s=ke(u),a=s&&KC(s);return a&&i.push(o),QC(r,ev.Dangling)&&i.push(" ",NC(e,t,!0)),a||i.push(o),i}var pv={printFunctionDeclaration:function printFunctionDeclaration(e,t,n,r){var o=e.getValue(),i=[];"TSDeclareFunction"===o.type&&o.declare&&i.push("declare "),o.async&&i.push("async "),o.generator?i.push("function* "):i.push("function "),o.id&&i.push(t("id"));var u=rv(e,t,n,r),s=cv(e,t,n),a=ov(o,s);return i.push(uv(e,n,t),LC([a?LC(u):u,s]),o.body?" ":"",t("body")),!n.semi||!o.declare&&o.body||i.push(";"),i},printArrowFunctionExpression:function printArrowFunctionExpression(e,t,n,r){var o=e.getValue(),i=[],u=[],s=!1;if(function a(){var c=function(e,t,n,r){var o=[];e.getValue().async&&o.push("async "),av(e,t)?o.push(n(["params",0])):o.push(LC([rv(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),cv(e,n,t)]));var i=NC(e,t,!0,(function(e){var n=OC(t.originalText,e,nv);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));return i&&o.push(" ",i),o}(e,t,n,r);if(0===i.length)i.push(c);else{var _PC=PC(e,t),_n82=_PC.leading,_r87=_PC.trailing;i.push([_n82,c]),u.unshift(_r87)}s=s||o.returnType&&qC(o).length>0||o.typeParameters||qC(o).some((function(e){return"Identifier"!==e.type})),"ArrowFunctionExpression"!==o.body.type||r&&r.expandLastArg?u.unshift(n("body",r)):(o=o.body,e.call(a,"body"))}(),i.length>1)return function(e,t,n,r,o,i){var u=e.getName(),s=e.getParentNode(),a=tv(s)&&"callee"===u,c=Boolean(t&&t.assignmentLayout),l="BlockStatement"!==i.body.type&&"ObjectExpression"!==i.body.type,p=a&&l||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return LC([LC(_C([a||c?jC:"",LC(VC([" =>",IC],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",$C(l?_C([IC,o]):[" ",o],{groupId:f}),a?MC(jC,"",{groupId:f}):""])}(e,r,i,s,u,o);var a=i;if(a.push(" =>"),!WC(t.originalText,o.body)&&("ArrayExpression"===o.body.type||"ObjectExpression"===o.body.type||"BlockStatement"===o.body.type||zC(o.body)||HC(o.body,t.originalText)||"ArrowFunctionExpression"===o.body.type||"DoExpression"===o.body.type))return LC([].concat(a,[" ",u]));if("SequenceExpression"===o.body.type)return LC([].concat(a,[LC([" (",_C([jC,u]),jC,")"])]));var c=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!QC(o),l=r&&r.expandLastArg&&GC(t,"all"),p="ConditionalExpression"===o.body.type&&!JC(o.body,!1);return LC([].concat(a,[LC([_C([IC,p?MC("","("):"",u,p?MC("",")"):""]),c?[MC(l?",":""),jC]:""])]))},printMethod:function printMethod(e,t,n){var r=e.getNode(),o=r.kind,i=r.value||r,u=[];return o&&"init"!==o&&"method"!==o&&"constructor"!==o?(Il.ok("get"===o||"set"===o),u.push(o," ")):i.async&&u.push("async "),i.generator&&u.push("*"),u.push(iv(e,t,n),r.optional||r.key.optional?"?":""),r===i?u.push(sv(e,t,n)):"FunctionExpression"===i.type?u.push(e.call((function(e){return sv(e,t,n)}),"value")):u.push(n("value")),u},printReturnStatement:function printReturnStatement(e,t,n){return["return",lv(e,t,n)]},printThrowStatement:function printThrowStatement(e,t,n){return["throw",lv(e,t,n)]},printMethodInternal:sv,shouldPrintParamsWithoutParens:av},fv=rn.isNonEmptyArray,dv=rn.hasNewline,_Rn$builders23=Rn.builders,hv=_Rn$builders23.line,mv=_Rn$builders23.hardline,gv=_Rn$builders23.join,yv=_Rn$builders23.breakParent,Dv=_Rn$builders23.group,Ev=ea.locStart,bv=ea.locEnd,Cv=pd.getParentExportDeclaration;function vv(e,t){return e.decorators.some((function(e){return dv(t.originalText,bv(e))}))}function Av(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;var t=e.declaration&&e.declaration.decorators;return fv(t)&&Ev(e,{ignoreDecorators:!0})>Ev(t[0])}var Fv={printDecorators:function printDecorators(e,t,n){var r=e.getValue(),o=r.decorators;if(fv(o)&&!Av(e.getParentNode())){var i="ClassExpression"===r.type||"ClassDeclaration"===r.type||vv(r,t);return[Cv(e)?mv:i?yv:"",gv(hv,e.map(n,"decorators")),hv]}},printClassMemberDecorators:function printClassMemberDecorators(e,t,n){var r=e.getValue();return Dv([gv(hv,e.map(n,"decorators")),vv(r,t)?mv:hv])},printDecoratorsBeforeExport:function printDecoratorsBeforeExport(e,t,n){return[gv(mv,e.map(n,"declaration","decorators")),mv]},hasDecoratorsBeforeExport:Av},xv=rn.isNonEmptyArray,Sv=rn.createGroupIdMapper,wv=up.printComments,Tv=up.printDanglingComments,_Rn$builders24=Rn.builders,Bv=_Rn$builders24.join,kv=_Rn$builders24.line,Nv=_Rn$builders24.hardline,Pv=_Rn$builders24.softline,Ov=_Rn$builders24.group,Iv=_Rn$builders24.indent,jv=_Rn$builders24.ifBreak,Lv=pd.hasComment,_v=pd.CommentCheckFlags,Mv=DC.getTypeParametersGroupId,Rv=pv.printMethod,Vv=$y.printOptionalToken,$v=$y.printTypeAnnotation,qv=kC.printPropertyKey,Wv=ib.printAssignment,Uv=Fv.printClassMemberDecorators,zv=Sv("heritageGroup");function Hv(e){return e.typeParameters&&!Lv(e.typeParameters,_v.Trailing|_v.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((function(t){return Boolean(e[t])})).length>1}(e)}function Gv(e,t,n,r){var o=e.getValue();if(!xv(o[r]))return"";var i=Tv(e,t,!0,(function(_ref103){return _ref103.marker===r}));return[Hv(o)?jv(" ",kv,{groupId:Mv(o.typeParameters)}):kv,i,i&&Nv,r,Ov(Iv([kv,Bv([",",kv],e.map(n,r))]))]}function Jv(e,t,n){var r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?Ov(jv(["(",Iv([Pv,r]),Pv,")"],r)):r}var Xv={printClass:function printClass(e,t,n){var r=e.getValue(),o=[];r.declare&&o.push("declare "),r.abstract&&o.push("abstract "),o.push("class");var _e150,i=r.id&&Lv(r.id,_v.Trailing)||r.superClass&&Lv(r.superClass)||xv(r.extends)||xv(r.mixins)||xv(r.implements),u=[],s=[];if(r.id&&u.push(" ",n("id")),u.push(n("typeParameters")),r.superClass){var _r88=["extends ",Jv(e,t,n),n("superTypeParameters")],_o36=e.call((function(e){return wv(e,_r88,t)}),"superClass");i?s.push(kv,Ov(_o36)):s.push(" ",_o36)}else s.push(Gv(e,t,n,"extends"));return s.push(Gv(e,t,n,"mixins"),Gv(e,t,n,"implements")),i?(_e150=Hv(r)?[].concat(u,[Iv(s)]):Iv([].concat(u,[s])),o.push(Ov(_e150,{id:zv(r)}))):o.push.apply(o,u.concat(s)),o.push(" ",n("body")),o},printClassMethod:function printClassMethod(e,t,n){var r=e.getValue(),o=[];return xv(r.decorators)&&o.push(Uv(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.readonly&&o.push("readonly "),r.declare&&o.push("declare "),r.static&&o.push("static "),r.override&&o.push("override "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&o.push("abstract "),o.push(Rv(e,t,n)),o},printClassProperty:function printClassProperty(e,t,n){var r=e.getValue(),o=[],i=t.semi?";":"";return xv(r.decorators)&&o.push(Uv(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.declare&&o.push("declare "),r.static&&o.push("static "),r.override&&o.push("override "),("TSAbstractClassProperty"===r.type||r.abstract)&&o.push("abstract "),r.readonly&&o.push("readonly "),r.variance&&o.push(n("variance")),o.push(qv(e,t,n),Vv(e),$v(e,t,n)),[Wv(e,t,n,o," =","value"),i]},printHardlineAfterHeritage:function printHardlineAfterHeritage(e){return jv(Nv,"",{groupId:zv(e)})}},Yv=rn.isNonEmptyArray,_Rn$builders25=Rn.builders,Kv=_Rn$builders25.join,Qv=_Rn$builders25.line,Zv=_Rn$builders25.group,eA=_Rn$builders25.indent,tA=_Rn$builders25.ifBreak,nA=pd.hasComment,rA=pd.identity,oA=pd.CommentCheckFlags,iA=DC.getTypeParametersGroupId,uA=$y.printTypeScriptModifiers,sA={printInterface:function printInterface(e,t,n){var r=e.getValue(),o=[];r.declare&&o.push("declare "),"TSInterfaceDeclaration"===r.type&&o.push(r.abstract?"abstract ":"",uA(e,t,n)),o.push("interface");var i=[],u=[];"InterfaceTypeAnnotation"!==r.type&&i.push(" ",n("id"),n("typeParameters"));var s=r.typeParameters&&!nA(r.typeParameters,oA.Trailing|oA.Line);return Yv(r.extends)&&u.push(s?tA(" ",Qv,{groupId:iA(r.typeParameters)}):Qv,"extends ",(1===r.extends.length?rA:eA)(Kv([",",Qv],e.map(n,"extends")))),r.id&&nA(r.id,oA.Trailing)||Yv(r.extends)?s?o.push(Zv([].concat(i,[eA(u)]))):o.push(Zv(eA([].concat(i,u)))):o.push.apply(o,i.concat(u)),o.push(" ",n("body")),Zv(o)}},aA=rn.isNonEmptyArray,_Rn$builders26=Rn.builders,cA=_Rn$builders26.softline,lA=_Rn$builders26.group,pA=_Rn$builders26.indent,fA=_Rn$builders26.join,dA=_Rn$builders26.line,hA=_Rn$builders26.ifBreak,mA=_Rn$builders26.hardline,gA=up.printDanglingComments,yA=pd.hasComment,DA=pd.CommentCheckFlags,EA=pd.shouldPrintComma,bA=pd.needsHardlineAfterDanglingComment,CA=ea.locStart,vA=ea.hasSameLoc,AA=Fv.hasDecoratorsBeforeExport,FA=Fv.printDecoratorsBeforeExport;function xA(e,t,n){var r=e.getValue();if(!r.source)return"";var o=[];return wA(r,t)||o.push(" from"),o.push(" ",n("source")),o}function SA(e,t,n){var r=e.getValue();if(wA(r,t))return"";var o=[" "];if(aA(r.specifiers)){var _i57=[],_u18=[];e.each((function(){var t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)_i57.push(n());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));_u18.push(n())}}),"specifiers"),o.push(fA(", ",_i57)),_u18.length>0&&(_i57.length>0&&o.push(", "),_u18.length>1||_i57.length>0||r.specifiers.some((function(e){return yA(e)}))?o.push(lA(["{",pA([t.bracketSpacing?dA:cA,fA([",",dA],_u18)]),hA(EA(t)?",":""),t.bracketSpacing?dA:cA,"}"])):o.push(["{",t.bracketSpacing?" ":""].concat(_u18,[t.bracketSpacing?" ":"","}"])))}else o.push("{}");return o}function wA(e,t){var n=e.type,r=e.importKind,o=e.source,i=e.specifiers;return"ImportDeclaration"===n&&!aA(i)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(CA(e),CA(o)))}function TA(e,t,n){var r=e.getNode();return aA(r.assertions)?[" assert {",t.bracketSpacing?" ":"",fA(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var BA={printImportDeclaration:function printImportDeclaration(e,t,n){var r=e.getValue(),o=t.semi?";":"",i=[],u=r.importKind;return i.push("import"),u&&"value"!==u&&i.push(" ",u),i.push(SA(e,t,n),xA(e,t,n),TA(e,t,n),o),i},printExportDeclaration:function printExportDeclaration(e,t,n){var r=e.getValue(),o=[];AA(r)&&o.push(FA(e,t,n));var i=r.type,u=r.exportKind,s=r.declaration;return o.push("export"),(r.default||"ExportDefaultDeclaration"===i)&&o.push(" default"),yA(r,DA.Dangling)&&(o.push(" ",gA(e,t,!0)),bA(r)&&o.push(mA)),s?o.push(" ",n("declaration")):o.push("type"===u?" type":"",SA(e,t,n),xA(e,t,n),TA(e,t,n)),function(e,t){if(!t.semi)return!1;var n=e.type,r=e.declaration,o=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;var i=r.type;return!(!o||"ClassDeclaration"===i||"FunctionDeclaration"===i||"TSInterfaceDeclaration"===i||"DeclareClass"===i||"DeclareFunction"===i||"TSDeclareFunction"===i||"EnumDeclaration"===i)}(r,t)&&o.push(";"),o},printExportAllDeclaration:function printExportAllDeclaration(e,t,n){var r=e.getValue(),o=t.semi?";":"",i=[],u=r.exportKind,s=r.exported;return i.push("export"),"type"===u&&i.push(" type"),i.push(" *"),s&&i.push(" as ",n("exported")),i.push(xA(e,t,n),TA(e,t,n),o),i},printModuleSpecifier:function printModuleSpecifier(e,t,n){var r=e.getNode(),o=r.type,i=r.importKind,u=[];"ImportSpecifier"===o&&i&&u.push(i," ");var s=o.startsWith("Import"),a=s?"imported":"local",c=s?"local":"exported",l="",p="";return"ExportNamespaceSpecifier"===o||"ImportNamespaceSpecifier"===o?l="*":r[a]&&(l=n(a)),!r[c]||r[a]&&vA(r[a],r[c])||(p=n(c)),u.push(l,l&&p?" as ":"",p),u}},kA=pd.getParentExportDeclaration,NA=Xv.printClass,PA=Zb.printOpaqueType,OA=Zb.printTypeAlias,IA=Zb.printIntersectionType,jA=Zb.printUnionType,LA=Zb.printFunctionType,_A=Zb.printTupleType,MA=Zb.printIndexedAccessType,RA=sA.printInterface,VA=DC.printTypeParameters,$A=BA.printExportDeclaration,qA=BA.printExportAllDeclaration;function WA(e,t){var n=kA(e);return n?(Il.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var UA={printFlow:function printFlow(e,t,n){var r=e.getValue(),o=t.semi?";":"";switch(r.type){case"DeclareClass":return WA(e,NA(e,t,n));case"DeclareFunction":return WA(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),o]);case"DeclareModule":return WA(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return WA(e,["module.exports",": ",n("typeAnnotation"),o]);case"DeclareVariable":return WA(e,["var ",n("id"),o]);case"DeclareOpaqueType":return WA(e,PA(e,t,n));case"DeclareInterface":return WA(e,RA(e,t,n));case"DeclareTypeAlias":return WA(e,OA(e,t,n));case"DeclareExportDeclaration":return WA(e,$A(e,t,n));case"DeclareExportAllDeclaration":return WA(e,qA(e,t,n));case"OpaqueType":return PA(e,t,n);case"TypeAlias":return OA(e,t,n);case"IntersectionTypeAnnotation":return IA(e,t,n);case"UnionTypeAnnotation":return jA(e,t,n);case"FunctionTypeAnnotation":return LA(e,t,n);case"TupleTypeAnnotation":return _A(e,t,n);case"GenericTypeAnnotation":return[n("id"),VA(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return MA(e,t,n);case"TypeAnnotation":return n("typeAnnotation")}}},zA=rn.hasNewlineInRange,HA=pd.isJsxNode,GA=pd.isBlockComment,JA=pd.getComments,XA=pd.isCallExpression,YA=pd.isMemberExpression,KA=ea.locStart,QA=ea.locEnd,_Rn$builders27=Rn.builders,ZA=_Rn$builders27.line,eF=_Rn$builders27.softline,tF=_Rn$builders27.group,nF=_Rn$builders27.indent,rF=_Rn$builders27.align,oF=_Rn$builders27.ifBreak,iF=_Rn$builders27.dedent,uF=_Rn$builders27.breakParent;function sF(e,t,n){var r=e.getValue(),o="ConditionalExpression"===r.type,i=o?"alternate":"falseType",u=e.getParentNode(),s=o?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return u.type===r.type&&u[i]===r?rF(2,s):s}var aF=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]),cF={printTernary:function printTernary(e,t,n){var h,m,r=e.getValue(),o="ConditionalExpression"===r.type,i=o?"consequent":"trueType",u=o?"alternate":"falseType",s=o?["test"]:["checkType","extendsType"],a=r[i],c=r[u],l=[],p=!1,f=e.getParentNode(),d=f.type===r.type&&s.some((function(e){return f[e]===r})),g=f.type===r.type&&!d,y=0;do{m=h||r,h=e.getParentNode(y),y++}while(h&&h.type===r.type&&s.every((function(e){return h[e]!==m})));var D=h||f,E=m;if(o&&(HA(r[s[0]])||HA(a)||HA(c)||function(e){for(var t=[e],_e151=0;_e1511&&m.sort((function(e,t){return e.loc-t.loc}));var g=[],y=m.map((function(e){var n=[].concat(_toConsumableArray(g),[dF(e.printed)]);return g=[f,pF],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!vF(e.node,FF.PrettierIgnore)||g.shift(),xF(e.node,t)&&g.push(gF),n}));if(o.inexact){var _n84;if(vF(o,FF.Dangling)){var _r90=vF(o,FF.Line);_n84=[lF(e,t,!0),_r90||EF(t.originalText,wF(yF(AF(o))))?gF:pF,"..."]}else _n84=["..."];y.push([].concat(_toConsumableArray(g),_toConsumableArray(_n84)))}var b,D=yF(o[i]),E=!(o.inexact||D&&"RestElement"===D.type||D&&("TSPropertySignature"===D.type||"TSCallSignatureDeclaration"===D.type||"TSMethodSignature"===D.type||"TSConstructSignatureDeclaration"===D.type)&&vF(D,FF.PrettierIgnore));if(0===y.length){if(!vF(o,FF.Dangling))return[d,h,BF(e,t,n)];b=dF([d,lF(e,t),fF,h,TF(e),BF(e,t,n)])}else b=[l&&bF(o.properties)?PF(c):"",d,hF([t.bracketSpacing?pF:fF].concat(_toConsumableArray(y))),mF(E&&(","!==f||CF(t))?f:""),t.bracketSpacing?pF:fF,h,TF(e),BF(e,t,n)];return e.match((function(e){return"ObjectPattern"===e.type&&!e.decorators}),(function(e,t,n){return kF(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||e.match(NF,(function(e,t){return"typeAnnotation"===t}),(function(e,t){return"typeAnnotation"===t}),(function(e,t,n){return kF(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||!p&&e.match((function(e){return"ObjectPattern"===e.type}),(function(e){return"AssignmentExpression"===e.type||"VariableDeclarator"===e.type}))?b:dF(b,{shouldBreak:p})}},IF=Rn.builders.hardline,jF=pd.getLeftSidePathName,LF=pd.hasNakedLeftSide,_F=pd.isJsxNode,MF=pd.isTheOnlyJsxElementInMarkdown,RF=pd.hasComment,VF=pd.CommentCheckFlags,$F=pd.isNextLineEmpty,qF=pv.shouldPrintParamsWithoutParens;function WF(e,t,n,r){var o=e.getValue(),i=[],u="ClassBody"===o.type,s=function(e){for(var _t127=e.length-1;_t127>=0;_t127--){var _n85=e[_t127];if("EmptyStatement"!==_n85.type)return _n85}}(o[r]);return e.each((function(e,r,o){var a=e.getValue();if("EmptyStatement"!==a.type){var c=n();t.semi||u||MF(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((function(e){return UF(e,t)}),"expression")}(e,t)?i.push(c):RF(a,VF.Leading)?i.push(n([],{needsSemi:!0})):i.push(";",c),!t.semi&&u&&zF(a)&&function(e,t){var n=e.key&&e.key.name;if(!("static"!==n&&"get"!==n&&"set"!==n||e.value||e.typeAnnotation))return!0;if(!t)return!1;if(t.static||t.accessibility)return!1;if(!t.computed){var _e155=t.key&&t.key.name;if("in"===_e155||"instanceof"===_e155)return!0}switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;var _e156=t.value?t.value.generator:t.generator;return!(!t.computed&&!_e156);case"TSIndexSignature":return!0}return!1}(a,o[r+1])&&i.push(";"),a!==s&&(i.push(IF),$F(a,t)&&i.push(IF))}}),r),i}function UF(e,t){var n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!qF(e,t))return!0;break;case"UnaryExpression":var _e157=n.prefix,_t128=n.operator;if(_e157&&("+"===_t128||"-"===_t128))return!0;break;case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(_F(n))return!0}return!!fg(e,t)||!!LF(n)&&e.call.apply(e,[function(e){return UF(e,t)}].concat(_toConsumableArray(jF(e,n))))}var zF=function zF(_ref104){var e=_ref104.type;return"ClassProperty"===e||"PropertyDefinition"===e||"ClassPrivateProperty"===e},HF={printBody:function printBody(e,t,n){return WF(e,t,n,"body")},printSwitchCaseConsequent:function printSwitchCaseConsequent(e,t,n){return WF(e,t,n,"consequent")}},GF=up.printDanglingComments,JF=rn.isNonEmptyArray,_Rn$builders29=Rn.builders,XF=_Rn$builders29.hardline,YF=_Rn$builders29.indent,KF=pd.hasComment,QF=pd.CommentCheckFlags,ZF=pd.isNextLineEmpty,ex=Xv.printHardlineAfterHeritage,tx=HF.printBody;function nx(e,t,n){var r=e.getValue(),o=JF(r.directives),i=r.body.some((function(e){return"EmptyStatement"!==e.type})),u=KF(r,QF.Dangling);if(!o&&!i&&!u)return"";var s=[];if(o&&e.each((function(e,r,o){s.push(n()),(r"]),_o38=[dx("("),px([cx,n("expression")]),cx,dx(")")];return _e158?fx([[_t132,n("expression")],[_t132,lx(_o38,{shouldBreak:!0})],[_t132,n("expression")]]):lx([_t132,n("expression")]);case"TSDeclareFunction":return Ix(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),o];case"TSModuleBlock":return _x(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return Tx(e,t,n);case"TSTypeAliasDeclaration":return Mx(e,t,n);case"TSQualifiedName":return ux(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return kx(e,t,n);case"TSAbstractClassProperty":return Bx(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(n("expression")),r.typeParameters&&i.push(n("typeParameters")),i;case"TSTemplateLiteralType":return Sx(e,n,t);case"TSNamedTupleMember":return[n("label"),r.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Lx(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Px(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":return Nx(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"TSAbstractKeyword":return"abstract";case"TSAsyncKeyword":return"async";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSStaticKeyword":return"static";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSIntrinsicKeyword":return"intrinsic";case"TSAsExpression":i.push(n("expression")," as ",n("typeAnnotation"));var _t133=e.getParentNode();return yx(_t133)&&_t133.callee===r||Dx(_t133)&&_t133.object===r?lx([px([cx].concat(i)),cx]):i;case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.export&&i.push("export "),r.accessibility&&i.push(r.accessibility+" "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(Ox(e,t,n),Cx(e)),r.typeAnnotation&&i.push(": ",n("typeAnnotation")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSParameterProperty":return r.accessibility&&i.push(r.accessibility+" "),r.export&&i.push("export "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(n("parameter")),i;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":var _i60=e.getParentNode(),_u19=r.parameters.length>1?dx(gx(t)?",":""):"",_s25=lx([px([cx,ux([", ",cx],e.map(n,"parameters"))]),_u19,cx]);return[r.export?"export ":"",r.accessibility?[r.accessibility," "]:"",r.static?"static ":"",r.readonly?"readonly ":"",r.declare?"declare ":"","[",r.parameters?_s25:"",r.typeAnnotation?"]: ":"]",r.typeAnnotation?n("typeAnnotation"):"","ClassBody"===_i60.type?o:""];case"TSTypePredicate":return[r.asserts?"asserts ":"",n("parameterName"),r.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[r.isTypeOf?"typeof ":"","import(",n(r.parameter?"parameter":"argument"),")",r.qualifier?[".",n("qualifier")]:"",Px(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return Wx(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===r.type&&r.abstract&&i.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&i.push("new "),i.push(lx(Fx(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){var _e159="TSConstructorType"===r.type;i.push(_e159?" => ":": ",n("returnType"),n("typeAnnotation"))}return i;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":var _i61=ix(t.originalText,Ex(r),bx(r));return lx(["{",px([t.bracketSpacing?sx:cx,r.readonly?[mx(r.readonly,"readonly")," "]:"",vx(e,t,n),n("typeParameter"),r.optional?mx(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),dx(o)]),ox(e,t,!0),t.bracketSpacing?sx:cx,"}"],{shouldBreak:_i61});case"TSMethodSignature":var _o39=r.kind&&"method"!==r.kind?"".concat(r.kind," "):"";i.push(r.accessibility?[r.accessibility," "]:"",_o39,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",Cx(e));var _u20=Fx(e,n,t,!1,!0),_s26=r.returnType?"returnType":"typeAnnotation",_a9=r[_s26],_c13=_a9?n(_s26):"",_l11=xx(r,_c13);return i.push(_l11?lx(_u20):_u20),_a9&&i.push(": ",lx(_c13)),lx(i);case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n("id")),t.semi&&i.push(";"),lx(i);case"TSEnumDeclaration":return r.declare&&i.push("declare "),r.modifiers&&i.push(vx(e,t,n)),r.const&&i.push("const "),i.push("enum ",n("id")," "),0===r.members.length?i.push(lx(["{",ox(e,t),cx,"}"])):i.push(lx(["{",px([ax,wx(e,t,"members",n),gx(t,"es5")?",":""]),ox(e,t,!0),ax,"}"])),i;case"TSEnumMember":return i.push(n("id")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSImportEqualsDeclaration":return r.isExport&&i.push("export "),i.push("import "),r.importKind&&"value"!==r.importKind&&i.push(r.importKind," "),i.push(n("id")," = ",n("moduleReference")),t.semi&&i.push(";"),lx(i);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":var _u21=e.getParentNode(),_s27=hx(r.id),_a10="TSModuleDeclaration"===_u21.type,_c14=r.body&&"TSModuleDeclaration"===r.body.type;if(_a10)i.push(".");else{r.declare&&i.push("declare "),i.push(vx(e,t,n));var _o40=t.originalText.slice(Ex(r),Ex(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(_o40)||i.push(_s27||/(^|\s)module(\s|$)/.test(_o40)?"module ":"namespace ")}return i.push(n("id")),_c14?i.push(n("body")):r.body?i.push(" ",lx(n("body"))):i.push(o),i;case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return Ax(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return Rx(e,t,n);case"TSUnionType":return Vx(e,t,n);case"TSFunctionType":return $x(e,t,n);case"TSTupleType":return qx(e,t,n);case"TSTypeReference":return[n("typeName"),Px(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return jx(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];case"TSJSDocFunctionType":return["function(","): ",n("typeAnnotation")]}}},zx=rn.hasNewline,_Rn$builders31=Rn.builders,Hx=_Rn$builders31.join,Gx=_Rn$builders31.hardline,Jx=Rn.utils.replaceNewlinesWithLiterallines,Xx=pd.isLineComment,Yx=pd.isBlockComment,Kx=ea.locStart,Qx=ea.locEnd,Zx={printComment:function printComment(e,t){var n=e.getValue();if(Xx(n))return t.originalText.slice(Kx(n),Qx(n)).trimEnd();if(Yx(n)){if(function(e){var t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((function(e){return"*"===e.trim()[0]}))}(n)){var _e161=function(e){var t=e.value.split("\n");return["/*",Hx(Gx,t.map((function(e,n){return 0===n?e.trimEnd():" "+(n1&&(_o42=!0)}return sw(e,n,t,_o42);case"ArrowFunctionExpression":return aw(e,t,n,r);case"YieldExpression":return u.push("yield"),o.delegate&&u.push("*"),o.argument&&u.push(" ",n("argument")),u;case"AwaitExpression":if(u.push("await"),o.argument){u.push(" ",n("argument"));var _t136=e.getParentNode();if(NS(_t136)&&_t136.callee===o||PS(_t136)&&_t136.object===o){u=[mS([fS].concat(_toConsumableArray(u))),fS];var _t137=e.findAncestor((function(e){return"AwaitExpression"===e.type||"BlockStatement"===e.type}));if(!_t137||"AwaitExpression"!==_t137.type)return hS(u)}}return u;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return GS(e,t,n);case"ExportAllDeclaration":return JS(e,t,n);case"ImportDeclaration":return HS(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return XS(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Ew(e,t,n);case"ThrowStatement":return pw(e,t,n);case"ReturnStatement":return lw(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return fw(e,t,n);case"ObjectTypeInternalSlot":return[o.static?"static ":"","[[",n("id"),"]]",qS(e),o.method?"":": ",n("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return ew(e,t,n);case"ObjectProperty":case"Property":return o.method||"get"===o.kind||"set"===o.kind?cw(e,t,n):uw(e,t,n);case"ObjectMethod":return cw(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return QS(e,t,n);case"SequenceExpression":var _t138=e.getParentNode(0);if("ExpressionStatement"===_t138.type||"ForStatement"===_t138.type){var _t139=[];return e.each((function(e,r){0===r?_t139.push(n()):_t139.push(",",mS([lS,n()]))}),"expressions"),hS(_t139)}return hS(cS([",",lS],e.map(n,"expressions")));case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),i];case"DirectiveLiteral":return Fw(o,t);case"UnaryExpression":return u.push(o.operator),/[a-z]$/.test(o.operator)&&u.push(" "),ES(o.argument)?u.push(hS(["(",mS([fS,n("argument")]),fS,")"])):u.push(n("argument")),u;case"UpdateExpression":return u.push(n("argument"),o.operator),o.prefix&&u.reverse(),u;case"ConditionalExpression":return YS(e,t,n);case"VariableDeclaration":var _c15,_t140=e.map(n,"declarations"),_r93=e.getParentNode(),_s28="ForStatement"===_r93.type||"ForInStatement"===_r93.type||"ForOfStatement"===_r93.type,_a11=o.declarations.some((function(e){return e.init}));return 1!==_t140.length||ES(o.declarations[0])?_t140.length>0&&(_c15=mS(_t140[0])):_c15=_t140[0],u=[o.declare?"declare ":"",o.kind,_c15?[" ",_c15]:"",mS(_t140.slice(1).map((function(e){return[",",_a11&&!_s28?pS:lS,e]})))],_s28&&_r93.body!==o||u.push(i),hS(u);case"WithStatement":return hS(["with (",n("object"),")",zS(o.body,n("body"))]);case"IfStatement":var _r94=zS(o.consequent,n("consequent")),_i63=hS(["if (",hS([mS([fS,n("test")]),fS]),")",_r94]);if(u.push(_i63),o.alternate){var _r95=ES(o.consequent,bS.Trailing|bS.Line)||wS(o),_i64="BlockStatement"===o.consequent.type&&!_r95;u.push(_i64?" ":pS),ES(o,bS.Dangling)&&u.push(iS(e,t,!0),_r95?pS:" "),u.push("else",hS(zS(o.alternate,n("alternate"),"IfStatement"===o.alternate.type)))}return u;case"ForStatement":var _r96=zS(o.body,n("body")),_i65=iS(e,t,!0),_u22=_i65?[_i65,fS]:"";return o.init||o.test||o.update?[_u22,hS(["for (",hS([mS([fS,n("init"),";",lS,n("test"),";",lS,n("update")]),fS]),")",_r96])]:[_u22,hS(["for (;;)",_r96])];case"WhileStatement":return hS(["while (",hS([mS([fS,n("test")]),fS]),")",zS(o.body,n("body"))]);case"ForInStatement":return hS(["for (",n("left")," in ",n("right"),")",zS(o.body,n("body"))]);case"ForOfStatement":return hS(["for",o.await?" await":""," (",n("left")," of ",n("right"),")",zS(o.body,n("body"))]);case"DoWhileStatement":var _e163=zS(o.body,n("body"));return u=[hS(["do",_e163])],"BlockStatement"===o.body.type?u.push(" "):u.push(pS),u.push("while (",hS([mS([fS,n("test")]),fS]),")",i),u;case"DoExpression":return[o.async?"async ":"","do ",n("body")];case"BreakStatement":return u.push("break"),o.label&&u.push(" ",n("label")),u.push(i),u;case"ContinueStatement":return u.push("continue"),o.label&&u.push(" ",n("label")),u.push(i),u;case"LabeledStatement":return"EmptyStatement"===o.body.type?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),o.handler?[" ",n("handler")]:"",o.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(o.param){var _e164=ES(o.param,(function(e){return!FS(e)||e.leading&&uS(t.originalText,IS(e))||e.trailing&&uS(t.originalText,OS(e),{backwards:!0})})),_r97=n("param");return["catch ",_e164?["(",mS([fS,_r97]),fS,") "]:["(",_r97,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[hS(["switch (",mS([fS,n("discriminant")]),fS,")"])," {",o.cases.length>0?mS([pS,cS(pS,e.map((function(e,r,o){var i=e.getValue();return[n(),r!==o.length-1&&SS(i,t)?pS:""]}),"cases"))]):"",pS,"}"];case"SwitchCase":o.test?u.push("case ",n("test"),":"):u.push("default:");var _r98=o.consequent.filter((function(e){return"EmptyStatement"!==e.type}));if(_r98.length>0){var _o43=yw(e,t,n);u.push(1===_r98.length&&"BlockStatement"===_r98[0].type?[" ",_o43]:mS([pS,_o43]))}return u;case"DebuggerStatement":return["debugger",i];case"ClassDeclaration":case"ClassExpression":return tw(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return nw(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return rw(e,t,n);case"TemplateElement":return cS(dS,o.value.raw.split(/\r?\n/g));case"TemplateLiteral":return KS(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),n("quasi")];case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(o.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(o.value);case"EnumDeclaration":return["enum ",n("id")," ",n("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===o.type||o.explicitType){var _e165=null;switch(o.type){case"EnumBooleanBody":_e165="boolean";break;case"EnumNumberBody":_e165="number";break;case"EnumStringBody":_e165="string";break;case"EnumSymbolBody":_e165="symbol"}u.push("of ",_e165," ")}if(0!==o.members.length||o.hasUnknownMembers){var _r99=o.members.length>0?[pS,ZS(e,t,"members",n),o.hasUnknownMembers||BS(t)?",":""]:[];u.push(hS(["{",mS([].concat(_r99,_toConsumableArray(o.hasUnknownMembers?[pS,"..."]:[]))),iS(e,t,!0),pS,"}"]))}else u.push(hS(["{",iS(e,t),fS,"}"]));return u;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==_typeof(o.init)?n("init"):String(o.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":var _t141=o.name?n("name"):e.getParentNode().this===o?"this":"";return[_t141,qS(e),_t141?": ":"",n("typeAnnotation")];case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return dw(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":var _e166=o.kind;return Il.ok("plus"===_e166||"minus"===_e166),"plus"===_e166?"+":"-";case"ObjectTypeCallProperty":return o.static&&u.push("static "),u.push(n("value")),u;case"ObjectTypeIndexer":return[o.variance?n("variance"):"","[",n("id"),o.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":var _r100="";return o.proto?_r100="proto ":o.static&&(_r100="static "),[_r100,vS(o)?o.kind+" ":"",o.variance?n("variance"):"",iw(e,t,n),qS(e),CS(o)?"":": ",n("value")];case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return sS(TS(o),t);case"NumberLiteralTypeAnnotation":Il.strictEqual(_typeof(o.value),"number");case"BigIntLiteralTypeAnnotation":return o.extra?aS(o.extra.raw):aS(o.raw);case"TypeCastExpression":return["(",n("expression"),US(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":var _r101=ow(e,t,n,"params");if("flow"===t.parser){var _e167=OS(o),_n87=IS(o),_i66=t.originalText.lastIndexOf("/*",_e167),_u23=t.originalText.indexOf("*/",_n87);if(-1!==_i66&&-1!==_u23){var _e168=t.originalText.slice(_i66+2,_u23).trim();if(_e168.startsWith("::")&&!_e168.includes("/*")&&!_e168.includes("*/"))return["/*:: ",_r101," */"]}}return _r101;case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"ThisTypeAnnotation":case"TSThisType":return"this";case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return u.push("#!",o.value,pS),SS(o,t)&&u.push(pS),u;case"PipelineBareFunction":return n("callee");case"PipelineTopicExpression":return n("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":u.push("module {");var _e169=n("body");return _e169&&u.push(mS([pS,_e169]),pS),u.push("}"),u;default:throw new Error("unknown type: "+JSON.stringify(o.type))}}(e,t,n,r);if(!o)return"";var i=e.getValue(),u=i.type;if("ClassMethod"===u||"ClassPrivateMethod"===u||"ClassProperty"===u||"PropertyDefinition"===u||"TSAbstractClassProperty"===u||"ClassPrivateProperty"===u||"MethodDefinition"===u||"TSAbstractMethodDefinition"===u||"TSDeclareMethod"===u)return o;var s=Aw(e,t,n);if(s)return hS([].concat(_toConsumableArray(s),[o]));if(!fg(e,t))return r&&r.needsSemi?[";",o]:o;var a=[r&&r.needsSemi?";(":"(",o];if(DS(i)){var _e170=_slicedToArray(i.trailingComments,1)[0];a.push(" /*",_e170.value.trimStart(),"*/"),_e170.printed=!0}return a.push(")"),a},embed:mh,insertPragma:gS,massageAstNode:bh,hasPrettierIgnore:function hasPrettierIgnore(e){return kS(e)||RS(e)},willPrintOwnComments:Km.willPrintOwnComments,canAttachComment:function canAttachComment(e){return e.type&&!FS(e)&&!xS(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:Cw,isBlockComment:FS,handleComments:{avoidAstMutation:!0,ownLine:Km.handleOwnLineComment,endOfLine:Km.handleEndOfLineComment,remaining:Km.handleRemainingComment},getCommentChildNodes:Km.getCommentChildNodes},_Rn$builders33=Rn.builders,Sw=_Rn$builders33.hardline,ww=_Rn$builders33.indent,Tw=_Rn$builders33.join,Bw=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function kw(e,t){var n=e.type;if("ObjectProperty"!==n||"Identifier"!==e.key.type){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;var _step66,_iterator66=_createForOfIteratorHelper(e.elements.entries());try{for(_iterator66.s();!(_step66=_iterator66.n()).done;){var _step66$value=_slicedToArray(_step66.value,2),_n88=_step66$value[0];null===_step66$value[1]&&t.elements.splice(_n88,0,{type:"NullLiteral"})}}catch(err){_iterator66.e(err)}finally{_iterator66.f()}}else t.key={type:"StringLiteral",value:e.key.name}}kw.ignoredProperties=Bw;var Nw={preprocess:dg,print:function print(e,t,n){var r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),Sw];case"ArrayExpression":if(0===r.elements.length)return"[]";var _t142=e.map((function(){return null===e.getValue()?"null":n()}),"elements");return["[",ww([Sw,Tw([",",Sw],_t142)]),Sw,"]"];case"ObjectExpression":return 0===r.properties.length?"{}":["{",ww([Sw,Tw([",",Sw],e.map(n,"properties"))]),Sw,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return["+"===r.operator?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":var _t143=e.getParentNode();return _t143&&"ObjectProperty"===_t143.type&&_t143.key===r?JSON.stringify(r.name):r.name;case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:kw},Pw="Common",Ow={bracketSpacing:{since:"0.0.0",category:Pw,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:Pw,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:Pw,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}},Iw="JavaScript",jw={arrowParens:{since:"1.9.0",category:Iw,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Ow.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Iw,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Iw,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Ow.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Iw,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Iw,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:Iw,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},Lw={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},_w={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Mw={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Rw={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},Vw={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},$w={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},qw={languages:[df(Lw,(function(e){return{since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[].concat(_toConsumableArray(e.extensions.filter((function(e){return".jsx"!==e}))),[".wxs"])}})),df(Lw,(function(){return{name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}})),df(Lw,(function(){return{name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}})),df(_w,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}})),df(Mw,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}})),df(Rw,(function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}})),df(Rw,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((function(e){return".jsonl"!==e}))}})),df(Vw,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[].concat(_toConsumableArray(e.filenames),[".eslintrc"])}})),df($w,(function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}}))],options:jw,printers:{estree:xw,"estree-json":Nw},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}},Ww=rn.isFrontMatterNode,Uw=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function zw(e,t,n){if(Ww(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0){if((n.nodes[0]===e||Ww(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&ke(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(function(e,t,n){var r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){var _n89=e.value.toLowerCase();["from","to"].includes(_n89)&&(t.value=_n89)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}zw.ignoredProperties=Uw;var Hw=zw,_Rn$builders34=Rn.builders,Gw=_Rn$builders34.hardline,Jw=_Rn$builders34.markAsRoot,Xw=function Xw(e,t){if("yaml"===e.lang){var _n90=e.value.trim(),_r103=_n90?t(_n90,{parser:"yaml"},{stripTrailingHardline:!0}):"";return Jw([e.startDelimiter,Gw,_r103,_r103?Gw:"",e.endDelimiter])}},Yw=Rn.builders.hardline,Kw=function Kw(e,t,n){var r=e.getValue();if("front-matter"===r.type){var _e171=Xw(r,n);return _e171?[_e171,Yw]:""}},Qw=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?[\\S\\s]*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)"),Zw=function Zw(e){var t=e.match(Qw);if(!t)return{content:e};var _t$groups2=t.groups,n=_t$groups2.startDelimiter,r=_t$groups2.language,_t$groups2$value=_t$groups2.value,o=void 0===_t$groups2$value?"":_t$groups2$value,i=_t$groups2.endDelimiter,u=r.trim()||"yaml";if("+++"===n&&(u="toml"),"yaml"!==u&&n!==i)return{content:e};var s=_slicedToArray(t,1)[0];return{frontMatter:{type:"front-matter",lang:u,value:o,startDelimiter:n,endDelimiter:i,raw:s.replace(/\n$/,"")},content:s.replace(/[^\n]/g," ")+e.slice(s.length)}},eT={hasPragma:function hasPragma(e){return Xh.hasPragma(Zw(e).content)},insertPragma:function insertPragma(e){var _Zw=Zw(e),t=_Zw.frontMatter,n=_Zw.content;return(t?t.raw+"\n\n":"")+Xh.insertPragma(n)}},tT=rn.isNonEmptyArray,nT=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function rT(e,t){for(var r,n=Array.isArray(t)?t:[t],o=-1;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1}function oT(e,t){var n=rT(e,t);return-1===n?null:e.getParentNode(n)}function iT(e){return"value-operator"===e.type&&"*"===e.value}function uT(e){return"value-operator"===e.type&&"/"===e.value}function sT(e){return"value-operator"===e.type&&"+"===e.value}function aT(e){return"value-operator"===e.type&&"-"===e.value}function cT(e){return"value-operator"===e.type&&"%"===e.value}function lT(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function pT(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&lT(e.groups[0])}function fT(e){return e&&"value-colon"===e.type}var dT={getAncestorCounter:rT,getAncestorNode:oT,getPropOfDeclNode:function getPropOfDeclNode(e){var t=oT(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function hasSCSSInterpolation(e){if(tT(e))for(var _t145=e.length-1;_t145>0;_t145--)if("word"===e[_t145].type&&"{"===e[_t145].value&&"word"===e[_t145-1].type&&e[_t145-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function hasStringOrFunction(e){if(tT(e))for(var _t146=0;_t146","<=",">="].includes(e.value)},isEqualityOperatorNode:function isEqualityOperatorNode(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:iT,isDivisionNode:uT,isAdditionNode:sT,isSubtractionNode:aT,isModuloNode:cT,isMathOperatorNode:function isMathOperatorNode(e){return iT(e)||uT(e)||sT(e)||aT(e)||cT(e)},isEachKeywordNode:function isEachKeywordNode(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function isForKeywordNode(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function isURLFunctionNode(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function isIfElseKeywordNode(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function hasComposesNode(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function hasParensAroundNode(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function hasEmptyRawBefore(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function isSCSSNestedPropertyNode(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function isDetachedRulesetCallNode(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function isTemplatePlaceholderNode(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function isTemplatePropNode(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function isPostcssSimpleVarNode(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:lT,isKeyValuePairInParenGroupNode:pT,isKeyInValuePairNode:function isKeyInValuePairNode(e,t){if(!lT(t))return!1;var n=t.groups,r=n.indexOf(e);return-1!==r&&fT(n[r+1])},isSCSSMapItemNode:function isSCSSMapItemNode(e){var t=e.getValue();if(0===t.groups.length)return!1;var n=e.getParentNode(1);if(!(pT(t)||n&&pT(n)))return!1;var r=oT(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!pT(n)||"value-func"===n.type},isInlineValueCommentNode:function isInlineValueCommentNode(e){return"value-comment"===e.type&&e.inline},isHashNode:function isHashNode(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function isLeftCurlyBraceNode(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function isRightCurlyBraceNode(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function isWordNode(e){return["value-word","value-atword"].includes(e.type)},isColonNode:fT,isMediaAndSupportsKeywords:function isMediaAndSupportsKeywords(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function isColorAdjusterFuncNode(e){return"value-func"===e.type&&nT.has(e.value.toLowerCase())},lastLineHasInlineComment:function lastLineHasInlineComment(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((function(n,r,o){return n+e(r)+("comma_group"===t.groups[0].type&&o!==t.groups.length-1?",":"")}),"")+(t.close&&t.close.value?t.close.value:"");var n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function isAtWordPlaceholderNode(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")}},hT=function hT(e,t){for(var n=0,_r104=0;_r1040?kT:""];case"css-comment":var _e172=r.inline||r.raws.inline,_n93=t.originalText.slice(PB(r),OB(r));return _e172?_n93.trimEnd():_n93;case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&kB(r.selector.value)?BT:" ","{",r.nodes.length>0?IT([kT,jB(e,t,n)]):"",kT,"}",eB(r)?";":""]:";"];case"css-decl":var _o47=e.getParentNode(),_u25=r.raws.between.trim(),_s30=":"===_u25,_a12=fB(r)?MT(n("value")):n("value");return!_s30&&kB(_u25)&&(_a12=IT([kT,jT(_a12)])),[r.raws.before.replace(/[\s;]/g,""),zT(e)?r.prop:WT(r.prop),_u25.startsWith("//")?" ":"",_u25,r.extend?"":" ",QT(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",_a12,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",IT([NT,jB(e,t,n)]),NT,"}"]:EB(r)&&!_o47.raws.semicolon&&";"!==t.originalText[OB(r)-1]?"":t.__isHTMLStyleAttribute&&KT(e,r)?LT(";"):";"];case"css-atrule":var _o48=e.getParentNode(),_i71=DB(r)&&!_o48.raws.semicolon&&";"!==t.originalText[OB(r)-1];if(QT(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",_i71?"":";"];if(r.function)return[r.name,n("params"),_i71?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",IT([r.nodes.length>0?NT:"",jB(e,t,n)]),NT,"}"]:"",_i71?"":";"]}return["@",yB(r)||r.name.endsWith(":")?r.name:WT(r.name),r.params?[yB(r)?"":DB(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[kT,kT]:/^\s*\n/.test(r.raws.afterName)?kT:" ":" ",n("params")]:"",r.selector?IT([" ",n("selector")]):"",r.value?PT([" ",n("value"),ZT(r)?dB(r)?" ":BT:""]):"else"===r.name?" ":"",r.nodes?[ZT(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&kB(r.selector.value)||!r.selector&&"string"==typeof r.params&&kB(r.params)?BT:" ","{",IT([r.nodes.length>0?NT:"",jB(e,t,n)]),NT,"}"]:_i71?"":";"];case"media-query-list":var _t148=[];return e.each((function(e){var r=e.getValue();"media-query"===r.type&&""===r.value||_t148.push(n())}),"nodes"),PT(IT(TT(BT,_t148)));case"media-query":return[TT(" ",e.map(n,"nodes")),KT(e,r)?"":","];case"media-type":case"media-value":return VB(MB(r.value,t));case"media-feature-expression":return r.nodes?["("].concat(_toConsumableArray(e.map(n,"nodes")),[")"]):r.value;case"media-feature":return WT(MB(r.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[r.value," "];case"media-keyword":case"selector-string":return MB(r.value,t);case"media-url":return MB(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return r.value;case"selector-root":return PT([HT(e,"custom-selector")?[$T(e,"css-atrule").customSelector,BT]:"",TT([",",HT(e,["extend","custom-selector","nest"])?BT:kT],e.map(n,"nodes"))]);case"selector-selector":return PT(IT(e.map(n,"nodes")));case"selector-tag":var _t149=e.getParentNode(),_n94=_t149&&_t149.nodes.indexOf(r),_o49=_n94&&_t149.nodes[_n94-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===_o49.type?r.value:VB(JT(e,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",VB(MB(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?RB(MB(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){var _t150=e.getParentNode();return["selector-selector"===_t150.type&&_t150.nodes[0]===r?"":BT,r.value,KT(e,r)?"":" "]}return[r.value.trim().startsWith("(")?BT:"",VB(MB(r.value.trim(),t))||BT];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[WT(r.value),wT(r.nodes)?["(",TT(", ",e.map(n,"nodes")),")"]:""];case"selector-unknown":var _n95=$T(e,"css-rule");if(_n95&&_n95.isSCSSNesterProperty)return VB(MB(WT(r.value),t));var _o50=e.getParentNode();if(_o50.raws&&_o50.raws.selector){var _e173=PB(_o50),_n96=_e173+_o50.raws.selector.length;return t.originalText.slice(_e173,_n96).trim()}var _i72=e.getParentNode(1);if("value-paren_group"===_o50.type&&_i72&&"value-func"===_i72.type&&"selector"===_i72.value){var _e174=PB(_o50.open)+1,_n97=OB(_o50.close)-1,_r107=t.originalText.slice(_e174,_n97).trim();return kB(_r107)?[_T,_r107]:_r107}return r.value;case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(PB(r),OB(r));case"value-comma_group":for(var _t151=e.getParentNode(),_o51=e.getParentNode(1),_i73=qT(e),_u26=_i73&&"value-value"===_t151.type&&("grid"===_i73||_i73.startsWith("grid-template")),_s31=$T(e,"css-atrule"),_a13=_s31&&ZT(_s31),_c16=r.groups.some((function(e){return vB(e)})),_l12=e.map(n,"groups"),_p11=[],_f8=UT(e,"url"),_d7=!1,_h7=!1,_n98=0;_n980&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",TT(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){for(var _t152=e.map(n,"groups"),_r108=[],_e175=0;_e175<_t152.length;_e175++)0!==_e175&&_r108.push([",",BT]),_r108.push(_t152[_e175]);return PT(IT(OT(_r108)))}var _i75=CB(e),_u27=ke(r.groups),_s32=_u27&&"value-comment"===_u27.type,_a14=gB(r,_o52),_c18=PT([r.open?n("open"):"",IT([NT,TT([",",BT],e.map((function(e){var t=e.getValue(),r=n();if(mB(t)&&"value-comma_group"===t.type&&t.groups&&"value-paren_group"!==t.groups[0].type&&t.groups[2]&&"value-paren_group"===t.groups[2].type){var _e176=RT(r.contents.contents);return _e176[1]=PT(_e176[1]),PT(jT(r))}return r}),"groups"))]),LT(!_s32&&YT(t.parser,t.originalText)&&_i75&&IB(t)?",":""),NT,r.close?n("close"):""],{shouldBreak:_i75&&!_a14});return _a14?jT(_c18):_c18;case"value-func":return[r.value,HT(e,"supports")&&TB(r)?" ":"",n("group")];case"value-number":return[$B(r.value),WT(r.unit)];case"value-word":return r.isColor&&r.isHex||XT(r.value)?r.value.toLowerCase():r.value;case"value-colon":var _t153=e.getParentNode(),_n99=_t153&&_t153.groups.indexOf(r),_o53=_n99&&_t153.groups[_n99-1];return[r.value,_o53&&"string"==typeof _o53.value&&"\\"===ke(_o53.value)||UT(e,"url")?"":BT];case"value-string":return AT(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",r.value];default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:Kw,insertPragma:VT,massageAstNode:Hw},WB={singleQuote:Ow.singleQuote},UB={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},zB={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},HB={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},GB={languages:[df({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},(function(e){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[].concat(_toConsumableArray(e.extensions),[".wxss"])}})),df(UB,(function(){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}})),df(zB,(function(){return{since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}})),df(HB,(function(){return{since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}}))],options:WB,printers:{postcss:qB},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},JB={locStart:function locStart(e){return e.loc.start.offset},locEnd:function locEnd(e){return e.loc.end.offset}};function XB(e,t){if("TextNode"===e.type){var _n100=e.chars.trim();if(!_n100)return null;t.chars=_n100.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}XB.ignoredProperties=new Set(["loc","selfClosing"]);var YB=XB,KB=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function QB(e){return ZB(e,["TextNode"])&&!/\S/.test(e.chars)}function ZB(e,t){return e&&t.includes(e.type)}function ek(e,t){return ZB(e.getParentNode(0),t)}function tk(e,t){var n=e.getValue(),r=e.getParentNode(0)||{},o=r.children||r.body||r.parts||[],i=o.indexOf(n);return-1!==i&&o[i+t]}function nk(e){return tk(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function rk(e){return tk(e,1)}function ok(e){return ZB(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var ik={getNextNode:rk,getPreviousNode:nk,hasPrettierIgnore:function hasPrettierIgnore(e){var t=e.getValue(),n=nk(e,2);return ok(t)||ok(n)},isLastNodeOfSiblings:function isLastNodeOfSiblings(e){var t=e.getValue(),n=e.getParentNode(0);return!(!ek(e,["ElementNode"])||ke(n.children)!==t)||!(!ek(e,["Block"])||ke(n.body)!==t)},isNextNodeOfSomeType:function isNextNodeOfSomeType(e,t){return ZB(rk(e),t)},isNodeOfSomeType:ZB,isParentOfSomeType:ek,isPreviousNodeOfSomeType:function isPreviousNodeOfSomeType(e,t){return ZB(nk(e),t)},isVoid:function isVoid(e){return function(e){return ZB(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((function(e){return QB(e)}))||KB.has(e.tag)},isWhitespaceNode:QB},_Rn$builders36=Rn.builders,uk=_Rn$builders36.dedent,sk=_Rn$builders36.fill,ak=_Rn$builders36.group,ck=_Rn$builders36.hardline,lk=_Rn$builders36.ifBreak,pk=_Rn$builders36.indent,fk=_Rn$builders36.join,dk=_Rn$builders36.line,hk=_Rn$builders36.softline,mk=_Rn$builders36.literalline,gk=Rn.utils.getDocParts,yk=rn.isNonEmptyArray,Dk=rn.replaceEndOfLineWith,Ek=JB.locStart,bk=JB.locEnd,Ck=ik.getNextNode,vk=ik.getPreviousNode,Ak=ik.hasPrettierIgnore,Fk=ik.isLastNodeOfSiblings,xk=ik.isNextNodeOfSomeType,Sk=ik.isNodeOfSomeType,wk=ik.isParentOfSomeType,Tk=ik.isPreviousNodeOfSomeType,Bk=ik.isVoid,kk=ik.isWhitespaceNode;function Nk(e,t,n){var r=e.getValue().children.every((function(e){return kk(e)}));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((function(e,r){var o=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[hk,o]:o}),"children")}function Pk(e){return Bk(e)?lk([hk,"/>"],[" />",hk]):lk([hk,">"],">")}function Ok(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function Ik(e){var t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function jk(e){return[Ok(e),e.closeStrip.open?"~":"","/"]}function Lk(e){var t=Ik(e);return[e.closeStrip.close?"~":"",t]}function _k(e){return[Ok(e),e.inverseStrip.open?"~":""]}function Mk(e){var t=Ik(e);return[e.inverseStrip.close?"~":"",t]}function Rk(e,t){var n=e.getValue(),r=function(e){return[Ok(e),e.openStrip.open?"~":"","#"]}(n),o=function(e){var t=Ik(e);return[e.openStrip.close?"~":"",t]}(n),i=[Zk(e,t)],u=eN(e,t);if(u&&i.push(dk,u),yk(n.program.blockParams)){var _e177=tN(n.program);i.push(dk,_e177)}return ak([r,pk(i),hk,o])}function Vk(e,t){return["ignore"===t.htmlWhitespaceSensitivity?ck:"",_k(e),"else",Mk(e)]}function $k(e,t){var n=e.getParentNode(1);return[_k(n),"else if ",eN(e,t),Mk(n)]}function qk(e,t,n){var r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[Wk(r)?hk:ck,jk(r),t("path"),Lk(r)]:[jk(r),t("path"),Lk(r)]}function Wk(e){return Sk(e,["BlockStatement"])&&e.program.body.every((function(e){return kk(e)}))}function Uk(e){return Sk(e,["BlockStatement"])&&e.inverse}function zk(e,t,n){if(Wk(e.getValue()))return"";var r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?pk([ck,r]):pk(r)}function Hk(e,t,n){var r=e.getValue(),o=t("inverse"),i="ignore"===n.htmlWhitespaceSensitivity?[ck,o]:o;return function(e){return Uk(e)&&1===e.inverse.body.length&&Sk(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(r)?i:Uk(r)?[Vk(r,n),pk(i)]:""}function Gk(e){return gk(fk(dk,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function Jk(e){return(e="string"==typeof e?e:"").split("\n").length-1}function Xk(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Array(Math.min(e,2)).fill(ck)}function Yk(e,t){var n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},o=e.singleQuote?r:n,i=o===r?n:r,u=!1;return(t.includes(o.quote)||t.includes(i.quote))&&(u=(t.match(o.regex)||[]).length>(t.match(i.regex)||[]).length),u?i:o}function Kk(e,t){var n=Zk(e,t),r=eN(e,t);return r?pk([n,dk,ak(r)]):n}function Qk(e,t){var n=Zk(e,t),r=eN(e,t);return r?[pk([n,dk,r]),hk]:n}function Zk(e,t){return t("path")}function eN(e,t){var n=e.getValue(),r=[];if(n.params.length>0){var _n101=e.map(t,"params");r.push.apply(r,_toConsumableArray(_n101))}if(n.hash&&n.hash.pairs.length>0){var _e178=t("hash");r.push(_e178)}return 0===r.length?"":fk(dk,r)}function tN(e){return["as |",e.blockParams.join(" "),"|"]}var nN={print:function print(e,t,n){var r=e.getValue();if(!r)return"";if(Ak(e))return t.originalText.slice(Ek(r),bk(r));switch(r.type){case"Block":case"Program":case"Template":return ak(e.map(n,"body"));case"ElementNode":var _o54=ak(function(e,t){var n=e.getValue(),r=["attributes","modifiers","comments","blockParams"].filter((function(e){return yk(n[e])})).map((function(r){return[dk,"blockParams"===r?tN(n):fk(dk,e.map(t,r))]}));return["<",n.tag,pk(r),Pk(n)]}(e,n)),_i76="ignore"===t.htmlWhitespaceSensitivity&&xk(e,["ElementNode"])?hk:"";if(Bk(r))return[_o54,_i76];var _u28=[""];return 0===r.children.length?[_o54,pk(_u28),_i76]:"ignore"===t.htmlWhitespaceSensitivity?[_o54,pk(Nk(e,t,n)),ck,pk(_u28),_i76]:[_o54,pk(ak(Nk(e,t,n))),pk(_u28),_i76];case"BlockStatement":var _o55=e.getParentNode(1);return _o55&&_o55.inverse&&1===_o55.inverse.body.length&&_o55.inverse.body[0]===r&&"if"===_o55.inverse.body[0].path.parts[0]?[$k(e,n),zk(e,n,t),Hk(e,n,t)]:[Rk(e,n),ak([zk(e,n,t),Hk(e,n,t),qk(e,n,t)])];case"ElementModifierStatement":return ak(["{{",Qk(e,n),"}}"]);case"MustacheStatement":return ak([Ok(r),Qk(e,n),Ik(r)]);case"SubExpression":return ak(["(",Kk(e,n),hk,")"]);case"AttrNode":var _e179="TextNode"===r.value.type;if(_e179&&""===r.value.chars&&Ek(r.value)===bk(r.value))return r.name;var _o56=_e179?Yk(t,r.value.chars).quote:"ConcatStatement"===r.value.type?Yk(t,r.value.parts.filter((function(e){return"TextNode"===e.type})).map((function(e){return e.chars})).join("")).quote:"",_i77=n("value");return[r.name,"=",_o56,"class"===r.name&&_o56?ak(pk(_i77)):_i77,_o56];case"ConcatStatement":return e.map(n,"parts");case"Hash":return fk(dk,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":var _n102=r.chars.replace(/{{/g,"\\{{"),_o57=function(e){for(var _t154=0;_t154<2;_t154++){var _n103=e.getParentNode(_t154);if(_n103&&"AttrNode"===_n103.type)return _n103.name.toLowerCase()}}(e);if(_o57){if("class"===_o57){var _t155=_n102.trim().split(/\s+/).join(" "),_r109=!1,_o58=!1;return wk(e,["ConcatStatement"])&&(Tk(e,["MustacheStatement"])&&/^\s/.test(_n102)&&(_r109=!0),xk(e,["MustacheStatement"])&&/\s$/.test(_n102)&&""!==_t155&&(_o58=!0)),[_r109?dk:"",_t155,_o58?dk:""]}return Dk(_n102,mk)}var _i78=/^[\t\n\f\r ]*$/.test(_n102),_u29=!vk(e),_s33=!Ck(e);if("ignore"!==t.htmlWhitespaceSensitivity){var _t156=/^[\t\n\f\r ]*/,_r110=/[\t\n\f\r ]*$/,_o59=_s33&&wk(e,["Template"]),_a16=_u29&&wk(e,["Template"]);if(_i78){if(_a16||_o59)return"";var _t157=[dk],_r111=Jk(_n102);return _r111&&(_t157=Xk(_r111)),Fk(e)&&(_t157=_t157.map((function(e){return uk(e)}))),_t157}var _c20=_slicedToArray(_n102.match(_t156),1)[0],_l14=_slicedToArray(_n102.match(_r110),1)[0],_p13=[];if(_c20){_p13=[dk];var _e180=Jk(_c20);_e180&&(_p13=Xk(_e180)),_n102=_n102.replace(_t156,"")}var _f10=[];if(_l14){if(!_o59){_f10=[dk];var _t158=Jk(_l14);_t158&&(_f10=Xk(_t158)),Fk(e)&&(_f10=_f10.map((function(e){return uk(e)})))}_n102=_n102.replace(_r110,"")}return[].concat(_toConsumableArray(_p13),[sk(Gk(_n102))],_toConsumableArray(_f10))}var _a15=Jk(_n102),_c19=function(e){return Jk(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(_n102),_l13=function(e){return Jk(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(_n102);if((_u29||_s33)&&_i78&&wk(e,["Block","ElementNode","Template"]))return"";_i78&&_a15?(_c19=Math.min(_a15,2),_l13=0):(xk(e,["BlockStatement","ElementNode"])&&(_l13=Math.max(_l13,1)),Tk(e,["BlockStatement","ElementNode"])&&(_c19=Math.max(_c19,1)));var _p12="",_f9="";return 0===_l13&&xk(e,["MustacheStatement"])&&(_f9=" "),0===_c19&&Tk(e,["MustacheStatement"])&&(_p12=" "),_u29&&(_c19=0,_p12=""),_s33&&(_l13=0,_f9=""),_n102=_n102.replace(/^[\t\n\f\r ]+/g,_p12).replace(/[\t\n\f\r ]+$/,_f9),[].concat(_toConsumableArray(Xk(_c19)),[sk(Gk(_n102))],_toConsumableArray(Xk(_l13)));case"MustacheCommentStatement":var _e181=Ek(r),_n104=bk(r),_o60="~"===t.originalText.charAt(_e181+2),_i79="~"===t.originalText.charAt(_n104-3),_u30=r.value.includes("}}")?"--":"";return["{{",_o60?"~":"","!",_u30,r.value,_u30,_i79?"~":"","}}"];case"PathExpression":return r.original;case"BooleanLiteral":case"NumberLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":return function(e,t){var _Yk=Yk(t,e),n=_Yk.quote,r=_Yk.regex;return[n,e.replace(r,"\\".concat(n)),n]}(r.value,t);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:YB},rN={languages:[df({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},(function(){return{since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}}))],printers:{glimmer:nN},parsers:{get glimmer(){return{}.parsers.glimmer}}},oN={hasPragma:function hasPragma(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function insertPragma(e){return"# @format\n\n"+e}},iN={locStart:function locStart(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function locEnd(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}},_Rn$builders37=Rn.builders,uN=_Rn$builders37.join,sN=_Rn$builders37.hardline,aN=_Rn$builders37.line,cN=_Rn$builders37.softline,lN=_Rn$builders37.group,pN=_Rn$builders37.indent,fN=_Rn$builders37.ifBreak,dN=rn.isNextLineEmpty,hN=rn.isNonEmptyArray,mN=oN.insertPragma,gN=iN.locStart,yN=iN.locEnd;function DN(e,t,n){if(0===n.directives.length)return"";var r=uN(aN,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?lN([aN,r]):[" ",lN(pN([cN,r]))]}function EN(e,t,n){var r=e.getValue().length;return e.map((function(e,o){var i=n();return dN(t.originalText,e.getValue(),yN)&&o0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call((function(e){return EN(e,t,n)}),"arguments"))]),cN,")"]):"",DN(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"StringValue":return r.block?['"""',sN,uN(sN,r.value.replace(/"""/g,"\\$&").split("\n")),sN,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return lN(["[",pN([cN,uN([fN("",", "),cN],e.map(n,"values"))]),cN,"]"]);case"ObjectValue":return lN(["{",t.bracketSpacing&&r.fields.length>0?" ":"",pN([cN,uN([fN("",", "),cN],e.map(n,"fields"))]),cN,fN("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call((function(e){return EN(e,t,n)}),"arguments"))]),cN,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",DN(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?sN:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements "].concat(_toConsumableArray(bN(e,t,n))):"",DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"fields"))]),sN,"}"]:""];case"FieldDefinition":return[n("description"),r.description?sN:"",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call((function(e){return EN(e,t,n)}),"arguments"))]),cN,")"]):"",": ",n("type"),DN(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?sN:"","directive ","@",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call((function(e){return EN(e,t,n)}),"arguments"))]),cN,")"]):"",r.repeatable?" repeatable":""," on ",uN(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?sN:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),DN(e,n,r),r.values.length>0?[" {",pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"values"))]),sN,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?sN:"",n("name"),DN(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?sN:aN:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",DN(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?sN:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"fields"))]),sN,"}"]:""];case"SchemaDefinition":return["schema",DN(e,n,r)," {",r.operationTypes.length>0?pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"operationTypes"))]):"",sN,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?sN:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements "].concat(_toConsumableArray(bN(e,t,n))):"",DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"fields"))]),sN,"}"]:""];case"FragmentSpread":return["...",n("name"),DN(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",DN(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return lN([n("description"),r.description?sN:"",lN(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),DN(e,n,r),r.types.length>0?[" =",fN(""," "),pN([fN([aN," "]),uN([aN,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?sN:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),DN(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:CN,hasPrettierIgnore:function hasPrettierIgnore(e){var t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some((function(e){return"prettier-ignore"===e.value.trim()}))},insertPragma:mN,printComment:function printComment(e){var t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function canAttachComment(e){return e.kind&&"Comment"!==e.kind}},AN={bracketSpacing:Ow.bracketSpacing},FN={languages:[df({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},(function(){return{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}}))],options:AN,printers:{graphql:vN},parsers:{get graphql(){return{}.parsers.graphql}}},xN={locStart:function locStart(e){return e.position.start.offset},locEnd:function locEnd(e){return e.position.end.offset}},SN=rn.getLast,wN=xN.locStart,TN=xN.locEnd,_cjkPattern$kPattern$={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},BN=_cjkPattern$kPattern$.cjkPattern,kN=_cjkPattern$kPattern$.kPattern,NN=_cjkPattern$kPattern$.punctuationPattern,PN=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],ON=[].concat(PN,["tableCell","paragraph","heading"]),IN=new RegExp(kN),jN=new RegExp(NN);function LN(e,t){var _t$slice$match2=_slicedToArray(t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),4);return{numberText:_t$slice$match2[1],marker:_t$slice$match2[2],leadingSpaces:_t$slice$match2[3]}}var _N={mapAst:function mapAst(e,t){return function e(n,r,o){var i=Object.assign({},t(n,r,o));return i.children&&(i.children=i.children.map((function(t,n){return e(t,n,[i].concat(_toConsumableArray(o)))}))),i}(e,null,[])},splitText:function splitText(e,t){var _step67,n="non-cjk",r="cj-letter",o="cjk-punctuation",i=[],u=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(BN,")\n(").concat(BN,")"),"g"),"$1$2")).split(/([\t\n ]+)/),_iterator67=_createForOfIteratorHelper(u.entries());try{for(_iterator67.s();!(_step67=_iterator67.n()).done;){var _step67$value=_slicedToArray(_step67.value,2),_e184=_step67$value[0],_t159=_step67$value[1];if(_e184%2!=1){if(0!==_e184&&_e184!==u.length-1||""!==_t159){var _step68,_a17=_t159.split(new RegExp("(".concat(BN,")"))),_iterator68=_createForOfIteratorHelper(_a17.entries());try{for(_iterator68.s();!(_step68=_iterator68.n()).done;){var _step68$value=_slicedToArray(_step68.value,2),_e185=_step68$value[0],_t160=_step68$value[1];(0!==_e185&&_e185!==_a17.length-1||""!==_t160)&&(_e185%2!=0?s(jN.test(_t160)?{type:"word",value:_t160,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:_t160,kind:IN.test(_t160)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==_t160&&s({type:"word",value:_t160,kind:n,hasLeadingPunctuation:jN.test(_t160[0]),hasTrailingPunctuation:jN.test(SN(_t160))}))}}catch(err){_iterator68.e(err)}finally{_iterator68.f()}}}else i.push({type:"whitespace",value:/\n/.test(_t159)?"\n":" "})}}catch(err){_iterator67.e(err)}finally{_iterator67.f()}return i;function s(e){var u,s,t=SN(i);t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(u=n,s=o,t.kind===u&&e.kind===s||t.kind===s&&e.kind===u||[t.value,e.value].some((function(e){return/\u3000/.test(e)}))||i.push({type:"whitespace",value:""}))),i.push(e)}},punctuationPattern:NN,getFencedCodeBlockValue:function getFencedCodeBlockValue(e,t){var n=e.value;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:LN,hasGitDiffFriendlyOrderedList:function hasGitDiffFriendlyOrderedList(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;var n=Number(LN(e.children[0],t.originalText).numberText),r=Number(LN(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){var _n106=Number(LN(e.children[2],t.originalText).numberText);return 1===r&&1===_n106}return 1===r},INLINE_NODE_TYPES:PN,INLINE_NODE_WRAPPER_TYPES:ON,isAutolink:function isAutolink(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;var t=e.children[0];return t&&wN(e)===wN(t)&&TN(e)===TN(t)}},MN=rn.inferParserByLanguage,RN=rn.getMaxContinuousCount,_Rn$builders38=Rn.builders,VN=_Rn$builders38.hardline,$N=_Rn$builders38.markAsRoot,qN=Rn.utils.replaceNewlinesWithLiterallines,WN=_N.getFencedCodeBlockValue,UN=function UN(e,t,n,r){var o=e.getValue();if("code"===o.type&&null!==o.lang){var _e186=MN(o.lang,r);if(_e186){var _t161=r.__inJsTemplate?"~":"`",_i82=_t161.repeat(Math.max(3,RN(o.value,_t161)+1)),_u32=n(WN(o,r.originalText),{parser:_e186},{stripTrailingHardline:!0});return $N([_i82,o.lang,o.meta?" "+o.meta:"",VN,qN(_u32),VN,_i82])}}switch(o.type){case"front-matter":return Xw(o,n);case"importExport":return[n(o.value,{parser:"babel"},{stripTrailingHardline:!0}),VN];case"jsx":return n("<$>".concat(o.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},zN=["format","prettier"];function HN(e){var t="@(".concat(zN.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var GN={startWithPragma:HN,hasPragma:function hasPragma(e){return HN(Zw(e).content.trimStart())},insertPragma:function insertPragma(e){var t=Zw(e),n="\x3c!-- @".concat(zN[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}},JN=_N.getOrderedListItemInfo,XN=_N.mapAst,YN=_N.splitText,KN=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function QN(e,t,n){return XN(e,(function(e){if(!e.children)return e;var r=e.children.reduce((function(e,r){var o=ke(e);return o&&t(o,r)?e.splice(-1,1,n(o,r)):e.push(r),e}),[]);return Object.assign({},e,{children:r})}))}var ZN=function ZN(e,t){return function(e){return QN(e,(function(e,t){return"importExport"===e.type&&"importExport"===t.type}),(function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e){return XN(e,(function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"})}))}(e=function(e,t){return XN(e,(function(e,n,_ref106){var r=_slicedToArray(_ref106,1)[0];if("text"!==e.type)return e;var o=e.value;return"paragraph"===r.type&&(0===n&&(o=o.trimStart()),n===r.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:YN(o,t)}}))}(e=function(e,t){return XN(e,(function(e,t,n){if("list"===e.type&&e.children.length>0){for(var _t162=0;_t1621)return!0;var i=n(r);return-1!==i&&(1===e.children.length?i%t.tabWidth==0:i===n(o)&&(i%t.tabWidth==0||JN(o,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return XN(e,(function(e,n,r){if("code"===e.type){var _n107=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=_n107,_n107)for(var _e187=0;_e1870&&(n.children[0]===e||eP(n.children[0])&&n.children[1]===e)&&"html"===e.type&&tP(e.value)?null:void 0)}rP.ignoredProperties=nP;var oP=rP,iP=rn.getLast,uP=rn.getMinNotPresentContinuousCount,sP=rn.getMaxContinuousCount,aP=rn.getStringWidth,cP=rn.isNonEmptyArray,_Rn$builders39=Rn.builders,lP=_Rn$builders39.breakParent,pP=_Rn$builders39.join,fP=_Rn$builders39.line,dP=_Rn$builders39.literalline,hP=_Rn$builders39.markAsRoot,mP=_Rn$builders39.hardline,gP=_Rn$builders39.softline,yP=_Rn$builders39.ifBreak,DP=_Rn$builders39.fill,EP=_Rn$builders39.align,bP=_Rn$builders39.indent,CP=_Rn$builders39.group,vP=_Rn$builders39.hardlineWithoutBreakParent,AP=Rn.utils.normalizeDoc,FP=Rn.printer.printDocToString,xP=rn.replaceEndOfLineWith,SP=GN.insertPragma,wP=xN.locStart,TP=xN.locEnd,BP=_N.getFencedCodeBlockValue,kP=_N.hasGitDiffFriendlyOrderedList,NP=_N.splitText,PP=_N.punctuationPattern,OP=_N.INLINE_NODE_TYPES,IP=_N.INLINE_NODE_WRAPPER_TYPES,jP=_N.isAutolink,LP=new Set(["importExport"]),_P=["heading","tableCell","link","wikiLink"],MP=new Set(["listItem","definition","footnoteDefinition"]);function RP(e,t,n,r){var o=e.getValue(),i=null===o.checked?"":o.checked?"[x] ":"[ ] ";return[i,zP(e,t,n,{processor:function processor(e,o){if(0===o&&"list"!==e.getValue().type)return EP(" ".repeat(i.length),n());var s,a,c,u=" ".repeat((c=3,(s=t.tabWidth-r.length)<(a=0)?a:s>c?c:s));return[u,EP(u,n())]}})]}function VP(e,t){return function(e,t,n){var _step69,r=-1,_iterator69=_createForOfIteratorHelper(t.children);try{for(_iterator69.s();!(_step69=_iterator69.n()).done;){var _o62=_step69.value;if(_o62.type===e.type&&n(_o62)?r++:r=-1,_o62===e)return r}}catch(err){_iterator69.e(err)}finally{_iterator69.f()}}(e,t,(function(t){return t.ordered===e.ordered}))}function $P(e,t){for(var r,n=Array.isArray(t)?t:[t],o=-1;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1}function qP(e,t){var n=$P(e,t);return-1===n?null:e.getParentNode(n)}function WP(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return mP;var r="always"===n.proseWrap&&!qP(e,_P);return""!==t?r?fP:" ":r?gP:""}function UP(e,t,n){var _step70,r=[],o=null,i=e.getValue().children,_iterator70=_createForOfIteratorHelper(i.entries());try{for(_iterator70.s();!(_step70=_iterator70.n()).done;){var _step70$value=_slicedToArray(_step70.value,2),_e189=_step70$value[0],_t164=_step70$value[1];switch(GP(_t164)){case"start":null===o&&(o={index:_e189,offset:_t164.position.end.offset});break;case"end":null!==o&&(r.push({start:o,end:{index:_e189,offset:_t164.position.start.offset}}),o=null)}}}catch(err){_iterator70.e(err)}finally{_iterator70.f()}return zP(e,t,n,{processor:function processor(e,o){if(r.length>0){var _e188=r[0];if(o===_e188.start.index)return[i[_e188.start.index].value,t.originalText.slice(_e188.start.offset,_e188.end.offset),i[_e188.end.index].value];if(_e188.start.index3&&void 0!==arguments[3]?arguments[3]:{},o=r.postprocessor,i=r.processor||function(){return n()},u=e.getValue(),s=[];return e.each((function(e,n){var r=e.getValue(),o=i(e,n);if(!1!==o){var _e190={parts:s,prevNode:a,parentNode:u,options:t};(function(e,t){var n=0===t.parts.length,r=OP.includes(e.type),o="html"===e.type&&IP.includes(t.parentNode.type);return!n&&!r&&!o})(r,_e190)&&(s.push(mP),a&&LP.has(a.type)||(function(e,t){var n=(t.prevNode&&t.prevNode.type)===e.type&&MP.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,o=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,i="next"===GP(t.prevNode),u="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(n||r||i||u||s)}(r,_e190)||JP(r,_e190))&&s.push(mP),JP(r,_e190)&&s.push(mP)),s.push(o),a=r}}),"children"),o?o(s):s}function HP(e){for(var t=e;cP(t.children);)t=iP(t.children);return t}function GP(e){if("html"!==e.type)return!1;var t=e.value.match(/^$/);return null!==t&&(t[1]?t[1]:"next")}function JP(e,t){var n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function XP(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[" "].concat(_toConsumableArray(Array.isArray(t)?t:[t]));return new RegExp(n.map((function(e){return"\\".concat(e)})).join("|")).test(e)?"<".concat(e,">"):e}function YP(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+YP(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var r=e.split("'").length-1,o=e.split('"').length-1,i=r>o?'"':o>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i)}var KP={preprocess:ZN,print:function print(e,t,n){var r=e.getValue();if(function(e){var t=qP(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return NP(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map((function(n){return"word"===n.type?n.value:""===n.value?"":WP(e,n.value,t)}));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":[AP(UP(e,t,n)),LP.has(HP(r).type)?"":mP];case"paragraph":return zP(e,t,n,{postprocessor:DP});case"sentence":return zP(e,t,n);case"word":var _t165=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(PP,")(_+)"),"(_+)(".concat(PP,"|$)")].join("|"),"g"),(function(e,t,n,r,o){return(n?"".concat(t).concat(n):"".concat(r).concat(o)).replace(/_/g,"\\_")})),_n108=function _n108(e,t,n){return"sentence"===e.type&&0===n},_o63=function _o63(e,t,n){return jP(e.children[n-1])};return _t165!==r.value&&(e.match(void 0,_n108,_o63)||e.match(void 0,_n108,(function(e,t,n){return"emphasis"===e.type&&0===n}),_o63))&&(_t165=_t165.replace(/^(\\?[*_])+/,(function(e){return e.replace(/\\/g,"")}))),_t165;case"whitespace":var _n109=e.getParentNode(),_o64=_n109.children.indexOf(r),_i83=_n109.children[_o64+1],_u33=_i83&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(_i83.value)?"never":t.proseWrap;return WP(e,r.value,{proseWrap:_u33});case"emphasis":var _o65;if(jP(r.children[0]))_o65=t.originalText[r.position.start.offset];else{var _t166=e.getParentNode(),_n110=_t166.children.indexOf(r),_i84=_t166.children[_n110-1],_u34=_t166.children[_n110+1];_o65=_i84&&"sentence"===_i84.type&&_i84.children.length>0&&"word"===iP(_i84.children).type&&!iP(_i84.children).hasTrailingPunctuation||_u34&&"sentence"===_u34.type&&_u34.children.length>0&&"word"===_u34.children[0].type&&!_u34.children[0].hasLeadingPunctuation||qP(e,"emphasis")?"*":"_"}return[_o65,zP(e,t,n),_o65];case"strong":return["**",zP(e,t,n),"**"];case"delete":return["~~",zP(e,t,n),"~~"];case"inlineCode":var _e191=uP(r.value,"`"),_t167="`".repeat(_e191||1),_n111=_e191&&!/^\s/.test(r.value)?" ":"";return[_t167,_n111,r.value,_n111,_t167];case"wikiLink":return["[[","preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),"]]"];case"link":switch(t.originalText[r.position.start.offset]){case"<":var _e193="mailto:";return["<",r.url.startsWith(_e193)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+_e193.length)!==_e193?r.url.slice(_e193.length):r.url,">"];case"[":return["[",zP(e,t,n),"](",XP(r.url,")"),YP(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return["![",r.alt||"","](",XP(r.url,")"),YP(r.title,t),")"];case"blockquote":return["> ",EP("> ",zP(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",zP(e,t,n)];case"code":if(r.isIndented){var _e195=" ".repeat(4);return EP(_e195,[_e195].concat(_toConsumableArray(xP(r.value,mP))))}var _e194=t.__inJsTemplate?"~":"`",_n112=_e194.repeat(Math.max(3,sP(r.value,_e194)+1));return[_n112,r.lang||"",r.meta?" "+r.meta:"",mP].concat(_toConsumableArray(xP(BP(r,t.originalText),mP)),[mP,_n112]);case"html":var _t168=e.getParentNode(),_n113="root"===_t168.type&&iP(_t168.children)===r?r.value.trimEnd():r.value,_o66=/^$/.test(_n113);return xP(_n113,_o66?mP:hP(dP));case"list":var _o67=VP(r,e.getParentNode()),_i85=kP(r,t);return zP(e,t,n,{processor:function processor(e,u){var s=function(){var e=r.ordered?(0===u?r.start:_i85?1:r.start+u)+(_o67%2==0?". ":") "):_o67%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){var n=r();return e+" ".repeat(n>=4?0:n);function r(){var n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),a=e.getValue();return 2===a.children.length&&"html"===a.children[1].type&&a.children[0].position.start.column!==a.children[1].position.start.column?[s,RP(e,t,n,s)]:[s,EP(" ".repeat(s.length),RP(e,t,n,s))]}});case"thematicBreak":var _t169=$P(e,"list");return-1===_t169?"---":VP(e.getParentNode(_t169),e.getParentNode(_t169+1))%2==0?"***":"---";case"linkReference":return["[",zP(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":return"full"===r.referenceType?["![",r.alt||"","][",r.identifier,"]"]:["![",r.alt,"]","collapsed"===r.referenceType?"[]":""];case"definition":var _e196="always"===t.proseWrap?fP:" ";return CP(["[",r.identifier,"]:",bP([_e196,XP(r.url),null===r.title?"":[_e196,YP(r.title,t,!1)]])]);case"footnote":return["[^",zP(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":var _o68=e.getParentNode().children[e.getName()+1],_i86=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return["[^",r.identifier,"]: ",_i86?zP(e,t,n):CP([EP(" ".repeat(4),zP(e,t,n,{processor:function processor(e,t){return 0===t?CP([gP,n()]):n()}})),_o68&&"footnoteDefinition"===_o68.type?gP:""])];case"table":return function(e,t,n){var r=e.getValue(),o=[],i=e.map((function(e){return e.map((function(e,r){var i=FP(n(),t).formatted,u=aP(i);return o[r]=Math.max(o[r]||3,u),{text:i,width:u}}),"children")}),"children"),u=a(!1);if("never"!==t.proseWrap)return[lP,u];var s=a(!0);return[lP,CP(yP(s,u))];function a(e){var t=[l(i[0],e),c(e)];return i.length>1&&t.push(pP(vP,i.slice(1).map((function(t){return l(t,e)})))),pP(vP,t)}function c(e){var t=o.map((function(t,n){var o=r.align[n],i="center"===o||"left"===o?":":"-",u="center"===o||"right"===o?":":"-",s=e?"-":"-".repeat(t-2);return"".concat(i).concat(s).concat(u)}));return"| ".concat(t.join(" | ")," |")}function l(e,t){var n=e.map((function(_ref108,i){var e=_ref108.text,n=_ref108.width;if(t)return e;var u=o[i]-n,s=r.align[i],a=0;"right"===s?a=u:"center"===s&&(a=Math.floor(u/2));var c=u-a;return"".concat(" ".repeat(a)).concat(e).concat(" ".repeat(c))}));return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return zP(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",hP(dP)]:["\\",mP];case"liquidNode":return xP(r.value,mP);case"importExport":return[r.value,mP];case"jsx":return r.value;case"math":return["$$",mP,r.value?[].concat(_toConsumableArray(xP(r.value,mP)),[mP]):"","$$"];case"inlineMath":return t.originalText.slice(wP(r),TP(r));default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:UN,massageAstNode:oP,hasPrettierIgnore:function hasPrettierIgnore(e){var t=Number(e.getName());return 0!==t&&"next"===GP(e.getParentNode().children[t-1])},insertPragma:SP},QP={proseWrap:Ow.proseWrap,singleQuote:Ow.singleQuote},ZP={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},eO={languages:[df(ZP,(function(e){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[].concat(_toConsumableArray(e.filenames),["README"]),extensions:e.extensions.filter((function(e){return".mdx"!==e}))}})),df(ZP,(function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}}))],options:QP,printers:{mdast:KP},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}},tO=rn.isFrontMatterNode,nO=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function rO(e,t){return"text"===e.type||"comment"===e.type||tO(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}rO.ignoredProperties=nO;var oO=rO,iO={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},uO=rn.inferParserByLanguage,sO=rn.isFrontMatterNode,_CSS_DISPLAY_TAGS$CSS2={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},aO=_CSS_DISPLAY_TAGS$CSS2.CSS_DISPLAY_TAGS,cO=_CSS_DISPLAY_TAGS$CSS2.CSS_DISPLAY_DEFAULT,lO=_CSS_DISPLAY_TAGS$CSS2.CSS_WHITE_SPACE_TAGS,pO=_CSS_DISPLAY_TAGS$CSS2.CSS_WHITE_SPACE_DEFAULT,fO=yO(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),dO=function(e,t){for(var n=Object.create(null),_i87=0,_Object$entries10=Object.entries(e);_i87<_Object$entries10.length;_i87++){var _Object$entries10$_i=_slicedToArray(_Object$entries10[_i87],2),_r115=_Object$entries10$_i[0],_o69=_Object$entries10$_i[1];n[_r115]=t(_o69,_r115)}return n}(iO,yO),hO=new Set(["\t","\n","\f","\r"," "]),mO=function mO(e){return e.replace(/[\t\n\f\r ]+$/,"")},gO=function gO(e){return e.match(/^[\t\n\f\r ]*/)[0]};function yO(e){var _step71,t=Object.create(null),_iterator71=_createForOfIteratorHelper(e);try{for(_iterator71.s();!(_step71=_iterator71.n()).done;)t[_step71.value]=!0}catch(err){_iterator71.e(err)}finally{_iterator71.f()}return t}function DO(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!kO(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))||!(!LO(e,t)||bO(e)||"interpolation"===e.type)}function EO(e){return"attribute"!==e.type&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function bO(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||NO(e)&&("script"===e.name||"style"===e.name))}function CO(e){return PO(e).startsWith("pre")}function vO(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function AO(e){return wO(e)||"element"===e.type&&"br"===e.fullName||FO(e)}function FO(e){return xO(e)&&SO(e)}function xO(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function wO(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function TO(e){var _e$attrMap2=e.attrMap,t=_e$attrMap2.type,n=_e$attrMap2.lang;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function BO(e){return"block"===e||"list-item"===e||e.startsWith("table")}function kO(e){return PO(e).startsWith("pre")}function NO(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function PO(e){return"element"===e.type&&(!e.namespace||NO(e))&&lO[e.name]||pO}var OO=new Set(["template","style","script"]);function IO(e,t){return jO(e,t)&&!OO.has(e.fullName)}function jO(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function LO(e,t){return jO(e,t)&&(IO(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var _O={HTML_ELEMENT_ATTRIBUTES:dO,HTML_TAGS:fO,htmlTrim:function htmlTrim(e){return function(e){return e.replace(/^[\t\n\f\r ]+/,"")}(mO(e))},htmlTrimPreserveIndentation:function htmlTrimPreserveIndentation(e){return function(e){return e.replace(/^[\t\f\r ]*?\n/g,"")}(mO(e))},splitByHtmlWhitespace:function splitByHtmlWhitespace(e){return e.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function hasHtmlWhitespace(e){return/[\t\n\f\r ]/.test(e)},getLeadingAndTrailingHtmlWhitespace:function getLeadingAndTrailingHtmlWhitespace(e){var _e$match4=_slicedToArray(e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),4),t=_e$match4[1],n=_e$match4[2];return{leadingWhitespace:t,trailingWhitespace:_e$match4[3],text:n}},canHaveInterpolation:function canHaveInterpolation(e){return e.children&&!bO(e)},countChars:function countChars(e,t){for(var n=0,_r116=0;_r116=0;_r117--){var _o70=e.stack[_r117];_o70&&"object"==_typeof(_o70)&&!Array.isArray(_o70)&&t(_o70)&&n++}return n},dedentString:function dedentString(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var _step72,t=Number.POSITIVE_INFINITY,_iterator72=_createForOfIteratorHelper(e.split("\n"));try{for(_iterator72.s();!(_step72=_iterator72.n()).done;){var _n115=_step72.value;if(0!==_n115.length){if(!hO.has(_n115[0]))return 0;var _e197=gO(_n115).length;_n115.length!==_e197&&_e1970&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&xO(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||SO(e.lastChild))},forceNextEmptyLine:function forceNextEmptyLine(e){return sO(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})),RO=function(){function RO(e,t,n){_classCallCheck(this,RO),this.filePath=e,this.name=t,this.members=n}return _createClass(RO,[{key:"assertNoMembers",value:function assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),RO}(),VO=RO,$O=function(){function $O(){_classCallCheck(this,$O),this.cache=new Map}return _createClass($O,[{key:"get",value:function get(e,t,n){var r=(n=n||[]).length?".".concat(n.join(".")):"",o='"'.concat(e,'".').concat(t).concat(r),i=this.cache.get(o);return i||(i=new RO(e,t,n),this.cache.set(o,i)),i}}]),$O}(),qO=Object.defineProperty({StaticSymbol:VO,StaticSymbolCache:$O},"__esModule",{value:!0}),WO=/-+([a-z0-9])/g,UO=function UO(e){return e.replace(WO,(function(){for(var _len15=arguments.length,e=new Array(_len15),_key15=0;_key15<_len15;_key15++)e[_key15]=arguments[_key15];return e[1].toUpperCase()}))},zO=function zO(e,t){return GO(e,":",t)},HO=function HO(e,t){return GO(e,".",t)};function GO(e,t,n){var r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function JO(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==_typeof(e)&&null!==e&&Object.getPrototypeOf(e)===sI}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}var XO=JO,YO=function YO(e){return null!=e},KO=function KO(e){return void 0===e?null:e},QO=function(){function QO(){_classCallCheck(this,QO)}return _createClass(QO,[{key:"visitArray",value:function visitArray(e,t){var _this20=this;return e.map((function(e){return JO(e,_this20,t)}))}},{key:"visitStringMap",value:function visitStringMap(e,t){var _this21=this,n={};return Object.keys(e).forEach((function(r){n[r]=JO(e[r],_this21,t)})),n}},{key:"visitPrimitive",value:function visitPrimitive(e,t){return e}},{key:"visitOther",value:function visitOther(e,t){return e}}]),QO}(),ZO={assertSync:function assertSync(e){if(pI(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function then(e,t){return pI(e)?e.then(t):t(e)},all:function all(e){return e.some(pI)?Promise.all(e):e}},eI=function eI(e){throw new Error("Internal Error: ".concat(e))},tI=function tI(e,t){var n=Error(e);return n[nI]=!0,t&&(n[rI]=t),n},nI="ngSyntaxError",rI="ngParseErrors",oI=function oI(e){return e[nI]},iI=function iI(e){return e[rI]||[]},uI=function uI(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},sI=Object.getPrototypeOf({}),aI=function aI(e){for(var t="",_n116=0;_n116=55296&&_r118<=56319&&e.length>_n116+1){var _t171=e.charCodeAt(_n116+1);_t171>=56320&&_t171<=57343&&(_n116++,_r118=(_r118-55296<<10)+_t171-56320+65536)}_r118<=127?t+=String.fromCharCode(_r118):_r118<=2047?t+=String.fromCharCode(_r118>>6&31|192,63&_r118|128):_r118<=65535?t+=String.fromCharCode(_r118>>12|224,_r118>>6&63|128,63&_r118|128):_r118<=2097151&&(t+=String.fromCharCode(_r118>>18&7|240,_r118>>12&63|128,_r118>>6&63|128,63&_r118|128))}return t},cI=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";var n=t.toString();if(null==n)return""+n;var r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},lI=function lI(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e};function pI(e){return!!e&&"function"==typeof e.then}var fI=pI,dI=_createClass((function dI(e){_classCallCheck(this,dI),this.full=e;var t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")})),hI="undefined"!=typeof window&&window,mI="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,gI=void 0!==r&&r||hI||mI,yI=Object.defineProperty({dashCaseToCamelCase:UO,splitAtColon:zO,splitAtPeriod:HO,visitValue:XO,isDefined:YO,noUndefined:KO,ValueTransformer:QO,SyncAsync:ZO,error:eI,syntaxError:tI,isSyntaxError:oI,getParseErrors:iI,escapeRegExp:uI,utf8Encode:aI,stringify:cI,resolveForwardRef:lI,isPromise:fI,Version:dI,global:gI},"__esModule",{value:!0}),DI=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;var u,o=0;function i(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof qO.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;var n=yI.stringify(t);return n.indexOf("(")>=0?(n="anonymous_".concat(o++),t.__anonymousType=n):n=r(n),n}t.identifierName=i,t.identifierModuleUrl=function(e){var t=e.reference;return t instanceof qO.StaticSymbol?t.filePath:"./".concat(yI.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}))},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(u=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):i(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},t.CompileStylesheetMetadata=function(){function _class11(){var _ref109=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_ref109.moduleUrl,t=_ref109.styles,n=_ref109.styleUrls;_classCallCheck(this,_class11),this.moduleUrl=e||null,this.styles=a(t),this.styleUrls=a(n)}return _createClass(_class11)}(),t.CompileTemplateMetadata=function(){function _class12(_ref110){var e=_ref110.encapsulation,t=_ref110.template,n=_ref110.templateUrl,r=_ref110.htmlAst,o=_ref110.styles,i=_ref110.styleUrls,u=_ref110.externalStylesheets,s=_ref110.animations,l=_ref110.ngContentSelectors,p=_ref110.interpolation,f=_ref110.isInline,d=_ref110.preserveWhitespaces;if(_classCallCheck(this,_class12),this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=a(o),this.styleUrls=a(i),this.externalStylesheets=a(u),this.animations=s?c(s):[],this.ngContentSelectors=l||[],p&&2!=p.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=p,this.isInline=f,this.preserveWhitespaces=d}return _createClass(_class12,[{key:"toSummary",value:function toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),_class12}();var s=function(){function s(_ref111){var e=_ref111.isHost,t=_ref111.type,n=_ref111.isComponent,r=_ref111.selector,o=_ref111.exportAs,i=_ref111.changeDetection,u=_ref111.inputs,_s34=_ref111.outputs,c=_ref111.hostListeners,l=_ref111.hostProperties,p=_ref111.hostAttributes,f=_ref111.providers,d=_ref111.viewProviders,h=_ref111.queries,m=_ref111.guards,g=_ref111.viewQueries,y=_ref111.entryComponents,D=_ref111.template,E=_ref111.componentViewType,b=_ref111.rendererType,C=_ref111.componentFactory;_classCallCheck(this,s),this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=o,this.changeDetection=i,this.inputs=u,this.outputs=_s34,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=p,this.providers=a(f),this.viewProviders=a(d),this.queries=a(h),this.guards=m,this.viewQueries=a(g),this.entryComponents=a(y),this.template=D,this.componentViewType=E,this.rendererType=b,this.componentFactory=C}return _createClass(s,[{key:"toSummary",value:function toSummary(){return{summaryKind:u.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function create(_ref112){var e=_ref112.isHost,t=_ref112.type,r=_ref112.isComponent,o=_ref112.selector,i=_ref112.exportAs,u=_ref112.changeDetection,a=_ref112.inputs,c=_ref112.outputs,l=_ref112.host,p=_ref112.providers,f=_ref112.viewProviders,d=_ref112.queries,h=_ref112.guards,m=_ref112.viewQueries,g=_ref112.entryComponents,y=_ref112.template,D=_ref112.componentViewType,E=_ref112.rendererType,b=_ref112.componentFactory,C={},v={},A={};null!=l&&Object.keys(l).forEach((function(e){var t=l[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?v[r[1]]=t:null!=r[2]&&(C[r[2]]=t)}));var F={};null!=a&&a.forEach((function(e){var t=yI.splitAtColon(e,[e,e]);F[t[0]]=t[1]}));var x={};return null!=c&&c.forEach((function(e){var t=yI.splitAtColon(e,[e,e]);x[t[0]]=t[1]})),new s({isHost:e,type:t,isComponent:!!r,selector:o,exportAs:i,changeDetection:u,inputs:F,outputs:x,hostListeners:C,hostProperties:v,hostAttributes:A,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:m,entryComponents:g,template:y,componentViewType:D,rendererType:E,componentFactory:b})}}]),s}();function a(e){return e||[]}function c(e){return e.reduce((function(e,t){var n=Array.isArray(t)?c(t):t;return e.concat(n)}),[])}function l(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=s,t.CompilePipeMetadata=function(){function _class13(_ref113){var e=_ref113.type,t=_ref113.name,n=_ref113.pure;_classCallCheck(this,_class13),this.type=e,this.name=t,this.pure=!!n}return _createClass(_class13,[{key:"toSummary",value:function toSummary(){return{summaryKind:u.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),_class13}(),t.CompileShallowModuleMetadata=function(){function _class14(){_classCallCheck(this,_class14)}return _createClass(_class14)}(),t.CompileNgModuleMetadata=function(){function _class15(_ref114){var e=_ref114.type,t=_ref114.providers,n=_ref114.declaredDirectives,r=_ref114.exportedDirectives,o=_ref114.declaredPipes,i=_ref114.exportedPipes,u=_ref114.entryComponents,s=_ref114.bootstrapComponents,c=_ref114.importedModules,l=_ref114.exportedModules,p=_ref114.schemas,f=_ref114.transitiveModule,d=_ref114.id;_classCallCheck(this,_class15),this.type=e||null,this.declaredDirectives=a(n),this.exportedDirectives=a(r),this.declaredPipes=a(o),this.exportedPipes=a(i),this.providers=a(t),this.entryComponents=a(u),this.bootstrapComponents=a(s),this.importedModules=a(c),this.exportedModules=a(l),this.schemas=a(p),this.id=d||null,this.transitiveModule=f||null}return _createClass(_class15,[{key:"toSummary",value:function toSummary(){var e=this.transitiveModule;return{summaryKind:u.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}]),_class15}(),t.TransitiveCompileNgModuleMetadata=function(){function _class16(){_classCallCheck(this,_class16),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return _createClass(_class16,[{key:"addProvider",value:function addProvider(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),_class16}(),t.ProviderMeta=function(){function _class17(e,_ref115){var t=_ref115.useClass,n=_ref115.useValue,r=_ref115.useExisting,o=_ref115.useFactory,i=_ref115.deps,u=_ref115.multi;_classCallCheck(this,_class17),this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=o||null,this.dependencies=i||null,this.multi=!!u}return _createClass(_class17)}(),t.flatten=c,t.templateSourceUrl=function(e,t,n){var r;return r=n.isInline?t.type.reference instanceof qO.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):n.templateUrl,t.type.reference instanceof qO.StaticSymbol?r:l(r)},t.sharedStylesheetJitUrl=function(e,t){var n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return l("css/".concat(t).concat(r,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return l("".concat(i(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return l("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"))}})),EI=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function n(e,t,_n117,r){_classCallCheck(this,n),this.file=e,this.offset=t,this.line=_n117,this.col=r}return _createClass(n,[{key:"toString",value:function toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function moveBy(e){for(var t=this.file.content,r=t.length,o=this.offset,i=this.line,u=this.col;o>0&&e<0;)if(o--,e++,t.charCodeAt(o)==MO.$LF){i--;var _e198=t.substr(0,o-1).lastIndexOf(String.fromCharCode(MO.$LF));u=_e198>0?o-_e198:o}else u--;for(;o0;){var _n120=t.charCodeAt(o);o++,e--,_n120==MO.$LF?(i++,u=0):u++}return new n(this.file,o,i,u)}},{key:"getContext",value:function getContext(e,t){var _n119=this.file.content,r=this.offset;if(null!=r){r>_n119.length-1&&(r=_n119.length-1);for(var _o71=r,_i88=0,_u35=0;_i880&&(_i88++,"\n"!=_n119[--r]||++_u35!=t););for(_i88=0,_u35=0;_i882&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,o),this.start=e,this.end=t,this.details=n}return _createClass(o,[{key:"toString",value:function toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),o}();t.ParseSourceSpan=o,t.EMPTY_PARSE_LOCATION=new n(new r("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new o(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(i=t.ParseErrorLevel||(t.ParseErrorLevel={})),t.ParseError=function(){function _class18(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.ERROR;_classCallCheck(this,_class18),this.span=e,this.msg=t,this.level=n}return _createClass(_class18,[{key:"contextualMessage",value:function contextualMessage(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(i[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function toString(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),_class18}(),t.typeSourceSpan=function(e,t){var i=DI.identifierModuleUrl(t),u=null!=i?"in ".concat(e," ").concat(DI.identifierName(t)," in ").concat(i):"in ".concat(e," ").concat(DI.identifierName(t)),s=new r("",u);return new o(new n(s,-1,-1,-1),new n(s,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,i){var u="in ".concat(e," ").concat(t," in ").concat(i),s=new r("",u);return new o(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}})),bI=EI.ParseSourceSpan,CI=_O.htmlTrim,vI=_O.getLeadingAndTrailingHtmlWhitespace,AI=_O.hasHtmlWhitespace,FI=_O.canHaveInterpolation,xI=_O.getNodeCssStyleDisplay,SI=_O.isDanglingSpaceSensitiveNode,wI=_O.isIndentationSensitiveNode,TI=_O.isLeadingSpaceSensitiveNode,BI=_O.isTrailingSpaceSensitiveNode,kI=_O.isWhitespaceSensitiveNode,NI=[function(e){return e.map((function(e){if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){var _e$children2=_toArray(e.children),_t172=_e$children2[0],_n121=_e$children2.slice(1);return e.clone({children:1===_t172.value.length?_n121:[_t172.clone({value:_t172.value.slice(1)})].concat(_toConsumableArray(_n121))})}return e}))},function(e){var t=function t(e){return"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset};return e.map((function(e){if(e.children){var _n122=e.children.map(t);if(_n122.some(Boolean)){for(var _t173=[],_r119=0;_r119")}))},function(e,t){if("html"===t.parser)return e;var n=/{{([\S\s]+?)}}/g;return e.map((function(e){if(!FI(e))return e;var _step73,t=[],_iterator73=_createForOfIteratorHelper(e.children);try{for(_iterator73.s();!(_step73=_iterator73.n()).done;){var _r122=_step73.value;if("text"===_r122.type)for(var _e200=_r122.sourceSpan.start,_o74=null,_i91=_r122.value.split(n),_n124=0;_n124<_i91.length;_n124++,_e200=_o74){var _r123=_i91[_n124];_n124%2!=0?(_o74=_e200.moveBy(_r123.length+4),t.push({type:"interpolation",sourceSpan:new bI(_e200,_o74),children:0===_r123.length?[]:[{type:"text",value:_r123,sourceSpan:new bI(_e200.moveBy(2),_o74.moveBy(-2))}]})):(_o74=_e200.moveBy(_r123.length),_r123.length>0&&t.push({type:"text",value:_r123,sourceSpan:new bI(_e200,_o74)}))}else t.push(_r122)}}catch(err){_iterator73.e(err)}finally{_iterator73.f()}return e.clone({children:t})}))},function(e){var t="whitespace";return e.map((function(e){if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===CI(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:e.children.length>0});var n=kI(e),r=wI(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce((function(e,r){if("text"!==r.type||n)return[].concat(_toConsumableArray(e),[r]);var o=[],_vI=vI(r.value),i=_vI.leadingWhitespace,u=_vI.text,s=_vI.trailingWhitespace;return i&&o.push({type:t}),u&&o.push({type:"text",value:u,sourceSpan:new bI(r.sourceSpan.start.moveBy(i.length),r.sourceSpan.end.moveBy(-s.length))}),s&&o.push({type:t}),[].concat(_toConsumableArray(e),o)}),[]).reduce((function(e,n,r,o){if(n.type===t)return e;var i=0!==r&&o[r-1].type===t,u=r!==o.length-1&&o[r+1].type===t;return[].concat(_toConsumableArray(e),[Object.assign({},n,{hasLeadingSpaces:i,hasTrailingSpaces:u})])}),[])})}))},function(e,t){return e.map((function(e){return Object.assign(e,{cssDisplay:xI(e,t)})}))},function(e){return e.map((function(e){return Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})}))},function(e,t){return e.map((function(e){return"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})}))},function(e,t){return e.map((function(e){return e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:SI(e)}):e.clone({children:e.children.map((function(e){return Object.assign({},e,{isLeadingSpaceSensitive:TI(e,t),isTrailingSpaceSensitive:BI(e,t)})})).map((function(e,t,n){return Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})}))}):e}))},function(e){var t=function t(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!AI(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type};return e.map((function(e){if(e.children){var _n125=e.children.map(t);if(_n125.some(Boolean)){for(var _t175=[],_r124=0;_r124")+_o75.firstChild.value+"")+_i92.value,sourceSpan:new bI(_n126.sourceSpan.start,_i92.sourceSpan.end),isTrailingSpaceSensitive:_u37,hasTrailingSpaces:_s36}))}else _t175.push(_o75)}return e.clone({children:_t175})}}return e}))}],PI=function PI(e,t){var _step74,_iterator74=_createForOfIteratorHelper(NI);try{for(_iterator74.s();!(_step74=_iterator74.n()).done;)e=(0,_step74.value)(e,t)}catch(err){_iterator74.e(err)}finally{_iterator74.f()}return e},OI={hasPragma:function hasPragma(e){return/^\s*/.test(e)},insertPragma:function insertPragma(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},II={locStart:function locStart(e){return e.sourceSpan.start.offset},locEnd:function locEnd(e){return e.sourceSpan.end.offset}},jI=Rn.builders.group,LI={isVueEventBindingExpression:function isVueEventBindingExpression(e){var t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function printVueFor(e,t){var _ref116=function(e){var t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,o=e.match(t);if(o){var i={};i.for=o[3].trim();var u=o[1].trim().replace(r,""),s=u.match(n);return s?(i.alias=u.replace(n,""),i.iterator1=s[1].trim(),s[2]&&(i.iterator2=s[2].trim())):i.alias=u,{left:"".concat([i.alias,i.iterator1,i.iterator2].filter(Boolean).join(",")),operator:o[2],right:i.for}}}(e),n=_ref116.left,r=_ref116.operator,o=_ref116.right;return[jI(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function printVueBindings(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}},_I=i((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(r,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function o(t){var n,r=t.exec(e.substring(y));if(r)return n=r[0],y+=n.length,n}for(var i,u,s,a,c,l=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,D=[];;){if(o(f),y>=l)return D;i=o(d),u=[],","===i.slice(-1)?(i=i.replace(h,""),b()):E()}function E(){for(o(p),s="",a="in descriptor";;){if(c=e.charAt(y),"in descriptor"===a)if(r(c))s&&(u.push(s),s="",a="after descriptor");else{if(","===c)return y+=1,s&&u.push(s),void b();if("("===c)s+=c,a="in parens";else{if(""===c)return s&&u.push(s),void b();s+=c}}else if("in parens"===a)if(")"===c)s+=c,a="in descriptor";else{if(""===c)return u.push(s),void b();s+=c}else if("after descriptor"===a)if(r(c));else{if(""===c)return void b();a="in descriptor",y-=1}y+=1}}function b(){var t,r,o,s,a,c,l,p,f,d=!1,h={};for(s=0;s1)throw new Error("Mixed descriptor in srcset is not supported");var o=n?"w":r?"h":"d",i=n?"w":r?"h":"x",u=function u(e){return Math.max.apply(Math,_toConsumableArray(e))},s=t.map((function(e){return e.url})),a=u(s.map((function(e){return e.length}))),c=t.map((function(e){return e[o]})).map((function(e){return e?e.toString():""})),l=c.map((function(e){var t=e.indexOf(".");return-1===t?e.length:t})),p=u(l);return $I([",",qI],s.map((function(e,t){var n=[e],r=c[t];if(r){var _o76=a-e.length+1,_u38=p-l[t],_s37=" ".repeat(_o76+_u38);n.push(RI(_s37," "),r+i)}return n})))},printClassNames:function printClassNames(e){for(var r,t=e.trim().split(/\s+/),n=[],_e201=0;_e2010)||"element"===e.type&&e.isSelfClosing&&Zj(t)?"":!t.isLeadingSpaceSensitive||Bj(t)||Zj(t)&&e.lastChild&&tL(e.lastChild)&&e.lastChild.lastChild&&tL(e.lastChild.lastChild)?KI:t.hasLeadingSpaces?nj:oj}}function Wj(e,t){var n=e.startSourceSpan.end.offset;e.firstChild&&Qj(e.firstChild)&&(n-=uL(e).length);var r=e.endSourceSpan.start.offset;return e.lastChild&&tL(e.lastChild)?r+=sL(e,t).length:eL(e)&&(r-=aL(e.lastChild,t).length),t.originalText.slice(n,r)}function Uj(e,t,n){var r=e.getValue();if(!lj(r.attrs))return r.isSelfClosing?" ":"";var o=r.prev&&"comment"===r.prev.type&&bj(r.prev.value),i="boolean"==typeof o?function(){return o}:Array.isArray(o)?function(e){return o.includes(e.rawName)}:function(){return!1},u=e.map((function(e){var r=e.getValue();return i(r)?cj(t.originalText.slice(jj(r),Lj(r)),rj):n()}),"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,a=[ej([s?" ":nj,tj(nj,u)])];return r.firstChild&&Qj(r.firstChild)||r.isSelfClosing&&eL(r.parent)||s?a.push(r.isSelfClosing?" ":""):a.push(r.isSelfClosing?nj:oj),a}function zj(e,t,n){var r=e.getValue();return[Hj(r,t),Uj(e,t,n),r.isSelfClosing?"":Gj(r)]}function Hj(e,t){return e.prev&&Kj(e.prev)?"":[nL(e,t),iL(e)]}function Gj(e){return e.firstChild&&Qj(e.firstChild)?"":uL(e)}function Jj(e,t){return[e.isSelfClosing?"":Xj(e,t),Yj(e,t)]}function Xj(e,t){return e.lastChild&&tL(e.lastChild)?"":[rL(e,t),sL(e,t)]}function Yj(e,t){return(e.next?Zj(e.next):eL(e.parent))?"":[aL(e,t),oL(e,t)]}function Kj(e){return e.next&&!Tj(e.next)&&Tj(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Qj(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Zj(e){return e.prev&&"docType"!==e.prev.type&&!Tj(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function eL(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Tj(Ej(e.lastChild))&&!Oj(e)}function tL(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Tj(Ej(e))}function nL(e,t){return Qj(e)?uL(e.parent):Zj(e)?aL(e.prev,t):""}function rL(e,t){return eL(e)?aL(e.lastChild,t):""}function oL(e,t){return tL(e)?sL(e.parent,t):Kj(e)?iL(e.next):""}function iL(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function uL(e){switch(Il(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function sL(e,t){if(Il(!e.isSelfClosing),kj(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function cL(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?cj(t,rj):cj(mj(pj(t)),KI):sj(tj(nj,fj(t)))}var lL={preprocess:PI,print:function print(e,t,n){var o,r=e.getValue();switch(r.type){case"front-matter":return cj(r.raw,rj);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[YI(qj(e,t,n)),KI];case"element":case"ieConditionalComment":if(Nj(r,t))return[nL(r,t),YI(zj(e,t,n))].concat(_toConsumableArray(cj(Wj(r,t),rj)),_toConsumableArray(Jj(r,t)),[oL(r,t)]);var _i93=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,_u39=Symbol("element-attr-group-id");return[YI([YI(zj(e,t,n),{id:_u39}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?nj:"":[yj(r)?GI:"",(o=[_i93?QI(oj,"",{groupId:_u39}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?nj:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?JI(oj):oj,qj(e,t,n)],_i93?ZI(o,{groupId:_u39}):!wj(r)&&!Aj(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?ej(o):o),(r.next?Zj(r.next):eL(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":_i93?QI(oj,"",{groupId:_u39}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?nj:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*hj(e,(function(e){return e.parent&&"root"!==e.parent.type})),"}$")).test(r.lastChild.value)?"":oj]]),Jj(r,t)];case"ieConditionalStartComment":case"ieConditionalEndComment":return[Hj(r),Yj(r)];case"interpolation":return[Hj(r,t)].concat(_toConsumableArray(e.map(n,"children")),[Yj(r,t)]);case"text":if("interpolation"===r.parent.type){var _e203=/\n[^\S\n]*?$/,_t177=_e203.test(r.value),_n129=_t177?r.value.replace(_e203,""):r.value;return[].concat(_toConsumableArray(cj(_n129,rj)),[_t177?KI:""])}var _e202=uj([nL(r,t)].concat(_toConsumableArray(cL(r)),[oL(r,t)]));return aj(_e202)||"fill"===_e202.type?XI(sj(_e202)):_e202;case"docType":return[YI([Hj(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),Yj(r,t)];case"comment":return[nL(r,t)].concat(_toConsumableArray(cj(t.originalText.slice(jj(r),Lj(r)),rj)),[oL(r,t)]);case"attribute":if(null===r.value)return r.rawName;var _e204=Pj(r.value),_t178=dj(_e204,"'")1&&void 0!==arguments[1])||arguments[1];return YI([ej([oj,e]),t?oj:""])},c=function c(e){return i?s(e):a(e)},l=function l(e,n){return t(e,Object.assign({__onHtmlBindingRoot:u,__embeddedInHtml:!0},n),{stripTrailingHardline:!0})};if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return a(Vj(o()));if("class"===e.fullName&&!n.parentParser){var _e209=o();if(!_e209.includes("{{"))return $j(_e209)}if("style"===e.fullName&&!n.parentParser){var _e210=o();if(!_e210.includes("{{"))return a(l(_e210,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return _j(o(),l);if(xj(e)||Sj(e,n))return Mj(o(),l);var _t181=["^:","^v-bind:"],_i96=["^v-"];if(r(["^@","^v-on:"])){var _e211=o();return c(l(_e211,{parser:Rj(_e211)?"__js_expression":"__vue_event_binding"}))}if(r(_t181))return c(l(o(),{parser:"__vue_expression"}));if(r(_i96))return c(l(o(),{parser:"__js_expression"}))}if("angular"===n.parser){var _t182=function _t182(e,t){return l(e,Object.assign({},t,{trailingComma:"none"}))},_n130=["^\\*"],_i97=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],_u41=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return c(_t182(o(),{parser:"__ng_action"}));if(r(_i97))return c(_t182(o(),{parser:"__ng_binding"}));if(r(_u41)){var _t183=o().trim();return a(XI(cL(e,_t183)),!_t183.includes("@@"))}if(r(_n130))return c(_t182(o(),{parser:"__ng_directive"}));var _s39=/{{([\S\s]+?)}}/g,_p14=o();if(_s39.test(_p14)){var _step76,_e212=[],_iterator76=_createForOfIteratorHelper(_p14.split(_s39).entries());try{for(_iterator76.s();!(_step76=_iterator76.n()).done;){var _step76$value=_slicedToArray(_step76.value,2),_n131=_step76$value[0],_r126=_step76$value[1];if(_n131%2==0)_e212.push(cj(_r126,rj));else try{_e212.push(YI(["{{",ej([nj,_t182(_r126,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),nj,"}}"]))}catch(t){_e212.push("{{",cj(_r126,rj),"}}")}}}catch(err){_iterator76.e(err)}finally{_iterator76.f()}return YI(_e212)}}return null}(o,(function(e,t){return n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})}),r);if(_e208)return[o.rawName,'="',YI(ij(_e208,(function(e){return"string"==typeof e?e.replace(/"/g,"""):e}))),'"'];break;case"front-matter":return Xw(o,n)}}},pL="HTML",fL={htmlWhitespaceSensitivity:{since:"1.15.0",category:pL,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:pL,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},dL={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},hL={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},mL={languages:[df(dL,(function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}})),df(dL,(function(e){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[].concat(_toConsumableArray(e.extensions),[".mjml"])}})),df(dL,(function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}})),df(hL,(function(){return{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}}))],printers:{html:lL},options:fL,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},gL={isPragma:function isPragma(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function hasPragma(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function insertPragma(e){return"# @format\n\n".concat(e)}},yL={locStart:function locStart(e){return e.position.start.offset},locEnd:function locEnd(e){return e.position.end.offset}},DL=function DL(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(r.filepath))return n(r.originalText,Object.assign({},r,{parser:"json"}))},EL=rn.getLast,bL=rn.isNonEmptyArray;function CL(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function vL(e){return"prettier-ignore"===e.value.trim()}function AL(e){return e&&bL(e.leadingComments)}function FL(e){return e&&bL(e.middleComments)}function xL(e){return e&&e.indicatorComment}function SL(e){return e&&e.trailingComment}function wL(e){return e&&bL(e.endComments)}function TL(e){var n,_step77,t=[],_iterator77=_createForOfIteratorHelper(e.split(/( +)/g));try{for(_iterator77.s();!(_step77=_iterator77.n()).done;){var _r127=_step77.value;" "!==_r127?" "===n?t.push(_r127):t.push((t.pop()||"")+_r127):void 0===n&&t.unshift(""),n=_r127}}catch(err){_iterator77.e(err)}finally{_iterator77.f()}return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var BL={getLast:EL,getAncestorCount:function getAncestorCount(e,t){for(var n=0,r=e.stack.length-1,_o78=0;_o780&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(EL(e))?[].concat(_toConsumableArray(e.slice(0,-1)),[[].concat(_toConsumableArray(EL(e)),_toConsumableArray(t))]):[].concat(_toConsumableArray(e),[t])}),[]).map((function(e){return e.reduce((function(e,t){return e.length>0&&/\s$/.test(EL(e))?[].concat(_toConsumableArray(e.slice(0,-1)),[EL(e)+" "+t]):[].concat(_toConsumableArray(e),[t])}),[])})).map((function(e){return"never"===r.proseWrap?[e.join(" ")]:e})));function a(t){if("keep"===e.chomping)return 0===EL(t).length?t.slice(0,-1):t;for(var r=0,_e214=t.length-1;_e214>=0&&0===t[_e214].length;_e214--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function getFlowScalarLineContents(e,t,n){var r=t.split("\n").map((function(e,t,n){return 0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart()}));return"preserve"===n.proseWrap?r.map((function(e){return 0===e.length?[]:[e]})):r.map((function(e){return 0===e.length?[]:TL(e)})).reduce((function(t,n,o){return 0!==o&&r[o-1].length>0&&n.length>0&&("quoteDouble"!==e||!EL(EL(t)).endsWith("\\"))?[].concat(_toConsumableArray(t.slice(0,-1)),[[].concat(_toConsumableArray(EL(t)),_toConsumableArray(n))]):[].concat(_toConsumableArray(t),[n])}),[]).map((function(e){return"never"===n.proseWrap?[e.join(" ")]:e}))},getLastDescendantNode:function e(t){return bL(t.children)?e(EL(t.children)):t},hasPrettierIgnore:function hasPrettierIgnore(e){var t=e.getValue();if("documentBody"===t.type){var _t185=e.getParentNode();return wL(_t185.head)&&vL(EL(_t185.head.endComments))}return AL(t)&&vL(EL(t.leadingComments))},hasLeadingComments:AL,hasMiddleComments:FL,hasIndicatorComment:xL,hasTrailingComment:SL,hasEndComments:wL},kL=BL.defineShortcut,NL=BL.mapNode;function PL(e){switch(e.type){case"document":kL(e,"head",(function(){return e.children[0]})),kL(e,"body",(function(){return e.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":kL(e,"content",(function(){return e.children[0]}));break;case"mappingItem":case"flowMappingItem":kL(e,"key",(function(){return e.children[0]})),kL(e,"value",(function(){return e.children[1]}))}return e}var OL=function OL(e){return NL(e,PL)},_Rn$builders42=Rn.builders,IL=_Rn$builders42.softline,jL=_Rn$builders42.align,LL=BL.hasEndComments,_L=BL.isNextLineEmpty,ML=BL.isNode,RL=new WeakMap;function VL(e){return LL(e)&&!ML(e,["documentHead","documentBody","flowMapping","flowSequence"])}var $L={alignWithSpaces:function alignWithSpaces(e,t){return jL(" ".repeat(e),t)},shouldPrintEndComments:VL,printNextEmptyLine:function printNextEmptyLine(e,t){var o,n=e.getValue(),r=e.stack[0];return RL.has(r)?o=RL.get(r):(o=new Set,RL.set(r,o)),o.has(n.position.end.line)||(o.add(n.position.end.line),!_L(n,t)||VL(e.getParentNode()))?"":IL}},_Rn$builders43=Rn.builders,qL=_Rn$builders43.ifBreak,WL=_Rn$builders43.line,UL=_Rn$builders43.softline,zL=_Rn$builders43.hardline,HL=_Rn$builders43.join,GL=BL.isEmptyNode,JL=BL.getLast,XL=BL.hasEndComments,YL=$L.printNextEmptyLine,KL=$L.alignWithSpaces;function QL(e,t,n){var r=e.getValue(),o="flowMapping"===r.type,i=o?"{":"[",u=o?"}":"]",s=UL;o&&r.children.length>0&&n.bracketSpacing&&(s=WL);var a=JL(r.children),c=a&&"flowMappingItem"===a.type&&GL(a.key)&&GL(a.value);return[i,KL(n.tabWidth,[s,ZL(e,t,n),"none"===n.trailingComma?"":qL(","),XL(r)?[zL,HL(zL,e.map(t,"endComments"))]:""]),c?"":s,u]}function ZL(e,t,n){var r=e.getValue();return e.map((function(e,o){return[t(),o===r.children.length-1?"":[",",WL,r.children[o].position.start.line!==r.children[o+1].position.start.line?YL(e,n.originalText):""]]}),"children")}var e_={printFlowMapping:QL,printFlowSequence:QL},_Rn$builders44=Rn.builders,t_=_Rn$builders44.conditionalGroup,n_=_Rn$builders44.group,r_=_Rn$builders44.hardline,o_=_Rn$builders44.ifBreak,i_=_Rn$builders44.join,u_=_Rn$builders44.line,s_=BL.hasLeadingComments,a_=BL.hasMiddleComments,c_=BL.hasTrailingComment,l_=BL.hasEndComments,p_=BL.isNode,f_=BL.isEmptyNode,d_=BL.isInlineNode,h_=$L.alignWithSpaces;function m_(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}var g_=function g_(e,t,n,r,o){var i=e.key,u=e.value,s=f_(i),a=f_(u);if(s&&a)return": ";var c=r("key"),l=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?c:"mappingItem"!==e.type||!m_(i.content,o)||c_(i.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",h_(2,c)]:[c,l,":"];var p=r("value");if(s)return[": ",h_(2,p)];if(s_(u)||!d_(i.content))return["? ",h_(2,c),r_,i_("",n.map(r,"value","leadingComments").map((function(e){return[e,r_]}))),": ",h_(2,p)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(i.content)&&!s_(i.content)&&!a_(i.content)&&!c_(i.content)&&!l_(i)&&!s_(u.content)&&!a_(u.content)&&!l_(u)&&m_(u.content,o))return[c,l,": ",p];var f=Symbol("mappingKey"),d=n_([o_("? "),n_(h_(2,c),{id:f})]),h=[r_,": ",h_(2,p)],m=[l,":"];s_(u.content)||l_(u)&&u.content&&!p_(u.content,["mapping","sequence"])||"mapping"===t.type&&c_(i.content)&&d_(u.content)||p_(u.content,["mapping","sequence"])&&null===u.content.tag&&null===u.content.anchor?m.push(r_):u.content&&m.push(u_),m.push(p);var g=h_(o.tabWidth,m);return t_([[d,o_(h,g,{groupId:f})]])},_Rn$builders45=Rn.builders,y_=_Rn$builders45.dedent,D_=_Rn$builders45.dedentToRoot,E_=_Rn$builders45.fill,b_=_Rn$builders45.hardline,C_=_Rn$builders45.join,v_=_Rn$builders45.line,A_=_Rn$builders45.literalline,F_=_Rn$builders45.markAsRoot,x_=Rn.utils.getDocParts,S_=BL.getAncestorCount,w_=BL.getBlockValueLineContents,T_=BL.hasIndicatorComment,B_=BL.isLastDescendantNode,k_=BL.isNode,N_=$L.alignWithSpaces,P_=function P_(e,t,n){var r=e.getValue(),o=S_(e,(function(e){return k_(e,["sequence","mapping"])})),i=B_(e),u=["blockFolded"===r.type?">":"|"];null!==r.indent&&u.push(r.indent.toString()),"clip"!==r.chomping&&u.push("keep"===r.chomping?"+":"-"),T_(r)&&u.push(" ",t("indicatorComment"));var _step78,s=w_(r,{parentIndent:o,isLastDescendant:i,options:n}),a=[],_iterator78=_createForOfIteratorHelper(s.entries());try{for(_iterator78.s();!(_step78=_iterator78.n()).done;){var _step78$value=_slicedToArray(_step78.value,2),_e215=_step78$value[0],_t186=_step78$value[1];0===_e215&&a.push(b_),a.push(E_(x_(C_(v_,_t186)))),_e215!==s.length-1?a.push(0===_t186.length?b_:F_(A_)):"keep"===r.chomping&&i&&a.push(D_(0===_t186.length?b_:A_))}}catch(err){_iterator78.e(err)}finally{_iterator78.f()}return null===r.indent?u.push(y_(N_(n.tabWidth,a))):u.push(D_(N_(r.indent-1+o,a))),u},_Rn$builders46=Rn.builders,O_=_Rn$builders46.breakParent,I_=_Rn$builders46.fill,j_=_Rn$builders46.group,L_=_Rn$builders46.hardline,__=_Rn$builders46.join,M_=_Rn$builders46.line,R_=_Rn$builders46.lineSuffix,V_=_Rn$builders46.literalline,$_=Rn.utils.getDocParts,q_=rn.replaceEndOfLineWith,W_=rn.isPreviousLineEmpty,U_=gL.insertPragma,z_=gL.isPragma,H_=yL.locStart,G_=BL.getFlowScalarLineContents,J_=BL.getLastDescendantNode,X_=BL.hasLeadingComments,Y_=BL.hasMiddleComments,K_=BL.hasTrailingComment,Q_=BL.hasEndComments,Z_=BL.hasPrettierIgnore,eM=BL.isLastDescendantNode,tM=BL.isNode,nM=BL.isInlineNode,rM=$L.alignWithSpaces,oM=$L.printNextEmptyLine,iM=$L.shouldPrintEndComments,uM=e_.printFlowMapping,sM=e_.printFlowSequence;function aM(e,t){return K_(e)||t&&(t.head.children.length>0||Q_(t.head))}function cM(e,t,n){var r=G_(e,t,n);return __(L_,r.map((function(e){return I_($_(__(M_,e)))})))}var lM={preprocess:OL,embed:DL,print:function print(e,t,n){var r=e.getValue(),o=[];"mappingValue"!==r.type&&X_(r)&&o.push([__(L_,e.map(n,"leadingComments")),L_]);var i=r.tag,u=r.anchor;i&&o.push(n("tag")),i&&u&&o.push(" "),u&&o.push(n("anchor"));var s="";tM(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!eM(e)&&(s=oM(e,t.originalText)),(i||u)&&(tM(r,["sequence","mapping"])&&!Y_(r)?o.push(L_):o.push(" ")),Y_(r)&&o.push([1===r.middleComments.length?"":L_,__(L_,e.map(n,"middleComments")),L_]);var a=e.getParentNode();return Z_(e)?o.push(q_(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),V_)):o.push(j_(function(e,t,n,r,o){switch(e.type){case"root":var _t187=e.children,_r130=[];n.each((function(e,n){var i=_t187[n],u=_t187[n+1];0!==n&&_r130.push(L_),_r130.push(o()),aM(i,u)?(_r130.push(L_,"..."),K_(i)&&_r130.push(" ",o("trailingComment"))):u&&!K_(u.head)&&_r130.push(L_,"---")}),"children");var _i98=J_(e);return tM(_i98,["blockLiteral","blockFolded"])&&"keep"===_i98.chomping||_r130.push(L_),_r130;case"document":var _i99=[];return"head"===function(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(H_(e),H_(e)+4))||e.head.children.length>0||Q_(e.head)||K_(e.head)?"head":!aM(e,t)&&!!t&&"root"}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&_i99.push(o("head")),K_(e.head)?_i99.push(["---"," ",o(["head","trailingComment"])]):_i99.push("---")),function(e){return e.body.children.length>0||Q_(e.body)}(e)&&_i99.push(o("body")),__(L_,_i99);case"documentHead":return __(L_,[].concat(_toConsumableArray(n.map(o,"children")),_toConsumableArray(n.map(o,"endComments"))));case"documentBody":var _t188=e.children,_r131=e.endComments,_i100="";if(_t188.length>0&&_r131.length>0){var _t189=J_(e);tM(_t189,["blockFolded","blockLiteral"])?"keep"!==_t189.chomping&&(_i100=[L_,L_]):_i100=L_}return[__(L_,n.map(o,"children")),_i100,__(L_,n.map(o,"endComments"))];case"directive":return["%",__(" ",[e.name].concat(_toConsumableArray(e.parameters)))];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return cM(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":var _t190="'",_n133='"',_o80=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&_o80.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(_o80)){var _i102="quoteDouble"===e.type?_n133:_t190;return[_i102,cM(e.type,_o80,r),_i102]}if(_o80.includes(_n133))return[_t190,cM(e.type,"quoteDouble"===e.type?_o80.replace(/\\"/g,_n133).replace(/'/g,_t190.repeat(2)):_o80,r),_t190];if(_o80.includes(_t190))return[_n133,cM(e.type,"quoteSingle"===e.type?_o80.replace(/''/g,_t190):_o80,r),_n133];var _i101=r.singleQuote?_t190:_n133;return[_i101,cM(e.type,_o80,r),_i101];case"blockFolded":case"blockLiteral":return P_(n,o,r);case"mapping":case"sequence":return __(L_,n.map(o,"children"));case"sequenceItem":return["- ",rM(2,e.content?o("content"):"")];case"mappingKey":case"mappingValue":return e.content?o("content"):"";case"mappingItem":case"flowMappingItem":return g_(e,t,n,o,r);case"flowMapping":return uM(n,o,r);case"flowSequence":return sM(n,o,r);case"flowSequenceItem":return o("content");default:throw new Error("Unexpected node type ".concat(e.type))}}(r,a,e,t,n))),K_(r)&&!tM(r,["document","documentHead"])&&o.push(R_(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===a.type&&"mapping"===e.getParentNode(2).type&&nM(r)?"":O_,n("trailingComment")])),iM(r)&&o.push(rM("sequenceItem"===r.type?2:0,[L_,__(L_,e.map((function(e){return[W_(t.originalText,e.getValue(),H_)?L_:"",n()]}),"endComments"))])),o.push(s),o},massageAstNode:function massageAstNode(e,t){if(tM(t))switch(delete t.position,t.type){case"comment":if(z_(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:U_},pM={bracketSpacing:Ow.bracketSpacing,singleQuote:Ow.singleQuote,proseWrap:Ow.proseWrap},fM=[qw,GB,rN,FN,eO,mL,{languages:[df({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},(function(e){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[].concat(_toConsumableArray(e.filenames.filter((function(e){return"yarn.lock"!==e}))),[".prettierrc"])}}))],printers:{yaml:lM},options:pM,parsers:{get yaml(){return{}.parsers.yaml}}}],dM=n.version,hM=Mt.getSupportInfo,mM=fM.map((function(t){return e(t,["parsers"])}));function gM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var _len16=arguments.length,n=new Array(_len16),_key16=0;_key16<_len16;_key16++)n[_key16]=arguments[_key16];var r=n[t]||{},o=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[].concat(_toConsumableArray(mM),_toConsumableArray(Array.isArray(o)?o:Object.values(o)))}),e.apply(void 0,n)}}var yM=gM($p.formatWithCursor);return{formatWithCursor:yM,format:function format(e,t){return yM(e,t).formatted},check:function check(e,t){return yM(e,t).formatted===e},doc:Rn,getSupportInfo:gM(hM,0),version:dM,util:ff,__debug:{parse:gM($p.parse),formatAST:gM($p.formatAST),formatDoc:gM($p.formatDoc),printToDoc:gM($p.printToDoc),printDocToString:gM($p.printDocToString)}}}()}(standalone);var prettier=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.J)(standalone.exports),formatter=memoizerific__WEBPACK_IMPORTED_MODULE_90___default()(2)((function(type,source){return!1===type?source:"dedent"===type||!0===type?Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.H)(source):prettier.format(source,{parser:type,plugins:[prettierHtml],htmlWhitespaceSensitivity:"ignore"}).trim()}))},852:function(module,exports,__webpack_require__){"use strict";var NAME,Constructor,Prototype,NATIVE_ARRAY_BUFFER=__webpack_require__(453),DESCRIPTORS=__webpack_require__(31),global=__webpack_require__(17),isCallable=__webpack_require__(28),isObject=__webpack_require__(37),hasOwn=__webpack_require__(34),classof=__webpack_require__(142),tryToString=__webpack_require__(126),createNonEnumerableProperty=__webpack_require__(102),defineBuiltIn=__webpack_require__(44),defineBuiltInAccessor=__webpack_require__(96),isPrototypeOf=__webpack_require__(101),getPrototypeOf=__webpack_require__(146),setPrototypeOf=__webpack_require__(177),wellKnownSymbol=__webpack_require__(25),uid=__webpack_require__(181),InternalStateModule=__webpack_require__(60),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,Int8Array=global.Int8Array,Int8ArrayPrototype=Int8Array&&Int8Array.prototype,Uint8ClampedArray=global.Uint8ClampedArray,Uint8ClampedArrayPrototype=Uint8ClampedArray&&Uint8ClampedArray.prototype,TypedArray=Int8Array&&getPrototypeOf(Int8Array),TypedArrayPrototype=Int8ArrayPrototype&&getPrototypeOf(Int8ArrayPrototype),ObjectPrototype=Object.prototype,TypeError=global.TypeError,TO_STRING_TAG=wellKnownSymbol("toStringTag"),TYPED_ARRAY_TAG=uid("TYPED_ARRAY_TAG"),NATIVE_ARRAY_BUFFER_VIEWS=NATIVE_ARRAY_BUFFER&&!!setPrototypeOf&&"Opera"!==classof(global.opera),TYPED_ARRAY_TAG_REQUIRED=!1,TypedArrayConstructorsList={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},BigIntArrayConstructorsList={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(it){var proto=getPrototypeOf(it);if(isObject(proto)){var state=getInternalState(proto);return state&&hasOwn(state,"TypedArrayConstructor")?state.TypedArrayConstructor:getTypedArrayConstructor(proto)}},isTypedArray=function(it){if(!isObject(it))return!1;var klass=classof(it);return hasOwn(TypedArrayConstructorsList,klass)||hasOwn(BigIntArrayConstructorsList,klass)};for(NAME in TypedArrayConstructorsList)(Prototype=(Constructor=global[NAME])&&Constructor.prototype)?enforceInternalState(Prototype).TypedArrayConstructor=Constructor:NATIVE_ARRAY_BUFFER_VIEWS=!1;for(NAME in BigIntArrayConstructorsList)(Prototype=(Constructor=global[NAME])&&Constructor.prototype)&&(enforceInternalState(Prototype).TypedArrayConstructor=Constructor);if((!NATIVE_ARRAY_BUFFER_VIEWS||!isCallable(TypedArray)||TypedArray===Function.prototype)&&(TypedArray=function TypedArray(){throw new TypeError("Incorrect invocation")},NATIVE_ARRAY_BUFFER_VIEWS))for(NAME in TypedArrayConstructorsList)global[NAME]&&setPrototypeOf(global[NAME],TypedArray);if((!NATIVE_ARRAY_BUFFER_VIEWS||!TypedArrayPrototype||TypedArrayPrototype===ObjectPrototype)&&(TypedArrayPrototype=TypedArray.prototype,NATIVE_ARRAY_BUFFER_VIEWS))for(NAME in TypedArrayConstructorsList)global[NAME]&&setPrototypeOf(global[NAME].prototype,TypedArrayPrototype);if(NATIVE_ARRAY_BUFFER_VIEWS&&getPrototypeOf(Uint8ClampedArrayPrototype)!==TypedArrayPrototype&&setPrototypeOf(Uint8ClampedArrayPrototype,TypedArrayPrototype),DESCRIPTORS&&!hasOwn(TypedArrayPrototype,TO_STRING_TAG))for(NAME in TYPED_ARRAY_TAG_REQUIRED=!0,defineBuiltInAccessor(TypedArrayPrototype,TO_STRING_TAG,{configurable:!0,get:function(){return isObject(this)?this[TYPED_ARRAY_TAG]:void 0}}),TypedArrayConstructorsList)global[NAME]&&createNonEnumerableProperty(global[NAME],TYPED_ARRAY_TAG,NAME);module.exports={NATIVE_ARRAY_BUFFER_VIEWS:NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_TAG:TYPED_ARRAY_TAG_REQUIRED&&TYPED_ARRAY_TAG,aTypedArray:function(it){if(isTypedArray(it))return it;throw new TypeError("Target is not a typed array")},aTypedArrayConstructor:function(C){if(isCallable(C)&&(!setPrototypeOf||isPrototypeOf(TypedArray,C)))return C;throw new TypeError(tryToString(C)+" is not a typed array constructor")},exportTypedArrayMethod:function(KEY,property,forced,options){if(DESCRIPTORS){if(forced)for(var ARRAY in TypedArrayConstructorsList){var TypedArrayConstructor=global[ARRAY];if(TypedArrayConstructor&&hasOwn(TypedArrayConstructor.prototype,KEY))try{delete TypedArrayConstructor.prototype[KEY]}catch(error){try{TypedArrayConstructor.prototype[KEY]=property}catch(error2){}}}TypedArrayPrototype[KEY]&&!forced||defineBuiltIn(TypedArrayPrototype,KEY,forced?property:NATIVE_ARRAY_BUFFER_VIEWS&&Int8ArrayPrototype[KEY]||property,options)}},exportTypedArrayStaticMethod:function(KEY,property,forced){var ARRAY,TypedArrayConstructor;if(DESCRIPTORS){if(setPrototypeOf){if(forced)for(ARRAY in TypedArrayConstructorsList)if((TypedArrayConstructor=global[ARRAY])&&hasOwn(TypedArrayConstructor,KEY))try{delete TypedArrayConstructor[KEY]}catch(error){}if(TypedArray[KEY]&&!forced)return;try{return defineBuiltIn(TypedArray,KEY,forced?property:NATIVE_ARRAY_BUFFER_VIEWS&&TypedArray[KEY]||property)}catch(error){}}for(ARRAY in TypedArrayConstructorsList)!(TypedArrayConstructor=global[ARRAY])||TypedArrayConstructor[KEY]&&!forced||defineBuiltIn(TypedArrayConstructor,KEY,property)}},getTypedArrayConstructor:getTypedArrayConstructor,isView:function isView(it){if(!isObject(it))return!1;var klass=classof(it);return"DataView"===klass||hasOwn(TypedArrayConstructorsList,klass)||hasOwn(BigIntArrayConstructorsList,klass)},isTypedArray:isTypedArray,TypedArray:TypedArray,TypedArrayPrototype:TypedArrayPrototype}},853:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(3),global=__webpack_require__(17),call=__webpack_require__(32),DESCRIPTORS=__webpack_require__(31),TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS=__webpack_require__(863),ArrayBufferViewCore=__webpack_require__(852),ArrayBufferModule=__webpack_require__(452),anInstance=__webpack_require__(115),createPropertyDescriptor=__webpack_require__(124),createNonEnumerableProperty=__webpack_require__(102),isIntegralNumber=__webpack_require__(451),toLength=__webpack_require__(103),toIndex=__webpack_require__(454),toOffset=__webpack_require__(856),toUint8Clamped=__webpack_require__(865),toPropertyKey=__webpack_require__(180),hasOwn=__webpack_require__(34),classof=__webpack_require__(142),isObject=__webpack_require__(37),isSymbol=__webpack_require__(125),create=__webpack_require__(105),isPrototypeOf=__webpack_require__(101),setPrototypeOf=__webpack_require__(177),getOwnPropertyNames=__webpack_require__(114).f,typedArrayFrom=__webpack_require__(866),forEach=__webpack_require__(92).forEach,setSpecies=__webpack_require__(184),defineBuiltInAccessor=__webpack_require__(96),definePropertyModule=__webpack_require__(43),getOwnPropertyDescriptorModule=__webpack_require__(76),InternalStateModule=__webpack_require__(60),inheritIfRequired=__webpack_require__(226),getInternalState=InternalStateModule.get,setInternalState=InternalStateModule.set,enforceInternalState=InternalStateModule.enforce,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,RangeError=global.RangeError,ArrayBuffer=ArrayBufferModule.ArrayBuffer,ArrayBufferPrototype=ArrayBuffer.prototype,DataView=ArrayBufferModule.DataView,NATIVE_ARRAY_BUFFER_VIEWS=ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_TAG=ArrayBufferViewCore.TYPED_ARRAY_TAG,TypedArray=ArrayBufferViewCore.TypedArray,TypedArrayPrototype=ArrayBufferViewCore.TypedArrayPrototype,aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor,isTypedArray=ArrayBufferViewCore.isTypedArray,fromList=function(C,list){aTypedArrayConstructor(C);for(var index=0,length=list.length,result=new C(length);length>index;)result[index]=list[index++];return result},addGetter=function(it,key){defineBuiltInAccessor(it,key,{configurable:!0,get:function(){return getInternalState(this)[key]}})},isArrayBuffer=function(it){var klass;return isPrototypeOf(ArrayBufferPrototype,it)||"ArrayBuffer"===(klass=classof(it))||"SharedArrayBuffer"===klass},isTypedArrayIndex=function(target,key){return isTypedArray(target)&&!isSymbol(key)&&key in target&&isIntegralNumber(+key)&&key>=0},wrappedGetOwnPropertyDescriptor=function getOwnPropertyDescriptor(target,key){return key=toPropertyKey(key),isTypedArrayIndex(target,key)?createPropertyDescriptor(2,target[key]):nativeGetOwnPropertyDescriptor(target,key)},wrappedDefineProperty=function defineProperty(target,key,descriptor){return key=toPropertyKey(key),!(isTypedArrayIndex(target,key)&&isObject(descriptor)&&hasOwn(descriptor,"value"))||hasOwn(descriptor,"get")||hasOwn(descriptor,"set")||descriptor.configurable||hasOwn(descriptor,"writable")&&!descriptor.writable||hasOwn(descriptor,"enumerable")&&!descriptor.enumerable?nativeDefineProperty(target,key,descriptor):(target[key]=descriptor.value,target)};DESCRIPTORS?(NATIVE_ARRAY_BUFFER_VIEWS||(getOwnPropertyDescriptorModule.f=wrappedGetOwnPropertyDescriptor,definePropertyModule.f=wrappedDefineProperty,addGetter(TypedArrayPrototype,"buffer"),addGetter(TypedArrayPrototype,"byteOffset"),addGetter(TypedArrayPrototype,"byteLength"),addGetter(TypedArrayPrototype,"length")),$({target:"Object",stat:!0,forced:!NATIVE_ARRAY_BUFFER_VIEWS},{getOwnPropertyDescriptor:wrappedGetOwnPropertyDescriptor,defineProperty:wrappedDefineProperty}),module.exports=function(TYPE,wrapper,CLAMPED){var BYTES=TYPE.match(/\d+/)[0]/8,CONSTRUCTOR_NAME=TYPE+(CLAMPED?"Clamped":"")+"Array",GETTER="get"+TYPE,SETTER="set"+TYPE,NativeTypedArrayConstructor=global[CONSTRUCTOR_NAME],TypedArrayConstructor=NativeTypedArrayConstructor,TypedArrayConstructorPrototype=TypedArrayConstructor&&TypedArrayConstructor.prototype,exported={},addElement=function(that,index){nativeDefineProperty(that,index,{get:function(){return function(that,index){var data=getInternalState(that);return data.view[GETTER](index*BYTES+data.byteOffset,!0)}(this,index)},set:function(value){return function(that,index,value){var data=getInternalState(that);data.view[SETTER](index*BYTES+data.byteOffset,CLAMPED?toUint8Clamped(value):value,!0)}(this,index,value)},enumerable:!0})};NATIVE_ARRAY_BUFFER_VIEWS?TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS&&(TypedArrayConstructor=wrapper((function(dummy,data,typedArrayOffset,$length){return anInstance(dummy,TypedArrayConstructorPrototype),inheritIfRequired(isObject(data)?isArrayBuffer(data)?void 0!==$length?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES),$length):void 0!==typedArrayOffset?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES)):new NativeTypedArrayConstructor(data):isTypedArray(data)?fromList(TypedArrayConstructor,data):call(typedArrayFrom,TypedArrayConstructor,data):new NativeTypedArrayConstructor(toIndex(data)),dummy,TypedArrayConstructor)})),setPrototypeOf&&setPrototypeOf(TypedArrayConstructor,TypedArray),forEach(getOwnPropertyNames(NativeTypedArrayConstructor),(function(key){key in TypedArrayConstructor||createNonEnumerableProperty(TypedArrayConstructor,key,NativeTypedArrayConstructor[key])})),TypedArrayConstructor.prototype=TypedArrayConstructorPrototype):(TypedArrayConstructor=wrapper((function(that,data,offset,$length){anInstance(that,TypedArrayConstructorPrototype);var buffer,byteLength,length,index=0,byteOffset=0;if(isObject(data)){if(!isArrayBuffer(data))return isTypedArray(data)?fromList(TypedArrayConstructor,data):call(typedArrayFrom,TypedArrayConstructor,data);buffer=data,byteOffset=toOffset(offset,BYTES);var $len=data.byteLength;if(void 0===$length){if($len%BYTES)throw new RangeError("Wrong length");if((byteLength=$len-byteOffset)<0)throw new RangeError("Wrong length")}else if((byteLength=toLength($length)*BYTES)+byteOffset>$len)throw new RangeError("Wrong length");length=byteLength/BYTES}else length=toIndex(data),buffer=new ArrayBuffer(byteLength=length*BYTES);for(setInternalState(that,{buffer:buffer,byteOffset:byteOffset,byteLength:byteLength,length:length,view:new DataView(buffer)});indexi;){if(code=+arguments[i++],toAbsoluteIndex(code,1114111)!==code)throw new $RangeError(code+" is not a valid code point");elements[i]=code<65536?fromCharCode(code):fromCharCode(55296+((code-=65536)>>10),code%1024+56320)}return join(elements,"")}})},856:function(module,exports,__webpack_require__){"use strict";var toPositiveInteger=__webpack_require__(864),$RangeError=RangeError;module.exports=function(it,BYTES){var offset=toPositiveInteger(it);if(offset%BYTES)throw new $RangeError("Wrong offset");return offset}},857:function(module,exports,__webpack_require__){"use strict";var toPrimitive=__webpack_require__(309),$TypeError=TypeError;module.exports=function(argument){var prim=toPrimitive(argument,"number");if("number"==typeof prim)throw new $TypeError("Can't convert number to bigint");return BigInt(prim)}},858:function(module,exports,__webpack_require__){"use strict";var aCallable=__webpack_require__(86),toObject=__webpack_require__(53),IndexedObject=__webpack_require__(179),lengthOfArrayLike=__webpack_require__(64),$TypeError=TypeError,createMethod=function(IS_RIGHT){return function(that,callbackfn,argumentsLength,memo){aCallable(callbackfn);var O=toObject(that),self=IndexedObject(O),length=lengthOfArrayLike(O),index=IS_RIGHT?length-1:0,i=IS_RIGHT?-1:1;if(argumentsLength<2)for(;;){if(index in self){memo=self[index],index+=i;break}if(index+=i,IS_RIGHT?index<0:length<=index)throw new $TypeError("Reduce of empty array with no initial value")}for(;IS_RIGHT?index>=0:length>index;index+=i)index in self&&(memo=callbackfn(memo,self[index],index,O));return memo}};module.exports={left:createMethod(!1),right:createMethod(!0)}},859:function(module,exports,__webpack_require__){"use strict";var $trimStart=__webpack_require__(227).start,forcedStringTrimMethod=__webpack_require__(316);module.exports=forcedStringTrimMethod("trimStart")?function trimStart(){return $trimStart(this)}:"".trimStart},860:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(3),codeAt=__webpack_require__(224).codeAt;$({target:"String",proto:!0},{codePointAt:function codePointAt(pos){return codeAt(this,pos)}})},861:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(3),call=__webpack_require__(32);$({target:"URL",proto:!0,enumerable:!0},{toJSON:function toJSON(){return call(URL.prototype.toString,this)}})},862:function(module,exports,__webpack_require__){"use strict";__webpack_require__(853)("Uint8",(function(init){return function Uint8Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},863:function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(17),fails=__webpack_require__(11),checkCorrectnessOfIteration=__webpack_require__(229),NATIVE_ARRAY_BUFFER_VIEWS=__webpack_require__(852).NATIVE_ARRAY_BUFFER_VIEWS,ArrayBuffer=global.ArrayBuffer,Int8Array=global.Int8Array;module.exports=!NATIVE_ARRAY_BUFFER_VIEWS||!fails((function(){Int8Array(1)}))||!fails((function(){new Int8Array(-1)}))||!checkCorrectnessOfIteration((function(iterable){new Int8Array,new Int8Array(null),new Int8Array(1.5),new Int8Array(iterable)}),!0)||fails((function(){return 1!==new Int8Array(new ArrayBuffer(2),1,void 0).length}))},864:function(module,exports,__webpack_require__){"use strict";var toIntegerOrInfinity=__webpack_require__(87),$RangeError=RangeError;module.exports=function(it){var result=toIntegerOrInfinity(it);if(result<0)throw new $RangeError("The argument can't be less than 0");return result}},865:function(module,exports,__webpack_require__){"use strict";var round=Math.round;module.exports=function(it){var value=round(it);return value<0?0:value>255?255:255&value}},866:function(module,exports,__webpack_require__){"use strict";var bind=__webpack_require__(98),call=__webpack_require__(32),aConstructor=__webpack_require__(310),toObject=__webpack_require__(53),lengthOfArrayLike=__webpack_require__(64),getIterator=__webpack_require__(225),getIteratorMethod=__webpack_require__(183),isArrayIteratorMethod=__webpack_require__(311),isBigIntArray=__webpack_require__(867),aTypedArrayConstructor=__webpack_require__(852).aTypedArrayConstructor,toBigInt=__webpack_require__(857);module.exports=function from(source){var i,length,result,thisIsBigIntArray,value,step,iterator,next,C=aConstructor(this),O=toObject(source),argumentsLength=arguments.length,mapfn=argumentsLength>1?arguments[1]:void 0,mapping=void 0!==mapfn,iteratorMethod=getIteratorMethod(O);if(iteratorMethod&&!isArrayIteratorMethod(iteratorMethod))for(next=(iterator=getIterator(O,iteratorMethod)).next,O=[];!(step=call(next,iterator)).done;)O.push(step.value);for(mapping&&argumentsLength>2&&(mapfn=bind(mapfn,arguments[2])),length=lengthOfArrayLike(O),result=new(aTypedArrayConstructor(C))(length),thisIsBigIntArray=isBigIntArray(result),i=0;length>i;i++)value=mapping?mapfn(O[i],i):O[i],result[i]=thisIsBigIntArray?toBigInt(value):+value;return result}},867:function(module,exports,__webpack_require__){"use strict";var classof=__webpack_require__(142);module.exports=function(it){var klass=classof(it);return"BigInt64Array"===klass||"BigUint64Array"===klass}},868:function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(12),ArrayBufferViewCore=__webpack_require__(852),u$ArrayCopyWithin=uncurryThis(__webpack_require__(869)),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("copyWithin",(function copyWithin(target,start){return u$ArrayCopyWithin(aTypedArray(this),target,start,arguments.length>2?arguments[2]:void 0)}))},869:function(module,exports,__webpack_require__){"use strict";var toObject=__webpack_require__(53),toAbsoluteIndex=__webpack_require__(141),lengthOfArrayLike=__webpack_require__(64),deletePropertyOrThrow=__webpack_require__(315),min=Math.min;module.exports=[].copyWithin||function copyWithin(target,start){var O=toObject(this),len=lengthOfArrayLike(O),to=toAbsoluteIndex(target,len),from=toAbsoluteIndex(start,len),end=arguments.length>2?arguments[2]:void 0,count=min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to),inc=1;for(from0;)from in O?O[to]=O[from]:deletePropertyOrThrow(O,to),to+=inc,from+=inc;return O}},870:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$every=__webpack_require__(92).every,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("every",(function every(callbackfn){return $every(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},871:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$fill=__webpack_require__(314),toBigInt=__webpack_require__(857),classof=__webpack_require__(142),call=__webpack_require__(32),uncurryThis=__webpack_require__(12),fails=__webpack_require__(11),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,slice=uncurryThis("".slice);exportTypedArrayMethod("fill",(function fill(value){var length=arguments.length;aTypedArray(this);var actualValue="Big"===slice(classof(this),0,3)?toBigInt(value):+value;return call($fill,this,actualValue,length>1?arguments[1]:void 0,length>2?arguments[2]:void 0)}),fails((function(){var count=0;return new Int8Array(2).fill({valueOf:function(){return count++}}),1!==count})))},872:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$filter=__webpack_require__(92).filter,fromSpeciesAndList=__webpack_require__(873),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("filter",(function filter(callbackfn){var list=$filter(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0);return fromSpeciesAndList(this,list)}))},873:function(module,exports,__webpack_require__){"use strict";var arrayFromConstructorAndList=__webpack_require__(874),typedArraySpeciesConstructor=__webpack_require__(854);module.exports=function(instance,list){return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance),list)}},874:function(module,exports,__webpack_require__){"use strict";var lengthOfArrayLike=__webpack_require__(64);module.exports=function(Constructor,list){for(var index=0,length=lengthOfArrayLike(list),result=new Constructor(length);length>index;)result[index]=list[index++];return result}},875:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$find=__webpack_require__(92).find,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("find",(function find(predicate){return $find(aTypedArray(this),predicate,arguments.length>1?arguments[1]:void 0)}))},876:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$findIndex=__webpack_require__(92).findIndex,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("findIndex",(function findIndex(predicate){return $findIndex(aTypedArray(this),predicate,arguments.length>1?arguments[1]:void 0)}))},877:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$forEach=__webpack_require__(92).forEach,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("forEach",(function forEach(callbackfn){$forEach(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},878:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$includes=__webpack_require__(307).includes,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("includes",(function includes(searchElement){return $includes(aTypedArray(this),searchElement,arguments.length>1?arguments[1]:void 0)}))},879:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$indexOf=__webpack_require__(307).indexOf,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("indexOf",(function indexOf(searchElement){return $indexOf(aTypedArray(this),searchElement,arguments.length>1?arguments[1]:void 0)}))},880:function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(17),fails=__webpack_require__(11),uncurryThis=__webpack_require__(12),ArrayBufferViewCore=__webpack_require__(852),ArrayIterators=__webpack_require__(13),ITERATOR=__webpack_require__(25)("iterator"),Uint8Array=global.Uint8Array,arrayValues=uncurryThis(ArrayIterators.values),arrayKeys=uncurryThis(ArrayIterators.keys),arrayEntries=uncurryThis(ArrayIterators.entries),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,TypedArrayPrototype=Uint8Array&&Uint8Array.prototype,GENERIC=!fails((function(){TypedArrayPrototype[ITERATOR].call([1])})),ITERATOR_IS_VALUES=!!TypedArrayPrototype&&TypedArrayPrototype.values&&TypedArrayPrototype[ITERATOR]===TypedArrayPrototype.values&&"values"===TypedArrayPrototype.values.name,typedArrayValues=function values(){return arrayValues(aTypedArray(this))};exportTypedArrayMethod("entries",(function entries(){return arrayEntries(aTypedArray(this))}),GENERIC),exportTypedArrayMethod("keys",(function keys(){return arrayKeys(aTypedArray(this))}),GENERIC),exportTypedArrayMethod("values",typedArrayValues,GENERIC||!ITERATOR_IS_VALUES,{name:"values"}),exportTypedArrayMethod(ITERATOR,typedArrayValues,GENERIC||!ITERATOR_IS_VALUES,{name:"values"})},881:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),uncurryThis=__webpack_require__(12),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,$join=uncurryThis([].join);exportTypedArrayMethod("join",(function join(separator){return $join(aTypedArray(this),separator)}))},882:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),apply=__webpack_require__(122),$lastIndexOf=__webpack_require__(883),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("lastIndexOf",(function lastIndexOf(searchElement){var length=arguments.length;return apply($lastIndexOf,aTypedArray(this),length>1?[searchElement,arguments[1]]:[searchElement])}))},883:function(module,exports,__webpack_require__){"use strict";var apply=__webpack_require__(122),toIndexedObject=__webpack_require__(66),toIntegerOrInfinity=__webpack_require__(87),lengthOfArrayLike=__webpack_require__(64),arrayMethodIsStrict=__webpack_require__(148),min=Math.min,$lastIndexOf=[].lastIndexOf,NEGATIVE_ZERO=!!$lastIndexOf&&1/[1].lastIndexOf(1,-0)<0,STRICT_METHOD=arrayMethodIsStrict("lastIndexOf"),FORCED=NEGATIVE_ZERO||!STRICT_METHOD;module.exports=FORCED?function lastIndexOf(searchElement){if(NEGATIVE_ZERO)return apply($lastIndexOf,this,arguments)||0;var O=toIndexedObject(this),length=lengthOfArrayLike(O),index=length-1;for(arguments.length>1&&(index=min(index,toIntegerOrInfinity(arguments[1]))),index<0&&(index=length+index);index>=0;index--)if(index in O&&O[index]===searchElement)return index||0;return-1}:$lastIndexOf},884:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$map=__webpack_require__(92).map,typedArraySpeciesConstructor=__webpack_require__(854),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("map",(function map(mapfn){return $map(aTypedArray(this),mapfn,arguments.length>1?arguments[1]:void 0,(function(O,length){return new(typedArraySpeciesConstructor(O))(length)}))}))},885:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$reduce=__webpack_require__(858).left,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("reduce",(function reduce(callbackfn){var length=arguments.length;return $reduce(aTypedArray(this),callbackfn,length,length>1?arguments[1]:void 0)}))},886:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$reduceRight=__webpack_require__(858).right,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("reduceRight",(function reduceRight(callbackfn){var length=arguments.length;return $reduceRight(aTypedArray(this),callbackfn,length,length>1?arguments[1]:void 0)}))},887:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,floor=Math.floor;exportTypedArrayMethod("reverse",(function reverse(){for(var value,length=aTypedArray(this).length,middle=floor(length/2),index=0;index1?arguments[1]:void 0,1),src=toIndexedObject(arrayLike);if(WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS)return call($set,this,src,offset);var length=this.length,len=lengthOfArrayLike(src),index=0;if(len+offset>length)throw new RangeError("Wrong length");for(;indexindex;)result[index]=list[index++];return result}),fails((function(){new Int8Array(1).slice()})))},890:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),$some=__webpack_require__(92).some,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("some",(function some(callbackfn){return $some(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},891:function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(17),uncurryThis=__webpack_require__(182),fails=__webpack_require__(11),aCallable=__webpack_require__(86),internalSort=__webpack_require__(313),ArrayBufferViewCore=__webpack_require__(852),FF=__webpack_require__(455),IE_OR_EDGE=__webpack_require__(456),V8=__webpack_require__(147),WEBKIT=__webpack_require__(457),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,Uint16Array=global.Uint16Array,nativeSort=Uint16Array&&uncurryThis(Uint16Array.prototype.sort),ACCEPT_INCORRECT_ARGUMENTS=!(!nativeSort||fails((function(){nativeSort(new Uint16Array(2),null)}))&&fails((function(){nativeSort(new Uint16Array(2),{})}))),STABLE_SORT=!!nativeSort&&!fails((function(){if(V8)return V8<74;if(FF)return FF<67;if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<602;var index,mod,array=new Uint16Array(516),expected=Array(516);for(index=0;index<516;index++)mod=index%4,array[index]=515-index,expected[index]=index-2*mod+3;for(nativeSort(array,(function(a,b){return(a/4|0)-(b/4|0)})),index=0;index<516;index++)if(array[index]!==expected[index])return!0}));exportTypedArrayMethod("sort",(function sort(comparefn){return void 0!==comparefn&&aCallable(comparefn),STABLE_SORT?nativeSort(this,comparefn):internalSort(aTypedArray(this),function(comparefn){return function(x,y){return void 0!==comparefn?+comparefn(x,y)||0:y!=y?-1:x!=x?1:0===x&&0===y?1/x>0&&1/y<0?1:-1:x>y}}(comparefn))}),!STABLE_SORT||ACCEPT_INCORRECT_ARGUMENTS)},892:function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__(852),toLength=__webpack_require__(103),toAbsoluteIndex=__webpack_require__(141),typedArraySpeciesConstructor=__webpack_require__(854),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("subarray",(function subarray(begin,end){var O=aTypedArray(this),length=O.length,beginIndex=toAbsoluteIndex(begin,length);return new(typedArraySpeciesConstructor(O))(O.buffer,O.byteOffset+beginIndex*O.BYTES_PER_ELEMENT,toLength((void 0===end?length:toAbsoluteIndex(end,length))-beginIndex))}))},893:function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(17),apply=__webpack_require__(122),ArrayBufferViewCore=__webpack_require__(852),fails=__webpack_require__(11),arraySlice=__webpack_require__(145),Int8Array=global.Int8Array,aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,$toLocaleString=[].toLocaleString,TO_LOCALE_STRING_BUG=!!Int8Array&&fails((function(){$toLocaleString.call(new Int8Array(1))}));exportTypedArrayMethod("toLocaleString",(function toLocaleString(){return apply($toLocaleString,TO_LOCALE_STRING_BUG?arraySlice(aTypedArray(this)):aTypedArray(this),arraySlice(arguments))}),fails((function(){return[1,2].toLocaleString()!==new Int8Array([1,2]).toLocaleString()}))||!fails((function(){Int8Array.prototype.toLocaleString.call([1,2])})))},894:function(module,exports,__webpack_require__){"use strict";var exportTypedArrayMethod=__webpack_require__(852).exportTypedArrayMethod,fails=__webpack_require__(11),global=__webpack_require__(17),uncurryThis=__webpack_require__(12),Uint8Array=global.Uint8Array,Uint8ArrayPrototype=Uint8Array&&Uint8Array.prototype||{},arrayToString=[].toString,join=uncurryThis([].join);fails((function(){arrayToString.call({})}))&&(arrayToString=function toString(){return join(this)});var IS_NOT_ARRAY_METHOD=Uint8ArrayPrototype.toString!==arrayToString;exportTypedArrayMethod("toString",arrayToString,IS_NOT_ARRAY_METHOD)},895:function(module,exports,__webpack_require__){"use strict";__webpack_require__(853)("Uint16",(function(init){return function Uint16Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},896:function(module,exports,__webpack_require__){"use strict";__webpack_require__(853)("Float32",(function(init){return function Float32Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},897:function(module,exports,__webpack_require__){"use strict";__webpack_require__(853)("Float64",(function(init){return function Float64Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},898:function(module,exports,__webpack_require__){"use strict";__webpack_require__(899);var $=__webpack_require__(3),trimStart=__webpack_require__(859);$({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==trimStart},{trimStart:trimStart})},899:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(3),trimStart=__webpack_require__(859);$({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==trimStart},{trimLeft:trimStart})},900:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(3),createHTML=__webpack_require__(232);$({target:"String",proto:!0,forced:__webpack_require__(233)("anchor")},{anchor:function anchor(name){return createHTML(this,"a","name",name)}})},901:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(3),call=__webpack_require__(32),isObject=__webpack_require__(37),anObject=__webpack_require__(38),isDataDescriptor=__webpack_require__(902),getOwnPropertyDescriptorModule=__webpack_require__(76),getPrototypeOf=__webpack_require__(146);$({target:"Reflect",stat:!0},{get:function get(target,propertyKey){var descriptor,prototype,receiver=arguments.length<3?target:arguments[2];return anObject(target)===receiver?target[propertyKey]:(descriptor=getOwnPropertyDescriptorModule.f(target,propertyKey))?isDataDescriptor(descriptor)?descriptor.value:void 0===descriptor.get?void 0:call(descriptor.get,receiver):isObject(prototype=getPrototypeOf(target))?get(prototype,propertyKey,receiver):void 0}})},902:function(module,exports,__webpack_require__){"use strict";var hasOwn=__webpack_require__(34);module.exports=function(descriptor){return void 0!==descriptor&&(hasOwn(descriptor,"value")||hasOwn(descriptor,"writable"))}}}]); \ No newline at end of file diff --git a/5.3636e952a31b18558f5e.manager.bundle.js.LICENSE.txt b/5.3636e952a31b18558f5e.manager.bundle.js.LICENSE.txt new file mode 100644 index 000000000..1ade02a1c --- /dev/null +++ b/5.3636e952a31b18558f5e.manager.bundle.js.LICENSE.txt @@ -0,0 +1,31 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ diff --git a/6.4484cd7492075a8b2bc9.manager.bundle.js b/6.4484cd7492075a8b2bc9.manager.bundle.js new file mode 100644 index 000000000..7381e054c --- /dev/null +++ b/6.4484cd7492075a8b2bc9.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{851:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorControl",(function(){return ColorControl})),__webpack_require__.d(__webpack_exports__,"default",(function(){return ColorControl}));__webpack_require__(27),__webpack_require__(42),__webpack_require__(74),__webpack_require__(46),__webpack_require__(7),__webpack_require__(144),__webpack_require__(16),__webpack_require__(94),__webpack_require__(93),__webpack_require__(13),__webpack_require__(176),__webpack_require__(18),__webpack_require__(15),__webpack_require__(47),__webpack_require__(33),__webpack_require__(95),__webpack_require__(36),__webpack_require__(23),__webpack_require__(29),__webpack_require__(97),__webpack_require__(222),__webpack_require__(22),__webpack_require__(14),__webpack_require__(19),__webpack_require__(20),__webpack_require__(26);var _ColorPicker,_fallbackColor,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__(2),react__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_27___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_27__),_storybook_theming__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__(1);__webpack_require__(24),__webpack_require__(51),__webpack_require__(83);function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(o[t]=e[t]);return o}function i(e){var t=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)(e),n=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var s=function s(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:_e.buttons>0)&&m.current?g(d(m.current,_e,b.current)):t(!1)},r=function r(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]}),[p,g]),C=x[0],E=x[1],H=x[2];return Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){return H}),[H]),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))})),g=function g(e){return e.filter(Boolean).join(" ")},p=function p(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function b(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function x(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},C=function C(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},M=function M(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},N=function N(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function w(e){var r=N(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},y=function y(e){var r=N(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},q=function q(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function z(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function B(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},K=react__WEBPACK_IMPORTED_MODULE_27___default.a.memo((function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:o},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(m,{onMove:function onMove(e){n({h:360*e.left})},onKey:function onKey(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":b(t)},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:w({h:t,s:100,v:100,a:1})})))})),L=react__WEBPACK_IMPORTED_MODULE_27___default.a.memo((function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:"react-colorful__saturation",style:o},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(m,{onMove:function onMove(e){n({s:100*e.left,v:100-100*e.top})},onKey:function onKey(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:w(t)})))})),A=function A(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},S=function S(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function T(e,t,l){var u=i(l),c=Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)((function(){return e.toHsva(t)})),s=c[0],f=c[1],v=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)({color:t,hsva:s});Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}}),[t,e]),Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=Object(react__WEBPACK_IMPORTED_MODULE_27__.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}for(var P="undefined"!=typeof window?react__WEBPACK_IMPORTED_MODULE_27__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_27__.useEffect,R=new Map,V=function V(e){P((function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=function X(){return __webpack_require__.nc}();n&&t.setAttribute("nonce",n),r.head.appendChild(t)}}),[])},$=function $(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",u({},s,{ref:f,className:m}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(L,{hsva:d,onChange:h}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function toHsva(e){return B(x(e))},fromHsva:function fromHsva(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n},equal:function equal(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},Q=function Q(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+y(Object.assign({},n,{a:0}))+", "+y(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:l},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(m,{onMove:function onMove(e){o({a:e.left})},onKey:function onKey(e){o({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":b(100*n.a)+"%"},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:y(n)})))},U=function U(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",u({},s,{ref:f,className:m}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(L,{hsva:d,onChange:h}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(K,{hue:d.h,onChange:h}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Q,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},ee={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:function E(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?M({h:C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},fromHsva:y,equal:S},ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:function I(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},fromHsva:function fromHsva(e){var r=q(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:S},cssKeywords={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},reverseKeywords={},_i=0,_Object$keys=Object.keys(cssKeywords);_i<_Object$keys.length;_i++){var key=_Object$keys[_i];reverseKeywords[cssKeywords[key]]=key}for(var convert$1={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},conversions$2=convert$1,_i2=0,_Object$keys2=Object.keys(convert$1);_i2<_Object$keys2.length;_i2++){var model=_Object$keys2[_i2];if(!("channels"in convert$1[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert$1[model]))throw new Error("missing channel labels property: "+model);if(convert$1[model].labels.length!==convert$1[model].channels)throw new Error("channel and label counts mismatch: "+model);var _convert$1$model=convert$1[model],channels=_convert$1$model.channels,labels=_convert$1$model.labels;delete convert$1[model].channels,delete convert$1[model].labels,Object.defineProperty(convert$1[model],"channels",{value:channels}),Object.defineProperty(convert$1[model],"labels",{value:labels})}function comparativeDistance(x,y){return Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)+Math.pow(x[2]-y[2],2)}convert$1.rgb.hsl=function(rgb){var h,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),(h=Math.min(60*h,360))<0&&(h+=360);var l=(min+max)/2;return[h,100*(max===min?0:l<=.5?delta/(max+min):delta/(2-max-min)),100*l]},convert$1.rgb.hsv=function(rgb){var rdif,gdif,bdif,h,s,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function diffc(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert$1.rgb.hwb=function(rgb){var r=rgb[0],g=rgb[1],b=rgb[2];return[convert$1.rgb.hsl(rgb)[0],100*(1/255*Math.min(r,Math.min(g,b))),100*(b=1-1/255*Math.max(r,Math.max(g,b)))]},convert$1.rgb.cmyk=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert$1.rgb.keyword=function(rgb){var reversed=reverseKeywords[rgb];if(reversed)return reversed;for(var currentClosestKeyword,currentClosestDistance=1/0,_i3=0,_Object$keys3=Object.keys(cssKeywords);_i3<_Object$keys3.length;_i3++){var keyword=_Object$keys3[_i3],distance=comparativeDistance(rgb,cssKeywords[keyword]);distance.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.3576*(g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92)+.1805*(b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92)),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert$1.rgb.lab=function(rgb){var xyz=convert$1.rgb.xyz(rgb),x=xyz[0],y=xyz[1],z=xyz[2];return y/=100,z/=108.883,x=(x/=95.047)>.008856?Math.pow(x,1/3):7.787*x+16/116,[116*(y=y>.008856?Math.pow(y,1/3):7.787*y+16/116)-16,500*(x-y),200*(y-(z=z>.008856?Math.pow(z,1/3):7.787*z+16/116))]},convert$1.hsl.rgb=function(hsl){var t2,t3,val,h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;if(0===s)return[val=255*l,val,val];for(var t1=2*l-(t2=l<.5?l*(1+s):l+s-l*s),rgb=[0,0,0],_i4=0;_i4<3;_i4++)(t3=h+1/3*-(_i4-1))<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[_i4]=255*val;return rgb},convert$1.hsl.hsv=function(hsl){var h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);return s*=(l*=2)<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert$1.hsv.rgb=function(hsv){var h=hsv[0]/60,s=hsv[1]/100,v=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert$1.hsv.hsl=function(hsv){var sl,l,h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);l=(2-s)*v;var lmin=(2-s)*vmin;return sl=s*vmin,[h,100*(sl=(sl/=lmin<=1?lmin:2-lmin)||0),100*(l/=2)]},convert$1.hwb.rgb=function(hwb){var f,h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl;ratio>1&&(wh/=ratio,bl/=ratio);var i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);var r,g,b,n=wh+f*(v-wh);switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert$1.cmyk.rgb=function(cmyk){var c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert$1.xyz.rgb=function(xyz){var r,g,b,x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;return g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=(r=3.2406*x+-1.5372*y+-.4986*z)>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:12.92*g,b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:12.92*b,[255*(r=Math.min(Math.max(0,r),1)),255*(g=Math.min(Math.max(0,g),1)),255*(b=Math.min(Math.max(0,b),1))]},convert$1.xyz.lab=function(xyz){var x=xyz[0],y=xyz[1],z=xyz[2];return y/=100,z/=108.883,x=(x/=95.047)>.008856?Math.pow(x,1/3):7.787*x+16/116,[116*(y=y>.008856?Math.pow(y,1/3):7.787*y+16/116)-16,500*(x-y),200*(y-(z=z>.008856?Math.pow(z,1/3):7.787*z+16/116))]},convert$1.lab.xyz=function(lab){var x,y,z,l=lab[0];x=lab[1]/500+(y=(l+16)/116),z=y-lab[2]/200;var y2=Math.pow(y,3),x2=Math.pow(x,3),z2=Math.pow(z,3);return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,[x*=95.047,y*=100,z*=108.883]},convert$1.lab.lch=function(lab){var h,l=lab[0],a=lab[1],b=lab[2];return(h=360*Math.atan2(b,a)/2/Math.PI)<0&&(h+=360),[l,Math.sqrt(a*a+b*b),h]},convert$1.lch.lab=function(lch){var l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert$1.rgb.ansi16=function(args){var saturation=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,_args=_slicedToArray(args,3),r=_args[0],g=_args[1],b=_args[2],value=null===saturation?convert$1.rgb.hsv(args)[2]:saturation;if(0===(value=Math.round(value/50)))return 30;var ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert$1.hsv.ansi16=function(args){return convert$1.rgb.ansi16(convert$1.hsv.rgb(args),args[2])},convert$1.rgb.ansi256=function(args){var r=args[0],g=args[1],b=args[2];return r===g&&g===b?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert$1.ansi16.rgb=function(args){var color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),[color=color/10.5*255,color,color];var mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert$1.ansi256.rgb=function(args){if(args>=232){var _c=10*(args-232)+8;return[_c,_c,_c]}var rem;return args-=16,[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert$1.rgb.hex=function(args){var string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert$1.hex.rgb=function(args){var match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];var colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map((function(char){return char+char})).join(""));var integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert$1.rgb.hcg=function(rgb){var hue,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;return hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,[360*(hue%=1),100*chroma,100*(chroma<1?min/(1-chroma):0)]},convert$1.hsl.hcg=function(hsl){var s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert$1.hsv.hcg=function(hsv){var s=hsv[1]/100,v=hsv[2]/100,c=s*v,f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert$1.hcg.rgb=function(hcg){var h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];var mg,pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert$1.hcg.hsv=function(hcg){var c=hcg[1]/100,v=c+hcg[2]/100*(1-c),f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert$1.hcg.hsl=function(hcg){var c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert$1.hcg.hwb=function(hcg){var c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert$1.hwb.hcg=function(hwb){var w=hwb[1]/100,v=1-hwb[2]/100,c=v-w,g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert$1.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert$1.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert$1.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert$1.gray.hsl=function(args){return[0,0,args[0]]},convert$1.gray.hsv=convert$1.gray.hsl,convert$1.gray.hwb=function(gray){return[0,100,gray[0]]},convert$1.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert$1.gray.lab=function(gray){return[gray[0],0,0]},convert$1.gray.hex=function(gray){var val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert$1.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]};var conversions$1=conversions$2;function deriveBFS(fromModel){var graph=function buildGraph(){for(var graph={},models=Object.keys(conversions$1),len=models.length,_i5=0;_i51&&(args=arg0);var result=fn(args);if("object"===_typeof(result))for(var len=result.length,_i8=0;_i81&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)}))}));var colorConvert=convert,root=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.X,now_1=function now$1(){return root.Date.now()},reWhitespace=/\s/;var trimmedEndIndex=function trimmedEndIndex$1(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index},reTrimStart=/^\s+/;var baseTrim=function baseTrim$1(string){return string?string.slice(0,trimmedEndIndex(string)+1).replace(reTrimStart,""):string},isObject$2=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.ab,isSymbol=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.bb,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;var toNumber_1=function toNumber$1(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject$2(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject$2(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value},isObject$1=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.ab,now=now_1,toNumber=toNumber_1,nativeMax=Math.max,nativeMin=Math.min;var debounce_1=function debounce$1(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject$1(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced},debounce=debounce_1,isObject=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.ab;var ColorSpace,throttle_1=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})},Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.l.div({position:"relative",maxWidth:250}),PickerTooltip=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.l)(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.f)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.l.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.l)(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.e)((function(_ref){return{fontFamily:_ref.theme.typography.fonts.base}})),Swatches=_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.l.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.l.div((function(_ref2){var theme=_ref2.theme;return{width:16,height:16,boxShadow:_ref2.active?"".concat(theme.appBorderColor," 0 0 0 1px inset, ").concat(theme.color.mediumdark,"50 0 0 0 4px"):"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:theme.appBorderRadius}})),Swatch=function Swatch(_a){var value=_a.value,active=_a.active,onClick=_a.onClick,style=_a.style,props=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.G)(_a,["value","active","onClick","style"]),backgroundImage="linear-gradient(".concat(value,", ").concat(value,"), ").concat('url(\'data:image/svg+xml;charset=utf-8,\')',", linear-gradient(#fff, #fff)");return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(SwatchColor,Object.assign({},props,{active:active,onClick:onClick},{style:Object.assign(Object.assign({},style),{backgroundImage:backgroundImage})}))},Input=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.l)(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.b.Input)((function(_ref3){return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:_ref3.theme.typography.fonts.base}})),ToggleIcon=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.l)(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.c)((function(_ref4){return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:_ref4.theme.input.color}}));!function(ColorSpace){ColorSpace.RGB="rgb",ColorSpace.HSL="hsl",ColorSpace.HEX="hex"}(ColorSpace||(ColorSpace={}));var COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker=(_defineProperty(_ColorPicker={},ColorSpace.HEX,(function J(r){return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement($,u({},r,{colorModel:G}))})),_defineProperty(_ColorPicker,ColorSpace.RGB,(function pe(r){return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(U,u({},r,{colorModel:ge}))})),_defineProperty(_ColorPicker,ColorSpace.HSL,(function re(r){return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(U,u({},r,{colorModel:ee}))})),_ColorPicker),fallbackColor=(_defineProperty(_fallbackColor={},ColorSpace.HEX,"transparent"),_defineProperty(_fallbackColor,ColorSpace.RGB,"rgba(0, 0, 0, 0)"),_defineProperty(_fallbackColor,ColorSpace.HSL,"hsla(0, 0%, 0%, 0)"),_fallbackColor),stringToArgs=function stringToArgs(value){var match=null==value?void 0:value.match(COLOR_REGEXP);if(!match)return[0,0,0,1];var _match=_slicedToArray(match,5),x=_match[1],y=_match[2],z=_match[3],_match$=_match[4];return[x,y,z,void 0===_match$?1:_match$].map(Number)},parseValue=function parseValue(value){var _ref11;if(value){var valid=!0;if(RGB_REGEXP.test(value)){var _ref7,_stringToArgs2=_slicedToArray(stringToArgs(value),4),r=_stringToArgs2[0],_g=_stringToArgs2[1],_b=_stringToArgs2[2],a=_stringToArgs2[3],_ref6=_slicedToArray(colorConvert.rgb.hsl([r,_g,_b])||[0,0,0],3),_h=_ref6[0],_s2=_ref6[1],l=_ref6[2];return _defineProperty(_ref7={valid:valid,value:value,keyword:colorConvert.rgb.keyword([r,_g,_b]),colorSpace:ColorSpace.RGB},ColorSpace.RGB,value),_defineProperty(_ref7,ColorSpace.HSL,"hsla(".concat(_h,", ").concat(_s2,"%, ").concat(l,"%, ").concat(a,")")),_defineProperty(_ref7,ColorSpace.HEX,"#".concat(colorConvert.rgb.hex([r,_g,_b]).toLowerCase())),_ref7}if(HSL_REGEXP.test(value)){var _ref10,_stringToArgs4=_slicedToArray(stringToArgs(value),4),_h2=_stringToArgs4[0],_s3=_stringToArgs4[1],_l=_stringToArgs4[2],_a2=_stringToArgs4[3],_ref9=_slicedToArray(colorConvert.hsl.rgb([_h2,_s3,_l])||[0,0,0],3),_r=_ref9[0],_g2=_ref9[1],_b2=_ref9[2];return _defineProperty(_ref10={valid:valid,value:value,keyword:colorConvert.hsl.keyword([_h2,_s3,_l]),colorSpace:ColorSpace.HSL},ColorSpace.RGB,"rgba(".concat(_r,", ").concat(_g2,", ").concat(_b2,", ").concat(_a2,")")),_defineProperty(_ref10,ColorSpace.HSL,value),_defineProperty(_ref10,ColorSpace.HEX,"#".concat(colorConvert.hsl.hex([_h2,_s3,_l]).toLowerCase())),_ref10}var plain=value.replace("#",""),rgb=colorConvert.keyword.rgb(plain)||colorConvert.hex.rgb(plain),hsl=colorConvert.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped="#".concat(plain)),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{colorConvert.keyword.hex(mapped)}catch(e){valid=!1}return _defineProperty(_ref11={valid:valid,value:mapped,keyword:colorConvert.rgb.keyword(rgb),colorSpace:ColorSpace.HEX},ColorSpace.RGB,"rgba(".concat(rgb[0],", ").concat(rgb[1],", ").concat(rgb[2],", 1)")),_defineProperty(_ref11,ColorSpace.HSL,"hsla(".concat(hsl[0],", ").concat(hsl[1],"%, ").concat(hsl[2],"%, 1)")),_defineProperty(_ref11,ColorSpace.HEX,mapped),_ref11}},useColorInput=function useColorInput(initialValue,onChange){var _useState2=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)(initialValue||""),2),value=_useState2[0],setValue=_useState2[1],_useState4=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)((function(){return parseValue(value)})),2),color=_useState4[0],setColor=_useState4[1],_useState6=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)((null==color?void 0:color.colorSpace)||ColorSpace.HEX),2),colorSpace=_useState6[0],setColorSpace=_useState6[1];Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){void 0===initialValue&&(setValue(""),setColor(void 0),setColorSpace(ColorSpace.HEX))}),[initialValue]);var realValue=Object(react__WEBPACK_IMPORTED_MODULE_27__.useMemo)((function(){return function getRealValue(value,color,colorSpace){if(!value||!(null==color?void 0:color.valid))return fallbackColor[colorSpace];if(colorSpace!==ColorSpace.HEX)return(null==color?void 0:color[colorSpace])||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return"#".concat(colorConvert.keyword.hex(color.hex))}catch(e){return fallbackColor.hex}var short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;var _short$1$split2=_slicedToArray(short[1].split(""),3),r=_short$1$split2[0],g=_short$1$split2[1],b=_short$1$split2[2];return"#".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b)}(value,color,colorSpace).toLowerCase()}),[value,color,colorSpace]),updateValue=Object(react__WEBPACK_IMPORTED_MODULE_27__.useCallback)((function(update){var parsed=parseValue(update);setValue((null==parsed?void 0:parsed.value)||update||""),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[onChange]),cycleColorSpace=Object(react__WEBPACK_IMPORTED_MODULE_27__.useCallback)((function(){var next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);var update=(null==color?void 0:color[COLOR_SPACES[next]])||"";setValue(update),onChange(update)}),[color,colorSpace,onChange]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=function id(value){return value.replace(/\s*/,"").toLowerCase()},ColorControl=function ColorControl(_ref12){var name=_ref12.name,initialValue=_ref12.value,onChange=_ref12.onChange,onFocus=_ref12.onFocus,onBlur=_ref12.onBlur,presetColors=_ref12.presetColors,startOpen=_ref12.startOpen,_useColorInput=useColorInput(initialValue,throttle_1(onChange,200)),value=_useColorInput.value,realValue=_useColorInput.realValue,updateValue=_useColorInput.updateValue,color=_useColorInput.color,colorSpace=_useColorInput.colorSpace,cycleColorSpace=_useColorInput.cycleColorSpace,_usePresets=function usePresets(presetColors,currentColor,colorSpace){var _useState8=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)((null==currentColor?void 0:currentColor.valid)?[currentColor]:[]),2),selectedColors=_useState8[0],setSelectedColors=_useState8[1];Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){void 0===currentColor&&setSelectedColors([])}),[currentColor]);var presets=Object(react__WEBPACK_IMPORTED_MODULE_27__.useMemo)((function(){return(presetColors||[]).map((function(preset){return"string"==typeof preset?parseValue(preset):preset.title?Object.assign(Object.assign({},parseValue(preset.color)),{keyword:preset.title}):parseValue(preset.color)})).concat(selectedColors).filter(Boolean).slice(-27)}),[presetColors,selectedColors]),addPreset=Object(react__WEBPACK_IMPORTED_MODULE_27__.useCallback)((function(color){(null==color?void 0:color.valid)&&(presets.some((function(preset){return id(preset[colorSpace])===id(color[colorSpace])}))||setSelectedColors((function(arr){return arr.concat(color)})))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}}(presetColors,color,colorSpace),presets=_usePresets.presets,addPreset=_usePresets.addPreset,Picker=ColorPicker[colorSpace];return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Wrapper,null,react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(PickerTooltip,{trigger:"click",startOpen:startOpen,closeOnClick:!0,onVisibilityChange:function onVisibilityChange(){return addPreset(color)},tooltip:react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(TooltipContent,null,react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Picker,Object.assign({color:"transparent"===realValue?"#000000":realValue},{onChange:updateValue,onFocus:onFocus,onBlur:onBlur})),presets.length>0&&react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Swatches,null,presets.map((function(preset,index){return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.f,{key:"".concat(preset.value,"-").concat(index),hasChrome:!1,tooltip:react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Note,{note:preset.keyword||preset.value})},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:function onClick(){return updateValue(preset.value)}}))}))))},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Swatch,{value:realValue,style:{margin:4}})),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Input,{id:Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.cb)(name),value:value,onChange:function onChange(e){return updateValue(e.target.value)},onFocus:function onFocus(e){return e.target.select()},placeholder:"Choose color..."}),value?react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}):null)}}}]); \ No newline at end of file diff --git a/7.199ea7b9.iframe.bundle.js b/7.199ea7b9.iframe.bundle.js new file mode 100644 index 000000000..637444423 --- /dev/null +++ b/7.199ea7b9.iframe.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see 7.199ea7b9.iframe.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"./node_modules/@storybook/components/dist/esm/formatter-0d5cb0eb.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"formatter",(function(){return formatter}));__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/core-js/modules/esnext.global-this.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.number.is-nan.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.string.code-point-at.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.number.max-safe-integer.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.weak-map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.sort.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.string.ends-with.js"),__webpack_require__("./node_modules/core-js/modules/es.string.from-code-point.js"),__webpack_require__("./node_modules/core-js/modules/es.array.splice.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.url.to-json.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.array.fill.js"),__webpack_require__("./node_modules/core-js/modules/es.string.repeat.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.uint8-array.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.copy-within.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.every.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.fill.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.find-index.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.last-index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.reduce.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.reduce-right.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.reverse.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.set.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.some.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.sort.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.subarray.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.to-locale-string.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array-buffer.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.async-iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.uint16-array.js"),__webpack_require__("./node_modules/core-js/modules/es.number.is-integer.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.flags.js"),__webpack_require__("./node_modules/core-js/modules/es.string.bold.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-names.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.float32-array.js"),__webpack_require__("./node_modules/core-js/modules/es.typed-array.float64-array.js"),__webpack_require__("./node_modules/core-js/modules/es.string.search.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim-end.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim-start.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find-index.js"),__webpack_require__("./node_modules/core-js/modules/es.string.anchor.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.get.js");var memoizerific__WEBPACK_IMPORTED_MODULE_90__=__webpack_require__("./node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_90___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_90__),_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__=__webpack_require__("./node_modules/@storybook/components/dist/esm/index-681e4b07.js");__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),__webpack_require__("./node_modules/qs/lib/index.js");function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function _wrapNativeSuper(Class){if(null===Class||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class))return Class;if("function"!=typeof Class)throw new TypeError("Super expression must either be null or a function");if(void 0!==_cache){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return _construct(Class,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,Class)},_wrapNativeSuper(Class)}function _construct(Parent,args,Class){return _construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance},_construct.apply(null,arguments)}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest()}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function _get(target,property,receiver){var base=function _superPropBase(object,property){for(;!Object.prototype.hasOwnProperty.call(object,property)&&null!==(object=_getPrototypeOf(object)););return object}(target,property);if(base){var desc=Object.getOwnPropertyDescriptor(base,property);return desc.get?desc.get.call(arguments.length<3?target:receiver):desc.value}},_get.apply(this,arguments)}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e217){throw _e217},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 err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e218){didErr=!0,err=_e218},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||function _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.")}()}function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _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.")}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=r,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||r(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})),n=function(){function n(e,t,r){_classCallCheck(this,n),this.filePath=e,this.name=t,this.members=r}return _createClass(n,[{key:"assertNoMembers",value:function assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),n}(),s=n,i=function(){function i(){_classCallCheck(this,i),this.cache=new Map}return _createClass(i,[{key:"get",value:function get(e,t,r){var s=(r=r||[]).length?".".concat(r.join(".")):"",_i2='"'.concat(e,'".').concat(t).concat(s),o=this.cache.get(_i2);return o||(o=new n(e,t,r),this.cache.set(_i2,o)),o}}]),i}(),o=Object.defineProperty({StaticSymbol:s,StaticSymbolCache:i},"__esModule",{value:!0}),a=/-+([a-z0-9])/g,u=function u(e){return e.replace(a,(function(){for(var _len=arguments.length,e=new Array(_len),_key=0;_key<_len;_key++)e[_key]=arguments[_key];return e[1].toUpperCase()}))},c=function c(e,t){return D(e,":",t)},l=function l(e,t){return D(e,".",t)};function D(e,t,r){var n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function p(e,t,r){return Array.isArray(e)?t.visitArray(e,r):"object"==_typeof(n=e)&&null!==n&&Object.getPrototypeOf(n)===v?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r);var n}var h=p,d=function d(e){return null!=e},m=function m(e){return void 0===e?null:e},f=function(){function f(){_classCallCheck(this,f)}return _createClass(f,[{key:"visitArray",value:function visitArray(e,t){var _this=this;return e.map((function(e){return p(e,_this,t)}))}},{key:"visitStringMap",value:function visitStringMap(e,t){var _this2=this,r={};return Object.keys(e).forEach((function(n){r[n]=p(e[n],_this2,t)})),r}},{key:"visitPrimitive",value:function visitPrimitive(e,t){return e}},{key:"visitOther",value:function visitOther(e,t){return e}}]),f}(),g={assertSync:function assertSync(e){if(N(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function then(e,t){return N(e)?e.then(t):t(e)},all:function all(e){return e.some(N)?Promise.all(e):e}},E=function E(e){throw new Error("Internal Error: ".concat(e))},C=function C(e,t){var r=Error(e);return r[T]=!0,t&&(r[_]=t),r},T="ngSyntaxError",_="ngParseErrors",S=function S(e){return e[T]},y=function y(e){return e[_]||[]},F=function F(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},v=Object.getPrototypeOf({}),A=function A(e){for(var t="",_r2=0;_r2=55296&&_n2<=56319&&e.length>_r2+1){var _t2=e.charCodeAt(_r2+1);_t2>=56320&&_t2<=57343&&(_r2++,_n2=(_n2-55296<<10)+_t2-56320+65536)}_n2<=127?t+=String.fromCharCode(_n2):_n2<=2047?t+=String.fromCharCode(_n2>>6&31|192,63&_n2|128):_n2<=65535?t+=String.fromCharCode(_n2>>12|224,_n2>>6&63|128,63&_n2|128):_n2<=2097151&&(t+=String.fromCharCode(_n2>>18&7|240,_n2>>12&63|128,_n2>>6&63|128,63&_n2|128))}return t},b=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";var r=t.toString();if(null==r)return""+r;var n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},w=function w(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e};function N(e){return!!e&&"function"==typeof e.then}var k=N,x=_createClass((function x(e){_classCallCheck(this,x),this.full=e;var t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")})),I="undefined"!=typeof window&&window,P="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,R=void 0!==e&&e||I||P,O=Object.defineProperty({dashCaseToCamelCase:u,splitAtColon:c,splitAtPeriod:l,visitValue:h,isDefined:d,noUndefined:m,ValueTransformer:f,SyncAsync:g,error:E,syntaxError:C,isSyntaxError:S,getParseErrors:y,escapeRegExp:F,utf8Encode:A,stringify:b,resolveForwardRef:w,isPromise:k,Version:x,global:R},"__esModule",{value:!0}),L=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function n(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=n;var a,s=0;function i(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof o.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;var r=O.stringify(t);return r.indexOf("(")>=0?(r="anonymous_".concat(s++),t.__anonymousType=r):r=n(r),r}t.identifierName=i,t.identifierModuleUrl=function(e){var t=e.reference;return t instanceof o.StaticSymbol?t.filePath:"./".concat(O.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}))},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(a=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?n(e.value):i(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},t.CompileStylesheetMetadata=function(){function _class(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_ref.moduleUrl,t=_ref.styles,r=_ref.styleUrls;_classCallCheck(this,_class),this.moduleUrl=e||null,this.styles=c(t),this.styleUrls=c(r)}return _createClass(_class)}(),t.CompileTemplateMetadata=function(){function _class2(_ref2){var e=_ref2.encapsulation,t=_ref2.template,r=_ref2.templateUrl,n=_ref2.htmlAst,s=_ref2.styles,i=_ref2.styleUrls,o=_ref2.externalStylesheets,a=_ref2.animations,u=_ref2.ngContentSelectors,D=_ref2.interpolation,p=_ref2.isInline,h=_ref2.preserveWhitespaces;if(_classCallCheck(this,_class2),this.encapsulation=e,this.template=t,this.templateUrl=r,this.htmlAst=n,this.styles=c(s),this.styleUrls=c(i),this.externalStylesheets=c(o),this.animations=a?l(a):[],this.ngContentSelectors=u||[],D&&2!=D.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=D,this.isInline=p,this.preserveWhitespaces=h}return _createClass(_class2,[{key:"toSummary",value:function toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),_class2}();var u=function(){function u(_ref3){var e=_ref3.isHost,t=_ref3.type,r=_ref3.isComponent,n=_ref3.selector,s=_ref3.exportAs,i=_ref3.changeDetection,o=_ref3.inputs,a=_ref3.outputs,_u2=_ref3.hostListeners,l=_ref3.hostProperties,D=_ref3.hostAttributes,p=_ref3.providers,h=_ref3.viewProviders,d=_ref3.queries,m=_ref3.guards,f=_ref3.viewQueries,g=_ref3.entryComponents,E=_ref3.template,C=_ref3.componentViewType,T=_ref3.rendererType,_=_ref3.componentFactory;_classCallCheck(this,u),this.isHost=!!e,this.type=t,this.isComponent=r,this.selector=n,this.exportAs=s,this.changeDetection=i,this.inputs=o,this.outputs=a,this.hostListeners=_u2,this.hostProperties=l,this.hostAttributes=D,this.providers=c(p),this.viewProviders=c(h),this.queries=c(d),this.guards=m,this.viewQueries=c(f),this.entryComponents=c(g),this.template=E,this.componentViewType=C,this.rendererType=T,this.componentFactory=_}return _createClass(u,[{key:"toSummary",value:function toSummary(){return{summaryKind:a.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function create(_ref4){var e=_ref4.isHost,t=_ref4.type,n=_ref4.isComponent,s=_ref4.selector,i=_ref4.exportAs,o=_ref4.changeDetection,a=_ref4.inputs,c=_ref4.outputs,l=_ref4.host,D=_ref4.providers,p=_ref4.viewProviders,h=_ref4.queries,d=_ref4.guards,m=_ref4.viewQueries,f=_ref4.entryComponents,g=_ref4.template,E=_ref4.componentViewType,C=_ref4.rendererType,T=_ref4.componentFactory,_={},S={},y={};null!=l&&Object.keys(l).forEach((function(e){var t=l[e],n=e.match(r);null===n?y[e]=t:null!=n[1]?S[n[1]]=t:null!=n[2]&&(_[n[2]]=t)}));var F={};null!=a&&a.forEach((function(e){var t=O.splitAtColon(e,[e,e]);F[t[0]]=t[1]}));var v={};return null!=c&&c.forEach((function(e){var t=O.splitAtColon(e,[e,e]);v[t[0]]=t[1]})),new u({isHost:e,type:t,isComponent:!!n,selector:s,exportAs:i,changeDetection:o,inputs:F,outputs:v,hostListeners:_,hostProperties:S,hostAttributes:y,providers:D,viewProviders:p,queries:h,guards:d,viewQueries:m,entryComponents:f,template:g,componentViewType:E,rendererType:C,componentFactory:T})}}]),u}();function c(e){return e||[]}function l(e){return e.reduce((function(e,t){var r=Array.isArray(t)?l(t):t;return e.concat(r)}),[])}function D(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=u,t.CompilePipeMetadata=function(){function _class3(_ref5){var e=_ref5.type,t=_ref5.name,r=_ref5.pure;_classCallCheck(this,_class3),this.type=e,this.name=t,this.pure=!!r}return _createClass(_class3,[{key:"toSummary",value:function toSummary(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),_class3}(),t.CompileShallowModuleMetadata=function(){function _class4(){_classCallCheck(this,_class4)}return _createClass(_class4)}(),t.CompileNgModuleMetadata=function(){function _class5(_ref6){var e=_ref6.type,t=_ref6.providers,r=_ref6.declaredDirectives,n=_ref6.exportedDirectives,s=_ref6.declaredPipes,i=_ref6.exportedPipes,o=_ref6.entryComponents,a=_ref6.bootstrapComponents,u=_ref6.importedModules,l=_ref6.exportedModules,D=_ref6.schemas,p=_ref6.transitiveModule,h=_ref6.id;_classCallCheck(this,_class5),this.type=e||null,this.declaredDirectives=c(r),this.exportedDirectives=c(n),this.declaredPipes=c(s),this.exportedPipes=c(i),this.providers=c(t),this.entryComponents=c(o),this.bootstrapComponents=c(a),this.importedModules=c(u),this.exportedModules=c(l),this.schemas=c(D),this.id=h||null,this.transitiveModule=p||null}return _createClass(_class5,[{key:"toSummary",value:function toSummary(){var e=this.transitiveModule;return{summaryKind:a.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}]),_class5}(),t.TransitiveCompileNgModuleMetadata=function(){function _class6(){_classCallCheck(this,_class6),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return _createClass(_class6,[{key:"addProvider",value:function addProvider(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),_class6}(),t.ProviderMeta=function(){function _class7(e,_ref7){var t=_ref7.useClass,r=_ref7.useValue,n=_ref7.useExisting,s=_ref7.useFactory,i=_ref7.deps,o=_ref7.multi;_classCallCheck(this,_class7),this.token=e,this.useClass=t||null,this.useValue=r,this.useExisting=n,this.useFactory=s||null,this.dependencies=i||null,this.multi=!!o}return _createClass(_class7)}(),t.flatten=l,t.templateSourceUrl=function(e,t,r){var n;return n=r.isInline?t.type.reference instanceof o.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):r.templateUrl,t.type.reference instanceof o.StaticSymbol?n:D(n)},t.sharedStylesheetJitUrl=function(e,t){var r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return D("css/".concat(t).concat(n,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return D("".concat(i(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return D("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"))}})),B=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function n(e,t,r,_n3){_classCallCheck(this,n),this.file=e,this.offset=t,this.line=r,this.col=_n3}return _createClass(n,[{key:"toString",value:function toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function moveBy(e){for(var t=this.file.content,s=t.length,i=this.offset,o=this.line,a=this.col;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==r.$LF){o--;var _e2=t.substr(0,i-1).lastIndexOf(String.fromCharCode(r.$LF));a=_e2>0?i-_e2:i}else a--;for(;i0;){var _n6=t.charCodeAt(i);i++,e--,_n6==r.$LF?(o++,a=0):a++}return new n(this.file,i,o,a)}},{key:"getContext",value:function getContext(e,t){var r=this.file.content,_n5=this.offset;if(null!=_n5){_n5>r.length-1&&(_n5=r.length-1);for(var _s2=_n5,_i3=0,_o2=0;_i30&&(_i3++,"\n"!=r[--_n5]||++_o2!=t););for(_i3=0,_o2=0;_i32&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,i),this.start=e,this.end=t,this.details=r}return _createClass(i,[{key:"toString",value:function toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),i}();t.ParseSourceSpan=i,t.EMPTY_PARSE_LOCATION=new n(new s("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new i(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(o=t.ParseErrorLevel||(t.ParseErrorLevel={})),t.ParseError=function(){function _class8(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.ERROR;_classCallCheck(this,_class8),this.span=e,this.msg=t,this.level=r}return _createClass(_class8,[{key:"contextualMessage",value:function contextualMessage(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(o[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function toString(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),_class8}(),t.typeSourceSpan=function(e,t){var r=L.identifierModuleUrl(t),o=null!=r?"in ".concat(e," ").concat(L.identifierName(t)," in ").concat(r):"in ".concat(e," ").concat(L.identifierName(t)),a=new s("",o);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,r){var o="in ".concat(e," ").concat(t," in ").concat(r),a=new s("",o);return new i(new n(a,-1,-1,-1),new n(a,-1,-1,-1))}})),q=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?[\\S\\s]*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)"),$=function $(e){var t=e.match(q);if(!t)return{content:e};var _t$groups=t.groups,r=_t$groups.startDelimiter,n=_t$groups.language,_t$groups$value=_t$groups.value,s=void 0===_t$groups$value?"":_t$groups$value,i=_t$groups.endDelimiter,o=n.trim()||"yaml";if("+++"===r&&(o="toml"),"yaml"!==o&&r!==i)return{content:e};var a=_slicedToArray(t,1)[0];return{frontMatter:{type:"front-matter",lang:o,value:s,startDelimiter:r,endDelimiter:i,raw:a.replace(/\n$/,"")},content:a.replace(/[^\n]/g," ")+e.slice(a.length)}},M=function M(e){return e[e.length-1]},U=function U(e,t){var r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r},V=function V(e){return"string"==typeof e?e.replace(function(){var _ref8$onlyFirst=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onlyFirst,e=void 0!==_ref8$onlyFirst&&_ref8$onlyFirst,t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),""):e},G=function G(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},j=G,X=G;j.default=X;var H=function H(e){if("string"!=typeof e||0===e.length)return 0;if(0===(e=V(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");for(var t=0,_r3=0;_r3=127&&_n7<=159||_n7>=768&&_n7<=879||(_n7>65535&&_r3++,t+=j(_n7)?2:1)}return t},z=H,W=H;z.default=W;var Y=function Y(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function Q(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var J=function J(e){for(var t=-1,r=null==e?0:e.length,n={};++t1)for(var r=1;r)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(s[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(s[i.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIER],")")+"(?:".concat(s[i.PRERELEASE],")?").concat(s[i.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(s[i.PRERELEASELOOSE],")?").concat(s[i.BUILD],"?")+")?)?"),a("XRANGE","^".concat(s[i.GTLT],"\\s*").concat(s[i.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(s[i.GTLT],"\\s*").concat(s[i.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",s[i.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(s[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(s[i.LONETILDE]).concat(s[i.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(s[i.LONETILDE]).concat(s[i.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(s[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(s[i.LONECARET]).concat(s[i.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(s[i.LONECARET]).concat(s[i.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(s[i.GTLT],"\\s*(").concat(s[i.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(s[i.GTLT],"\\s*(").concat(s[i.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(s[i.GTLT],"\\s*(").concat(s[i.LOOSEPLAIN],"|").concat(s[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(s[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(s[i.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(s[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(s[i.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),Ae=["includePrerelease","loose","rtl"],be=function be(e){return e?"object"!=_typeof(e)?{loose:!0}:Ae.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}},we=/^[0-9]+$/,Ne=function Ne(e,t){var r=we.test(e),n=we.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:exe)throw new TypeError("version is longer than ".concat(xe," characters"));ye("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;var r=e.trim().match(t.loose?Pe[Re.LOOSE]:Pe[Re.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Ie||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ie||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ie||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var _t4=+e;if(_t4>=0&&_t4=0;)"number"==typeof this.prerelease[_e3]&&(this.prerelease[_e3]++,_e3=-2);-1===_e3&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),Le}(),Be=Le,qe=function qe(e,t,r){return new Be(e,r).compare(new Be(t,r))},$e=function $e(e,t,r){return qe(e,t,r)<0},He=function He(e,t,r){return qe(e,t,r)>=0},ze="2.3.0",We=t((function(e,t){function r(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{},_ref9$plugins=_ref9.plugins,e=void 0===_ref9$plugins?[]:_ref9$plugins,_ref9$showUnreleased=_ref9.showUnreleased,t=void 0!==_ref9$showUnreleased&&_ref9$showUnreleased,_ref9$showDeprecated=_ref9.showDeprecated,r=void 0!==_ref9$showDeprecated&&_ref9$showDeprecated,_ref9$showInternal=_ref9.showInternal,n=void 0!==_ref9$showInternal&&_ref9$showInternal,s=nt.split("-",1)[0],i=e.reduce((function(e,t){return[].concat(_toConsumableArray(e),_toConsumableArray(t.languages||[]))}),[]).filter(a),o=function(e,t){return Object.entries(e).map((function(_ref10){var _ref11=_slicedToArray(_ref10,2),e=_ref11[0],r=_ref11[1];return Object.assign(_defineProperty({},t,e),r)}))}(Object.assign.apply(Object,[{}].concat(_toConsumableArray(e.map((function(_ref12){return _ref12.options}))),[st])),"name").filter((function(e){return a(e)&&u(e)})).sort((function(e,t){return e.name===t.name?0:e.name=0||(s[r]=e[r]);return s}(e,["cliName","cliCategory","cliDescription"])})).map((function(t){t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(a).sort((function(e,t){return rt.compare(t.since,e.since)}))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((function(e){return a(e)&&u(e)})),"parser"===t.name&&function(e,t,r){var _step,n=new Set(e.choices.map((function(e){return e.value}))),_iterator=_createForOfIteratorHelper(t);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _s3=_step.value;if(_s3.parsers){var _step2,_iterator2=_createForOfIteratorHelper(_s3.parsers);try{var _loop=function _loop(){var t=_step2.value;if(!n.has(t)){n.add(t);var _i4=r.find((function(e){return e.parsers&&e.parsers[t]})),_o3=_s3.name;_i4&&_i4.name&&(_o3+=" (plugin: ".concat(_i4.name,")")),e.choices.push({value:t,description:_o3})}};for(_iterator2.s();!(_step2=_iterator2.n()).done;)_loop()}catch(err){_iterator2.e(err)}finally{_iterator2.f()}}}}catch(err){_iterator.e(err)}finally{_iterator.f()}}(t,i,e));var r=J(e.filter((function(e){return e.defaultOptions&&void 0!==e.defaultOptions[t.name]})).map((function(e){return[e.name,e.defaultOptions[t.name]]})));return Object.assign({},t,{pluginDefaults:r})}));return{languages:i,options:o};function a(e){return t||!("since"in e)||e.since&&rt.gte(s,e.since)}function u(e){return r||!("deprecated"in e)||e.deprecated&&rt.lt(s,e.deprecated)}}},ot=it.getSupportInfo,at=/[^\x20-\x7F]/;function ut(e){return function(t,r,n){var s=n&&n.backwards;if(!1===r)return!1;for(var i=t.length,o=r;o>=0&&o2&&void 0!==arguments[2]?arguments[2]:{},n=lt(e,r.backwards?t-1:t,r);return n!==mt(e,n,r)}function gt(e,t){for(var r=null,n=t;n!==r;)r=n,n=ht(e,n=Dt(e,n)),n=lt(e,n);return!1!==(n=mt(e,n=dt(e,n)))&&ft(e,n)}function Et(e,t){for(var r=null,n=t;n!==r;)r=n,n=mt(e,n=dt(e,n=ht(e,n=lt(e,n))));return n}function Ct(e,t,r){return Et(e,r(t))}function Tt(e,t){for(var n=0,_s4=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;_s4(r.match(o.regex)||[]).length?o.quote:i.quote),a}function St(e,t,r){var n='"'===t?"'":'"',s=e.replace(/\\([\S\s])|(["'])/g,(function(e,s,i){return s===n?s:i===t?"\\"+i:i||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(s)?s:"\\"+s)}));return t+s+t}function yt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){var t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==_typeof(e.id)?e.id.name:e.id)||e.key&&("object"==_typeof(e.key)?e.key.name:e.key)||e.value&&("object"==_typeof(e.value)?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}(e)}var Ft={inferParserByLanguage:function inferParserByLanguage(e,t){var r=ot({plugins:t.plugins}).languages,n=r.find((function(_ref13){return _ref13.name.toLowerCase()===e}))||r.find((function(_ref14){var t=_ref14.aliases;return Array.isArray(t)&&t.includes(e)}))||r.find((function(_ref15){var t=_ref15.extensions;return Array.isArray(t)&&t.includes(".".concat(e))}));return n&&n.parsers[0]},replaceEndOfLineWith:function replaceEndOfLineWith(e,t){var _step3,r=[],_iterator3=_createForOfIteratorHelper(e.split("\n"));try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _n10=_step3.value;r.length>0&&r.push(t),r.push(_n10)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}return r},getStringWidth:function getStringWidth(e){return e?at.test(e)?z(e):e.length:0},getMaxContinuousCount:function getMaxContinuousCount(e,t){var r=e.match(new RegExp("(".concat(Y(t),")+"),"g"));return null===r?0:r.reduce((function(e,r){return Math.max(e,r.length/t.length)}),0)},getMinNotPresentContinuousCount:function getMinNotPresentContinuousCount(e,t){var r=e.match(new RegExp("(".concat(Y(t),")+"),"g"));if(null===r)return 0;var _step4,n=new Map,s=0,_iterator4=_createForOfIteratorHelper(r);try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var _r8=_step4.value.length/t.length;n.set(_r8,!0),_r8>s&&(s=_r8)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}for(var _e4=1;_e42&&void 0!==arguments[2]?arguments[2]:{};return lt(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:Tt,getIndentSize:function getIndentSize(e,t){var r=e.lastIndexOf("\n");return-1===r?0:Tt(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:_t,printString:function printString(e,t){return St(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_t(e,t.singleQuote?"'":'"'),!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function printNumber(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:St,addLeadingComment:function addLeadingComment(e,t){t.leading=!0,t.trailing=!1,yt(e,t)},addDanglingComment:function addDanglingComment(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),yt(e,t)},addTrailingComment:function addTrailingComment(e,t){t.leading=!1,t.trailing=!0,yt(e,t)},isFrontMatterNode:function isFrontMatterNode(e){return e&&"front-matter"===e.type},getShebang:function getShebang(e){if(!e.startsWith("#!"))return"";var t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function isNonEmptyArray(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function createGroupIdMapper(e){var t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}},vt={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},At=Ft.inferParserByLanguage,bt=Ft.isFrontMatterNode,_CSS_DISPLAY_TAGS$CSS={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},wt=_CSS_DISPLAY_TAGS$CSS.CSS_DISPLAY_TAGS,Nt=_CSS_DISPLAY_TAGS$CSS.CSS_DISPLAY_DEFAULT,kt=_CSS_DISPLAY_TAGS$CSS.CSS_WHITE_SPACE_TAGS,xt=_CSS_DISPLAY_TAGS$CSS.CSS_WHITE_SPACE_DEFAULT,It=Lt(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),Pt=function(e,t){for(var r=Object.create(null),_i5=0,_Object$entries=Object.entries(e);_i5<_Object$entries.length;_i5++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i5],2),_n12=_Object$entries$_i[0],_s5=_Object$entries$_i[1];r[_n12]=t(_s5,_n12)}return r}(vt,Lt),Rt=new Set(["\t","\n","\f","\r"," "]),Ot=function Ot(e){return e.replace(/[\t\n\f\r ]+$/,"")};function Lt(e){var _step5,t=Object.create(null),_iterator5=_createForOfIteratorHelper(e);try{for(_iterator5.s();!(_step5=_iterator5.n()).done;)t[_step5.value]=!0}catch(err){_iterator5.e(err)}finally{_iterator5.f()}return t}function Bt(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!Yt(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))||!(!tr(e,t)||$t(e)||"interpolation"===e.type)}function qt(e){return"attribute"!==e.type&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function $t(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||Qt(e)&&("script"===e.name||"style"===e.name))}function Mt(e){return Jt(e).startsWith("pre")}function Ut(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function Vt(e){return Ht(e)||"element"===e.type&&"br"===e.fullName||Gt(e)}function Gt(e){return jt(e)&&Xt(e)}function jt(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Ht(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function zt(e){var _e$attrMap=e.attrMap,t=_e$attrMap.type,r=_e$attrMap.lang;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function Wt(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Yt(e){return Jt(e).startsWith("pre")}function Qt(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Jt(e){return"element"===e.type&&(!e.namespace||Qt(e))&&kt[e.name]||xt}var Zt=new Set(["template","style","script"]);function Kt(e,t){return er(e,t)&&!Zt.has(e.fullName)}function er(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function tr(e,t){return er(e,t)&&(Kt(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var rr={HTML_ELEMENT_ATTRIBUTES:Pt,HTML_TAGS:It,htmlTrim:function htmlTrim(e){return function(e){return e.replace(/^[\t\n\f\r ]+/,"")}(Ot(e))},htmlTrimPreserveIndentation:function htmlTrimPreserveIndentation(e){return function(e){return e.replace(/^[\t\f\r ]*?\n/g,"")}(Ot(e))},splitByHtmlWhitespace:function splitByHtmlWhitespace(e){return e.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function hasHtmlWhitespace(e){return/[\t\n\f\r ]/.test(e)},getLeadingAndTrailingHtmlWhitespace:function getLeadingAndTrailingHtmlWhitespace(e){var _e$match2=_slicedToArray(e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),4),t=_e$match2[1],r=_e$match2[2];return{leadingWhitespace:t,trailingWhitespace:_e$match2[3],text:r}},canHaveInterpolation:function canHaveInterpolation(e){return e.children&&!$t(e)},countChars:function countChars(e,t){for(var r=0,_n13=0;_n13=0;_n14--){var _s6=e.stack[_n14];_s6&&"object"==_typeof(_s6)&&!Array.isArray(_s6)&&t(_s6)&&r++}return r},dedentString:function dedentString(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var _step6,r,t=Number.POSITIVE_INFINITY,_iterator6=_createForOfIteratorHelper(e.split("\n"));try{for(_iterator6.s();!(_step6=_iterator6.n()).done;){var _n15=_step6.value;if(0!==_n15.length){if(!Rt.has(_n15[0]))return 0;var _e6=(r=_n15,r.match(/^[\t\n\f\r ]*/)[0]).length;_n15.length!==_e6&&_e60&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&jt(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Xt(e.lastChild))},forceNextEmptyLine:function forceNextEmptyLine(e){return bt(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1/.test(e)},insertPragma:function insertPragma(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},sr=Ft.isNonEmptyArray,ir={attrs:!0,children:!0},or=function(){function or(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,or);for(var _i6=0,_Object$entries2=Object.entries(e);_i6<_Object$entries2.length;_i6++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i6],2),_t6=_Object$entries2$_i[0],_r10=_Object$entries2$_i[1];_t6 in ir?this._setNodes(_t6,_r10):this[_t6]=_r10}}return _createClass(or,[{key:"_setNodes",value:function _setNodes(e,t){t!==this[e]&&(this[e]=function(e,t){for(var r=e.map((function(e){return e instanceof or?e.clone():new or(e)})),n=null,s=r[0],i=r[1]||null,_e7=0;_e7)([\s\S]*?)",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},t.NGSP_UNICODE="",t.NAMED_ENTITIES.ngsp=t.NGSP_UNICODE})),mr=function(){function mr(){var _this3=this,_ref20=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_ref20.closedByChildren,t=_ref20.implicitNamespacePrefix,_ref20$contentType=_ref20.contentType,r=void 0===_ref20$contentType?dr.TagContentType.PARSABLE_DATA:_ref20$contentType,_ref20$closedByParent=_ref20.closedByParent,n=void 0!==_ref20$closedByParent&&_ref20$closedByParent,_ref20$isVoid=_ref20.isVoid,s=void 0!==_ref20$isVoid&&_ref20$isVoid,_ref20$ignoreFirstLf=_ref20.ignoreFirstLf,i=void 0!==_ref20$ignoreFirstLf&&_ref20$ignoreFirstLf;_classCallCheck(this,mr),this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((function(e){return _this3.closedByChildren[e]=!0})),this.isVoid=s,this.closedByParent=n||s,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i}return _createClass(mr,[{key:"isClosedByChild",value:function isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}}]),mr}(),fr=mr,Cr=function Cr(e){return Er||(gr=new mr,Er={base:new mr({isVoid:!0}),meta:new mr({isVoid:!0}),area:new mr({isVoid:!0}),embed:new mr({isVoid:!0}),link:new mr({isVoid:!0}),img:new mr({isVoid:!0}),input:new mr({isVoid:!0}),param:new mr({isVoid:!0}),hr:new mr({isVoid:!0}),br:new mr({isVoid:!0}),source:new mr({isVoid:!0}),track:new mr({isVoid:!0}),wbr:new mr({isVoid:!0}),p:new mr({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new mr({closedByChildren:["tbody","tfoot"]}),tbody:new mr({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new mr({closedByChildren:["tbody"],closedByParent:!0}),tr:new mr({closedByChildren:["tr"],closedByParent:!0}),td:new mr({closedByChildren:["td","th"],closedByParent:!0}),th:new mr({closedByChildren:["td","th"],closedByParent:!0}),col:new mr({isVoid:!0}),svg:new mr({implicitNamespacePrefix:"svg"}),math:new mr({implicitNamespacePrefix:"math"}),li:new mr({closedByChildren:["li"],closedByParent:!0}),dt:new mr({closedByChildren:["dt","dd"]}),dd:new mr({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new mr({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new mr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new mr({closedByChildren:["optgroup"],closedByParent:!0}),option:new mr({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new mr({ignoreFirstLf:!0}),listing:new mr({ignoreFirstLf:!0}),style:new mr({contentType:dr.TagContentType.RAW_TEXT}),script:new mr({contentType:dr.TagContentType.RAW_TEXT}),title:new mr({contentType:dr.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new mr({contentType:dr.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Er[e]||gr},Tr=Object.defineProperty({HtmlTagDefinition:fr,getHtmlTagDefinition:Cr},"__esModule",{value:!0}),_r=function(){function _r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,_r),this.path=e,this.position=t}return _createClass(_r,[{key:"empty",get:function get(){return!this.path||!this.path.length}},{key:"head",get:function get(){return this.path[0]}},{key:"tail",get:function get(){return this.path[this.path.length-1]}},{key:"parentOf",value:function parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}},{key:"childOf",value:function childOf(e){return this.path[this.path.indexOf(e)+1]}},{key:"first",value:function first(e){for(var _t7=this.path.length-1;_t7>=0;_t7--){var _r16=this.path[_t7];if(_r16 instanceof e)return _r16}}},{key:"push",value:function push(e){this.path.push(e)}},{key:"pop",value:function pop(){return this.path.pop()}}]),_r}(),Sr=Object.defineProperty({AstPath:_r},"__esModule",{value:!0}),yr=function(){function yr(e,t,r){_classCallCheck(this,yr),this.value=e,this.sourceSpan=t,this.i18n=r,this.type="text"}return _createClass(yr,[{key:"visit",value:function visit(e,t){return e.visitText(this,t)}}]),yr}(),Fr=function(){function Fr(e,t){_classCallCheck(this,Fr),this.value=e,this.sourceSpan=t,this.type="cdata"}return _createClass(Fr,[{key:"visit",value:function visit(e,t){return e.visitCdata(this,t)}}]),Fr}(),vr=function(){function vr(e,t,r,n,s,i){_classCallCheck(this,vr),this.switchValue=e,this.type=t,this.cases=r,this.sourceSpan=n,this.switchValueSourceSpan=s,this.i18n=i}return _createClass(vr,[{key:"visit",value:function visit(e,t){return e.visitExpansion(this,t)}}]),vr}(),Ar=function(){function Ar(e,t,r,n,s){_classCallCheck(this,Ar),this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=s}return _createClass(Ar,[{key:"visit",value:function visit(e,t){return e.visitExpansionCase(this,t)}}]),Ar}(),br=function(){function br(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;_classCallCheck(this,br),this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.nameSpan=s,this.i18n=i,this.type="attribute"}return _createClass(br,[{key:"visit",value:function visit(e,t){return e.visitAttribute(this,t)}}]),br}(),wr=function(){function wr(e,t,r,n){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;_classCallCheck(this,wr),this.name=e,this.attrs=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=s,this.endSourceSpan=i,this.nameSpan=o,this.i18n=a,this.type="element"}return _createClass(wr,[{key:"visit",value:function visit(e,t){return e.visitElement(this,t)}}]),wr}(),Nr=wr,kr=function(){function kr(e,t){_classCallCheck(this,kr),this.value=e,this.sourceSpan=t,this.type="comment"}return _createClass(kr,[{key:"visit",value:function visit(e,t){return e.visitComment(this,t)}}]),kr}(),xr=function(){function xr(e,t){_classCallCheck(this,xr),this.value=e,this.sourceSpan=t,this.type="docType"}return _createClass(xr,[{key:"visit",value:function visit(e,t){return e.visitDocType(this,t)}}]),xr}();function Ir(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=[],s=e.visit?function(t){return e.visit(t,r)||t.visit(e,r)}:function(t){return t.visit(e,r)};return t.forEach((function(e){var t=s(e);t&&n.push(t)})),n}var Pr=Ir,Rr=function(){function Rr(){_classCallCheck(this,Rr)}return _createClass(Rr,[{key:"visitElement",value:function visitElement(e,t){this.visitChildren(t,(function(t){t(e.attrs),t(e.children)}))}},{key:"visitAttribute",value:function visitAttribute(e,t){}},{key:"visitText",value:function visitText(e,t){}},{key:"visitCdata",value:function visitCdata(e,t){}},{key:"visitComment",value:function visitComment(e,t){}},{key:"visitDocType",value:function visitDocType(e,t){}},{key:"visitExpansion",value:function visitExpansion(e,t){return this.visitChildren(t,(function(t){t(e.cases)}))}},{key:"visitExpansionCase",value:function visitExpansionCase(e,t){}},{key:"visitChildren",value:function visitChildren(e,t){var r=[],n=this;return t((function(t){t&&r.push(Ir(n,t,e))})),Array.prototype.concat.apply([],r)}}]),Rr}(),Or=Rr;function Lr(e){var t=e.sourceSpan.start.offset,r=e.sourceSpan.end.offset;return e instanceof wr&&(e.endSourceSpan?r=e.endSourceSpan.end.offset:e.children&&e.children.length&&(r=Lr(e.children[e.children.length-1]).end)),{start:t,end:r}}var Br=function Br(e,t){var r=[];return Ir(new(function(_Rr){_inherits(_class9,_Rr);var _super=_createSuper(_class9);function _class9(){return _classCallCheck(this,_class9),_super.apply(this,arguments)}return _createClass(_class9,[{key:"visit",value:function visit(e,n){var s=Lr(e);if(!(s.start<=t&&t]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],Ur=function Ur(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){var _e10=t[0],_r18=t[1];Mr.forEach((function(t){if(t.test(_e10)||t.test(_r18))throw new Error("['".concat(_e10,"', '").concat(_r18,"'] contains unusable interpolation symbol."))}))}},Vr=Object.defineProperty({assertArrayOfStrings:$r,assertInterpolationSymbols:Ur},"__esModule",{value:!0}),Gr=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){_classCallCheck(this,r),this.start=e,this.end=t}return _createClass(r,null,[{key:"fromArray",value:function fromArray(e){return e?(Vr.assertInterpolationSymbols("interpolation",e),new r(e[0],e[1])):t.DEFAULT_INTERPOLATION_CONFIG}}]),r}();t.InterpolationConfig=r,t.DEFAULT_INTERPOLATION_CONFIG=new r("{{","}}")})),jr=t((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var s,n=r;!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(s=t.TokenType||(t.TokenType={}));var i=_createClass((function i(e,t,r){_classCallCheck(this,i),this.type=e,this.parts=t,this.sourceSpan=r}));t.Token=i;var o=function(_B$ParseError){_inherits(o,_B$ParseError);var _super2=_createSuper(o);function o(e,t,r){var _this4;return _classCallCheck(this,o),(_this4=_super2.call(this,r,e)).tokenType=t,_this4}return _createClass(o)}(B.ParseError);t.TokenError=o;var a=_createClass((function a(e,t){_classCallCheck(this,a),this.tokens=e,this.errors=t}));t.TokenizeResult=a,t.tokenize=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new p(new B.ParseSourceFile(e,t),r,n).tokenize()};var u=/\r\n?/g;function c(e){var t=e===n.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"')}function l(e){return'Unknown entity "'.concat(e,'" - use the "&#;" or "&#x;" syntax')}var D=_createClass((function D(e){_classCallCheck(this,D),this.error=e})),p=function(){function p(e,t,r){_classCallCheck(this,p),this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Gr.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map((function(e){return e.codePointAt(0)||0})),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;var n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new C(e,n):new E(e,n);try{this._cursor.init()}catch(e){this.handleError(e)}}return _createClass(p,[{key:"_processCarriageReturns",value:function _processCarriageReturns(e){return e.replace(u,"\n")}},{key:"tokenize",value:function tokenize(){for(;this._cursor.peek()!==n.$EOF;){var _e11=this._cursor.clone();try{if(this._attemptCharCode(n.$LT))if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(_e11):this._attemptStr("--")?this._consumeComment(_e11):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(_e11):this._consumeBogusComment(_e11);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(_e11);else{var _t8=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=_t8,this._consumeBogusComment(_e11)):this._consumeTagOpen(_e11)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(s.EOF),this._endToken([]),new a(function(e){for(var r,t=[],_n19=0;_n191&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}},{key:"_endToken",value:function _endToken(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new o("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new o("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));var r=new i(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}},{key:"_createError",value:function _createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var r=new o(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new D(r)}},{key:"handleError",value:function handleError(e){if(e instanceof T&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof D))throw e;this.errors.push(e.error)}},{key:"_attemptCharCode",value:function _attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}},{key:"_attemptCharCodeCaseInsensitive",value:function _attemptCharCodeCaseInsensitive(e){return r=e,g(this._cursor.peek())==g(r)&&(this._cursor.advance(),!0);var r}},{key:"_requireCharCode",value:function _requireCharCode(e){var t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(t))}},{key:"_attemptStr",value:function _attemptStr(e){var t=e.length;if(this._cursor.charsLeft()")})),this._beginToken(s.CDATA_END),this._requireStr("]]>"),this._endToken([])}},{key:"_consumeDocType",value:function _consumeDocType(e){var _this8=this;this._beginToken(s.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(function(){return _this8._cursor.peek()===n.$GT})),this._beginToken(s.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}},{key:"_consumePrefixAndName",value:function _consumePrefixAndName(){for(var r,s,e=this._cursor.clone(),t="";this._cursor.peek()!==n.$COLON&&!(((r=this._cursor.peek())n.$9));)this._cursor.advance();return this._cursor.peek()===n.$COLON?(t=this._cursor.getChars(e),this._cursor.advance(),s=this._cursor.clone()):s=e,this._requireCharCodeUntilFn(d,""===t?0:1),[t,this._cursor.getChars(s)]}},{key:"_consumeTagOpen",value:function _consumeTagOpen(e){var t,r,i,o=this.tokens.length,a=this._cursor.clone(),u=[];try{if(!n.isAsciiLetter(this._cursor.peek()))throw this._createError(c(this._cursor.peek()),this._cursor.getSpan(e));for(r=(i=this._consumeTagOpenStart(e)).parts[0],t=i.parts[1],this._attemptCharCodeUntilFn(h);this._cursor.peek()!==n.$SLASH&&this._cursor.peek()!==n.$GT;){var _this$_consumeAttribu2=_slicedToArray(this._consumeAttributeName(),2),_e14=_this$_consumeAttribu2[0],_t12=_this$_consumeAttribu2[1];if(this._attemptCharCodeUntilFn(h),this._attemptCharCode(n.$EQ)){this._attemptCharCodeUntilFn(h);var _r21=this._consumeAttributeValue();u.push({prefix:_e14,name:_t12,value:_r21})}else u.push({prefix:_e14,name:_t12});this._attemptCharCodeUntilFn(h)}this._consumeTagOpenEnd()}catch(t){if(t instanceof D)return this._cursor=a,i&&(this.tokens.length=o),this._beginToken(s.TEXT,e),void this._endToken(["<"]);throw t}if(!this._canSelfClose||this.tokens[this.tokens.length-1].type!==s.TAG_OPEN_END_VOID){var l=this._getTagContentType(t,r,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(r,t),l===dr.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):l===dr.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}}},{key:"_consumeRawTextWithTagClose",value:function _consumeRawTextWithTagClose(e,t,r){var _this9=this;this._consumeRawText(r,(function(){return!!_this9._attemptCharCode(n.$LT)&&!!_this9._attemptCharCode(n.$SLASH)&&(_this9._attemptCharCodeUntilFn(h),!!_this9._attemptStrCaseInsensitive(e?"".concat(e,":").concat(t):t)&&(_this9._attemptCharCodeUntilFn(h),_this9._attemptCharCode(n.$GT)))})),this._beginToken(s.TAG_CLOSE),this._requireCharCodeUntilFn((function(e){return e===n.$GT}),3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}},{key:"_consumeTagOpenStart",value:function _consumeTagOpenStart(e){this._beginToken(s.TAG_OPEN_START,e);var t=this._consumePrefixAndName();return this._endToken(t)}},{key:"_consumeAttributeName",value:function _consumeAttributeName(){var e=this._cursor.peek();if(e===n.$SQ||e===n.$DQ)throw this._createError(c(e),this._cursor.getSpan());this._beginToken(s.ATTR_NAME);var t=this._consumePrefixAndName();return this._endToken(t),t}},{key:"_consumeAttributeValue",value:function _consumeAttributeValue(){var e;if(this._cursor.peek()===n.$SQ||this._cursor.peek()===n.$DQ){this._beginToken(s.ATTR_QUOTE);var _t13=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(_t13)]),this._beginToken(s.ATTR_VALUE);for(var _r22=[];this._cursor.peek()!==_t13;)_r22.push(this._readChar(!0));e=this._processCarriageReturns(_r22.join("")),this._endToken([e]),this._beginToken(s.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(_t13)])}else{this._beginToken(s.ATTR_VALUE);var _t14=this._cursor.clone();this._requireCharCodeUntilFn(d,1),e=this._processCarriageReturns(this._cursor.getChars(_t14)),this._endToken([e])}return e}},{key:"_consumeTagOpenEnd",value:function _consumeTagOpenEnd(){var e=this._attemptCharCode(n.$SLASH)?s.TAG_OPEN_END_VOID:s.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(n.$GT),this._endToken([])}},{key:"_consumeTagClose",value:function _consumeTagClose(e){if(this._beginToken(s.TAG_CLOSE,e),this._attemptCharCodeUntilFn(h),this._allowHtmComponentClosingTags&&this._attemptCharCode(n.$SLASH))this._attemptCharCodeUntilFn(h),this._requireCharCode(n.$GT),this._endToken([]);else{var _this$_consumePrefixA2=_slicedToArray(this._consumePrefixAndName(),2),_e15=_this$_consumePrefixA2[0],_t15=_this$_consumePrefixA2[1];this._attemptCharCodeUntilFn(h),this._requireCharCode(n.$GT),this._endToken([_e15,_t15]),this._handleFullNameStackForTagClose(_e15,_t15)}}},{key:"_consumeExpansionFormStart",value:function _consumeExpansionFormStart(){this._beginToken(s.EXPANSION_FORM_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._expansionCaseStack.push(s.EXPANSION_FORM_START),this._beginToken(s.RAW_TEXT);var e=this._readUntil(n.$COMMA);this._endToken([e]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(h),this._beginToken(s.RAW_TEXT);var t=this._readUntil(n.$COMMA);this._endToken([t]),this._requireCharCode(n.$COMMA),this._attemptCharCodeUntilFn(h)}},{key:"_consumeExpansionCaseStart",value:function _consumeExpansionCaseStart(){this._beginToken(s.EXPANSION_CASE_VALUE);var e=this._readUntil(n.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(h),this._beginToken(s.EXPANSION_CASE_EXP_START),this._requireCharCode(n.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(h),this._expansionCaseStack.push(s.EXPANSION_CASE_EXP_START)}},{key:"_consumeExpansionCaseEnd",value:function _consumeExpansionCaseEnd(){this._beginToken(s.EXPANSION_CASE_EXP_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(h),this._expansionCaseStack.pop()}},{key:"_consumeExpansionFormEnd",value:function _consumeExpansionFormEnd(){this._beginToken(s.EXPANSION_FORM_END),this._requireCharCode(n.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}},{key:"_consumeText",value:function _consumeText(){var e=this._cursor.clone();this._beginToken(s.TEXT,e);var t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])}},{key:"_isTextEnd",value:function _isTextEnd(){if(this._cursor.peek()===n.$LT||this._cursor.peek()===n.$EOF)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===n.$RBRACE&&this._isInExpansionCase())return!0}return!1}},{key:"_readUntil",value:function _readUntil(e){var t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}},{key:"_isInExpansionCase",value:function _isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_CASE_EXP_START}},{key:"_isInExpansionForm",value:function _isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===s.EXPANSION_FORM_START}},{key:"isExpansionFormStart",value:function isExpansionFormStart(){if(this._cursor.peek()!==n.$LBRACE)return!1;if(this._interpolationConfig){var _e16=this._cursor.clone(),_t16=this._attemptStr(this._interpolationConfig.start);return this._cursor=_e16,!_t16}return!0}},{key:"_handleFullNameStackForTagOpen",value:function _handleFullNameStackForTagOpen(e,t){var r=dr.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]!==r||this._fullNameStack.push(r)}},{key:"_handleFullNameStackForTagClose",value:function _handleFullNameStackForTagClose(e,t){var r=dr.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}}]),p}();function h(e){return!n.isWhitespace(e)||e===n.$EOF}function d(e){return n.isWhitespace(e)||e===n.$GT||e===n.$SLASH||e===n.$SQ||e===n.$DQ||e===n.$EQ}function m(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiHexDigit(e)}function f(e){return e==n.$SEMICOLON||e==n.$EOF||!n.isAsciiLetter(e)}function g(e){return e>=n.$a&&e<=n.$z?e-n.$a+n.$A:e}var E=function(){function E(e,t){if(_classCallCheck(this,E),e instanceof E)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}return _createClass(E,[{key:"clone",value:function clone(){return new E(this)}},{key:"peek",value:function peek(){return this.state.peek}},{key:"charsLeft",value:function charsLeft(){return this.end-this.state.offset}},{key:"diff",value:function diff(e){return this.state.offset-e.state.offset}},{key:"advance",value:function advance(){this.advanceState(this.state)}},{key:"init",value:function init(){this.updatePeek(this.state)}},{key:"getSpan",value:function getSpan(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new B.ParseSourceSpan(new B.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new B.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}},{key:"getChars",value:function getChars(e){return this.input.substring(e.state.offset,this.state.offset)}},{key:"charAt",value:function charAt(e){return this.input.charCodeAt(e)}},{key:"advanceState",value:function advanceState(e){if(e.offset>=this.end)throw this.state=e,new T('Unexpected character "EOF"',this);var t=this.charAt(e.offset);t===n.$LF?(e.line++,e.column=0):n.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}},{key:"updatePeek",value:function updatePeek(e){e.peek=e.offset>=this.end?n.$EOF:this.charAt(e.offset)}}]),E}(),C=function(_E2){_inherits(C,_E2);var _super3=_createSuper(C);function C(e,t){var _this10;return _classCallCheck(this,C),e instanceof C?(_this10=_super3.call(this,e)).internalState=Object.assign({},e.internalState):(_this10=_super3.call(this,e,t)).internalState=_this10.state,_possibleConstructorReturn(_this10)}return _createClass(C,[{key:"advance",value:function advance(){this.state=this.internalState,_get(_getPrototypeOf(C.prototype),"advance",this).call(this),this.processEscapeSequence()}},{key:"init",value:function init(){_get(_getPrototypeOf(C.prototype),"init",this).call(this),this.processEscapeSequence()}},{key:"clone",value:function clone(){return new C(this)}},{key:"getChars",value:function getChars(e){for(var t=e.clone(),r="";t.internalState.offset3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4?arguments[4]:void 0,i=function i(e){return function(t){for(var _len3=arguments.length,r=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)r[_key3-1]=arguments[_key3];return e.apply(void 0,[t.toLowerCase()].concat(r))}},o=n?this.getTagDefinition:i(this.getTagDefinition),a=function a(e){return o(e).contentType},u=n?s:i(s),c=s?function(e,t,r,n){var s=u(e,t,r,n);return void 0!==s?s:a(e)}:a,l=jr.tokenize(e,t,c,r),D=r&&r.canSelfClose||!1,p=r&&r.allowHtmComponentClosingTags||!1,h=new Qr(l.tokens,o,D,p,n).build();return new zr(h.rootNodes,l.errors.concat(h.errors))}}]),Yr}(),Qr=function(){function Qr(e,t,r,n,s){_classCallCheck(this,Qr),this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=s,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return _createClass(Qr,[{key:"build",value:function build(){for(;this._peek.type!==jr.TokenType.EOF;)this._peek.type===jr.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===jr.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===jr.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===jr.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===jr.TokenType.TEXT||this._peek.type===jr.TokenType.RAW_TEXT||this._peek.type===jr.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===jr.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===jr.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new zr(this._rootNodes,this._errors)}},{key:"_advance",value:function _advance(){var e=this._peek;return this._index0)return this._errors=this._errors.concat(s.errors),null;var i=new B.ParseSourceSpan(e.sourceSpan.start,n.sourceSpan.end),o=new B.ParseSourceSpan(t.sourceSpan.start,n.sourceSpan.end);return new qr.ExpansionCase(e.parts[0],s.rootNodes,i,e.sourceSpan,o)}},{key:"_collectExpansionExpTokens",value:function _collectExpansionExpTokens(e){for(var t=[],r=[jr.TokenType.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==jr.TokenType.EXPANSION_FORM_START&&this._peek.type!==jr.TokenType.EXPANSION_CASE_EXP_START||r.push(this._peek.type),this._peek.type===jr.TokenType.EXPANSION_CASE_EXP_END){if(!Jr(r,jr.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0==r.length)return t}if(this._peek.type===jr.TokenType.EXPANSION_FORM_END){if(!Jr(r,jr.TokenType.EXPANSION_FORM_START))return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(this._peek.type===jr.TokenType.EOF)return this._errors.push(Xr.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}},{key:"_getText",value:function _getText(e){var t=e.parts[0];if(t.length>0&&"\n"==t[0]){var _e20=this._getParentElement();null!=_e20&&0==_e20.children.length&&this.getTagDefinition(_e20.name).ignoreFirstLf&&(t=t.substring(1))}return t}},{key:"_consumeText",value:function _consumeText(e){var t=this._getText(e);t.length>0&&this._addToParent(new qr.Text(t,e.sourceSpan))}},{key:"_closeVoidElement",value:function _closeVoidElement(){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}},{key:"_consumeStartTag",value:function _consumeStartTag(e){for(var t=e.parts[0],r=e.parts[1],n=[];this._peek.type===jr.TokenType.ATTR_NAME;)n.push(this._consumeAttr(this._advance()));var s=this._getElementFullName(t,r,this._getParentElement()),i=!1;if(this._peek.type===jr.TokenType.TAG_OPEN_END_VOID){this._advance(),i=!0;var _t19=this.getTagDefinition(s);this.canSelfClose||_t19.canSelfClose||null!==dr.getNsPrefix(s)||_t19.isVoid||this._errors.push(Xr.create(s,e.sourceSpan,'Only void and foreign elements can be self closed "'.concat(e.parts[1],'"')))}else this._peek.type===jr.TokenType.TAG_OPEN_END&&(this._advance(),i=!1);var o=this._peek.sourceSpan.start,a=new B.ParseSourceSpan(e.sourceSpan.start,o),u=new B.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),c=new qr.Element(s,n,[],a,a,void 0,u);this._pushElement(c),i&&(this._popElement(s),c.endSourceSpan=a)}},{key:"_pushElement",value:function _pushElement(e){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}},{key:"_consumeEndTag",value:function _consumeEndTag(e){var t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(Xr.create(t,e.sourceSpan,'Void elements do not have end tags "'.concat(e.parts[1],'"')));else if(!this._popElement(t)){var _r25='Unexpected closing tag "'.concat(t,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(Xr.create(t,e.sourceSpan,_r25))}}},{key:"_popElement",value:function _popElement(e){for(var _t20=this._elementStack.length-1;_t20>=0;_t20--){var _r26=this._elementStack[_t20];if(!e||(dr.getNsPrefix(_r26.name)?_r26.name==e:_r26.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(_t20,this._elementStack.length-_t20),!0;if(!this.getTagDefinition(_r26.name).closedByParent)return!1}return!1}},{key:"_consumeAttr",value:function _consumeAttr(e){var r,n,t=dr.mergeNsAndName(e.parts[0],e.parts[1]),s=e.sourceSpan.end,i="";if(this._peek.type===jr.TokenType.ATTR_QUOTE&&(n=this._advance().sourceSpan.start),this._peek.type===jr.TokenType.ATTR_VALUE){var _e21=this._advance();i=_e21.parts[0],s=_e21.sourceSpan.end,r=_e21.sourceSpan}return this._peek.type===jr.TokenType.ATTR_QUOTE&&(s=this._advance().sourceSpan.end,r=new B.ParseSourceSpan(n,s)),new qr.Attribute(t,i,new B.ParseSourceSpan(e.sourceSpan.start,s),r,e.sourceSpan)}},{key:"_getParentElement",value:function _getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}},{key:"_getParentElementSkippingContainers",value:function _getParentElementSkippingContainers(){for(var e=null,_t21=this._elementStack.length-1;_t21>=0;_t21--){if(!dr.isNgContainer(this._elementStack[_t21].name))return{parent:this._elementStack[_t21],container:e};e=this._elementStack[_t21]}return{parent:null,container:e}}},{key:"_addToParent",value:function _addToParent(e){var t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}},{key:"_insertBeforeContainer",value:function _insertBeforeContainer(e,t,r){if(t){if(e){var _n22=e.children.indexOf(t);e.children[_n22]=r}else this._rootNodes.push(r);r.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,r)}else this._addToParent(r),this._elementStack.push(r)}},{key:"_getElementFullName",value:function _getElementFullName(e,t,r){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=r&&(e=dr.getNsPrefix(r.name)),dr.mergeNsAndName(e,t)}}]),Qr}();function Jr(e,t){return e.length>0&&e[e.length-1]===t}var Zr=Object.defineProperty({TreeError:Hr,ParseTreeResult:Wr,Parser:Yr},"__esModule",{value:!0}),Kr=Zr,en=Kr.ParseTreeResult,tn=Kr.TreeError,rn=function(_Zr$Parser){_inherits(rn,_Zr$Parser);var _super5=_createSuper(rn);function rn(){return _classCallCheck(this,rn),_super5.call(this,Tr.getHtmlTagDefinition)}return _createClass(rn,[{key:"parse",value:function parse(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4?arguments[4]:void 0;return _get(_getPrototypeOf(rn.prototype),"parse",this).call(this,e,t,r,n,s)}}]),rn}(Zr.Parser),nn=rn,sn=Object.defineProperty({ParseTreeResult:en,TreeError:tn,HtmlParser:nn},"__esModule",{value:!0}),on=dr.TagContentType,an=null,un=function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_t$canSelfClose=t.canSelfClose,r=void 0!==_t$canSelfClose&&_t$canSelfClose,_t$allowHtmComponentC=t.allowHtmComponentClosingTags,n=void 0!==_t$allowHtmComponentC&&_t$allowHtmComponentC,_t$isTagNameCaseSensi=t.isTagNameCaseSensitive,s=void 0!==_t$isTagNameCaseSensi&&_t$isTagNameCaseSensi,i=t.getTagContentType;return(an||(an=new sn.HtmlParser),an).parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},s,i)},cn=Object.defineProperty({TagContentType:on,parse:un},"__esModule",{value:!0}),ln=B.ParseSourceSpan,Dn=B.ParseLocation,pn=B.ParseSourceFile,hn=Ft.inferParserByLanguage,dn=rr.HTML_ELEMENT_ATTRIBUTES,mn=rr.HTML_TAGS,fn=rr.isUnknownNamespace,gn=nr.hasPragma,En=cr.Node,Cn=pr.parseIeConditionalComment,Tn=hr.locStart,_n=hr.locEnd;function Sn(e,_ref21,a){var t=_ref21.recognizeSelfClosing,r=_ref21.normalizeTagName,n=_ref21.normalizeAttributeName,s=_ref21.allowHtmComponentClosingTags,i=_ref21.isTagNameCaseSensitive,o=_ref21.getTagContentType,u=cn,c=qr.RecursiveVisitor,l=qr.visitAll,D=B.ParseSourceSpan,p=Tr.getHtmlTagDefinition,_u$parse=u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i,getTagContentType:o}),h=_u$parse.rootNodes,d=_u$parse.errors;if("vue"===a.parser)if(h.some((function(e){return"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()}))){t=!0,r=!0,n=!0,s=!0,i=!1;var _o4=u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i});h=_o4.rootNodes,d=_o4.errors}else{var _r27=function _r27(e){if(!e)return!1;if("element"!==e.type||"template"!==e.name)return!1;var t=e.attrs.find((function(e){return"lang"===e.name})),r=t&&t.value;return!r||"html"===hn(r,a)};if(h.some(_r27))for(var _n23,_o5=function _o5(){return u.parse(e,{canSelfClose:t,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:i})},_a2=function _a2(){return _n23||(_n23=_o5())},_c2=function _c2(e){return _a2().rootNodes.find((function(_ref22){var t=_ref22.startSourceSpan;return t&&t.start.offset===e.startSourceSpan.start.offset}))},_e22=0;_e220){var _d$=d[0],_e24=_d$.msg,_d$$span=_d$.span,_t24=_d$$span.start,_r29=_d$$span.end;throw U(_e24,{start:{line:_t24.line+1,column:_t24.col+1},end:{line:_r29.line+1,column:_r29.col+1}})}var m=function m(e){var t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith("".concat(t,":")),s=n?r.slice(t.length+1):r;e.name=s,e.namespace=t,e.hasExplicitNamespace=n},f=function f(e,t){var r=e.toLowerCase();return t(r)?r:e};return l(new(function(_c3){_inherits(_class10,_c3);var _super6=_createSuper(_class10);function _class10(){return _classCallCheck(this,_class10),_super6.apply(this,arguments)}return _createClass(_class10,[{key:"visit",value:function visit(e){(function(e){if("element"===e.type){m(e);var _step9,_iterator9=_createForOfIteratorHelper(e.attrs);try{for(_iterator9.s();!(_step9=_iterator9.n()).done;){var _t25=_step9.value;m(_t25),_t25.valueSpan?(_t25.value=_t25.valueSpan.toString(),/["']/.test(_t25.value[0])&&(_t25.value=_t25.value.slice(1,-1))):_t25.value=null}}catch(err){_iterator9.e(err)}finally{_iterator9.f()}}else"comment"===e.type?e.value=e.sourceSpan.toString().slice(4,-3):"text"===e.type&&(e.value=e.sourceSpan.toString())})(e),function(e){if("element"===e.type){var _t26=p(i?e.name:e.name.toLowerCase());!e.namespace||e.namespace===_t26.implicitNamespacePrefix||fn(e)?e.tagDefinition=_t26:e.tagDefinition=p("")}}(e),function(e){"element"===e.type&&(!r||e.namespace&&e.namespace!==e.tagDefinition.implicitNamespacePrefix&&!fn(e)||(e.name=f(e.name,(function(e){return e in mn}))),n)&&function(){var _step10,t=dn[e.name]||Object.create(null),_iterator10=_createForOfIteratorHelper(e.attrs);try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var _r30=_step10.value;_r30.namespace||(_r30.name=f(_r30.name,(function(r){return e.name in dn&&(r in dn["*"]||r in t)})))}}catch(err){_iterator10.e(err)}finally{_iterator10.f()}}()}(e),function(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new D(e.sourceSpan.start,e.endSourceSpan.end))}(e)}}]),_class10}(c)),h),h}function yn(e,t,r){var _ref23=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?{frontMatter:null,content:e}:$(e),s=_ref23.frontMatter,i=_ref23.content,o=new pn(e,t.filepath),a=new Dn(o,0,0,0),u=a.moveBy(e.length),c={type:"root",sourceSpan:new ln(a,u),children:Sn(i,r,t)};if(s){var _e25=new Dn(o,0,0,0),_t27=_e25.moveBy(s.raw.length);s.sourceSpan=new ln(_e25,_t27),c.children.unshift(s)}var l=new En(c),D=function D(n,s){var i=s.offset,o=yn(e.slice(0,i).replace(/[^\n\r]/g," ")+n,t,r,!1);o.sourceSpan=new ln(s,M(o.children).sourceSpan.end);var a=o.children[0];return a.length===i?o.children.shift():(a.sourceSpan=new ln(a.sourceSpan.start.moveBy(i),a.sourceSpan.end),a.value=a.value.slice(i)),o};return l.map((function(e){if("comment"===e.type){var _t28=Cn(e,D);if(_t28)return _t28}return e}))}function Fn(){var _ref24=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref24$recognizeSelfC=_ref24.recognizeSelfClosing,e=void 0!==_ref24$recognizeSelfC&&_ref24$recognizeSelfC,_ref24$normalizeTagNa=_ref24.normalizeTagName,t=void 0!==_ref24$normalizeTagNa&&_ref24$normalizeTagNa,_ref24$normalizeAttri=_ref24.normalizeAttributeName,r=void 0!==_ref24$normalizeAttri&&_ref24$normalizeAttri,_ref24$allowHtmCompon=_ref24.allowHtmComponentClosingTags,n=void 0!==_ref24$allowHtmCompon&&_ref24$allowHtmCompon,_ref24$isTagNameCaseS=_ref24.isTagNameCaseSensitive,s=void 0!==_ref24$isTagNameCaseS&&_ref24$isTagNameCaseS,i=_ref24.getTagContentType;return{parse:function parse(o,a,u){return yn(o,u,{recognizeSelfClosing:e,normalizeTagName:t,normalizeAttributeName:r,allowHtmComponentClosingTags:n,isTagNameCaseSensitive:s,getTagContentType:i})},hasPragma:gn,astFormat:"html",locStart:Tn,locEnd:_n}}return{parsers:{html:Fn({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Fn(),vue:Fn({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:function getTagContentType(e,t,r,n){if("html"!==e.toLowerCase()&&!r&&("template"!==e||n.some((function(_ref25){var e=_ref25.name,t=_ref25.value;return"lang"===e&&"html"!==t}))))return cn.TagContentType.RAW_TEXT}}),lwc:Fn()}}}()}(parserHtml);var prettierHtml=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.L)(parserHtml.exports),standalone={exports:{}};!function(module,exports){_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.H,module.exports=function(){function e(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}function t(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var n={name:"prettier",version:"2.3.0",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"11.2.13","@babel/code-frame":"7.12.13","@babel/parser":"7.14.1","@glimmer/syntax":"0.79.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.22.0","angular-estree-parser":"2.3.0","angular-html-parser":"1.8.0",camelcase:"6.2.0",chalk:"4.1.1","ci-info":"3.1.1","cjk-regex":"2.0.1",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.1",esutils:"2.0.3","fast-glob":"3.2.5","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.150.1","get-stdin":"8.0.0",globby:"11.0.3",graphql:"15.5.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.2.0",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.14.0",lodash:"4.17.21",mem:"8.1.1",meriyah:"4.1.5",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.8.0","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.20.0",semver:"7.3.5","string-width":"4.2.2","strip-ansi":"6.0.0",typescript:"4.2.4","unicode-regex":"3.0.0",unified:"9.2.1",vnopts:"1.0.2",wcwidth:"1.0.1","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.14.0","@babel/preset-env":"7.14.1","@babel/types":"7.14.1","@glimmer/reference":"0.79.0","@rollup/plugin-alias":"3.1.2","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"18.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@types/estree":"0.0.47","@types/node":"15.0.1","babel-jest":"26.6.3","babel-loader":"8.2.2",benchmark:"2.1.4","builtin-modules":"3.2.0","cross-env":"7.0.3",cspell:"4.2.8",eslint:"7.26.0","eslint-config-prettier":"8.3.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.3.6","eslint-plugin-prettier-internal-rules":"link:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.23.2","eslint-plugin-unicorn":"31.0.0",execa:"5.0.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.2.0","jest-watch-typeahead":"0.6.3","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.1","pretty-bytes":"5.6.0",rimraf:"3.0.2",rollup:"2.47.0","rollup-plugin-polyfill-node":"0.6.2","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","synchronous-promise":"2.0.15",tempy:"1.0.1","terser-webpack-plugin":"5.1.1",webpack:"5.36.2"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests/integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --no-inline-config --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}},r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.H?_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.H:"undefined"!=typeof self?self:{};function o(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e){var t={exports:{}};return e(t,t.exports),t.exports}var y,u=i((function(e,t){function n(){}function r(e,t,n,r,o){for(var i=0,u=t.length,s=0,a=0;ie.length?n:e})),c.value=e.join(p)}else c.value=e.join(n.slice(s,s+c.count));s+=c.count,c.added||(a+=c.count)}}var f=t[u-1];return u>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[u-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function diff(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var u=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,l=1,p=a+c,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=a&&d+1>=c)return s([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*l;n<=l;n+=2){var i=void 0,p=f[n-1],d=f[n+1],h=(d?d.newPos:0)-n;p&&(f[n-1]=void 0);var m=p&&p.newPos+1=a&&h+1>=c)return s(r(u,i.components,t,e,u.useLongestToken));f[n]=i}else f[n]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>p)return i();h()||e()}),0)}();else for(;l<=p;){var m=h();if(m)return m}},pushComponent:function pushComponent(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function extractCommon(e,t,n,r){for(var o=t.length,i=n.length,u=e.newPos,s=u-r,a=0;u+11&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function u(){var e={};for(o.push(e);i2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,D.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,o,i=e.split(/\r\n|[\n\v\f\r\x85]/),u=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,a=n.compareLine||function(e,t,n,r){return t===r},c=0,l=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",u=r.length>0?r.substr(1):r;if(" "===o||"-"===o){if(!a(t+1,i[t],o,u)&&++c>l)return!1;t++}}return!0}for(var h=0;h0?w[0]:" ",B=w.length>0?w.substr(1):w,k=F.linedelimiters[S];if(" "===T)x++;else if("-"===T)i.splice(x,1),u.splice(x,1);else if("+"===T)i.splice(x,0,B),u.splice(x,0,k),x++;else if("\\"===T){var N=F.lines[S-1]?F.lines[S-1][0]:null;"+"===N?r=!0:"-"===N&&(o=!0)}}}if(r)for(;!i[i.length-1];)i.pop(),u.pop();else o&&(i.push(""),u.push("\n"));for(var P=0;Pe.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?a(p.lines.slice(-u.context)):[],l-=d.length,f-=d.length)}(i=d).push.apply(i,B(o.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=o.length:h+=o.length}else{if(l)if(o.length<=2*u.context&&e=s.length-2&&o.length<=u.context){var b=/\n$/.test(n),C=/\n$/.test(r),v=0==o.length&&d.length>E.oldLines;!b&&v&&n.length>0&&d.splice(E.oldLines,0,"\\ No newline at end of file"),(b||v)&&C||d.push("\\ No newline at end of file")}c.push(E),l=0,f=0,d=[]}h+=o.length,m+=o.length}},y=0;ye.length)return!1;for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n"):r.removed&&t.push(""),t.push(ce(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")};function ce(e){var t=e;return(t=(t=(t=t.replace(/&/g,"&")).replace(//g,">")).replace(/"/g,""")}var le=Object.defineProperty({convertChangesToXML:ae},"__esModule",{value:!0}),pe=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function get(){return n.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function get(){return s.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function get(){return l.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function get(){return l.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function get(){return p.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function get(){return p.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function get(){return f.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function get(){return d.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function get(){return h.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function get(){return h.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function get(){return m.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function get(){return F.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function get(){return F.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function get(){return D.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function get(){return ie.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function get(){return I.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function get(){return I.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function get(){return I.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function get(){return se.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function get(){return le.convertChangesToXML}});var n=function(e){return e&&e.__esModule?e:{default:e}}(u)}));function fe(e){return{type:"concat",parts:e}}function de(e){return{type:"indent",contents:e}}function he(e,t){return{type:"align",contents:t,n:e}}function me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}var ge={type:"break-parent"},ye={type:"line",hard:!0},De={type:"line",hard:!0,literal:!0},Ee=fe([ye,ge]),be=fe([De,ge]),Ce={concat:fe,join:function join(e,t){for(var n=[],_r31=0;_r312&&void 0!==arguments[2]?arguments[2]:{}).groupId}},trim:{type:"trim"},indent:de,indentIfBreak:function indentIfBreak(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:he,addAlignmentToDoc:function addAlignmentToDoc(e,t,n){var r=e;if(t>0){for(var _e26=0;_e260&&void 0!==arguments[0]?arguments[0]:{}).onlyFirst,e=void 0!==_ref26$onlyFirst&&_ref26$onlyFirst,t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),""):e},Ae=function Ae(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},Fe=Ae,xe=Ae;Fe.default=xe;var Se=function Se(e){if("string"!=typeof e||0===e.length)return 0;if(0===(e=ve(e)).length)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");for(var t=0,_n25=0;_n25=127&&_r32<=159||_r32>=768&&_r32<=879||(_r32>65535&&_n25++,t+=Fe(_r32)?2:1)}return t},we=Se,Te=Se;we.default=Te;var Be=function Be(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},ke=function ke(e){return e[e.length-1]},Ne=function Ne(e){for(var t=-1,n=null==e?0:e.length,r={};++t1)for(var n=1;n)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(o[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(o[i.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:".concat(o[i.PRERELEASE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[i.PRERELEASELOOSE],")?").concat(o[i.BUILD],"?")+")?)?"),s("XRANGE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",o[i.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(o[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(o[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(o[i.GTLT],"\\s*(").concat(o[i.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],"|").concat(o[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(o[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),ut=["includePrerelease","loose","rtl"],st=function st(e){return e?"object"!=_typeof(e)?{loose:!0}:ut.filter((function(t){return e[t]})).reduce((function(e,t){return e[t]=!0,e}),{}):{}},at=/^[0-9]+$/,ct=function ct(e,t){var n=at.test(e),r=at.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:ept)throw new TypeError("version is longer than ".concat(pt," characters"));rt("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;var n=e.trim().match(t.loose?dt[ht.LOOSE]:dt[ht.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>ft||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ft||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ft||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var _t29=+e;if(_t29>=0&&_t29=0;)"number"==typeof this.prerelease[_e27]&&(this.prerelease[_e27]++,_e27=-2);-1===_e27&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),gt}(),yt=gt,Dt=function Dt(e,t,n){return new yt(e,n).compare(new yt(t,n))},Et=function Et(e,t,n){return Dt(e,t,n)<0},St=function St(e,t,n){return Dt(e,t,n)>=0},wt=i((function(e,t){function n(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{},_ref27$plugins=_ref27.plugins,t=void 0===_ref27$plugins?[]:_ref27$plugins,_ref27$showUnreleased=_ref27.showUnreleased,n=void 0!==_ref27$showUnreleased&&_ref27$showUnreleased,_ref27$showDeprecated=_ref27.showDeprecated,r=void 0!==_ref27$showDeprecated&&_ref27$showDeprecated,_ref27$showInternal=_ref27.showInternal,o=void 0!==_ref27$showInternal&&_ref27$showInternal,i=Lt.split("-",1)[0],u=t.reduce((function(e,t){return[].concat(_toConsumableArray(e),_toConsumableArray(t.languages||[]))}),[]).filter(a),s=function(e,t){return Object.entries(e).map((function(_ref28){var _ref29=_slicedToArray(_ref28,2),e=_ref29[0],n=_ref29[1];return Object.assign(_defineProperty({},t,e),n)}))}(Object.assign.apply(Object,[{}].concat(_toConsumableArray(t.map((function(_ref30){return _ref30.options}))),[_t])),"name").filter((function(e){return a(e)&&c(e)})).sort((function(e,t){return e.name===t.name?0:e.name=0&&u2&&void 0!==arguments[2]?arguments[2]:{},r=Wt(e,n.backwards?t-1:t,n);return r!==Jt(e,r,n)}function Yt(e,t){for(var n=null,r=t;r!==n;)n=r,r=Ht(e,r=Ut(e,r)),r=Wt(e,r);return!1!==(r=Jt(e,r=Gt(e,r)))&&Xt(e,r)}function Kt(e,t){for(var n=null,r=t;r!==n;)n=r,r=Jt(e,r=Gt(e,r=Ht(e,r=Wt(e,r))));return r}function Qt(e,t,n){return Kt(e,n(t))}function Zt(e,t){for(var r=0,_o8=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;_o8(n.match(u.regex)||[]).length?u.quote:i.quote),s}function tn(e,t,n){var r='"'===t?"'":'"',o=e.replace(/\\([\S\s])|(["'])/g,(function(e,o,i){return o===r?o:i===t?"\\"+i:i||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o)}));return t+o+t}function nn(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){var t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&("object"==_typeof(e.id)?e.id.name:e.id)||e.key&&("object"==_typeof(e.key)?e.key.name:e.key)||e.value&&("object"==_typeof(e.value)?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}(e)}var rn={inferParserByLanguage:function inferParserByLanguage(e,t){var n=Rt({plugins:t.plugins}).languages,r=n.find((function(_ref31){return _ref31.name.toLowerCase()===e}))||n.find((function(_ref32){var t=_ref32.aliases;return Array.isArray(t)&&t.includes(e)}))||n.find((function(_ref33){var t=_ref33.extensions;return Array.isArray(t)&&t.includes(".".concat(e))}));return r&&r.parsers[0]},replaceEndOfLineWith:function replaceEndOfLineWith(e,t){var _step13,n=[],_iterator13=_createForOfIteratorHelper(e.split("\n"));try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var _r35=_step13.value;n.length>0&&n.push(t),n.push(_r35)}}catch(err){_iterator13.e(err)}finally{_iterator13.f()}return n},getStringWidth:function getStringWidth(e){return e?Vt.test(e)?we(e):e.length:0},getMaxContinuousCount:function getMaxContinuousCount(e,t){var n=e.match(new RegExp("(".concat(Be(t),")+"),"g"));return null===n?0:n.reduce((function(e,n){return Math.max(e,n.length/t.length)}),0)},getMinNotPresentContinuousCount:function getMinNotPresentContinuousCount(e,t){var n=e.match(new RegExp("(".concat(Be(t),")+"),"g"));if(null===n)return 0;var _step14,r=new Map,o=0,_iterator14=_createForOfIteratorHelper(n);try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var _n30=_step14.value.length/t.length;r.set(_n30,!0),_n30>o&&(o=_n30)}}catch(err){_iterator14.e(err)}finally{_iterator14.f()}for(var _e28=1;_e282&&void 0!==arguments[2]?arguments[2]:{};return Wt(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:Zt,getIndentSize:function getIndentSize(e,t){var n=e.lastIndexOf("\n");return-1===n?0:Zt(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:en,printString:function printString(e,t){return tn(e.slice(1,-1),"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":en(e,t.singleQuote?"'":'"'),!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function printNumber(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:tn,addLeadingComment:function addLeadingComment(e,t){t.leading=!0,t.trailing=!1,nn(e,t)},addDanglingComment:function addDanglingComment(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),nn(e,t)},addTrailingComment:function addTrailingComment(e,t){t.leading=!1,t.trailing=!0,nn(e,t)},isFrontMatterNode:function isFrontMatterNode(e){return e&&"front-matter"===e.type},getShebang:function getShebang(e){if(!e.startsWith("#!"))return"";var t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function isNonEmptyArray(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function createGroupIdMapper(e){var t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}},on={guessEndOfLine:function guessEndOfLine(e){var t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function convertEndOfLineToChars(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function countEndOfLineChars(e,t){var n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}var r=e.match(n);return r?r.length:0},normalizeEndOfLine:function normalizeEndOfLine(e){return e.replace(/\r\n?/g,"\n")}},un=Ce.literalline,sn=function sn(e){return Array.isArray(e)||e&&"concat"===e.type},an=function an(e){if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},cn={};function ln(e,t,n,r){for(var o=[e];o.length>0;){var _e30=o.pop();if(_e30!==cn){if(n&&o.push(_e30,cn),!t||!1!==t(_e30))if(sn(_e30)||"fill"===_e30.type)for(var _t30=an(_e30),_e31=_t30.length-1;_e31>=0;--_e31)o.push(_t30[_e31]);else if("if-break"===_e30.type)_e30.flatContents&&o.push(_e30.flatContents),_e30.breakContents&&o.push(_e30.breakContents);else if("group"===_e30.type&&_e30.expandedStates)if(r)for(var _t31=_e30.expandedStates.length-1;_t31>=0;--_t31)o.push(_e30.expandedStates[_t31]);else o.push(_e30.contents);else _e30.contents&&o.push(_e30.contents)}else n(o.pop())}}function pn(e,t){var n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);var o=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){var _n31=e.parts.map(r);return t(Object.assign({},e,{parts:_n31}))}if("if-break"===e.type){var _n32=e.breakContents&&r(e.breakContents),_o9=e.flatContents&&r(e.flatContents);return t(Object.assign({},e,{breakContents:_n32,flatContents:_o9}))}if("group"===e.type&&e.expandedStates){var _n33=e.expandedStates.map(r),_o10=_n33[0];return t(Object.assign({},e,{contents:_o10,expandedStates:_n33}))}if(e.contents){var _n34=r(e.contents);return t(Object.assign({},e,{contents:_n34}))}return t(e)}(e);return n.set(e,o),o}}function fn(e,t,n){var r=n,o=!1;return ln(e,(function(e){var n=t(e);if(void 0!==n&&(o=!0,r=n),o)return!1})),r}function dn(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function hn(e){if(e.length>0){var _t32=ke(e);_t32.expandedStates||_t32.break||(_t32.break="propagated")}return null}function mn(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var gn=function gn(e,t){return e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type};function yn(e){if(!e)return e;if(sn(e)||"fill"===e.type){for(var _t33=an(e);_t33.length>1&&gn.apply(void 0,_toConsumableArray(_t33.slice(-2)));)_t33.length-=2;if(_t33.length>0){var _e32=yn(ke(_t33));_t33[_t33.length-1]=_e32}return Array.isArray(e)?_t33:Object.assign({},e,{parts:_t33})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":var _t34=yn(e.contents);return Object.assign({},e,{contents:_t34});case"if-break":var _t35=yn(e.breakContents),_n35=yn(e.flatContents);return Object.assign({},e,{breakContents:_t35,flatContents:_n35})}return e}function Dn(e){return pn(e,(function(e){return function(e){switch(e.type){case"fill":if(0===e.parts.length||e.parts.every((function(e){return""===e})))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!sn(e))return e;var _step15,t=[],_iterator15=_createForOfIteratorHelper(an(e));try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var _n36=_step15.value;if(_n36){var _ref35=_toArray(sn(_n36)?an(_n36):[_n36]),_e33=_ref35[0],_r37=_ref35.slice(1);"string"==typeof _e33&&"string"==typeof ke(t)?t[t.length-1]+=_e33:t.push(_e33),t.push.apply(t,_toConsumableArray(_r37))}}}catch(err){_iterator15.e(err)}finally{_iterator15.f()}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign({},e,{parts:t})}(e)}))}function En(e){for(var t=[],n=e.filter(Boolean);n.length>0;){var _e34=n.shift();_e34&&(sn(_e34)?n.unshift.apply(n,_toConsumableArray(an(_e34))):t.length>0&&"string"==typeof ke(t)&&"string"==typeof _e34?t[t.length-1]+=_e34:t.push(_e34))}return t}var Bn,bn={isConcat:sn,getDocParts:an,willBreak:function willBreak(e){return fn(e,dn,!1)},traverseDoc:ln,findInDoc:fn,mapDoc:pn,propagateBreaks:function propagateBreaks(e){var t=new Set,n=[];ln(e,(function(e){if("break-parent"===e.type&&hn(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&hn(n)}),!0)},removeLines:function removeLines(e){return pn(e,mn)},stripTrailingHardline:function stripTrailingHardline(e){return yn(Dn(e))},normalizeParts:En,normalizeDoc:function normalizeDoc(e){return pn(e,(function(e){return Array.isArray(e)?En(e):e.parts?Object.assign({},e,{parts:En(e.parts)}):e}))},cleanDoc:Dn,replaceNewlinesWithLiterallines:function replaceNewlinesWithLiterallines(e){return pn(e,(function(e){return"string"==typeof e&&e.includes("\n")?e.split(/(\n)/g).map((function(e,t){return t%2==0?e:un})):e}))}},Cn=rn.getStringWidth,vn=rn.getLast,An=on.convertEndOfLineToChars,Fn=Ce.fill,xn=Ce.cursor,Sn=Ce.indent,wn=bn.isConcat,Tn=bn.getDocParts;function kn(e,t){return Pn(e,{type:"indent"},t)}function Nn(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?Pn(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):Pn(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function Pn(e,t,n){var _step16,r="dedent"===t.type?e.queue.slice(0,-1):[].concat(_toConsumableArray(e.queue),[t]),o="",i=0,u=0,s=0,_iterator16=_createForOfIteratorHelper(r);try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var _e35=_step16.value;switch(_e35.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=_e35.n,i+=_e35.n.length;break;case"numberAlign":u+=1,s+=_e35.n;break;default:throw new Error("Unexpected type '".concat(_e35.type,"'"))}}}catch(err){_iterator16.e(err)}finally{_iterator16.f()}return p(),Object.assign({},e,{value:o,length:i,queue:r});function a(e){o+="\t".repeat(e),i+=n.tabWidth*e}function c(e){o+=" ".repeat(e),i+=e}function l(){n.useTabs?(u>0&&a(u),f()):p()}function p(){s>0&&c(s),f()}function f(){u=0,s=0}}function On(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"==typeof vn(e)&&/^[\t ]*$/.test(vn(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof vn(e)){var _n37=vn(e).replace(/[\t ]*$/,"");t+=vn(e).length-_n37.length,e[e.length-1]=_n37}return t}function In(e,t,n,r,o,i){for(var u=t.length,s=[e],a=[];n>=0;)if(0!==s.length){var _s$pop2=_slicedToArray(s.pop(),3),_e36=_s$pop2[0],_c4=_s$pop2[1],_l2=_s$pop2[2];if("string"==typeof _l2)a.push(_l2),n-=Cn(_l2);else if(wn(_l2))for(var _t36=Tn(_l2),_n38=_t36.length-1;_n38>=0;_n38--)s.push([_e36,_c4,_t36[_n38]]);else switch(_l2.type){case"indent":s.push([kn(_e36,r),_c4,_l2.contents]);break;case"align":s.push([Nn(_e36,_l2.n,r),_c4,_l2.contents]);break;case"trim":n+=On(a);break;case"group":if(i&&_l2.break)return!1;var _t37=_l2.break?1:_c4;s.push([_e36,_t37,_l2.expandedStates&&1===_t37?vn(_l2.expandedStates):_l2.contents]),_l2.id&&(Bn[_l2.id]=_t37);break;case"fill":for(var _t38=_l2.parts.length-1;_t38>=0;_t38--)s.push([_e36,_c4,_l2.parts[_t38]]);break;case"if-break":case"indent-if-break":var _t39=_l2.groupId?Bn[_l2.groupId]:_c4;if(1===_t39){var _t40="if-break"===_l2.type?_l2.breakContents:_l2.negate?_l2.contents:Sn(_l2.contents);_t40&&s.push([_e36,_c4,_t40])}if(2===_t39){var _t41="if-break"===_l2.type?_l2.flatContents:_l2.negate?Sn(_l2.contents):_l2.contents;_t41&&s.push([_e36,_c4,_t41])}break;case"line":switch(_c4){case 2:if(!_l2.hard){_l2.soft||(a.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1;break;case"label":s.push([_e36,_c4,_l2.contents])}}else{if(0===u)return!0;s.push(t[u-1]),u--}return!1}var jn={printDocToString:function printDocToString(e,t){Bn={};for(var n=t.printWidth,r=An(t.endOfLine),o=0,i=[[{value:"",length:0,queue:[]},1,e]],u=[],s=!1,a=[];i.length>0;){var _i$pop2=_slicedToArray(i.pop(),3),_e37=_i$pop2[0],_c5=_i$pop2[1],_l3=_i$pop2[2];if("string"==typeof _l3){var _e38="\n"!==r?_l3.replace(/\n/g,r):_l3;u.push(_e38),o+=Cn(_e38)}else if(wn(_l3))for(var _t42=Tn(_l3),_n39=_t42.length-1;_n39>=0;_n39--)i.push([_e37,_c5,_t42[_n39]]);else switch(_l3.type){case"cursor":u.push(xn.placeholder);break;case"indent":i.push([kn(_e37,t),_c5,_l3.contents]);break;case"align":i.push([Nn(_e37,_l3.n,t),_c5,_l3.contents]);break;case"trim":o-=On(u);break;case"group":switch(_c5){case 2:if(!s){i.push([_e37,_l3.break?1:2,_l3.contents]);break}case 1:s=!1;var _r38=[_e37,2,_l3.contents],_u4=n-o,_c6=a.length>0;if(!_l3.break&&In(_r38,i,_u4,t,_c6))i.push(_r38);else if(_l3.expandedStates){var _n40=vn(_l3.expandedStates);if(_l3.break){i.push([_e37,1,_n40]);break}for(var _r39=1;_r39<_l3.expandedStates.length+1;_r39++){if(_r39>=_l3.expandedStates.length){i.push([_e37,1,_n40]);break}var _n41=[_e37,2,_l3.expandedStates[_r39]];if(In(_n41,i,_u4,t,_c6)){i.push(_n41);break}}}else i.push([_e37,1,_l3.contents])}_l3.id&&(Bn[_l3.id]=vn(i)[1]);break;case"fill":var _r40=n-o,_u5=_l3.parts;if(0===_u5.length)break;var _u6=_slicedToArray(_u5,2),_s15=_u6[0],_p2=_u6[1],_f2=[_e37,2,_s15],_d2=[_e37,1,_s15],_h2=In(_f2,[],_r40,t,a.length>0,!0);if(1===_u5.length){_h2?i.push(_f2):i.push(_d2);break}var _m2=[_e37,2,_p2],_g2=[_e37,1,_p2];if(2===_u5.length){_h2?i.push(_m2,_f2):i.push(_g2,_d2);break}_u5.splice(0,2);var _y2=[_e37,_c5,Fn(_u5)];In([_e37,2,[_s15,_p2,_u5[0]]],[],_r40,t,a.length>0,!0)?i.push(_y2,_m2,_f2):_h2?i.push(_y2,_g2,_f2):i.push(_y2,_g2,_d2);break;case"if-break":case"indent-if-break":var _t43=_l3.groupId?Bn[_l3.groupId]:_c5;if(1===_t43){var _t44="if-break"===_l3.type?_l3.breakContents:_l3.negate?_l3.contents:Sn(_l3.contents);_t44&&i.push([_e37,_c5,_t44])}if(2===_t43){var _t45="if-break"===_l3.type?_l3.flatContents:_l3.negate?Sn(_l3.contents):_l3.contents;_t45&&i.push([_e37,_c5,_t45])}break;case"line-suffix":a.push([_e37,_c5,_l3.contents]);break;case"line-suffix-boundary":a.length>0&&i.push([_e37,_c5,{type:"line",hard:!0}]);break;case"line":switch(_c5){case 2:if(!_l3.hard){_l3.soft||(u.push(" "),o+=1);break}s=!0;case 1:if(a.length>0){i.push.apply(i,[[_e37,_c5,_l3]].concat(_toConsumableArray(a.reverse()))),a=[];break}_l3.literal?_e37.root?(u.push(r,_e37.root.value),o=_e37.root.length):(u.push(r),o=0):(o-=On(u),u.push(r+_e37.value),o=_e37.length)}break;case"label":i.push([_e37,_c5,_l3.contents])}0===i.length&&a.length>0&&(i.push.apply(i,_toConsumableArray(a.reverse())),a=[])}var c=u.indexOf(xn.placeholder);if(-1!==c){var _e39=u.indexOf(xn.placeholder,c+1),_t46=u.slice(0,c).join(""),_n42=u.slice(c+1,_e39).join("");return{formatted:_t46+_n42+u.slice(_e39+1).join(""),cursorNodeStart:_t46.length,cursorNodeText:_n42}}return{formatted:u.join("")}}},Ln=bn.isConcat,_n=bn.getDocParts;function Mn(e){if(!e)return"";if(Ln(e)){var _step17,_t47=[],_iterator17=_createForOfIteratorHelper(_n(e));try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var _n43=_step17.value;if(Ln(_n43))_t47.push.apply(_t47,_toConsumableArray(Mn(_n43).parts));else{var _e40=Mn(_n43);""!==_e40&&_t47.push(_e40)}}}catch(err){_iterator17.e(err)}finally{_iterator17.f()}return{type:"concat",parts:_t47}}return"if-break"===e.type?Object.assign({},e,{breakContents:Mn(e.breakContents),flatContents:Mn(e.flatContents)}):"group"===e.type?Object.assign({},e,{contents:Mn(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(Mn)}):"fill"===e.type?{type:"fill",parts:e.parts.map(Mn)}:e.contents?Object.assign({},e,{contents:Mn(e.contents)}):e}var Rn={builders:Ce,printer:jn,utils:bn,debug:{printDocToDebug:function printDocToDebug(e){var t=Object.create(null),n=new Set;return function e(t,n,o){if("string"==typeof t)return JSON.stringify(t);if(Ln(t)){var _n44=_n(t).map(e).filter(Boolean);return 1===_n44.length?_n44[0]:"[".concat(_n44.join(", "),"]")}if("line"===t.type){var _e41=Array.isArray(o)&&o[n+1]&&"break-parent"===o[n+1].type;return t.literal?_e41?"literalline":"literallineWithoutBreakParent":t.hard?_e41?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(o)&&o[n-1]&&"line"===o[n-1].type&&o[n-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+", { groupId: ".concat(r(t.groupId)," }"):"")+")";if("indent-if-break"===t.type){var _n45=[];t.negate&&_n45.push("negate: true"),t.groupId&&_n45.push("groupId: ".concat(r(t.groupId)));var _o11=_n45.length>0?", { ".concat(_n45.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(_o11,")")}if("group"===t.type){var _n46=[];t.break&&"propagated"!==t.break&&_n46.push("shouldBreak: true"),t.id&&_n46.push("id: ".concat(r(t.id)));var _o12=_n46.length>0?", { ".concat(_n46.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map((function(t){return e(t)})).join(","),"]").concat(_o12,")"):"group(".concat(e(t.contents)).concat(_o12,")")}if("fill"===t.type)return"fill([".concat(t.parts.map((function(t){return e(t)})).join(", "),"])");if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return"label(".concat(JSON.stringify(t.label),", ").concat(e(t.contents),")");throw new Error("Unknown doc type "+t.type)}(Mn(e));function r(e){if("symbol"!=_typeof(e))return JSON.stringify(String(e));if(e in t)return t[e];for(var r=String(e).slice(7,-1)||"symbol",_o13=0;;_o13++){var _i11=r+(_o13>0?" #".concat(_o13):"");if(!n.has(_i11))return n.add(_i11),t[e]="Symbol.for(".concat(JSON.stringify(_i11),")")}}}}},Vn=Object.freeze({__proto__:null,default:{}});function $n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var qn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Wn=function Wn(e){return qn.exec(e).slice(1)};function Un(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=$n(Zn(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function zn(e){var t=Hn(e),n="/"===er(e,-1);return(e=$n(Zn(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Hn(e){return"/"===e.charAt(0)}function Gn(){return zn(Zn(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Jn(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=Un(e).substr(1),t=Un(t).substr(1);for(var r=n(e.split("/")),o=n(t.split("/")),i=Math.min(r.length,o.length),u=i,s=0;s>18&63]+nr[o>>12&63]+nr[o>>6&63]+nr[63&o]);return i.join("")}function ar(e){var t;ir||ur();for(var n=e.length,r=n%3,o="",i=[],u=16383,s=0,a=n-r;sa?a:s+u));return 1===r?(t=e[n-1],o+=nr[t>>2],o+=nr[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=nr[t>>10],o+=nr[t>>4&63],o+=nr[t<<2&63],o+="="),i.push(o),i.join("")}function cr(e,t,n,r,o){var i,u,s=8*o-r-1,a=(1<>1,l=-7,p=n?o-1:0,f=n?-1:1,d=e[t+p];for(p+=f,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=f,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;l>0;u=256*u+e[t+p],p+=f,l-=8);if(0===i)i=1-c;else{if(i===a)return u?NaN:1/0*(d?-1:1);u+=Math.pow(2,r),i-=c}return(d?-1:1)*u*Math.pow(2,i-r)}function lr(e,t,n,r,o,i){var u,s,a,c=8*i-o-1,l=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,u=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-u))<1&&(u--,a*=2),(t+=u+p>=1?f/a:f*Math.pow(2,1-p))*a>=2&&(u++,a/=2),u+p>=l?(s=0,u=l):u+p>=1?(s=(t*a-1)*Math.pow(2,o),u+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),u=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(u=u<0;e[n+d]=255&u,d+=h,u/=256,c-=8);e[n+d-h]|=128*m}var pr={}.toString,fr=Array.isArray||function(e){return"[object Array]"==pr.call(e)};function dr(){return mr.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function hr(e,t){if(dr()=dr())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+dr().toString(16)+" bytes");return 0|e}function Cr(e){return!(null==e||!e._isBuffer)}function vr(e,t){if(Cr(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Xr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Yr(e).length;default:if(r)return Xr(e).length;t=(""+t).toLowerCase(),r=!0}}function Ar(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Mr(this,t,n);case"utf8":case"utf-8":return Ir(this,t,n);case"ascii":return Lr(this,t,n);case"latin1":case"binary":return _r(this,t,n);case"base64":return Or(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Rr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Fr(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function xr(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=mr.from(t,r)),Cr(t))return 0===t.length?-1:Sr(e,t,n,r,o);if("number"==typeof t)return t&=255,mr.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Sr(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function Sr(e,t,n,r,o){var i,u=1,s=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;u=2,s/=2,a/=2,n/=2}function c(e,t){return 1===u?e[t]:e.readUInt16BE(t*u)}if(o){var l=-1;for(i=n;is&&(n=s-a),i=n;i>=0;i--){for(var p=!0,f=0;fo&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var u=0;u>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function Or(e,t,n){return 0===t&&n===e.length?ar(e):ar(e.slice(t,n))}function Ir(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:c>223?3:c>191?2:1;if(o+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(a=(31&c)<<6|63&i)>127&&(l=a);break;case 3:i=e[o+1],u=e[o+2],128==(192&i)&&128==(192&u)&&(a=(15&c)<<12|(63&i)<<6|63&u)>2047&&(a<55296||a>57343)&&(l=a);break;case 4:i=e[o+1],u=e[o+2],s=e[o+3],128==(192&i)&&128==(192&u)&&128==(192&s)&&(a=(15&c)<<18|(63&i)<<12|(63&u)<<6|63&s)>65535&&a<1114112&&(l=a)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=p}return function(e){var t=e.length;if(t<=jr)return String.fromCharCode.apply(String,e);for(var n="",r=0;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},mr.prototype.compare=function(e,t,n,r,o){if(!Cr(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),u=(n>>>=0)-(t>>>=0),s=Math.min(i,u),a=this.slice(r,o),c=e.slice(t,n),l=0;lo)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return wr(this,e,t,n);case"utf8":case"utf-8":return Tr(this,e,t,n);case"ascii":return Br(this,e,t,n);case"latin1":case"binary":return kr(this,e,t,n);case"base64":return Nr(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},mr.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var jr=4096;function Lr(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;or)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function $r(e,t,n,r,o,i){if(!Cr(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function qr(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function Wr(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function Ur(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function zr(e,t,n,r,o){return o||Ur(e,0,n,4),lr(e,t,n,r,23,4),n+4}function Hr(e,t,n,r,o){return o||Ur(e,0,n,8),lr(e,t,n,r,52,8),n+8}mr.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},mr.prototype.readUInt8=function(e,t){return t||Vr(e,1,this.length),this[e]},mr.prototype.readUInt16LE=function(e,t){return t||Vr(e,2,this.length),this[e]|this[e+1]<<8},mr.prototype.readUInt16BE=function(e,t){return t||Vr(e,2,this.length),this[e]<<8|this[e+1]},mr.prototype.readUInt32LE=function(e,t){return t||Vr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},mr.prototype.readUInt32BE=function(e,t){return t||Vr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},mr.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Vr(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},mr.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Vr(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},mr.prototype.readInt8=function(e,t){return t||Vr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},mr.prototype.readInt16LE=function(e,t){t||Vr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},mr.prototype.readInt16BE=function(e,t){t||Vr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},mr.prototype.readInt32LE=function(e,t){return t||Vr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},mr.prototype.readInt32BE=function(e,t){return t||Vr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},mr.prototype.readFloatLE=function(e,t){return t||Vr(e,4,this.length),cr(this,e,!0,23,4)},mr.prototype.readFloatBE=function(e,t){return t||Vr(e,4,this.length),cr(this,e,!1,23,4)},mr.prototype.readDoubleLE=function(e,t){return t||Vr(e,8,this.length),cr(this,e,!0,52,8)},mr.prototype.readDoubleBE=function(e,t){return t||Vr(e,8,this.length),cr(this,e,!1,52,8)},mr.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||$r(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},mr.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,1,255,0),mr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},mr.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,65535,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):qr(this,e,t,!0),t+2},mr.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,65535,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):qr(this,e,t,!1),t+2},mr.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,4294967295,0),mr.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Wr(this,e,t,!0),t+4},mr.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,4294967295,0),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Wr(this,e,t,!1),t+4},mr.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);$r(this,e,t,n,o-1,-o)}var i=0,u=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},mr.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);$r(this,e,t,n,o-1,-o)}var i=n-1,u=1,s=0;for(this[t+i]=255&e;--i>=0&&(u*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/u>>0)-s&255;return t+n},mr.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,1,127,-128),mr.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},mr.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,32767,-32768),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):qr(this,e,t,!0),t+2},mr.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,2,32767,-32768),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):qr(this,e,t,!1),t+2},mr.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,2147483647,-2147483648),mr.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Wr(this,e,t,!0),t+4},mr.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||$r(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),mr.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Wr(this,e,t,!1),t+4},mr.prototype.writeFloatLE=function(e,t,n){return zr(this,e,t,!0,n)},mr.prototype.writeFloatBE=function(e,t,n){return zr(this,e,t,!1,n)},mr.prototype.writeDoubleLE=function(e,t,n){return Hr(this,e,t,!0,n)},mr.prototype.writeDoubleBE=function(e,t,n){return Hr(this,e,t,!1,n)},mr.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!mr.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(u+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Yr(e){return function(e){var t,n,r,o,i,u;ir||ur();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,u=new or(3*s/4-i),r=i>0?s-4:s;var a=0;for(t=0,n=0;t>16&255,u[a++]=o>>8&255,u[a++]=255&o;return 2===i?(o=rr[e.charCodeAt(t)]<<2|rr[e.charCodeAt(t+1)]>>4,u[a++]=255&o):1===i&&(o=rr[e.charCodeAt(t)]<<10|rr[e.charCodeAt(t+1)]<<4|rr[e.charCodeAt(t+2)]>>2,u[a++]=o>>8&255,u[a++]=255&o),u}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Gr,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Kr(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Qr(e){return null!=e&&(!!e._isBuffer||Zr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Zr(e.slice(0,0))}(e))}function Zr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var eo=o(Vn),to=function(){function to(e,t){_classCallCheck(this,to),(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:eo.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}return _createClass(to,[{key:"_searchInBuffer",value:function _searchInBuffer(e,t){for(var n=-1,_r41=0;_r41<=e.length;_r41++)if(e[_r41]===t){n=_r41;break}return n}},{key:"reset",value:function reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function close(){eo.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function _extractLines(e){for(var t,n=[],r=0,o=0;;){var _i12=e[r++];if(_i12===this.newLineCharacter)t=e.slice(o,r),n.push(t),o=r;else if(void 0===_i12)break}var i=e.slice(o,r);return i.length&&n.push(i),n}},{key:"_readChunk",value:function _readChunk(e){var t,n=0,r=[];do{var _e42=new mr(this.options.readChunk);n+=t=eo.readSync(this.fd,_e42,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+t,r.push(_e42)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));var o=mr.concat(r);return t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function lo(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function po(e){return this instanceof po?(this.v=e,this):new po(e)}var fo=Object.freeze({__proto__:null,__extends:function __extends(e,t){function n(){this.constructor=e}_so(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return _ao},__rest:function __rest(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0;s--)(o=e[s])&&(u=(i<3?o(u):i>3?o(t,n,u):o(t,n))||u);return i>3&&u&&Object.defineProperty(t,n,u),u},__param:function __param(e,t){return function(n,r){t(n,r,e)}},__metadata:function __metadata(e,t){if("object"==("undefined"==typeof Reflect?"undefined":_typeof(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function __awaiter(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function s(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(u,s)}a((r=r.apply(e,t||[])).next())}))},__generator:function __generator(e,t){var n,r,o,i,u={label:0,sent:function sent(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof po?Promise.resolve(n.value.v).then(a,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function a(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}},__asyncDelegator:function __asyncDelegator(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:po(e[r](t)),done:"return"===r}:o?o(t):t}:o}},__asyncValues:function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=co(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function __makeTemplateObject(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function __importStar(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function __importDefault(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function __classPrivateFieldGet(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function __classPrivateFieldSet(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),ho=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:function key(e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)},value:function value(e){if(null===e||"object"!=_typeof(e))return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map((function(e){return t.apiDescriptor.value(e)})).join(", "),"]");var n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map((function(n){return"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))})).join(", ")," }")},pair:function pair(_ref36){var e=_ref36.key,n=_ref36.value;return t.apiDescriptor.value(_defineProperty({},e,n))}}})),mo=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(ho,t)})),go=/[|\\{}()[\]^$+*?.]/g,yo=function yo(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(go,"\\$&")},Do={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Eo=i((function(e){var t={};for(var n in Do)Do.hasOwnProperty(n)&&(t[Do[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var i=r[o].channels,u=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:i}),Object.defineProperty(r[o],"labels",{value:u})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,u=Math.min(r,o,i),s=Math.max(r,o,i),a=s-u;return s===u?t=0:r===s?t=(o-i)/a:o===s?t=2+(i-r)/a:i===s&&(t=4+(r-o)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(u+s)/2,[t,100*(s===u?0:n<=.5?a/(s+u):a/(2-s-u)),100*n]},r.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function p(e){return(c-e)/6/l+.5};return 0===l?o=i=0:(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,o))*100,100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,o,i,u=1/0;for(var s in Do)if(Do.hasOwnProperty(s)){var c=(o=e,i=Do[s],Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.hsl.rgb=function(e){var t,n,r,o,i,u=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[i=255*a,i,i];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];for(var c=0;c<3;c++)(r=u+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},r.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,u=e[2]/100,s=Math.max(u,.01);return r=(2-i)*u,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,o,i,u,s,a=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-l)-c),t){default:case 6:case 0:i=n,u=o,s=c;break;case 1:i=o,u=n,s=c;break;case 2:i=c,u=n,s=o;break;case 3:i=c,u=o,s=n;break;case 4:i=o,u=c,s=n;break;case 5:i=n,u=c,s=o}return[255*i,255*u,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},r.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,u=e[2]/100;return n=-.9689*o+1.8758*i+.0415*u,r=.0557*o+-.204*i+1.057*u,t=(t=3.2406*o+-1.5372*i+-.4986*u)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(u+=60),u},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),u=Math.min(Math.min(n,r),o),s=i-u;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?u/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],u=t%1*6,s=u%1,a=1-s;switch(Math.floor(u)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function bo(e){var t=function(){for(var e={},t=Object.keys(Eo),n=t.length,r=0;r1&&(_t48=Array.prototype.slice.call(arguments));var n=e(_t48);if("object"==_typeof(n))for(var r=n.length,o=0;o1&&(_t49=Array.prototype.slice.call(arguments)),e(_t49))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Fo,xo=Ao,So=i((function(e){var t=function t(e,_t50){return function(){var n=e.apply(xo,arguments);return"[".concat(n+_t50,"m")}},n=function n(e,t){return function(){var n=e.apply(xo,arguments);return"[".concat(38+t,";5;").concat(n,"m")}},r=function r(e,t){return function(){var n=e.apply(xo,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function get(){var e=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.grey=o.color.gray;for(var _i13=0,_Object$keys=Object.keys(o);_i13<_Object$keys.length;_i13++){for(var _t51=_Object$keys[_i13],_n47=o[_t51],_i14=0,_Object$keys2=Object.keys(_n47);_i14<_Object$keys2.length;_i14++){var _t52=_Object$keys2[_i14],_r42=_n47[_t52];o[_t52]={open:"[".concat(_r42[0],"m"),close:"[".concat(_r42[1],"m")},_n47[_t52]=o[_t52],e.set(_r42[0],_r42[1])}Object.defineProperty(o,_t51,{value:_n47,enumerable:!1}),Object.defineProperty(o,"codes",{value:e,enumerable:!1})}var i=function i(e){return e},u=function u(e,t,n){return[e,t,n]};o.color.close="",o.bgColor.close="",o.color.ansi={ansi:t(i,0)},o.color.ansi256={ansi256:n(i,0)},o.color.ansi16m={rgb:r(u,0)},o.bgColor.ansi={ansi:t(i,10)},o.bgColor.ansi256={ansi256:n(i,10)},o.bgColor.ansi16m={rgb:r(u,10)};for(var _i15=0,_Object$keys3=Object.keys(xo);_i15<_Object$keys3.length;_i15++){var _e43=_Object$keys3[_i15];if("object"==_typeof(xo[_e43])){var _i16=xo[_e43];"ansi16"===_e43&&(_e43="ansi"),"ansi16"in _i16&&(o.color.ansi[_e43]=t(_i16.ansi16,0),o.bgColor.ansi[_e43]=t(_i16.ansi16,10)),"ansi256"in _i16&&(o.color.ansi256[_e43]=n(_i16.ansi256,0),o.bgColor.ansi256[_e43]=n(_i16.ansi256,10)),"rgb"in _i16&&(o.color.ansi16m[_e43]=r(_i16.rgb,0),o.bgColor.ansi16m[_e43]=r(_i16.rgb,10))}}return o}})}));function wo(){if(void 0===Fo){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])Fo="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");Fo="LE"}}return Fo}function To(){return void 0!==Pe.location?Pe.location.hostname:""}function Bo(){return[]}function ko(){return 0}function No(){return Number.MAX_VALUE}function Po(){return Number.MAX_VALUE}function Oo(){return[]}function Io(){return"Browser"}function jo(){return void 0!==Pe.navigator?Pe.navigator.appVersion:""}function Lo(){}function _o(){}function Mo(){return"javascript"}function Ro(){return"browser"}function Vo(){return"/tmp"}var Ho,$o=Vo,qo={EOL:"\n",arch:Mo,platform:Ro,tmpdir:$o,tmpDir:Vo,networkInterfaces:Lo,getNetworkInterfaces:_o,release:jo,type:Io,cpus:Oo,totalmem:Po,freemem:No,uptime:ko,loadavg:Bo,hostname:To,endianness:wo},Wo=function Wo(e,t){t=t||nt.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r=2,has16m:e>=3}}(function(e){if(!1===Ho)return 0;if(Wo("color=16m")||Wo("color=full")||Wo("color=truecolor"))return 3;if(Wo("color=256"))return 2;if(e&&!e.isTTY&&!0!==Ho)return 0;var t=Ho?1:0;if("CI"in zo)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in zo}))||"codeship"===zo.CI_NAME?1:t;if("TEAMCITY_VERSION"in zo)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zo.TEAMCITY_VERSION)?1:0;if("truecolor"===zo.COLORTERM)return 3;if("TERM_PROGRAM"in zo){var _e44=parseInt((zo.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zo.TERM_PROGRAM){case"iTerm.app":return _e44>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zo.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zo.TERM)||"COLORTERM"in zo?1:(zo.TERM,t)}(e))}Wo("no-color")||Wo("no-colors")||Wo("color=false")?Ho=!1:(Wo("color")||Wo("colors")||Wo("color=true")||Wo("color=always"))&&(Ho=!0),"FORCE_COLOR"in zo&&(Ho=0===zo.FORCE_COLOR.length||0!==parseInt(zo.FORCE_COLOR,10));var Jo={supportsColor:Go,stdout:Go(nt.stdout),stderr:Go(nt.stderr)},Xo=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Yo=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ko=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Qo=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Zo=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function ei(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Zo.get(e)||e}function ti(e,t){var o,_step18,n=[],_iterator18=_createForOfIteratorHelper(t.trim().split(/\s*,\s*/g));try{for(_iterator18.s();!(_step18=_iterator18.n()).done;){var _t53=_step18.value;if(isNaN(_t53)){if(!(o=_t53.match(Ko)))throw new Error("Invalid Chalk template style argument: ".concat(_t53," (in style '").concat(e,"')"));n.push(o[2].replace(Qo,(function(e,t,n){return t?ei(t):n})))}else n.push(Number(_t53))}}catch(err){_iterator18.e(err)}finally{_iterator18.f()}return n}function ni(e){Yo.lastIndex=0;for(var n,t=[];null!==(n=Yo.exec(e));){var _e45=n[1];if(n[2]){var _r43=ti(_e45,n[2]);t.push([_e45].concat(_r43))}else t.push([_e45])}return t}function ri(e,t){var _step19,n={},_iterator19=_createForOfIteratorHelper(t);try{for(_iterator19.s();!(_step19=_iterator19.n()).done;){var _step20,_e47=_step19.value,_iterator20=_createForOfIteratorHelper(_e47.styles);try{for(_iterator20.s();!(_step20=_iterator20.n()).done;){var _t54=_step20.value;n[_t54[0]]=_e47.inverse?null:_t54.slice(1)}}catch(err){_iterator20.e(err)}finally{_iterator20.f()}}}catch(err){_iterator19.e(err)}finally{_iterator19.f()}for(var r=e,_i17=0,_Object$keys4=Object.keys(n);_i17<_Object$keys4.length;_i17++){var _e46=_Object$keys4[_i17];if(Array.isArray(n[_e46])){if(!(_e46 in r))throw new Error("Unknown Chalk style: ".concat(_e46));r=n[_e46].length>0?r[_e46].apply(r,n[_e46]):r[_e46]}}return r}var oi=function oi(e,t){var n=[],r=[],o=[];if(t.replace(Xo,(function(t,i,u,s,a,c){if(i)o.push(ei(i));else if(s){var _t55=o.join("");o=[],r.push(0===n.length?_t55:ri(e,n)(_t55)),n.push({inverse:u,styles:ni(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ri(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){var _e48="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(_e48)}return r.join("")},ii=i((function(e){var t=Jo.stdout,r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),i=Object.create(null);function u(e,n){n=n||{};var r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){var _t56={};return u(_t56,e),_t56.template=function(){var e=[].slice.call(arguments);return p.apply(null,[_t56.template].concat(e))},Object.setPrototypeOf(_t56,s.prototype),Object.setPrototypeOf(_t56.template,_t56),_t56.template.constructor=s,_t56.template}u(this,e)}for(var _loop3=function _loop3(){var e=_Object$keys5[_i18];So[e].closeRe=new RegExp(yo(So[e].close),"g"),i[e]={get:function get(){var t=So[e];return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},_i18=0,_Object$keys5=Object.keys(So);_i18<_Object$keys5.length;_i18++)_loop3();i.visible={get:function get(){return c.call(this,this._styles||[],!0,"visible")}},So.color.closeRe=new RegExp(yo(So.color.close),"g");for(var _loop4=function _loop4(){var e=_Object$keys6[_i19];o.has(e)||(i[e]={get:function get(){var t=this.level;return function(){var o={open:So.color[r[t]][e].apply(null,arguments),close:So.color.close,closeRe:So.color.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}})},_i19=0,_Object$keys6=Object.keys(So.color.ansi);_i19<_Object$keys6.length;_i19++)_loop4();So.bgColor.closeRe=new RegExp(yo(So.bgColor.close),"g");for(var _loop5=function _loop5(){var e=_Object$keys7[_i20];if(o.has(e))return"continue";i["bg"+e[0].toUpperCase()+e.slice(1)]={get:function get(){var t=this.level;return function(){var o={open:So.bgColor[r[t]][e].apply(null,arguments),close:So.bgColor.close,closeRe:So.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}},_i20=0,_Object$keys7=Object.keys(So.bgColor.ansi);_i20<_Object$keys7.length;_i20++)_loop5();var a=Object.defineProperties((function(){}),i);function c(e,t,n){var r=function r(){return l.apply(r,arguments)};r._styles=e,r._empty=t;var o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function get(){return o.level},set:function set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function get(){return o.enabled},set:function set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=a,r}function l(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var _n48=1;_n48t.length&&(e=t,t=n);var r=e.length,o=t.length;if(0===r)return o;if(0===o)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;if(0===r)return o;for(var i,u,s,a,c=0;cu?a>u?u+1:a:a>s?s+1:a;return u}(e,t)<3}));u&&i.push("Did you mean ".concat(ii.default.blue(n.key(u)),"?")),r.warn(i.join(" "))}},"__esModule",{value:!0}),di=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(fi,t)})),hi=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(si,t),fo.__exportStar(ci,t),fo.__exportStar(di,t)})),mi=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function gi(e,t){var _step22,n=new e(t),r=Object.create(n),_iterator22=_createForOfIteratorHelper(mi);try{for(_iterator22.s();!(_step22=_iterator22.n()).done;){var _e51=_step22.value;_e51 in t&&(r[_e51]=bi(t[_e51],n,Di.prototype[_e51].length))}}catch(err){_iterator22.e(err)}finally{_iterator22.f()}return r}var yi=gi,Di=function(){function Di(e){_classCallCheck(this,Di),this.name=e.name}return _createClass(Di,[{key:"default",value:function _default(e){}},{key:"expected",value:function expected(e){return"nothing"}},{key:"validate",value:function validate(e,t){return!1}},{key:"deprecated",value:function deprecated(e,t){return!1}},{key:"forward",value:function forward(e,t){}},{key:"redirect",value:function redirect(e,t){}},{key:"overlap",value:function overlap(e,t,n){return e}},{key:"preprocess",value:function preprocess(e,t){return e}},{key:"postprocess",value:function postprocess(e,t){return e}}],[{key:"create",value:function create(e){return gi(this,e)}}]),Di}(),Ei=Di;function bi(e,t,n){return"function"==typeof e?function(){for(var _len5=arguments.length,r=new Array(_len5),_key5=0;_key5<_len5;_key5++)r[_key5]=arguments[_key5];return e.apply(void 0,_toConsumableArray(r.slice(0,n-1)).concat([t],_toConsumableArray(r.slice(n-1))))}:function(){return e}}var Ci=Object.defineProperty({createSchema:yi,Schema:Ei},"__esModule",{value:!0}),vi=function(_Ci$Schema){_inherits(vi,_Ci$Schema);var _super11=_createSuper(vi);function vi(e){var _this13;return _classCallCheck(this,vi),(_this13=_super11.call(this,e))._sourceName=e.sourceName,_this13}return _createClass(vi,[{key:"expected",value:function expected(e){return e.schemas[this._sourceName].expected(e)}},{key:"validate",value:function validate(e,t){return t.schemas[this._sourceName].validate(e,t)}},{key:"redirect",value:function redirect(e,t){return this._sourceName}}]),vi}(Ci.Schema),Ai=vi,Fi=Object.defineProperty({AliasSchema:Ai},"__esModule",{value:!0}),xi=function(_Ci$Schema2){_inherits(xi,_Ci$Schema2);var _super12=_createSuper(xi);function xi(){return _classCallCheck(this,xi),_super12.apply(this,arguments)}return _createClass(xi,[{key:"expected",value:function expected(){return"anything"}},{key:"validate",value:function validate(){return!0}}]),xi}(Ci.Schema),Si=xi,wi=Object.defineProperty({AnySchema:Si},"__esModule",{value:!0}),Ti=function(_Ci$Schema3){_inherits(Ti,_Ci$Schema3);var _super13=_createSuper(Ti);function Ti(e){var _this14;_classCallCheck(this,Ti);var t=e.valueSchema,_e$name=e.name,n=void 0===_e$name?t.name:_e$name,r=fo.__rest(e,["valueSchema","name"]);return(_this14=_super13.call(this,Object.assign({},r,{name:n})))._valueSchema=t,_this14}return _createClass(Ti,[{key:"expected",value:function expected(e){return"an array of ".concat(this._valueSchema.expected(e))}},{key:"validate",value:function validate(e,t){if(!Array.isArray(e))return!1;var _step23,n=[],_iterator23=_createForOfIteratorHelper(e);try{for(_iterator23.s();!(_step23=_iterator23.n()).done;){var _r44=_step23.value,_e52=t.normalizeValidateResult(this._valueSchema.validate(_r44,t),_r44);!0!==_e52&&n.push(_e52.value)}}catch(err){_iterator23.e(err)}finally{_iterator23.f()}return 0===n.length||{value:n}}},{key:"deprecated",value:function deprecated(e,t){var _step24,n=[],_iterator24=_createForOfIteratorHelper(e);try{for(_iterator24.s();!(_step24=_iterator24.n()).done;){var _r45=_step24.value,_e53=t.normalizeDeprecatedResult(this._valueSchema.deprecated(_r45,t),_r45);!1!==_e53&&n.push.apply(n,_toConsumableArray(_e53.map((function(_ref39){return{value:[_ref39.value]}}))))}}catch(err){_iterator24.e(err)}finally{_iterator24.f()}return n}},{key:"forward",value:function forward(e,t){var _step25,n=[],_iterator25=_createForOfIteratorHelper(e);try{for(_iterator25.s();!(_step25=_iterator25.n()).done;){var _r46=_step25.value,_e54=t.normalizeForwardResult(this._valueSchema.forward(_r46,t),_r46);n.push.apply(n,_toConsumableArray(_e54.map(ki)))}}catch(err){_iterator25.e(err)}finally{_iterator25.f()}return n}},{key:"redirect",value:function redirect(e,t){var _step26,n=[],r=[],_iterator26=_createForOfIteratorHelper(e);try{for(_iterator26.s();!(_step26=_iterator26.n()).done;){var _o14=_step26.value,_e55=t.normalizeRedirectResult(this._valueSchema.redirect(_o14,t),_o14);"remain"in _e55&&n.push(_e55.remain),r.push.apply(r,_toConsumableArray(_e55.redirect.map(ki)))}}catch(err){_iterator26.e(err)}finally{_iterator26.f()}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}},{key:"overlap",value:function overlap(e,t){return e.concat(t)}}]),Ti}(Ci.Schema),Bi=Ti;function ki(_ref40){return{from:[_ref40.from],to:_ref40.to}}var Ni=Object.defineProperty({ArraySchema:Bi},"__esModule",{value:!0}),Pi=function(_Ci$Schema4){_inherits(Pi,_Ci$Schema4);var _super14=_createSuper(Pi);function Pi(){return _classCallCheck(this,Pi),_super14.apply(this,arguments)}return _createClass(Pi,[{key:"expected",value:function expected(){return"true or false"}},{key:"validate",value:function validate(e){return"boolean"==typeof e}}]),Pi}(Ci.Schema),Oi=Pi,Ii=Object.defineProperty({BooleanSchema:Oi},"__esModule",{value:!0}),ji=function ji(e,t){var _step27,n=Object.create(null),_iterator27=_createForOfIteratorHelper(e);try{for(_iterator27.s();!(_step27=_iterator27.n()).done;){var _r47=_step27.value,_e56=_r47[t];if(n[_e56])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(_e56)));n[_e56]=_r47}}catch(err){_iterator27.e(err)}finally{_iterator27.f()}return n},Li=function Li(e,t){var _step28,n=new Map,_iterator28=_createForOfIteratorHelper(e);try{for(_iterator28.s();!(_step28=_iterator28.n()).done;){var _r48=_step28.value,_e57=_r48[t];if(n.has(_e57))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(_e57)));n.set(_e57,_r48)}}catch(err){_iterator28.e(err)}finally{_iterator28.f()}return n},_i=function _i(){var e=Object.create(null);return function(t){var n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},Mi=function Mi(e,t){var _step29,n=[],r=[],_iterator29=_createForOfIteratorHelper(e);try{for(_iterator29.s();!(_step29=_iterator29.n()).done;){var _o15=_step29.value;t(_o15)?n.push(_o15):r.push(_o15)}}catch(err){_iterator29.e(err)}finally{_iterator29.f()}return[n,r]},Ri=function Ri(e){return e===Math.floor(e)},Vi=function Vi(e,t){if(e===t)return 0;var n=_typeof(e),r=_typeof(t),o=["undefined","object","boolean","number","string"];return n!==r?o.indexOf(n)-o.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},$i=function $i(e){return void 0===e?{}:e},qi=function qi(e,t){return!0===e||(!1===e?{value:t}:e)},Wi=function Wi(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)};function Ui(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}var zi=Ui;function Hi(e,t){return void 0===e?[]:Array.isArray(e)?e.map((function(e){return Ui(e,t)})):[Ui(e,t)]}var Gi=Hi,Ji=function Ji(e,t){var n=Hi("object"==_typeof(e)&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==_typeof(e)&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},Xi=Object.defineProperty({recordFromArray:ji,mapFromArray:Li,createAutoChecklist:_i,partition:Mi,isInt:Ri,comparePrimitive:Vi,normalizeDefaultResult:$i,normalizeValidateResult:qi,normalizeDeprecatedResult:Wi,normalizeTransferResult:zi,normalizeForwardResult:Gi,normalizeRedirectResult:Ji},"__esModule",{value:!0}),Yi=function(_Ci$Schema5){_inherits(Yi,_Ci$Schema5);var _super15=_createSuper(Yi);function Yi(e){var _this15;return _classCallCheck(this,Yi),(_this15=_super15.call(this,e))._choices=Xi.mapFromArray(e.choices.map((function(e){return e&&"object"==_typeof(e)?e:{value:e}})),"value"),_this15}return _createClass(Yi,[{key:"expected",value:function expected(_ref41){var _this16=this,e=_ref41.descriptor,t=Array.from(this._choices.keys()).map((function(e){return _this16._choices.get(e)})).filter((function(e){return!e.deprecated})).map((function(e){return e.value})).sort(Xi.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}},{key:"validate",value:function validate(e){return this._choices.has(e)}},{key:"deprecated",value:function deprecated(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function forward(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function redirect(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),Yi}(Ci.Schema),Ki=Yi,Qi=Object.defineProperty({ChoiceSchema:Ki},"__esModule",{value:!0}),Zi=function(_Ci$Schema6){_inherits(Zi,_Ci$Schema6);var _super16=_createSuper(Zi);function Zi(){return _classCallCheck(this,Zi),_super16.apply(this,arguments)}return _createClass(Zi,[{key:"expected",value:function expected(){return"a number"}},{key:"validate",value:function validate(e,t){return"number"==typeof e}}]),Zi}(Ci.Schema),eu=Zi,tu=Object.defineProperty({NumberSchema:eu},"__esModule",{value:!0}),nu=function(_tu$NumberSchema){_inherits(nu,_tu$NumberSchema);var _super17=_createSuper(nu);function nu(){return _classCallCheck(this,nu),_super17.apply(this,arguments)}return _createClass(nu,[{key:"expected",value:function expected(){return"an integer"}},{key:"validate",value:function validate(e,t){return!0===t.normalizeValidateResult(_get(_getPrototypeOf(nu.prototype),"validate",this).call(this,e,t),e)&&Xi.isInt(e)}}]),nu}(tu.NumberSchema),ru=nu,ou=Object.defineProperty({IntegerSchema:ru},"__esModule",{value:!0}),iu=function(_Ci$Schema7){_inherits(iu,_Ci$Schema7);var _super18=_createSuper(iu);function iu(){return _classCallCheck(this,iu),_super18.apply(this,arguments)}return _createClass(iu,[{key:"expected",value:function expected(){return"a string"}},{key:"validate",value:function validate(e){return"string"==typeof e}}]),iu}(Ci.Schema),uu=iu,su=Object.defineProperty({StringSchema:uu},"__esModule",{value:!0}),au=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(Fi,t),fo.__exportStar(wi,t),fo.__exportStar(Ni,t),fo.__exportStar(Ii,t),fo.__exportStar(Qi,t),fo.__exportStar(ou,t),fo.__exportStar(tu,t),fo.__exportStar(su,t)})),cu=ho.apiDescriptor,lu=fi.levenUnknownHandler,pu=ci.commonInvalidHandler,fu=ui.commonDeprecatedHandler,du=Object.defineProperty({defaultDescriptor:cu,defaultUnknownHandler:lu,defaultInvalidHandler:pu,defaultDeprecatedHandler:fu},"__esModule",{value:!0}),hu=function(){function hu(e,t){_classCallCheck(this,hu);var _ref42=t||{},_ref42$logger=_ref42.logger,n=void 0===_ref42$logger?console:_ref42$logger,_ref42$descriptor=_ref42.descriptor,r=void 0===_ref42$descriptor?du.defaultDescriptor:_ref42$descriptor,_ref42$unknown=_ref42.unknown,o=void 0===_ref42$unknown?du.defaultUnknownHandler:_ref42$unknown,_ref42$invalid=_ref42.invalid,i=void 0===_ref42$invalid?du.defaultInvalidHandler:_ref42$invalid,_ref42$deprecated=_ref42.deprecated,u=void 0===_ref42$deprecated?du.defaultDeprecatedHandler:_ref42$deprecated;this._utils={descriptor:r,logger:n||{warn:function warn(){}},schemas:Xi.recordFromArray(e,"name"),normalizeDefaultResult:Xi.normalizeDefaultResult,normalizeDeprecatedResult:Xi.normalizeDeprecatedResult,normalizeForwardResult:Xi.normalizeForwardResult,normalizeRedirectResult:Xi.normalizeRedirectResult,normalizeValidateResult:Xi.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=i,this._deprecatedHandler=u,this.cleanHistory()}return _createClass(hu,[{key:"cleanHistory",value:function cleanHistory(){this._hasDeprecationWarned=Xi.createAutoChecklist()}},{key:"normalize",value:function normalize(e){var _this17=this,t={},n=[e],r=function r(){for(;0!==n.length;){var _e58=n.shift(),_r49=_this17._applyNormalization(_e58,t);n.push.apply(n,_toConsumableArray(_r49))}};r();for(var _i21=0,_Object$keys8=Object.keys(this._utils.schemas);_i21<_Object$keys8.length;_i21++){var _e59=_Object$keys8[_i21],_r50=this._utils.schemas[_e59];if(!(_e59 in t)){var _t57=Xi.normalizeDefaultResult(_r50.default(this._utils));"value"in _t57&&n.push(_defineProperty({},_e59,_t57.value))}}r();for(var _i22=0,_Object$keys9=Object.keys(this._utils.schemas);_i22<_Object$keys9.length;_i22++){var _e60=_Object$keys9[_i22],_n49=this._utils.schemas[_e60];_e60 in t&&(t[_e60]=_n49.postprocess(t[_e60],this._utils))}return t}},{key:"_applyNormalization",value:function _applyNormalization(e,t){var _step30,_this18=this,n=[],_Xi$partition=Xi.partition(Object.keys(e),(function(e){return e in _this18._utils.schemas})),_Xi$partition2=_slicedToArray(_Xi$partition,2),r=_Xi$partition2[0],o=_Xi$partition2[1],_iterator30=_createForOfIteratorHelper(r);try{var _loop6=function _loop6(){var o=_step30.value,r=_this18._utils.schemas[o],i=r.preprocess(e[o],_this18._utils),u=Xi.normalizeValidateResult(r.validate(i,_this18._utils),i);if(!0!==u){var _e61=u.value,_t58=_this18._invalidHandler(o,_e61,_this18._utils);throw"string"==typeof _t58?new Error(_t58):_t58}var s=function s(_ref43){var e=_ref43.from,t=_ref43.to;n.push("string"==typeof t?_defineProperty({},t,e):_defineProperty({},t.key,t.value))},a=function a(_ref46){var e=_ref46.value,t=_ref46.redirectTo,n=Xi.normalizeDeprecatedResult(r.deprecated(e,_this18._utils),i,!0);if(!1!==n)if(!0===n)_this18._hasDeprecationWarned(o)||_this18._utils.logger.warn(_this18._deprecatedHandler(o,t,_this18._utils));else{var _step32,_iterator32=_createForOfIteratorHelper(n);try{for(_iterator32.s();!(_step32=_iterator32.n()).done;){var _e62=_step32.value.value,_n50={key:o,value:_e62};if(!_this18._hasDeprecationWarned(_n50)){var _r51="string"==typeof t?{key:t,value:_e62}:t;_this18._utils.logger.warn(_this18._deprecatedHandler(_n50,_r51,_this18._utils))}}}catch(err){_iterator32.e(err)}finally{_iterator32.f()}}};Xi.normalizeForwardResult(r.forward(i,_this18._utils),i).forEach(s);var c=Xi.normalizeRedirectResult(r.redirect(i,_this18._utils),i);if(c.redirect.forEach(s),"remain"in c){var _e63=c.remain;t[o]=o in t?r.overlap(t[o],_e63,_this18._utils):_e63,a({value:_e63})}var _step33,_iterator33=_createForOfIteratorHelper(c.redirect);try{for(_iterator33.s();!(_step33=_iterator33.n()).done;){var _step33$value=_step33.value;a({value:_step33$value.from,redirectTo:_step33$value.to})}}catch(err){_iterator33.e(err)}finally{_iterator33.f()}};for(_iterator30.s();!(_step30=_iterator30.n()).done;)_loop6()}catch(err){_iterator30.e(err)}finally{_iterator30.f()}var _step31,_iterator31=_createForOfIteratorHelper(o);try{for(_iterator31.s();!(_step31=_iterator31.n()).done;){var _r52=_step31.value,_o16=e[_r52],_i23=this._unknownHandler(_r52,_o16,this._utils);if(_i23)for(var _i24=0,_Object$keys10=Object.keys(_i23);_i24<_Object$keys10.length;_i24++){var _e65=_Object$keys10[_i24],_r53=_defineProperty({},_e65,_i23[_e65]);_e65 in this._utils.schemas?n.push(_r53):Object.assign(t,_r53)}}}catch(err){_iterator31.e(err)}finally{_iterator31.f()}return n}}]),hu}(),mu=hu,gu=Object.defineProperty({normalize:function normalize(e,t,n){return new hu(t,n).normalize(e)},Normalizer:mu},"__esModule",{value:!0}),yu=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),fo.__exportStar(mo,t),fo.__exportStar(hi,t),fo.__exportStar(au,t),fo.__exportStar(gu,t),fo.__exportStar(Ci,t)})),Du=[],Eu=[],bu=function bu(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);for(var r=e.length,o=t.length;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;for(var i,u,s,a,c=0;cu?a>u?u+1:a:a>s?s+1:a;return u},Cu=bu,vu=bu;Cu.default=vu;for(var Au={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Fu={},_i25=0,_Object$keys11=Object.keys(Au);_i25<_Object$keys11.length;_i25++){var _e66=_Object$keys11[_i25];Fu[Au[_e66]]=_e66}for(var xu={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Su=xu,_i26=0,_Object$keys12=Object.keys(xu);_i26<_Object$keys12.length;_i26++){var _e67=_Object$keys12[_i26];if(!("channels"in xu[_e67]))throw new Error("missing channels property: "+_e67);if(!("labels"in xu[_e67]))throw new Error("missing channel labels property: "+_e67);if(xu[_e67].labels.length!==xu[_e67].channels)throw new Error("channel and label counts mismatch: "+_e67);var _xu$_e=xu[_e67],_t60=_xu$_e.channels,_n51=_xu$_e.labels;delete xu[_e67].channels,delete xu[_e67].labels,Object.defineProperty(xu[_e67],"channels",{value:_t60}),Object.defineProperty(xu[_e67],"labels",{value:_n51})}function wu(e){var t=function(){for(var e={},t=Object.keys(Su),_n52=t.length,_r55=0;_r55<_n52;_r55++)e[t[_r55]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var _e68=n.pop(),_r56=Object.keys(Su[_e68]),_o17=_r56.length,_i27=0;_i27<_o17;_i27++){var _o18=_r56[_i27],_u7=t[_o18];-1===_u7.distance&&(_u7.distance=t[_e68].distance+1,_u7.parent=_e68,n.unshift(_o18))}return t}function Tu(e,t){return function(n){return t(e(n))}}function Bu(e,t){for(var n=[t[e].parent,e],r=Su[t[e].parent][e],o=t[e].parent;t[o].parent;)n.unshift(t[o].parent),r=Tu(Su[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}xu.rgb.hsl=function(e){var s,t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),u=i-o;i===o?s=0:t===i?s=(n-r)/u:n===i?s=2+(r-t)/u:r===i&&(s=4+(t-n)/u),(s=Math.min(60*s,360))<0&&(s+=360);var c=(o+i)/2;return[s,100*(i===o?0:c<=.5?u/(i+o):u/(2-i-o)),100*c]},xu.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function p(e){return(c-e)/6/l+.5};return 0===l?(o=0,i=0):(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},xu.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[xu.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},xu.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},xu.rgb.keyword=function(e){var t=Fu[e];if(t)return t;for(var n,o,i,r=1/0,_i28=0,_Object$keys13=Object.keys(Au);_i28<_Object$keys13.length;_i28++){var _t61=_Object$keys13[_i28],_u8=(i=Au[_t61],Math.pow((o=e)[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));_u8.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},xu.rgb.lab=function(e){var t=xu.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},xu.hsl.rgb=function(e){var o,i,u,t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[u=255*r,u,u];for(var s=2*r-(o=r<.5?r*(1+n):r+n-r*n),a=[0,0,0],_e69=0;_e69<3;_e69++)(i=t+1/3*-(_e69-1))<0&&i++,i>1&&i--,u=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,a[_e69]=255*u;return a},xu.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},xu.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},xu.hsv.hsl=function(e){var i,u,t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);u=(2-n)*r;var s=(2-n)*o;return i=n*o,[t,100*(i=(i/=s<=1?s:2-s)||0),100*(u/=2)]},xu.hwb.rgb=function(e){var i,t=e[0]/360,n=e[1]/100,r=e[2]/100,o=n+r;o>1&&(n/=o,r/=o);var u=Math.floor(6*t),s=1-r;i=6*t-u,0!=(1&u)&&(i=1-i);var c,l,p,a=n+i*(s-n);switch(u){default:case 6:case 0:c=s,l=a,p=n;break;case 1:c=a,l=s,p=n;break;case 2:c=n,l=s,p=a;break;case 3:c=n,l=a,p=s;break;case 4:c=a,l=n,p=s;break;case 5:c=s,l=n,p=a}return[255*c,255*l,255*p]},xu.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},xu.xyz.rgb=function(e){var o,i,u,t=e[0]/100,n=e[1]/100,r=e[2]/100;return i=-.9689*t+1.8758*n+.0415*r,u=.0557*t+-.204*n+1.057*r,o=(o=3.2406*t+-1.5372*n+-.4986*r)>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,u=u>.0031308?1.055*Math.pow(u,1/2.4)-.055:12.92*u,[255*(o=Math.min(Math.max(0,o),1)),255*(i=Math.min(Math.max(0,i),1)),255*(u=Math.min(Math.max(0,u),1))]},xu.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},xu.lab.xyz=function(e){var t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;var o=Math.pow(n,3),i=Math.pow(t,3),u=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},xu.lab.lch=function(e){var o,t=e[0],n=e[1],r=e[2];return(o=360*Math.atan2(r,n)/2/Math.PI)<0&&(o+=360),[t,Math.sqrt(n*n+r*r),o]},xu.lch.lab=function(e){var t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},xu.rgb.ansi16=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,_e70=_slicedToArray(e,3),n=_e70[0],r=_e70[1],o=_e70[2],i=null===t?xu.rgb.hsv(e)[2]:t;if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(u+=60),u},xu.hsv.ansi16=function(e){return xu.rgb.ansi16(xu.hsv.rgb(e),e[2])},xu.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},xu.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},xu.ansi256.rgb=function(e){if(e>=232){var _t62=10*(e-232)+8;return[_t62,_t62,_t62]}var t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},xu.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},xu.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},xu.rgb.hcg=function(e){var a,t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),u=o-i;return a=u<=0?0:o===t?(n-r)/u%6:o===n?2+(r-t)/u:4+(t-n)/u,a/=6,[360*(a%=1),100*u,100*(u<1?i/(1-u):0)]},xu.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},xu.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},xu.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o=[0,0,0],i=t%1*6,u=i%1,s=1-u,a=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=u,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=u;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=u,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return a=(1-n)*r,[255*(n*o[0]+a),255*(n*o[1]+a),255*(n*o[2]+a)]},xu.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},xu.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},xu.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},xu.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},xu.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},xu.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},xu.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},xu.gray.hsl=function(e){return[0,0,e[0]]},xu.gray.hsv=xu.gray.hsl,xu.gray.hwb=function(e){return[0,100,e[0]]},xu.gray.cmyk=function(e){return[0,0,0,e[0]]},xu.gray.lab=function(e){return[e[0],0,0]},xu.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},xu.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var ku={};Object.keys(Su).forEach((function(e){ku[e]={},Object.defineProperty(ku[e],"channels",{value:Su[e].channels}),Object.defineProperty(ku[e],"labels",{value:Su[e].labels});var t=function(e){for(var t=wu(e),n={},r=Object.keys(t),_e71=r.length,_o19=0;_o19<_e71;_o19++){var _e72=r[_o19];null!==t[_e72].parent&&(n[_e72]=Bu(_e72,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];ku[e][n]=function(e){var t=function t(){for(var _len6=arguments.length,t=new Array(_len6),_key6=0;_key6<_len6;_key6++)t[_key6]=arguments[_key6];var n=t[0];if(null==n)return n;n.length>1&&(t=n);var r=e(t);if("object"==_typeof(r))for(var _e73=r.length,_t63=0;_t63<_e73;_t63++)r[_t63]=Math.round(r[_t63]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),ku[e][n].raw=function(e){var t=function t(){for(var _len7=arguments.length,t=new Array(_len7),_key7=0;_key7<_len7;_key7++)t[_key7]=arguments[_key7];var n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Nu=ku,Pu=i((function(e){var s,t=function t(e,_t64){return function(){var r=e.apply(void 0,arguments);return"[".concat(r+_t64,"m")}},n=function n(e,t){return function(){var r=e.apply(void 0,arguments);return"[".concat(38+t,";5;").concat(r,"m")}},r=function r(e,t){return function(){var r=e.apply(void 0,arguments);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")}},o=function o(e){return e},i=function i(e,t,n){return[e,t,n]},u=function u(e,t,n){Object.defineProperty(e,t,{get:function get(){var r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},a=function a(e,t,n,r){void 0===s&&(s=Nu);for(var o=r?10:0,i={},_i29=0,_Object$entries3=Object.entries(s);_i29<_Object$entries3.length;_i29++){var _Object$entries3$_i=_slicedToArray(_Object$entries3[_i29],2),_r57=_Object$entries3$_i[0],_u9=_Object$entries3$_i[1],_s16="ansi16"===_r57?"ansi":_r57;_r57===t?i[_s16]=e(n,o):"object"==_typeof(_u9)&&(i[_s16]=e(_u9[t],o))}return i};Object.defineProperty(e,"exports",{enumerable:!0,get:function get(){var e=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(var _i30=0,_Object$entries4=Object.entries(s);_i30<_Object$entries4.length;_i30++){for(var _Object$entries4$_i=_slicedToArray(_Object$entries4[_i30],2),_t65=_Object$entries4$_i[0],_n53=_Object$entries4$_i[1],_i31=0,_Object$entries5=Object.entries(_n53);_i31<_Object$entries5.length;_i31++){var _Object$entries5$_i=_slicedToArray(_Object$entries5[_i31],2),_t66=_Object$entries5$_i[0],_r58=_Object$entries5$_i[1];s[_t66]={open:"[".concat(_r58[0],"m"),close:"[".concat(_r58[1],"m")},_n53[_t66]=s[_t66],e.set(_r58[0],_r58[1])}Object.defineProperty(s,_t65,{value:_n53,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="",s.bgColor.close="",u(s.color,"ansi",(function(){return a(t,"ansi16",o,!1)})),u(s.color,"ansi256",(function(){return a(n,"ansi256",o,!1)})),u(s.color,"ansi16m",(function(){return a(r,"rgb",i,!1)})),u(s.bgColor,"ansi",(function(){return a(t,"ansi16",o,!0)})),u(s.bgColor,"ansi256",(function(){return a(n,"ansi256",o,!0)})),u(s.bgColor,"ansi16m",(function(){return a(r,"rgb",i,!0)})),s}})}));function Ou(){return!1}function Iu(){throw new Error("tty.ReadStream is not implemented")}function ju(){throw new Error("tty.ReadStream is not implemented")}var Vu,Lu={isatty:Ou,ReadStream:Iu,WriteStream:ju},_u=function _u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nt.argv,n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r=2,has16m:e>=3}}function qu(e,t){if(0===Vu)return 0;if(_u("color=16m")||_u("color=full")||_u("color=truecolor"))return 3;if(_u("color=256"))return 2;if(e&&!t&&void 0===Vu)return 0;var n=Vu||0;if("dumb"===Ru.TERM)return n;if("CI"in Ru)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((function(e){return e in Ru}))||"codeship"===Ru.CI_NAME?1:n;if("TEAMCITY_VERSION"in Ru)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ru.TEAMCITY_VERSION)?1:0;if("truecolor"===Ru.COLORTERM)return 3;if("TERM_PROGRAM"in Ru){var _e74=parseInt((Ru.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ru.TERM_PROGRAM){case"iTerm.app":return _e74>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ru.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ru.TERM)||"COLORTERM"in Ru?1:n}_u("no-color")||_u("no-colors")||_u("color=false")||_u("color=never")?Vu=0:(_u("color")||_u("colors")||_u("color=true")||_u("color=always"))&&(Vu=1),"FORCE_COLOR"in Ru&&(Vu="true"===Ru.FORCE_COLOR?1:"false"===Ru.FORCE_COLOR?0:0===Ru.FORCE_COLOR.length?1:Math.min(parseInt(Ru.FORCE_COLOR,10),3));var Wu={supportsColor:function supportsColor(e){return $u(qu(e,e&&e.isTTY))},stdout:$u(qu(!0,Mu.isatty(1))),stderr:$u(qu(!0,Mu.isatty(2)))},Uu={stringReplaceAll:function stringReplaceAll(e,t,n){var r=e.indexOf(t);if(-1===r)return e;var o=t.length,i=0,u="";do{u+=e.substr(i,r-i)+t+n,i=r+o,r=e.indexOf(t,i)}while(-1!==r);return u+=e.substr(i)},stringEncaseCRLFWithFirstIndex:function stringEncaseCRLFWithFirstIndex(e,t,n,r){var o=0,i="";do{var _u10="\r"===e[r-1];i+=e.substr(o,(_u10?r-1:r)-o)+t+(_u10?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return i+=e.substr(o)}},zu=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Hu=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Gu=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ju=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Xu=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Yu(e){var t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Xu.get(e)||e}function Ku(e,t){var o,_step34,n=[],_iterator34=_createForOfIteratorHelper(t.trim().split(/\s*,\s*/g));try{for(_iterator34.s();!(_step34=_iterator34.n()).done;){var _t67=_step34.value,_r59=Number(_t67);if(Number.isNaN(_r59)){if(!(o=_t67.match(Gu)))throw new Error("Invalid Chalk template style argument: ".concat(_t67," (in style '").concat(e,"')"));n.push(o[2].replace(Ju,(function(e,t,n){return t?Yu(t):n})))}else n.push(_r59)}}catch(err){_iterator34.e(err)}finally{_iterator34.f()}return n}function Qu(e){Hu.lastIndex=0;for(var n,t=[];null!==(n=Hu.exec(e));){var _e75=n[1];if(n[2]){var _r60=Ku(_e75,n[2]);t.push([_e75].concat(_r60))}else t.push([_e75])}return t}function Zu(e,t){var _step35,n={},_iterator35=_createForOfIteratorHelper(t);try{for(_iterator35.s();!(_step35=_iterator35.n()).done;){var _step36,_e77=_step35.value,_iterator36=_createForOfIteratorHelper(_e77.styles);try{for(_iterator36.s();!(_step36=_iterator36.n()).done;){var _t69=_step36.value;n[_t69[0]]=_e77.inverse?null:_t69.slice(1)}}catch(err){_iterator36.e(err)}finally{_iterator36.f()}}}catch(err){_iterator35.e(err)}finally{_iterator35.f()}for(var r=e,_i32=0,_Object$entries6=Object.entries(n);_i32<_Object$entries6.length;_i32++){var _Object$entries6$_i=_slicedToArray(_Object$entries6[_i32],2),_e76=_Object$entries6$_i[0],_t68=_Object$entries6$_i[1];if(Array.isArray(_t68)){var _r61;if(!(_e76 in r))throw new Error("Unknown Chalk style: ".concat(_e76));r=_t68.length>0?(_r61=r)[_e76].apply(_r61,_toConsumableArray(_t68)):r[_e76]}}return r}var es=function es(e,t){var n=[],r=[],o=[];if(t.replace(zu,(function(t,i,u,s,a,c){if(i)o.push(Yu(i));else if(s){var _t70=o.join("");o=[],r.push(0===n.length?_t70:Zu(e,n)(_t70)),n.push({inverse:u,styles:Qu(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Zu(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){var _e78="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(_e78)}return r.join("")},ts=Wu.stdout,ns=Wu.stderr,rs=Uu.stringReplaceAll,os=Uu.stringEncaseCRLFWithFirstIndex,is=Array.isArray,us=["ansi","ansi","ansi256","ansi16m"],ss=Object.create(null),as=_createClass((function as(e){return _classCallCheck(this,as),cs(e)})),cs=function cs(e){var t={};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");var n=ts?ts.level:0;e.level=void 0===t.level?n:t.level}(t,e),t.template=function(){for(var _len8=arguments.length,e=new Array(_len8),_key8=0;_key8<_len8;_key8++)e[_key8]=arguments[_key8];return ys.apply(void 0,[t.template].concat(e))},Object.setPrototypeOf(t,ls.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=function(){throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=as,t.template};function ls(e){return cs(e)}for(var _loop7=function _loop7(){var _Object$entries7$_i=_slicedToArray(_Object$entries7[_i33],2),e=_Object$entries7$_i[0],t=_Object$entries7$_i[1];ss[e]={get:function get(){var n=hs(this,ds(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}}},_i33=0,_Object$entries7=Object.entries(Pu);_i33<_Object$entries7.length;_i33++)_loop7();ss.visible={get:function get(){var e=hs(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};for(var ps=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"],_loop8=function _loop8(){var e=_ps[_i34];ss[e]={get:function get(){var t=this.level;return function(){var _Pu$color$us$t,r=ds((_Pu$color$us$t=Pu.color[us[t]])[e].apply(_Pu$color$us$t,arguments),Pu.color.close,this._styler);return hs(this,r,this._isEmpty)}}}},_i34=0,_ps=ps;_i34<_ps.length;_i34++)_loop8();for(var _loop9=function _loop9(){var e=_ps2[_i35];ss["bg"+e[0].toUpperCase()+e.slice(1)]={get:function get(){var t=this.level;return function(){var _Pu$bgColor$us$t,r=ds((_Pu$bgColor$us$t=Pu.bgColor[us[t]])[e].apply(_Pu$bgColor$us$t,arguments),Pu.bgColor.close,this._styler);return hs(this,r,this._isEmpty)}}}},_i35=0,_ps2=ps;_i35<_ps2.length;_i35++)_loop9();var gs,fs=Object.defineProperties((function(){}),Object.assign({},ss,{level:{enumerable:!0,get:function get(){return this._generator.level},set:function set(e){this._generator.level=e}}})),ds=function ds(e,t,n){var r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},hs=function hs(e,t,n){var r=function r(){for(var _len9=arguments.length,e=new Array(_len9),_key9=0;_key9<_len9;_key9++)e[_key9]=arguments[_key9];return is(e[0])&&is(e[0].raw)?ms(r,ys.apply(void 0,[r].concat(e))):ms(r,1===e.length?""+e[0]:e.join(" "))};return Object.setPrototypeOf(r,fs),r._generator=e,r._styler=t,r._isEmpty=n,r},ms=function ms(e,t){if(e.level<=0||!t)return e._isEmpty?"":t;var n=e._styler;if(void 0===n)return t;var _n54=n,r=_n54.openAll,o=_n54.closeAll;if(-1!==t.indexOf(""))for(;void 0!==n;)t=rs(t,n.close,n.open),n=n.parent;var i=t.indexOf("\n");return-1!==i&&(t=os(t,o,r,i)),r+t+o},ys=function ys(e){for(var _len10=arguments.length,t=new Array(_len10>1?_len10-1:0),_key10=1;_key10<_len10;_key10++)t[_key10-1]=arguments[_key10];var n=t[0];if(!is(n)||!is(n.raw))return t.join(" ");for(var r=t.slice(1),o=[n.raw[0]],_e79=1;_e790&&r(a)?n>1?e(a,n-1,r,o,i):bs(i,a):o||(i[i.length]=a)}return i},Ws=function Ws(e){return null!=e&&e.length?qs(e,1):[]},Us={key:function key(e){return 1===e.length?"-".concat(e):"--".concat(e)},value:function value(e){return yu.apiDescriptor.value(e)},pair:function pair(_ref47){var e=_ref47.key,t=_ref47.value;return!1===t?"--no-".concat(e):!0===t?Us.key(e):""===t?"".concat(Us.key(e)," without an argument"):"".concat(Us.key(e),"=").concat(t)}},zs=function(_yu$ChoiceSchema){_inherits(zs,_yu$ChoiceSchema);var _super19=_createSuper(zs);function zs(_ref48){var _this19,e=_ref48.name,t=_ref48.flags;return _classCallCheck(this,zs),(_this19=_super19.call(this,{name:e,choices:t}))._flags=_toConsumableArray(t).sort(),_this19}return _createClass(zs,[{key:"preprocess",value:function preprocess(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){var _n55=this._flags.find((function(t){return Cu(t,e)<3}));if(_n55)return t.logger.warn(["Unknown flag ".concat(Es.yellow(t.descriptor.value(e)),","),"did you mean ".concat(Es.blue(t.descriptor.value(_n55)),"?")].join(" ")),_n55}return e}},{key:"expected",value:function expected(){return"a flag"}}]),zs}(yu.ChoiceSchema);function Gs(t,n){var _ref49=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_ref49.logger,_ref49$isCLI=_ref49.isCLI,o=void 0!==_ref49$isCLI&&_ref49$isCLI,_ref49$passThrough=_ref49.passThrough,i=void 0!==_ref49$passThrough&&_ref49$passThrough,u=i?Array.isArray(i)?function(e,t){return i.includes(e)?_defineProperty({},e,t):void 0}:function(e,t){return _defineProperty({},e,t)}:function(t,n,r){var o=e(r.schemas,["_"]);return yu.levenUnknownHandler(t,n,Object.assign({},r,{schemas:o}))},s=o?Us:yu.apiDescriptor,a=function(e,_ref52){var t=_ref52.isCLI,n=[];t&&n.push(yu.AnySchema.create({name:"_"}));var _step37,_iterator37=_createForOfIteratorHelper(e);try{for(_iterator37.s();!(_step37=_iterator37.n()).done;){var _r62=_step37.value;n.push(Js(_r62,{isCLI:t,optionInfos:e})),_r62.alias&&t&&n.push(yu.AliasSchema.create({name:_r62.alias,sourceName:_r62.name}))}}catch(err){_iterator37.e(err)}finally{_iterator37.f()}return n}(n,{isCLI:o}),c=new yu.Normalizer(a,{logger:r,unknown:u,descriptor:s}),l=!1!==r;l&&Hs&&(c._hasDeprecationWarned=Hs);var p=c.normalize(t);return l&&(Hs=c._hasDeprecationWarned),p}function Js(e,_ref53){var r,t=_ref53.isCLI,n=_ref53.optionInfos,o={name:e.name},i={};switch(e.type){case"int":r=yu.IntegerSchema,t&&(o.preprocess=function(e){return Number(e)});break;case"string":case"path":r=yu.StringSchema;break;case"choice":r=yu.ChoiceSchema,o.choices=e.choices.map((function(t){return"object"==_typeof(t)&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t}));break;case"boolean":r=yu.BooleanSchema;break;case"flag":r=zs,o.flags=Ws(n.map((function(e){return[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)})));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?o.validate=function(t,n,r){return e.exception(t)||n.validate(t,r)}:o.validate=function(e,t,n){return void 0===e||t.validate(e,n)},e.redirect&&(i.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(i.deprecated=!0),t&&!e.array){var _e80=o.preprocess||function(e){return e};o.preprocess=function(t,n,r){return n.preprocess(_e80(Array.isArray(t)?ke(t):t),r)}}return e.array?yu.ArraySchema.create(Object.assign({},t?{preprocess:function preprocess(e){return Array.isArray(e)?e:[e]}}:{},i,{valueSchema:r.create(o)})):r.create(Object.assign({},o,i))}var Xs={normalizeApiOptions:function normalizeApiOptions(e,t,n){return Gs(e,t,n)},normalizeCliOptions:function normalizeCliOptions(e,t,n){return Gs(e,t,Object.assign({isCLI:!0},n))}},Ys=rn.isNonEmptyArray;function Ks(e,t){if(!(t||{}).ignoreDecorators){var _t71=e.declaration&&e.declaration.decorators||e.decorators;if(Ys(_t71))return Ks(_t71[0])}return e.range?e.range[0]:e.start}function Qs(e){return e.range?e.range[1]:e.end}function Zs(e,t){return Ks(e)===Ks(t)}var ea={locStart:Ks,locEnd:Qs,hasSameLocStart:Zs,hasSameLoc:function hasSameLoc(e,t){return Zs(e,t)&&function(e,t){return Qs(e)===Qs(t)}(e,t)}},ta=Object.defineProperty({default:/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,matchToToken:function matchToToken(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},"__esModule",{value:!0}),na=fa,ra=da,oa=function oa(e){for(var t=!0,_n56=0;_n56e)return!1;if((n+=t[_r64+1])>=e)return!0}return!1}function fa(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&sa.test(String.fromCharCode(e)):pa(e,ca)))}function da(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&aa.test(String.fromCharCode(e)):pa(e,ca)||pa(e,la))))}var ha=Object.defineProperty({isIdentifierStart:na,isIdentifierChar:ra,isIdentifierName:oa},"__esModule",{value:!0}),ma=xa,ga=Sa,ya=wa,Da=function Da(e,t){return Sa(e,t)||wa(e)},Ea=function Ea(e){return va.has(e)},ba=["implements","interface","let","package","private","protected","public","static","yield"],Ca=["eval","arguments"],va=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),Aa=new Set(ba),Fa=new Set(Ca);function xa(e,t){return t&&"await"===e||"enum"===e}function Sa(e,t){return xa(e,t)||Aa.has(e)}function wa(e){return Fa.has(e)}var Ta=Object.defineProperty({isReservedWord:ma,isStrictReservedWord:ga,isStrictBindOnlyReservedWord:ya,isStrictBindReservedWord:Da,isKeyword:Ea},"__esModule",{value:!0}),Ba=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function get(){return ha.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function get(){return ha.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function get(){return ha.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function get(){return Ta.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function get(){return Ta.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function get(){return Ta.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function get(){return Ta.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function get(){return Ta.isKeyword}})})),ka=/[|\\{}()[\]^$+*?.]/g,Na=function Na(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(ka,"\\$&")},Pa={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Oa=i((function(e){var t={};for(var n in Pa)Pa.hasOwnProperty(n)&&(t[Pa[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var i=r[o].channels,u=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:i}),Object.defineProperty(r[o],"labels",{value:u})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,u=Math.min(r,o,i),s=Math.max(r,o,i),a=s-u;return s===u?t=0:r===s?t=(o-i)/a:o===s?t=2+(i-r)/a:i===s&&(t=4+(r-o)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(u+s)/2,[t,100*(s===u?0:n<=.5?a/(s+u):a/(2-s-u)),100*n]},r.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function p(e){return(c-e)/6/l+.5};return 0===l?o=i=0:(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},r.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,o))*100,100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,o,i,u=1/0;for(var s in Pa)if(Pa.hasOwnProperty(s)){var c=(o=e,i=Pa[s],Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.hsl.rgb=function(e){var t,n,r,o,i,u=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[i=255*a,i,i];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];for(var c=0;c<3;c++)(r=u+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},r.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,u=e[2]/100,s=Math.max(u,.01);return r=(2-i)*u,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,o,i,u,s,a=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-l)-c),t){default:case 6:case 0:i=n,u=o,s=c;break;case 1:i=o,u=n,s=c;break;case 2:i=c,u=n,s=o;break;case 3:i=c,u=o,s=n;break;case 4:i=o,u=c,s=n;break;case 5:i=n,u=c,s=o}return[255*i,255*u,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},r.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,u=e[2]/100;return n=-.9689*o+1.8758*i+.0415*u,r=.0557*o+-.204*i+1.057*u,t=(t=3.2406*o+-1.5372*i+-.4986*u)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var u=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(u+=60),u},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),u=Math.min(Math.min(n,r),o),s=i-u;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?u/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],u=t%1*6,s=u%1,a=1-s;switch(Math.floor(u)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Ia(e){var t=function(){for(var e={},t=Object.keys(Oa),n=t.length,r=0;r1&&(_t73=Array.prototype.slice.call(arguments));var n=e(_t73);if("object"==_typeof(n))for(var r=n.length,o=0;o1&&(_t74=Array.prototype.slice.call(arguments)),e(_t74))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var $a,Ma=_a,Ra=i((function(e){var t=function t(e,_t75){return function(){var n=e.apply(Ma,arguments);return"[".concat(n+_t75,"m")}},n=function n(e,t){return function(){var n=e.apply(Ma,arguments);return"[".concat(38+t,";5;").concat(n,"m")}},r=function r(e,t){return function(){var n=e.apply(Ma,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function get(){var e=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.grey=o.color.gray;for(var _i36=0,_Object$keys14=Object.keys(o);_i36<_Object$keys14.length;_i36++){for(var _t76=_Object$keys14[_i36],_n57=o[_t76],_i37=0,_Object$keys15=Object.keys(_n57);_i37<_Object$keys15.length;_i37++){var _t77=_Object$keys15[_i37],_r65=_n57[_t77];o[_t77]={open:"[".concat(_r65[0],"m"),close:"[".concat(_r65[1],"m")},_n57[_t77]=o[_t77],e.set(_r65[0],_r65[1])}Object.defineProperty(o,_t76,{value:_n57,enumerable:!1}),Object.defineProperty(o,"codes",{value:e,enumerable:!1})}var i=function i(e){return e},u=function u(e,t,n){return[e,t,n]};o.color.close="",o.bgColor.close="",o.color.ansi={ansi:t(i,0)},o.color.ansi256={ansi256:n(i,0)},o.color.ansi16m={rgb:r(u,0)},o.bgColor.ansi={ansi:t(i,10)},o.bgColor.ansi256={ansi256:n(i,10)},o.bgColor.ansi16m={rgb:r(u,10)};for(var _i38=0,_Object$keys16=Object.keys(Ma);_i38<_Object$keys16.length;_i38++){var _e81=_Object$keys16[_i38];if("object"==_typeof(Ma[_e81])){var _i39=Ma[_e81];"ansi16"===_e81&&(_e81="ansi"),"ansi16"in _i39&&(o.color.ansi[_e81]=t(_i39.ansi16,0),o.bgColor.ansi[_e81]=t(_i39.ansi16,10)),"ansi256"in _i39&&(o.color.ansi256[_e81]=n(_i39.ansi256,0),o.bgColor.ansi256[_e81]=n(_i39.ansi256,10)),"rgb"in _i39&&(o.color.ansi16m[_e81]=r(_i39.rgb,0),o.bgColor.ansi16m[_e81]=r(_i39.rgb,10))}}return o}})})),Va=nt.env;function qa(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===$a)return 0;if(Wo("color=16m")||Wo("color=full")||Wo("color=truecolor"))return 3;if(Wo("color=256"))return 2;if(e&&!e.isTTY&&!0!==$a)return 0;var t=$a?1:0;if("CI"in Va)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in Va}))||"codeship"===Va.CI_NAME?1:t;if("TEAMCITY_VERSION"in Va)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Va.TEAMCITY_VERSION)?1:0;if("truecolor"===Va.COLORTERM)return 3;if("TERM_PROGRAM"in Va){var _e82=parseInt((Va.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Va.TERM_PROGRAM){case"iTerm.app":return _e82>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Va.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Va.TERM)||"COLORTERM"in Va?1:(Va.TERM,t)}(e))}Wo("no-color")||Wo("no-colors")||Wo("color=false")?$a=!1:(Wo("color")||Wo("colors")||Wo("color=true")||Wo("color=always"))&&($a=!0),"FORCE_COLOR"in Va&&($a=0===Va.FORCE_COLOR.length||0!==parseInt(Va.FORCE_COLOR,10));var Wa={supportsColor:qa,stdout:qa(nt.stdout),stderr:qa(nt.stderr)},Ua=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,za=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ha=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Ga=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ja=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Xa(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ja.get(e)||e}function Ya(e,t){var o,_step38,n=[],_iterator38=_createForOfIteratorHelper(t.trim().split(/\s*,\s*/g));try{for(_iterator38.s();!(_step38=_iterator38.n()).done;){var _t78=_step38.value;if(isNaN(_t78)){if(!(o=_t78.match(Ha)))throw new Error("Invalid Chalk template style argument: ".concat(_t78," (in style '").concat(e,"')"));n.push(o[2].replace(Ga,(function(e,t,n){return t?Xa(t):n})))}else n.push(Number(_t78))}}catch(err){_iterator38.e(err)}finally{_iterator38.f()}return n}function Ka(e){za.lastIndex=0;for(var n,t=[];null!==(n=za.exec(e));){var _e83=n[1];if(n[2]){var _r66=Ya(_e83,n[2]);t.push([_e83].concat(_r66))}else t.push([_e83])}return t}function Qa(e,t){var _step39,n={},_iterator39=_createForOfIteratorHelper(t);try{for(_iterator39.s();!(_step39=_iterator39.n()).done;){var _step40,_e85=_step39.value,_iterator40=_createForOfIteratorHelper(_e85.styles);try{for(_iterator40.s();!(_step40=_iterator40.n()).done;){var _t79=_step40.value;n[_t79[0]]=_e85.inverse?null:_t79.slice(1)}}catch(err){_iterator40.e(err)}finally{_iterator40.f()}}}catch(err){_iterator39.e(err)}finally{_iterator39.f()}for(var r=e,_i40=0,_Object$keys17=Object.keys(n);_i40<_Object$keys17.length;_i40++){var _e84=_Object$keys17[_i40];if(Array.isArray(n[_e84])){if(!(_e84 in r))throw new Error("Unknown Chalk style: ".concat(_e84));r=n[_e84].length>0?r[_e84].apply(r,n[_e84]):r[_e84]}}return r}var Za=function Za(e,t){var n=[],r=[],o=[];if(t.replace(Ua,(function(t,i,u,s,a,c){if(i)o.push(Xa(i));else if(s){var _t80=o.join("");o=[],r.push(0===n.length?_t80:Qa(e,n)(_t80)),n.push({inverse:u,styles:Ka(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Qa(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){var _e86="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(_e86)}return r.join("")},ec=i((function(e){var t=Wa.stdout,r=["ansi","ansi","ansi256","ansi16m"],o=new Set(["gray"]),i=Object.create(null);function u(e,n){n=n||{};var r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){var _t81={};return u(_t81,e),_t81.template=function(){var e=[].slice.call(arguments);return p.apply(null,[_t81.template].concat(e))},Object.setPrototypeOf(_t81,s.prototype),Object.setPrototypeOf(_t81.template,_t81),_t81.template.constructor=s,_t81.template}u(this,e)}for(var _loop10=function _loop10(){var e=_Object$keys18[_i41];Ra[e].closeRe=new RegExp(Na(Ra[e].close),"g"),i[e]={get:function get(){var t=Ra[e];return c.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},_i41=0,_Object$keys18=Object.keys(Ra);_i41<_Object$keys18.length;_i41++)_loop10();i.visible={get:function get(){return c.call(this,this._styles||[],!0,"visible")}},Ra.color.closeRe=new RegExp(Na(Ra.color.close),"g");for(var _loop11=function _loop11(){var e=_Object$keys19[_i42];o.has(e)||(i[e]={get:function get(){var t=this.level;return function(){var o={open:Ra.color[r[t]][e].apply(null,arguments),close:Ra.color.close,closeRe:Ra.color.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}})},_i42=0,_Object$keys19=Object.keys(Ra.color.ansi);_i42<_Object$keys19.length;_i42++)_loop11();Ra.bgColor.closeRe=new RegExp(Na(Ra.bgColor.close),"g");for(var _loop12=function _loop12(){var e=_Object$keys20[_i43];if(o.has(e))return"continue";i["bg"+e[0].toUpperCase()+e.slice(1)]={get:function get(){var t=this.level;return function(){var o={open:Ra.bgColor[r[t]][e].apply(null,arguments),close:Ra.bgColor.close,closeRe:Ra.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}},_i43=0,_Object$keys20=Object.keys(Ra.bgColor.ansi);_i43<_Object$keys20.length;_i43++)_loop12();var a=Object.defineProperties((function(){}),i);function c(e,t,n){var r=function r(){return l.apply(r,arguments)};r._styles=e,r._empty=t;var o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function get(){return o.level},set:function set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function get(){return o.enabled},set:function set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=a,r}function l(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var _n58=1;_n581&&void 0!==arguments[1]?arguments[1]:{};return pc(t)?function(e,t){var _step42,n="",_iterator42=_createForOfIteratorHelper(lc(t));try{var _loop13=function _loop13(){var _step42$value=_step42.value,r=_step42$value.type,o=_step42$value.value,t=e[r];n+=t?o.split(ac).map((function(e){return t(e)})).join("\n"):o};for(_iterator42.s();!(_step42=_iterator42.n()).done;)_loop13()}catch(err){_iterator42.e(err)}finally{_iterator42.f()}return n}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(fc(t)),e):e},oc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=_typeof(e)&&"function"!=typeof e)return{default:e};var t=uc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(ta),ic=function(e){return e&&e.__esModule?e:{default:e}}(ec);function uc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return uc=function uc(){return e},e}var lc,sc=new Set(["as","async","from","get","of","set"]),ac=/\r\n|[\n\r\u2028\u2029]/,cc=/^[()[\]{}]$/,_e89=oc.matchToToken,_t82=/^[a-z][\w-]*$/i,_n60=function _n60(e,n,r){if("name"===e.type){if((0,Ba.isKeyword)(e.value)||(0,Ba.isStrictReservedWord)(e.value,!0)||sc.has(e.value))return"keyword";if(_t82.test(e.value)&&("<"===r[n-1]||"3&&void 0!==arguments[3]?arguments[3]:{};if(!yc){yc=!0;var _e90="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(_e90).name="DeprecationWarning",console.warn(new Error(_e90))}return Ec(e,{start:{column:n=Math.max(n,0),line:t}},r)},mc=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=_typeof(e)&&"function"!=typeof e)return{default:e};var t=gc();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(Object.defineProperty({shouldHighlight:tc,getChalk:nc,default:rc},"__esModule",{value:!0}));function gc(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return gc=function gc(){return e},e}var yc=!1,Dc=/\r\n|[\n\r\u2028\u2029]/;function Ec(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(n.highlightCode||n.forceColor)&&(0,mc.shouldHighlight)(n),o=(0,mc.getChalk)(n),i=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(o),u=function u(e,t){return r?e(t):t},_ref55=function(e,t,n){var r=Object.assign({column:0,line:-1},e.start),o=Object.assign({},r,e.end),_ref56=n||{},_ref56$linesAbove=_ref56.linesAbove,i=void 0===_ref56$linesAbove?2:_ref56$linesAbove,_ref56$linesBelow=_ref56.linesBelow,u=void 0===_ref56$linesBelow?3:_ref56$linesBelow,s=r.line,a=r.column,c=o.line,l=o.column,p=Math.max(s-(i+1),0),f=Math.min(t.length,c+u);-1===s&&(p=0),-1===c&&(f=t.length);var d=c-s,h={};if(d)for(var _e91=0;_e91<=d;_e91++){var _n61=_e91+s;if(a)if(0===_e91){var _e92=t[_n61-1].length;h[_n61]=[a,_e92-a+1]}else if(_e91===d)h[_n61]=[0,l];else{var _r67=t[_n61-_e91].length;h[_n61]=[0,_r67]}else h[_n61]=!0}else h[s]=a===l?!a||[a,0]:[a,l-a];return{start:p,end:f,markerLines:h}}(t,e.split(Dc),n),a=_ref55.start,c=_ref55.end,l=_ref55.markerLines,p=t.start&&"number"==typeof t.start.column,f=String(c).length,d=(r?(0,mc.default)(e,n):e).split(Dc).slice(a,c).map((function(e,t){var r=a+1+t,o=" ".concat(r).slice(-f),s=" ".concat(o," |"),c=l[r],p=!l[r+1];if(c){var _t83="";if(Array.isArray(c)){var _r68=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g," "),_o22=c[1]||1;_t83=["\n ",u(i.gutter,s.replace(/\d/g," "))," ",_r68,u(i.marker,"^").repeat(_o22)].join(""),p&&n.message&&(_t83+=" "+u(i.message,n.message))}return[u(i.marker,">"),u(i.gutter,s),e.length>0?" ".concat(e):"",_t83].join("")}return" ".concat(u(i.gutter,s)).concat(e.length>0?" ".concat(e):"")})).join("\n");return n.message&&!p&&(d="".concat(" ".repeat(f+1)).concat(n.message,"\n").concat(d)),r?o.reset(d):d}var bc=Object.defineProperty({codeFrameColumns:dc,default:hc},"__esModule",{value:!0}),Cc=o(tr),vc=uo.ConfigError,Ac=ea.locStart,Fc=ea.locEnd,xc=Object.getOwnPropertyNames,Sc=Object.getOwnPropertyDescriptor;function wc(e){var _step43,t={},_iterator43=_createForOfIteratorHelper(e.plugins);try{for(_iterator43.s();!(_step43=_iterator43.n()).done;){var _n62=_step43.value;if(_n62.parsers){var _step44,_iterator44=_createForOfIteratorHelper(xc(_n62.parsers));try{for(_iterator44.s();!(_step44=_iterator44.n()).done;){var _e93=_step44.value;Object.defineProperty(t,_e93,Sc(_n62.parsers,_e93))}}catch(err){_iterator44.e(err)}finally{_iterator44.f()}}}}catch(err){_iterator43.e(err)}finally{_iterator43.f()}return t}function Tc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wc(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Ac,locEnd:Fc};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new vc("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Bc={parse:function parse(e,t){var n=wc(t),r=Object.keys(n).reduce((function(e,t){return Object.defineProperty(e,t,{enumerable:!0,get:function get(){return n[t].parse}})}),{}),o=Tc(t,n);try{return o.preprocess&&(e=o.preprocess(e,t)),{text:e,ast:o.parse(e,r,t)}}catch(t){var _n63=t.loc;if(_n63){var _r69=bc.codeFrameColumns;throw t.codeFrame=_r69(e,_n63,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Tc},kc=uo.UndefinedParserError,Nc=Mt.getSupportInfo,Pc=Bc.resolveParser,Oc={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Ic(e,t){var n=Cc.basename(e).toLowerCase(),r=Nc({plugins:t}).languages.filter((function(e){return null!==e.since})),o=r.find((function(e){return e.extensions&&e.extensions.some((function(e){return n.endsWith(e)}))||e.filenames&&e.filenames.some((function(e){return e.toLowerCase()===n}))}));if(!o&&!n.includes(".")){var _t84=function(e){if("string"!=typeof e)return"";var t;try{t=eo.openSync(e,"r")}catch(e){return""}try{var _e94=new to(t).next().toString("utf8"),_n64=_e94.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(_n64)return _n64[1];var _r70=_e94.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return _r70?_r70[1]:""}catch(e){return""}finally{try{eo.closeSync(t)}catch(e){}}}(e);o=r.find((function(e){return e.interpreters&&e.interpreters.includes(_t84)}))}return o&&o.parsers[0]}var jc={normalize:function normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e),r=Nc({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,o=Object.assign({},Oc,Ne(r.filter((function(e){return void 0!==e.default})).map((function(e){return[e.name,e.default]}))));if(!n.parser)if(n.filepath){if(n.parser=Ic(n.filepath,n.plugins),!n.parser)throw new kc("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";var i=Pc(Xs.normalizeApiOptions(n,[r.find((function(e){return"parser"===e.name}))],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;var u=function(e){var t=e.astFormat;if(!t)throw new Error("getPlugin() requires astFormat to be set");var n=e.plugins.find((function(e){return e.printers&&e.printers[t]}));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=u.printers[n.astFormat];for(var s=Ne(r.filter((function(e){return e.pluginDefaults&&void 0!==e.pluginDefaults[u.name]})).map((function(e){return[e.name,e.pluginDefaults[u.name]]}))),a=Object.assign({},o,s),_i44=0,_Object$entries8=Object.entries(a);_i44<_Object$entries8.length;_i44++){var _Object$entries8$_i=_slicedToArray(_Object$entries8[_i44],2),_e95=_Object$entries8$_i[0],_t85=_Object$entries8$_i[1];null!==n[_e95]&&void 0!==n[_e95]||(n[_e95]=_t85)}return"json"===n.parser&&(n.trailingComma="none"),Xs.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Oc)},t))},hiddenDefaults:Oc,inferParser:Ic},Lc=function e(t,n,r){if(Array.isArray(t))return t.map((function(t){return e(t,n,r)})).filter(Boolean);if(!t||"object"!=_typeof(t))return t;var i,o=n.printer.massageAstNode;i=o&&o.ignoredProperties?o.ignoredProperties:new Set;for(var u={},_i45=0,_Object$entries9=Object.entries(t);_i45<_Object$entries9.length;_i45++){var _Object$entries9$_i=_slicedToArray(_Object$entries9[_i45],2),_r71=_Object$entries9$_i[0],_o23=_Object$entries9$_i[1];i.has(_r71)||"function"==typeof _o23||(u[_r71]=e(_o23,n,t))}if(o){var _e96=o(t,u,r);if(null===_e96)return;if(_e96)return _e96}return u},_c="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function n(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e};function Mc(e,t){var n={seen:[],stylize:Vc};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Uc(t)?n.showHidden=t:t&&tl(n,t),Gc(n.showHidden)&&(n.showHidden=!1),Gc(n.depth)&&(n.depth=2),Gc(n.colors)&&(n.colors=!1),Gc(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Rc),$c(n,e,n.depth)}function Rc(e,t){var n=Mc.styles[t];return n?"["+Mc.colors[n][0]+"m"+e+"["+Mc.colors[n][1]+"m":e}function Vc(e,t){return e}function $c(e,t,n){if(e.customInspect&&t&&Qc(t.inspect)&&t.inspect!==Mc&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Hc(r)||(r=$c(e,r,n)),r}var o=function(e,t){if(Gc(t))return e.stylize("undefined","undefined");if(Hc(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return"number"==typeof t?e.stylize(""+t,"number"):Uc(t)?e.stylize(""+t,"boolean"):zc(t)?e.stylize("null","null"):void 0}(e,t);if(o)return o;var i=Object.keys(t),u=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),Kc(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return qc(t);if(0===i.length){if(Qc(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Jc(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Yc(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Kc(t))return qc(t)}var a,c,l="",p=!1,f=["{","}"];return a=t,Array.isArray(a)&&(p=!0,f=["[","]"]),Qc(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),Jc(t)&&(l=" "+RegExp.prototype.toString.call(t)),Yc(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Kc(t)&&(l=" "+qc(t)),0!==i.length||p&&0!=t.length?n<0?Jc(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(e,t,n,r,o){for(var i=[],u=0,s=t.length;u60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,f)):f[0]+l+f[1]}function qc(e){return"["+Error.prototype.toString.call(e)+"]"}function Wc(e,t,n,r,o,i){var u,s,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(s=e.stylize("[Setter]","special")),nl(r,o)||(u="["+o+"]"),s||(e.seen.indexOf(a.value)<0?(s=zc(n)?$c(e,a.value,null):$c(e,a.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Gc(u)){if(i&&o.match(/^\d+$/))return s;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+s}function Uc(e){return"boolean"==typeof e}function zc(e){return null===e}function Hc(e){return"string"==typeof e}function Gc(e){return void 0===e}function Jc(e){return Xc(e)&&"[object RegExp]"===el(e)}function Xc(e){return"object"==_typeof(e)&&null!==e}function Yc(e){return Xc(e)&&"[object Date]"===el(e)}function Kc(e){return Xc(e)&&("[object Error]"===el(e)||e instanceof Error)}function Qc(e){return"function"==typeof e}function Zc(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==_typeof(e)||void 0===e}function el(e){return Object.prototype.toString.call(e)}function tl(e,t){if(!t||!Xc(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function nl(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function rl(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o=0){var u=r.indexOf("\n",i+1);r=r.substring(u+1)}this.stack=r}}}function ml(e,t){return"string"==typeof e?e.length=0;s--)if(a[s]!==c[s])return!1;for(s=a.length-1;s>=0;s--)if(!Al(e[u=a[s]],t[u],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function Fl(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function xl(e,t,n){Al(e,t,!1)&&yl(e,t,n,"notDeepEqual",xl)}function Sl(e,t,n){Al(e,t,!0)&&yl(e,t,n,"notDeepStrictEqual",Sl)}function wl(e,t,n){e!==t&&yl(e,t,n,"===",wl)}function Tl(e,t,n){e===t&&yl(e,t,n,"!==",Tl)}function Bl(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function kl(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&yl(o,n,"Missing expected exception"+r);var i="string"==typeof r,u=!e&&o&&!n;if((!e&&Kc(o)&&i&&Bl(o,n)||u)&&yl(o,n,"Got unwanted exception"+r),e&&o&&n&&!Bl(o,n)||!e&&o)throw o}function Nl(e,t,n){kl(!0,e,t,n)}function Pl(e,t,n){kl(!1,e,t,n)}function Ol(e){if(e)throw e}pl.AssertionError=hl,_c(hl,Error),pl.fail=yl,pl.ok=Dl,pl.equal=El,pl.notEqual=bl,pl.deepEqual=Cl,pl.deepStrictEqual=vl,pl.notDeepEqual=xl,pl.notDeepStrictEqual=Sl,pl.strictEqual=wl,pl.notStrictEqual=Tl,pl.throws=Nl,pl.doesNotThrow=Pl,pl.ifError=Ol;var Il=o(Object.freeze({__proto__:null,default:pl,AssertionError:hl,fail:yl,ok:Dl,assert:Dl,equal:El,notEqual:bl,deepEqual:Cl,deepStrictEqual:vl,notDeepEqual:xl,notDeepStrictEqual:Sl,strictEqual:wl,notStrictEqual:Tl,throws:Nl,doesNotThrow:Pl,ifError:Ol})),_Rn$builders=Rn.builders,jl=_Rn$builders.line,Ll=_Rn$builders.hardline,_l=_Rn$builders.breakParent,Ml=_Rn$builders.indent,Rl=_Rn$builders.lineSuffix,Vl=_Rn$builders.join,$l=_Rn$builders.cursor,ql=rn.hasNewline,Wl=rn.skipNewline,Ul=rn.skipSpaces,zl=rn.isPreviousLineEmpty,Hl=rn.addLeadingComment,Gl=rn.addDanglingComment,Jl=rn.addTrailingComment,Xl=new WeakMap;function Yl(e,t,n){if(e){var r=t.printer,o=t.locStart,i=t.locEnd;if(n){if(r.canAttachComment&&r.canAttachComment(e)){var _t86;for(_t86=n.length-1;_t86>=0&&!(o(n[_t86])<=o(e)&&i(n[_t86])<=i(e));--_t86);return void n.splice(_t86+1,0,e)}}else if(Xl.has(e))return Xl.get(e);var u=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==_typeof(e)&&Object.entries(e).filter((function(_ref57){var e=_slicedToArray(_ref57,1)[0];return"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e})).map((function(_ref59){return _slicedToArray(_ref59,2)[1]}));if(u){n||(n=[],Xl.set(e,n));var _step45,_iterator45=_createForOfIteratorHelper(u);try{for(_iterator45.s();!(_step45=_iterator45.n()).done;)Yl(_step45.value,t,n)}catch(err){_iterator45.e(err)}finally{_iterator45.f()}return n}}}function Kl(e,t,n,r){for(var c,l,o=n.locStart,i=n.locEnd,u=o(t),s=i(t),a=Yl(e,n),p=0,f=a.length;p>1,_r72=a[_e98],_d3=o(_r72),_h3=i(_r72);if(_d3<=u&&s<=_h3)return Kl(_r72,t,n,_r72);if(_h3<=u)c=_r72,p=_e98+1;else{if(!(s<=_d3))throw new Error("Comment location overlaps with node location");l=_r72,f=_e98}}if(r&&"TemplateLiteral"===r.type){var _e99=r.quasis,_o24=op(_e99,t,n);c&&op(_e99,c,n)!==_o24&&(c=null),l&&op(_e99,l,n)!==_o24&&(l=null)}return{enclosingNode:r,precedingNode:c,followingNode:l}}var Ql=function Ql(){return!1},Zl=function Zl(e){return!/[\S\n\u2028\u2029]/.test(e)};function ep(e,t,n,r){var _n$r=n[r],o=_n$r.comment,i=_n$r.precedingNode,u=t.locStart,s=t.locEnd,a=u(o);if(i)for(var _t87=r-1;_t87>=0;_t87--){var _n$_t=n[_t87],_r73=_n$_t.comment;if(_n$_t.precedingNode!==i||!Zl(e.slice(s(_r73),a)))break;a=u(_r73)}return ql(e,a,{backwards:!0})}function tp(e,t,n,r){var _n$r2=n[r],o=_n$r2.comment,i=_n$r2.followingNode,u=t.locStart,s=t.locEnd,a=s(o);if(i)for(var _t88=r+1;_t880;--a){var _e100=e[a-1],_r75=_e100.comment,_u11=_e100.precedingNode,_l4=_e100.followingNode;Il.strictEqual(_u11,o),Il.strictEqual(_l4,i);var _p3=t.slice(n.locEnd(_r75),c);if(!s.test(_p3))break;c=n.locStart(_r75)}var _step46,_iterator46=_createForOfIteratorHelper(e.entries());try{for(_iterator46.s();!(_step46=_iterator46.n()).done;){var _step46$value=_slicedToArray(_step46.value,2),_t89=_step46$value[0],_n65=_step46$value[1].comment;_t891&&_e101.comments.sort((function(e,t){return n.locStart(e)-n.locStart(t)}))}e.length=0}}function rp(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function op(e,t,n){for(var r=n.locStart(t)-1,_t90=1;_t90=0){Jl(_g3,_n66);continue}}var _D2=void 0;if(a?_D2=[_t92]:(_n66.enclosingNode=_s17,_n66.precedingNode=_r76,_n66.followingNode=_d4,_D2=[_n66,_h4,_m3,_g3,_y3]),ep(_h4,_m3,f,_e105))_n66.placement="ownLine",c.apply(void 0,_toConsumableArray(_D2))||(_d4?Hl(_d4,_n66):_r76?Jl(_r76,_n66):Gl(_s17||_g3,_n66));else if(tp(_h4,_m3,f,_e105))_n66.placement="endOfLine",l.apply(void 0,_toConsumableArray(_D2))||(_r76?Jl(_r76,_n66):_d4?Hl(_d4,_n66):Gl(_s17||_g3,_n66));else if(_n66.placement="remaining",p.apply(void 0,_toConsumableArray(_D2)));else if(_r76&&_d4){var _e106=o.length;_e106>0&&o[_e106-1].followingNode!==_d4&&np(o,_h4,_m3),o.push(_t92)}else _r76?Jl(_r76,_n66):_d4?Hl(_d4,_n66):Gl(_s17||_g3,_n66)}}catch(err){_iterator47.e(err)}finally{_iterator47.f()}if(np(o,n,r),!a){var _step48,_iterator48=_createForOfIteratorHelper(e);try{for(_iterator48.s();!(_step48=_iterator48.n()).done;){var _t91=_step48.value;delete _t91.precedingNode,delete _t91.enclosingNode,delete _t91.followingNode}}catch(err){_iterator48.e(err)}finally{_iterator48.f()}}}},printComments:function printComments(e,t,n,r){var _ip=ip(e,n,r),o=_ip.leading,i=_ip.trailing;return o||i?[o,t,i]:t},printCommentsSeparately:ip,printDanglingComments:function printDanglingComments(e,t,n,r){var o=[],i=e.getValue();return i&&i.comments?(e.each((function(){var n=e.getValue();n.leading||n.trailing||r&&!r(n)||o.push(rp(e,t))}),"comments"),0===o.length?"":n?Vl(Ll,o):Ml([Ll,Vl(Ll,o)])):""},getSortedChildNodes:Yl,ensureAllCommentsPrinted:function ensureAllCommentsPrinted(e){if(e){var _step49,_iterator49=_createForOfIteratorHelper(e);try{for(_iterator49.s();!(_step49=_iterator49.n()).done;){var _t93=_step49.value;if(!_t93.printed)throw new Error('Comment "'+_t93.value.trim()+'" was not printed. Please report this error!');delete _t93.printed}}catch(err){_iterator49.e(err)}finally{_iterator49.f()}}}};function sp(e,t){var n=ap(e.stack,t);return-1===n?null:e.stack[n]}function ap(e,t){for(var _n67=e.length-1;_n67>=0;_n67-=2){var r=e[_n67];if(r&&!Array.isArray(r)&&--t<0)return _n67}return-1}var cp=function(){function cp(e){_classCallCheck(this,cp),this.stack=[e]}return _createClass(cp,[{key:"getName",value:function getName(){var e=this.stack,t=e.length;return t>1?e[t-2]:null}},{key:"getValue",value:function getValue(){return ke(this.stack)}},{key:"getNode",value:function getNode(){return sp(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"getParentNode",value:function getParentNode(){return sp(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}},{key:"call",value:function call(e){for(var n=this.stack,r=n.length,o=ke(n),_len11=arguments.length,t=new Array(_len11>1?_len11-1:0),_key11=1;_key11<_len11;_key11++)t[_key11-1]=arguments[_key11];for(var _i47=0,_t94=t;_i47<_t94.length;_i47++){var _e107=_t94[_i47];o=o[_e107],n.push(_e107,o)}var i=e(this);return n.length=r,i}},{key:"callParent",value:function callParent(e){var _this$stack,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=ap(this.stack,t+1),r=this.stack.splice(n+1),o=e(this);return(_this$stack=this.stack).push.apply(_this$stack,_toConsumableArray(r)),o}},{key:"each",value:function each(e){for(var n=this.stack,r=n.length,o=ke(n),_len12=arguments.length,t=new Array(_len12>1?_len12-1:0),_key12=1;_key12<_len12;_key12++)t[_key12-1]=arguments[_key12];for(var _i48=0,_t95=t;_i48<_t95.length;_i48++){var _e108=_t95[_i48];o=o[_e108],n.push(_e108,o)}for(var _t96=0;_t961?_len13-1:0),_key13=1;_key13<_len13;_key13++)t[_key13-1]=arguments[_key13];return this.each.apply(this,[function(t,r,o){n[r]=e(t,r,o)}].concat(t)),n}},{key:"try",value:function _try(e){var t=this.stack,n=_toConsumableArray(t);try{return e()}finally{t.length=0,t.push.apply(t,n)}}},{key:"match",value:function match(){for(var t=this.stack.length-1,n=null,r=this.stack[t--],_len14=arguments.length,e=new Array(_len14),_key14=0;_key14<_len14;_key14++)e[_key14]=arguments[_key14];for(var _i49=0,_e109=e;_i49<_e109.length;_i49++){var _o27=_e109[_i49];if(void 0===r)return!1;var _e110=null;if("number"==typeof n&&(_e110=n,n=this.stack[t--],r=this.stack[t--]),_o27&&!_o27(r,n,_e110))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}},{key:"findAncestor",value:function findAncestor(e){for(var t=this.stack.length-1,n=null,r=this.stack[t--];r;){var _o28=null;if("number"==typeof n&&(_o28=n,n=this.stack[t--],r=this.stack[t--]),null!==n&&e(r,n,_o28))return r;n=this.stack[t--],r=this.stack[t--]}}}]),cp}(),lp=Rn.utils.stripTrailingHardline,pp=jc.normalize,fp={printSubtree:function printSubtree(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(function(e,t,o){return function(e,t,n,r){var _ref61$stripTrailingH=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:{}).stripTrailingHardline,o=void 0!==_ref61$stripTrailingH&&_ref61$stripTrailingH,i=pp(Object.assign({},n,t,{parentParser:n.parser,originalText:e}),{passThrough:!0}),u=Bc.parse(e,i),s=u.ast;e=u.text;var a=s.comments;delete s.comments,up.attach(a,s,e,i),i[Symbol.for("comments")]=a||[],i[Symbol.for("tokens")]=s.tokens||[];var c=r(s,i);return up.ensureAllCommentsPrinted(a),o?"string"==typeof c?c.replace(/(?:\r?\n)*$/,""):lp(c):c}(e,t,n,r,o)}),n)}},_Rn$builders2=Rn.builders,dp=_Rn$builders2.hardline,hp=_Rn$builders2.addAlignmentToDoc,mp=Rn.utils.propagateBreaks,gp=up.printComments;function yp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=t.printer;o.preprocess&&(e=o.preprocess(e,t));var i=new Map,u=new cp(e),s=a();return n>0&&(s=hp([dp,s],n,t.tabWidth)),mp(s),s;function a(e,t){return void 0===e||e===u?c(t):Array.isArray(e)?u.call.apply(u,[function(){return c(t)}].concat(_toConsumableArray(e))):u.call((function(){return c(t)}),e)}function c(e){var n=u.getValue(),o=n&&"object"==_typeof(n)&&void 0===e;if(o&&i.has(n))return i.get(n);var s=function(e,t,n,o){var s,a,i=e.getValue(),u=t.printer;if(u.hasPrettierIgnore&&u.hasPrettierIgnore(e)){var _ref62=function(e,t){var _step50,n=t.originalText,r=t[Symbol.for("comments")],o=t.locStart,i=t.locEnd,u=o(e),s=i(e),a=new Set,_iterator50=_createForOfIteratorHelper(r);try{for(_iterator50.s();!(_step50=_iterator50.n()).done;){var _e111=_step50.value;o(_e111)>=u&&i(_e111)<=s&&(_e111.printed=!0,a.add(_e111))}}catch(err){_iterator50.e(err)}finally{_iterator50.f()}return{doc:n.slice(u,s),printedComments:a}}(i,t);s=_ref62.doc,a=_ref62.printedComments}else{if(i)try{s=fp.printSubtree(e,n,t,yp)}catch(e){if(r.PRETTIER_DEBUG)throw e}s||(s=u.print(e,t,n,o))}return u.willPrintOwnComments&&u.willPrintOwnComments(e,t)||(s=gp(e,s,t,a)),s}(u,t,a,e);return o&&i.set(n,s),s}}var Dp=yp;function Ep(e){for(var t=e.length-1;;){var _n68=e[t];if(!_n68||"Program"!==_n68.type&&"File"!==_n68.type)break;t--}return e.slice(0,t+1)}function bp(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5?arguments[5]:void 0,u=n.locStart,s=n.locEnd,a=u(e),c=s(e);if(!(t>c||tr);var s=e.slice(r,o).search(/\S/),a=-1===s;if(!a)for(r+=s;o>r&&!/\S/.test(e[o-1]);--o);var p,f,c=bp(n,r,t,(function(e,n){return Ap(t,e,n)}),[],"rangeStart"),l=a?c:bp(n,o,t,(function(e){return Ap(t,e)}),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};if(function(_ref63){var e=_ref63.parser;return"json"===e||"json5"===e||"json-stringify"===e}(t)){var _e112=function(e,t){var n=[e.node].concat(_toConsumableArray(e.parentNodes)),r=new Set([t.node].concat(_toConsumableArray(t.parentNodes)));return n.find((function(e){return Cp.has(e.type)&&r.has(e)}))}(c,l);p=_e112,f=_e112}else{var _ref64=function(e,t,_ref65){var n=_ref65.locStart,r=_ref65.locEnd,o=e.node,i=t.node;if(o===i)return{startNode:o,endNode:i};var _step52,u=n(e.node),_iterator52=_createForOfIteratorHelper(Ep(t.parentNodes));try{for(_iterator52.s();!(_step52=_iterator52.n()).done;){var _e113=_step52.value;if(!(n(_e113)>=u))break;i=_e113}}catch(err){_iterator52.e(err)}finally{_iterator52.f()}var _step53,s=r(t.node),_iterator53=_createForOfIteratorHelper(Ep(e.parentNodes));try{for(_iterator53.s();!(_step53=_iterator53.n()).done;){var _t97=_step53.value;if(!(r(_t97)<=s))break;o=_t97}}catch(err){_iterator53.e(err)}finally{_iterator53.f()}return{startNode:o,endNode:i}}(c,l,t);p=_ref64.startNode,f=_ref64.endNode}return{rangeStart:Math.min(i(p),i(f)),rangeEnd:Math.max(u(p),u(f))}},findNodeAtOffset:bp},xp=Rn.printer.printDocToString,Sp=Rn.debug.printDocToDebug,wp=rn.getAlignmentSize,Tp=on.guessEndOfLine,Bp=on.convertEndOfLineToChars,kp=on.countEndOfLineChars,Np=on.normalizeEndOfLine,Pp=jc.normalize,Op=Symbol("cursor");function Ip(e,t,n){var r=t.comments;return r&&(delete t.comments,up.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function jp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};var _Bc$parse=Bc.parse(e,t),r=_Bc$parse.ast,o=_Bc$parse.text;if(t.cursorOffset>=0){var _e114=Fp.findNodeAtOffset(r,t.cursorOffset,t);_e114&&_e114.node&&(t.cursorNode=_e114.node)}var i=Ip(o,r,t),u=Dp(r,t,n),s=xp(u,t);if(up.ensureAllCommentsPrinted(i),n>0){var _e115=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(_e115)),s.formatted=_e115+Bp(t.endOfLine)}if(t.cursorOffset>=0){var _e116,_n69,_r77,_u13,_a3;if(t.cursorNode&&s.cursorNodeText?(_e116=t.locStart(t.cursorNode),_n69=o.slice(_e116,t.locEnd(t.cursorNode)),_r77=t.cursorOffset-_e116,_u13=s.cursorNodeStart,_a3=s.cursorNodeText):(_e116=0,_n69=o,_r77=t.cursorOffset,_u13=0,_a3=s.formatted),_n69===_a3)return{formatted:s.formatted,cursorOffset:_u13+_r77,comments:i};var _c7=_n69.split("");_c7.splice(_r77,0,Op);var _step54,_l5=_a3.split(""),_f3=_u13,_iterator54=_createForOfIteratorHelper(pe.diffArrays(_c7,_l5));try{for(_iterator54.s();!(_step54=_iterator54.n()).done;){var _e117=_step54.value;if(_e117.removed){if(_e117.value.includes(Op))break}else _f3+=_e117.count}}catch(err){_iterator54.e(err)}finally{_iterator54.f()}return{formatted:s.formatted,cursorOffset:_f3,comments:i}}return{formatted:s.formatted,cursorOffset:-1,comments:i}}function Lp(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function _p(e,t){var n=t.cursorOffset,r=t.rangeStart,o=t.rangeEnd;return n=Lp(e,n,-1),r=Lp(e,r,0),o=Lp(e,o,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o})}function Mp(e,t){var _p5=_p(e,t),n=_p5.cursorOffset,r=_p5.rangeStart,o=_p5.rangeEnd,i=_p5.endOfLine,u="\ufeff"===e.charAt(0);if(u&&(e=e.slice(1),n--,r--,o--),"auto"===i&&(i=Tp(e)),e.includes("\r")){var _t98=function _t98(t){return kp(e.slice(0,Math.max(t,0)),"\r\n")};n-=_t98(n),r-=_t98(r),o-=_t98(o),e=Np(e)}return{hasBOM:u,text:e,options:_p(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}))}}function Rp(e,t){var n=Bc.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function Vp(e,t){var n,_Mp=Mp(e,Pp(t)),r=_Mp.hasBOM,o=_Mp.text,i=_Mp.options;return i.rangeStart>=i.rangeEnd&&""!==o||i.requirePragma&&!Rp(o,i)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEndo&&t.cursorOffset=i?f+=p.length-u.length:l.cursorOffset>=0&&(f=l.cursorOffset+o);var d=r.slice(0,o)+p+r.slice(i);if("lf"!==t.endOfLine){var _e118=Bp(t.endOfLine);f>=0&&"\r\n"===_e118&&(f+=kp(d.slice(0,f),"\n")),d=d.replace(/\n/g,_e118)}return{formatted:d,cursorOffset:f,comments:l.comments}}(o,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!Rp(o,i)&&(o=i.printer.insertPragma(o)),n=jp(o,i)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var $p={formatWithCursor:Vp,parse:function parse(e,t,n){var _Mp2=Mp(e,Pp(t)),r=_Mp2.text,o=_Mp2.options,i=Bc.parse(r,o);return n&&(i.ast=Lc(i.ast,o)),i},formatAST:function formatAST(e,t){t=Pp(t);var n=Dp(e,t);return xp(n,t)},formatDoc:function formatDoc(e,t){return Vp(Sp(e),Object.assign({},t,{parser:"__js_expression"})).formatted},printToDoc:function printToDoc(e,t){t=Pp(t);var _Bc$parse3=Bc.parse(e,t),n=_Bc$parse3.ast;return Ip(_Bc$parse3.text,n,t),Dp(n,t)},printDocToString:function printDocToString(e,t){return xp(e,Pp(t))}},qp=rn.getMaxContinuousCount,Wp=rn.getStringWidth,Up=rn.getAlignmentSize,zp=rn.getIndentSize,Hp=rn.skip,Gp=rn.skipWhitespace,Jp=rn.skipSpaces,Xp=rn.skipNewline,Yp=rn.skipToLineEnd,Kp=rn.skipEverythingButNewLine,Qp=rn.skipInlineComment,Zp=rn.skipTrailingComment,ef=rn.hasNewline,tf=rn.hasNewlineInRange,nf=rn.hasSpaces,rf=rn.isNextLineEmpty,of=rn.isNextLineEmptyAfterIndex,uf=rn.isPreviousLineEmpty,sf=rn.getNextNonSpaceNonCommentCharacterIndex,af=rn.makeString,cf=rn.addLeadingComment,lf=rn.addDanglingComment,pf=rn.addTrailingComment,ff={getMaxContinuousCount:qp,getStringWidth:Wp,getAlignmentSize:Up,getIndentSize:zp,skip:Hp,skipWhitespace:Gp,skipSpaces:Jp,skipNewline:Xp,skipToLineEnd:Yp,skipEverythingButNewLine:Kp,skipInlineComment:Qp,skipTrailingComment:Zp,hasNewline:ef,hasNewlineInRange:tf,hasSpaces:nf,isNextLineEmpty:rf,isNextLineEmptyAfterIndex:of,isPreviousLineEmpty:uf,getNextNonSpaceNonCommentCharacterIndex:sf,makeString:af,addLeadingComment:cf,addDanglingComment:lf,addTrailingComment:pf},df=function df(t,n){var r=t.languageId,o=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},o,n(t))},hf=i((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function isExpression(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function isIterationStatement(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function isProblematicIfStatement(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),mf=i((function(e){!function(){var t,n,r,o,i,u;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],o=new Array(128),u=0;u<128;++u)o[u]=u>=97&&u<=122||u>=65&&u<=90||36===u||95===u;for(i=new Array(128),u=0;u<128;++u)i[u]=u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||36===u||95===u;e.exports={isDecimalDigit:function isDecimalDigit(e){return 48<=e&&e<=57},isHexDigit:function isHexDigit(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function isOctalDigit(e){return e>=48&&e<=55},isWhiteSpace:function isWhiteSpace(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function isLineTerminator(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function isIdentifierStartES5(e){return e<128?o[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function isIdentifierPartES5(e){return e<128?i[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function isIdentifierStartES6(e){return e<128?o[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function isIdentifierPartES6(e){return e<128?i[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()})),gf=i((function(e){!function(){var t=mf;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function o(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function u(e){var n,r,o;if(0===e.length)return!1;if(o=e.charCodeAt(0),!t.isIdentifierStartES5(o))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(i=e.charCodeAt(n))&&i<=57343))return!1;o=1024*(o-55296)+(i-56320)+65536}if(!u(o))return!1;u=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:o,isReservedWordES6:i,isRestrictedWord:function isRestrictedWord(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:u,isIdentifierNameES6:s,isIdentifierES5:function isIdentifierES5(e,t){return u(e)&&!o(e,t)},isIdentifierES6:function isIdentifierES6(e,t){return s(e)&&!i(e,t)}}}()})),yf=i((function(e,t){t.ast=hf,t.code=mf,t.keyword=gf})).keyword.isIdentifierNameES5,Df=rn.getLast,Ef=rn.hasNewline,bf=rn.skipWhitespace,Cf=rn.isNonEmptyArray,vf=rn.isNextLineEmptyAfterIndex,Af=ea.locStart,Ff=ea.locEnd,xf=ea.hasSameLocStart,Sf="(?:(?=.)\\s)",wf=new RegExp("^".concat(Sf,"*:")),Tf=new RegExp("^".concat(Sf,"*::"));function Bf(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Uf(e)||zf(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function kf(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function Nf(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}var Pf=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Of(e){return e&&Pf.has(e.type)}function If(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function jf(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Lf(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function _f(e){return Uf(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function Mf(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Rf(e){return"get"===e.kind||"set"===e.kind}function Vf(e){return Rf(e)||xf(e,e.value)}var $f=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),qf=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),Wf=/^(skip|[fx]?(it|describe|test))$/;function Uf(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function zf(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function Hf(e,t){return Mf(t)?id(t):ad(t,ud.Leading,(function(t){return Ef(e,Ff(t))}))}function Gf(e){return/^(\d+|\d+\.\d+)$/.test(e)}function Jf(e){return e.quasis.some((function(e){return e.value.raw.includes("\n")}))}function Xf(e){return e.extra?e.extra.raw:e.raw}var _step55,Yf={"==":!0,"!=":!0,"===":!0,"!==":!0},Kf={"*":!0,"/":!0,"%":!0},Qf={">>":!0,">>>":!0,"<<":!0},Zf={},_iterator55=_createForOfIteratorHelper([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries());try{for(_iterator55.s();!(_step55=_iterator55.n()).done;){var _step79,_step55$value=_slicedToArray(_step55.value,2),_e216=_step55$value[0],_iterator79=_createForOfIteratorHelper(_step55$value[1]);try{for(_iterator79.s();!(_step79=_iterator79.n()).done;){var _n134=_step79.value;Zf[_n134]=_e216}}catch(err){_iterator79.e(err)}finally{_iterator79.f()}}}catch(err){_iterator55.e(err)}finally{_iterator55.f()}function ed(e){return Zf[e]}var td=new WeakMap;function nd(e){if(td.has(e))return td.get(e);var t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push.apply(t,_toConsumableArray(e.parameters)):Array.isArray(e.params)&&t.push.apply(t,_toConsumableArray(e.params)),e.rest&&t.push(e.rest),td.set(e,t),t}var rd=new WeakMap;function od(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function id(e){return e&&(e.prettierIgnore||ad(e,ud.PrettierIgnore))}var ud={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},sd=function sd(e,t){if("function"==typeof e&&(t=e,e=0),e||t)return function(n,r,o){return!(e&ud.Leading&&!n.leading||e&ud.Trailing&&!n.trailing||e&ud.Dangling&&(n.leading||n.trailing)||e&ud.Block&&!kf(n)||e&ud.Line&&!Nf(n)||e&ud.First&&0!==r||e&ud.Last&&r!==o.length-1||e&ud.PrettierIgnore&&!od(n)||t&&!t(n))}};function ad(e,t,n){if(!e||!Cf(e.comments))return!1;var r=sd(t,n);return!r||e.comments.some(r)}function cd(e,t,n){if(!e||!Array.isArray(e.comments))return[];var r=sd(t,n);return r?e.comments.filter(r):e.comments}function ld(e){return Uf(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var pd={getFunctionParameters:nd,iterateFunctionParametersPath:function iterateFunctionParametersPath(e,t){var n=e.getValue(),r=0,o=function o(e){return t(e,r++)};n.this&&e.call(o,"this"),Array.isArray(n.parameters)?e.each(o,"parameters"):Array.isArray(n.params)&&e.each(o,"params"),n.rest&&e.call(o,"rest")},getCallArguments:function getCallArguments(e){if(rd.has(e))return rd.get(e);var t="ImportExpression"===e.type?[e.source]:e.arguments;return rd.set(e,t),t},iterateCallArgumentsPath:function iterateCallArgumentsPath(e,t){"ImportExpression"===e.getValue().type?e.call((function(e){return t(e,0)}),"source"):e.each(t,"arguments")},hasRestParameter:function hasRestParameter(e){if(e.rest)return!0;var t=nd(e);return t.length>0&&"RestElement"===Df(t).type},getLeftSidePathName:function getLeftSidePathName(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function getParentExportDeclaration(e){var t=e.getParentNode();return"declaration"===e.getName()&&Of(t)?t:null},getTypeScriptMappedTypeModifier:function getTypeScriptMappedTypeModifier(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function hasFlowAnnotationComment(e){return e&&kf(e[0])&&Tf.test(e[0].value)},hasFlowShorthandAnnotationComment:function hasFlowShorthandAnnotationComment(e){return e.extra&&e.extra.parenthesized&&Cf(e.trailingComments)&&kf(e.trailingComments[0])&&wf.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:Hf,hasNakedLeftSide:Bf,hasNode:function e(t,n){if(!t||"object"!=_typeof(t))return!1;if(Array.isArray(t))return t.some((function(t){return e(t,n)}));var r=n(t);return"boolean"==typeof r?r:Object.values(t).some((function(t){return e(t,n)}))},hasIgnoreComment:function hasIgnoreComment(e){return id(e.getValue())},hasNodeIgnoreComment:id,identity:function identity(e){return e},isBinaryish:function isBinaryish(e){return $f.has(e.type)},isBlockComment:kf,isCallLikeExpression:ld,isLineComment:Nf,isPrettierIgnoreComment:od,isCallExpression:Uf,isMemberExpression:zf,isExportDeclaration:Of,isFlowAnnotationComment:function isFlowAnnotationComment(e,t){var n=Af(t),r=bf(e,Ff(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function isFunctionCompositionArgs(e){if(e.length<=1)return!1;var _step56,t=0,_iterator56=_createForOfIteratorHelper(e);try{for(_iterator56.s();!(_step56=_iterator56.n()).done;){var _n70=_step56.value;if(Lf(_n70)){if((t+=1)>1)return!0}else if(Uf(_n70)){var _step57,_iterator57=_createForOfIteratorHelper(_n70.arguments);try{for(_iterator57.s();!(_step57=_iterator57.n()).done;)if(Lf(_step57.value))return!0}catch(err){_iterator57.e(err)}finally{_iterator57.f()}}}}catch(err){_iterator56.e(err)}finally{_iterator56.f()}return!1},isFunctionNotation:Vf,isFunctionOrArrowExpression:Lf,isGetterOrSetter:Rf,isJestEachTemplateLiteral:function isJestEachTemplateLiteral(e,t){var n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJsxNode:Mf,isLiteral:function isLiteral(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type},isLongCurriedCallExpression:function isLongCurriedCallExpression(e){var t=e.getValue(),n=e.getParentNode();return Uf(t)&&Uf(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;var r=function r(t){return e(t,n+1)},o="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(o&&o.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((function(e){return!e.value.raw.includes("\n")}))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((function(e){return!e.computed&&(e.shorthand||e.value&&r(e.value))})):"ArrayExpression"===t.type?t.elements.every((function(e){return null===e||r(e)})):"ImportExpression"===t.type?r(t.source):ld(t)?e(t.callee,n)&&t.arguments.every(r):zf(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMemberish:function isMemberish(e){return zf(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:If,isSignedNumericLiteral:function isSignedNumericLiteral(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&If(e.argument)},isObjectType:function isObjectType(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function isObjectTypePropertyAFunction(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Vf(e))},isSimpleType:function isSimpleType(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!qf.has(e.type))},isSimpleNumber:Gf,isSimpleTemplateLiteral:function isSimpleTemplateLiteral(e){var t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");var n=e[t];return 0!==n.length&&n.every((function(e){if(ad(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(zf(e)){for(var _t99=e;zf(_t99);){if("Identifier"!==_t99.property.type&&"Literal"!==_t99.property.type&&"StringLiteral"!==_t99.property.type&&"NumericLiteral"!==_t99.property.type)return!1;if(ad(_t99=_t99.object))return!1}return"Identifier"===_t99.type||"ThisExpression"===_t99.type}return!1}))},isStringLiteral:jf,isStringPropSafeToUnquote:function isStringPropSafeToUnquote(e,t){return"json"!==t.parser&&jf(e.key)&&Xf(e.key).slice(1,-1)===e.key.value&&(yf(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||Gf(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser))},isTemplateOnItsOwnLine:function isTemplateOnItsOwnLine(e,t){return("TemplateLiteral"===e.type&&Jf(e)||"TaggedTemplateExpression"===e.type&&Jf(e.quasi))&&!Ef(t,Af(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(_f(t)&&n&&e(n))return Lf(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return _f(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Wf.test(t.callee.name)||function(e){return zf(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&Wf.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||jf(t.arguments[0])))return!(t.arguments[2]&&!If(t.arguments[2]))&&((2===t.arguments.length?Lf(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&nd(t.arguments[1]).length<=1)||_f(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function isTheOnlyJsxElementInMarkdown(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!Mf(n.expression))return!1;var r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function isTSXFile(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function isTypeAnnotationAFunction(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||xf(e,e.typeAnnotation))},isNextLineEmpty:function isNextLineEmpty(e,_ref66){var t=_ref66.originalText;return vf(t,Ff(e))},needsHardlineAfterDanglingComment:function needsHardlineAfterDanglingComment(e){if(!ad(e))return!1;var t=Df(cd(e,ud.Dangling));return t&&!kf(t)},rawText:Xf,returnArgumentHasLeadingComment:function returnArgumentHasLeadingComment(e,t){if(Hf(e.originalText,t))return!0;if(Bf(t))for(var _r78,_o29=t;_r78=(n=_o29).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(_o29=_r78,Hf(e.originalText,_o29))return!0;var n;return!1},shouldPrintComma:function shouldPrintComma(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function isBitwiseOperator(e){return Boolean(Qf[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function shouldFlatten(e,t){return!(ed(t)!==ed(e)||"**"===e||Yf[e]&&Yf[t]||"%"===t&&Kf[e]||"%"===e&&Kf[t]||t!==e&&Kf[t]&&Kf[e]||Qf[e]&&Qf[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1}},getPrecedence:ed,hasComment:ad,getComments:cd,CommentCheckFlags:ud},fd=rn.getStringWidth,dd=rn.getIndentSize,_Rn$builders3=Rn.builders,hd=_Rn$builders3.join,md=_Rn$builders3.hardline,gd=_Rn$builders3.softline,yd=_Rn$builders3.group,Dd=_Rn$builders3.indent,Ed=_Rn$builders3.align,bd=_Rn$builders3.lineSuffixBoundary,Cd=_Rn$builders3.addAlignmentToDoc,vd=Rn.printer.printDocToString,Ad=Rn.utils.mapDoc,Fd=pd.isBinaryish,xd=pd.isJestEachTemplateLiteral,Sd=pd.isSimpleTemplateLiteral,wd=pd.hasComment,Td=pd.isMemberExpression;function Bd(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var kd={printTemplateLiteral:function printTemplateLiteral(e,t,n){var r=e.getValue();if("TemplateLiteral"===r.type&&xd(r,e.getParentNode())){var _r79=function(e,t,n){var r=e.getNode(),o=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(o.length>1||o.some((function(e){return e.length>0}))){t.__inJestEach=!0;var _i50=e.map(n,"expressions");t.__inJestEach=!1;for(var _u14=[],_s19=_i50.map((function(e){return"${"+vd(e,Object.assign({},t,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"})),_a4=[{hasLineBreak:!1,cells:[]}],_e120=1;_e1200})))),_iterator58=_createForOfIteratorHelper(_p6.filter((function(e){return!e.hasLineBreak})));try{for(_iterator58.s();!(_step58=_iterator58.n()).done;){var _step59,_iterator59=_createForOfIteratorHelper(_step58.value.cells.entries());try{for(_iterator59.s();!(_step59=_iterator59.n()).done;){var _step59$value=_slicedToArray(_step59.value,2),_t101=_step59$value[0],_n72=_step59$value[1];_l6[_t101]=Math.max(_l6[_t101],fd(_n72))}}catch(err){_iterator59.e(err)}finally{_iterator59.f()}}}catch(err){_iterator58.e(err)}finally{_iterator58.f()}return _u14.push(bd,"`",Dd([md,hd(md,_p6.map((function(e){return hd(" | ",e.cells.map((function(t,n){return e.hasLineBreak?t:t+" ".repeat(_l6[n]-fd(t))})))})))]),md,"`"),_u14}}(e,n,t);if(_r79)return _r79}var o="expressions";"TSTemplateLiteralType"===r.type&&(o="types");var i=[],u=e.map(t,o),s=Sd(r);return s&&(u=u.map((function(e){return vd(e,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted}))),i.push(bd,"`"),e.each((function(e){var a=e.getName();if(i.push(t()),a2&&""===_c10[0].trim()&&""===_c10[1].trim(),_d5=_l8>2&&""===_c10[_l8-1].trim()&&""===_c10[_l8-2].trim(),_h5=_c10.every((function(e){return/^\s*(?:#[^\n\r]*)?$/.test(e)}));if(!_s20&&/#[^\n\r]*$/.test(_c10[_l8-1]))return null;var _m4=null;(_m4=_h5?Kd(_c10):n(_a5,{parser:"graphql"},{stripTrailingHardline:!0}))?(_m4=Xd(_m4,!1),!_t103&&_f5&&u.push(""),u.push(_m4),!_s20&&_d5&&u.push("")):_t103||_s20||!_f5||u.push(""),_p8&&u.push(_p8)}return["`",Hd([Jd,Gd(Jd,u)]),Jd,"`"]},_Rn$builders7=Rn.builders,Zd=_Rn$builders7.indent,eh=_Rn$builders7.line,th=_Rn$builders7.hardline,nh=_Rn$builders7.group,rh=Rn.utils.mapDoc,oh=kd.printTemplateExpressions,ih=kd.uncookTemplateElementValue,uh=0,sh=function sh(e,t,n,r,_ref67){var o=_ref67.parser,i=e.getValue(),u=uh;uh=uh+1>>>0;var s=function s(e){return"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(u,"_IN_JS")},a=i.quasis.map((function(e,t,n){return t===n.length-1?e.value.cooked:e.value.cooked+s(t)})).join(""),c=oh(e,t);if(0===c.length&&0===a.trim().length)return"``";var l=new RegExp(s("(\\d+)"),"g"),p=0,f=n(a,{parser:o,__onHtmlRoot:function __onHtmlRoot(e){p=e.children.length}},{stripTrailingHardline:!0}),d=rh(f,(function(e){if("string"!=typeof e)return e;for(var t=[],n=e.split(l),_e125=0;_e1251?Zd(nh(d)):nh(d),m,"`"])},ah=pd.hasComment,ch=pd.CommentCheckFlags;function lh(e){return function(e){var t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var n=t.tag;switch(n.type){case"MemberExpression":return fh(n.object)||dh(n);case"CallExpression":return fh(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(fh(n.callee.object.object)||dh(n.callee.object))||"CallExpression"===n.callee.object.type&&fh(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat(ph))}(e)?"css":function(e){var t=e.getValue(),n=e.getParentNode();return hh(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return hh(e.getValue(),"HTML")||e.match((function(e){return"TemplateLiteral"===e.type}),(function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}))}(e)?"html":function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat(ph))}(e)?"angular":function(e){var t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}var ph=[function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}];function fh(e){return"Identifier"===e.type&&"styled"===e.name}function dh(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function hh(e,t){return ah(e,ch.Block|ch.Leading,(function(_ref68){return _ref68.value===" ".concat(t," ")}))}var mh=function mh(e,t,n,r){var o=e.getValue();if("TemplateLiteral"===o.type&&!o.quasis.some((function(_ref70){return null===_ref70.value.cooked}))){var i=lh(e);return i?"markdown"===i?Ld(e,t,n):"css"===i?zd(e,t,n):"graphql"===i?Qd(e,t,n):"html"===i||"angular"===i?sh(e,t,n,r,{parser:i}):void 0:void 0}},gh=pd.isBlockComment,yh=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Dh=function Dh(e){var _step61,_iterator61=_createForOfIteratorHelper(e.quasis);try{for(_iterator61.s();!(_step61=_iterator61.n()).done;)delete _step61.value.value}catch(err){_iterator61.e(err)}finally{_iterator61.f()}};function Eh(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=_typeof(e.key)||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))){var _step62,_iterator62=_createForOfIteratorHelper(t.children);try{for(_iterator62.s();!(_step62=_iterator62.n()).done;){var _step62$value=_step62.value,_e126=_step62$value.type,_n73=_step62$value.expression;"JSXExpressionContainer"===_e126&&"TemplateLiteral"===_n73.type&&Dh(_n73)}}catch(err){_iterator62.e(err)}finally{_iterator62.f()}}"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&Dh(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));var r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){var _step63,_n74=e.expression.arguments[0].properties,_iterator63=_createForOfIteratorHelper(t.expression.arguments[0].properties.entries());try{for(_iterator63.s();!(_step63=_iterator63.n()).done;){var _step63$value=_slicedToArray(_step63.value,2),_e127=_step63$value[0],_r80=_step63$value[1];switch(_n74[_e127].key.name){case"styles":"ArrayExpression"===_r80.value.type&&Dh(_r80.value.elements[0]);break;case"template":"TemplateLiteral"===_r80.value.type&&Dh(_r80.value)}}}catch(err){_iterator63.e(err)}finally{_iterator63.f()}}return"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||Dh(t.quasi),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some((function(e){return gh(e)&&["GraphQL","HTML"].some((function(t){return e.value===" ".concat(t," ")}))}))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&Dh(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}Eh.ignoredProperties=yh;var bh=Eh,Ch=function Ch(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0!==t.length){var n=t.filter((function(e){return"\r\n"===e})).length;return n>t.length-n?"\r\n":"\n"}},vh=Ch;vh.graceful=function(e){return"string"==typeof e&&Ch(e)||"\n"};var Ah=function Ah(e){var t=e.match(Ph);return t?t[0].trimLeft():""},Fh=function Fh(e){var t=e.match(Ph);return t&&t[0]?e.substring(t[0].length):e},xh=function xh(e){return Rh(e).pragmas},Sh=Rh,wh=function wh(_ref71){var _ref71$comments=_ref71.comments,e=void 0===_ref71$comments?"":_ref71$comments,_ref71$pragmas=_ref71.pragmas,t=void 0===_ref71$pragmas?{}:_ref71$pragmas,n=(0,Bh().default)(e)||Th().EOL,r=" *",o=Object.keys(t),i=o.map((function(e){return Vh(e,t[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return" * "+e+n})).join("");if(!e){if(0===o.length)return"";if(1===o.length&&!Array.isArray(t[o[0]])){var _e128=t[o[0]];return"".concat("/**"," ").concat(Vh(o[0],_e128)[0]).concat(" */")}}var u=e.split(n).map((function(e){return"".concat(r," ").concat(e)})).join(n)+n;return"/**"+n+(e?u:"")+(e&&o.length?r+n:"")+i+" */"};function Th(){var e=Uo;return Th=function Th(){return e},e}function Bh(){var e=function(e){return e&&e.__esModule?e:{default:e}}(vh);return Bh=function Bh(){return e},e}var kh=/\*\/$/,Nh=/^\/\*\*/,Ph=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Oh=/(^|\s+)\/\/([^\r\n]*)/g,Ih=/^(\r?\n)+/,jh=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Lh=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,_h=/(\r?\n|^) *\* ?/g,Mh=[];function Rh(e){var t=(0,Bh().default)(e)||Th().EOL;e=e.replace(Nh,"").replace(kh,"").replace(_h,"$1");for(var n="";n!==e;)n=e,e=e.replace(jh,"".concat(t,"$1 $2").concat(t));e=e.replace(Ih,"").trimRight();for(var i,r=Object.create(null),o=e.replace(Lh,"").replace(Ih,"").trimRight();i=Lh.exec(e);){var _e129=i[2].replace(Oh,"");"string"==typeof r[i[1]]||Array.isArray(r[i[1]])?r[i[1]]=Mh.concat(r[i[1]],_e129):r[i[1]]=_e129}return{comments:o,pragmas:r}}function Vh(e,t){return Mh.concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}var $h=Object.defineProperty({extract:Ah,strip:Fh,parse:xh,parseWithComments:Sh,print:wh},"__esModule",{value:!0}),qh=$h.parseWithComments,Wh=$h.strip,Uh=$h.extract,zh=$h.print,Hh=rn.getShebang,Gh=on.normalizeEndOfLine;function Jh(e){var t=Hh(e);t&&(e=e.slice(t.length+1));var n=Uh(e),_qh=qh(n);return{shebang:t,text:e,pragmas:_qh.pragmas,comments:_qh.comments}}var Xh={hasPragma:function hasPragma(e){var t=Object.keys(Jh(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function insertPragma(e){var _Jh=Jh(e),t=_Jh.shebang,n=_Jh.text,r=_Jh.pragmas,o=_Jh.comments,i=Wh(n),u=zh({pragmas:Object.assign({format:""},r),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+Gh(u)+(i.startsWith("\n")?"\n":"\n\n")+i}},Yh=rn.getLast,Kh=rn.hasNewline,Qh=rn.getNextNonSpaceNonCommentCharacterIndexWithStartIndex,Zh=rn.getNextNonSpaceNonCommentCharacter,em=rn.hasNewlineInRange,tm=rn.addLeadingComment,nm=rn.addTrailingComment,rm=rn.addDanglingComment,om=rn.getNextNonSpaceNonCommentCharacterIndex,im=rn.isNonEmptyArray,um=pd.isBlockComment,sm=pd.getFunctionParameters,am=pd.isPrettierIgnoreComment,cm=pd.isJsxNode,lm=pd.hasFlowShorthandAnnotationComment,pm=pd.hasFlowAnnotationComment,fm=pd.hasIgnoreComment,dm=pd.isCallLikeExpression,hm=pd.getCallArguments,mm=pd.isCallExpression,gm=pd.isMemberExpression,ym=ea.locStart,Dm=ea.locEnd;function Em(e,t){var n=(e.body||e.properties).find((function(_ref72){return"EmptyStatement"!==_ref72.type}));n?tm(n,t):rm(e,t)}function bm(e,t){"BlockStatement"===e.type?Em(e,t):tm(e,t)}function Cm(_ref73){var e=_ref73.comment,t=_ref73.followingNode;return!(!t||!Ym(e)||(tm(t,e),0))}function vm(_ref74){var e=_ref74.comment,t=_ref74.precedingNode,n=_ref74.enclosingNode,r=_ref74.followingNode,o=_ref74.text;return!(!n||"IfStatement"!==n.type||!r||(")"===Zh(o,e,Dm)?(nm(t,e),0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?nm(t,e):rm(n,e),0):"BlockStatement"===r.type?(Em(r,e),0):"IfStatement"===r.type?(bm(r.consequent,e),0):n.consequent!==r||(tm(r,e),0)))}function Am(_ref75){var e=_ref75.comment,t=_ref75.precedingNode,n=_ref75.enclosingNode,r=_ref75.followingNode,o=_ref75.text;return!(!n||"WhileStatement"!==n.type||!r||(")"===Zh(o,e,Dm)?(nm(t,e),0):"BlockStatement"===r.type?(Em(r,e),0):n.body!==r||(tm(r,e),0)))}function Fm(_ref76){var e=_ref76.comment,t=_ref76.precedingNode,n=_ref76.enclosingNode,r=_ref76.followingNode;return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r||("CatchClause"===n.type&&t?(nm(t,e),0):"BlockStatement"===r.type?(Em(r,e),0):"TryStatement"===r.type?(bm(r.finalizer,e),0):"CatchClause"!==r.type||(bm(r.body,e),0)))}function xm(_ref77){var e=_ref77.comment,t=_ref77.enclosingNode,n=_ref77.followingNode;return!(!gm(t)||!n||"Identifier"!==n.type||(tm(t,e),0))}function Sm(_ref78){var e=_ref78.comment,t=_ref78.precedingNode,n=_ref78.enclosingNode,r=_ref78.followingNode,o=_ref78.text,i=t&&!em(o,Dm(t),ym(e));return!(t&&i||!n||"ConditionalExpression"!==n.type&&"TSConditionalType"!==n.type||!r||(tm(r,e),0))}function wm(_ref79){var e=_ref79.comment,t=_ref79.precedingNode,n=_ref79.enclosingNode;return!(!n||"ObjectProperty"!==n.type&&"Property"!==n.type||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type||(nm(n.value.left,e),0))}function Tm(_ref80){var e=_ref80.comment,t=_ref80.precedingNode,n=_ref80.enclosingNode,r=_ref80.followingNode;if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(im(n.decorators)&&(!r||"Decorator"!==r.type))return nm(Yh(n.decorators),e),!0;if(n.body&&r===n.body)return Em(n.body,e),!0;if(r)for(var _i52=0,_arr3=["implements","extends","mixins"];_i52<_arr3.length;_i52++){var _o32=_arr3[_i52];if(n[_o32]&&r===n[_o32][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?rm(n,e,_o32):nm(t,e),!0}}return!1}function Bm(_ref81){var e=_ref81.comment,t=_ref81.precedingNode,n=_ref81.enclosingNode,r=_ref81.text;return(n&&t&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===t.type&&n.key===t&&":"!==Zh(r,t,Dm)||!(!t||!n||"Decorator"!==t.type||"ClassMethod"!==n.type&&"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type&&"TSAbstractClassProperty"!==n.type&&"TSAbstractMethodDefinition"!==n.type&&"TSDeclareMethod"!==n.type&&"MethodDefinition"!==n.type))&&(nm(t,e),!0)}function km(_ref82){var e=_ref82.comment,t=_ref82.precedingNode,n=_ref82.enclosingNode,r=_ref82.text;return"("===Zh(r,e,Dm)&&!(!t||!n||"FunctionDeclaration"!==n.type&&"FunctionExpression"!==n.type&&"ClassMethod"!==n.type&&"MethodDefinition"!==n.type&&"ObjectMethod"!==n.type)&&(nm(t,e),!0)}function Nm(_ref83){var e=_ref83.comment,t=_ref83.enclosingNode,n=_ref83.text;if(!t||"ArrowFunctionExpression"!==t.type)return!1;var r=om(n,e,Dm);return!1!==r&&"=>"===n.slice(r,r+2)&&(rm(t,e),!0)}function Pm(_ref84){var e=_ref84.comment,t=_ref84.enclosingNode,n=_ref84.text;return!(")"!==Zh(n,e,Dm)||(t&&(Xm(t)&&0===sm(t).length||dm(t)&&0===hm(t).length)?(rm(t,e),0):!t||"MethodDefinition"!==t.type&&"TSAbstractMethodDefinition"!==t.type||0!==sm(t.value).length||(rm(t.value,e),0)))}function Om(_ref85){var e=_ref85.comment,t=_ref85.precedingNode,n=_ref85.enclosingNode,r=_ref85.followingNode,o=_ref85.text;if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return nm(t,e),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&Xm(n)&&")"===Zh(o,e,Dm))return nm(t,e),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){var _t105=function(){var e=sm(n);if(e.length>0)return Qh(o,Dm(Yh(e)));var t=Qh(o,Dm(n.id));return!1!==t&&Qh(o,t+1)}();if(ym(e)>_t105)return Em(r,e),!0}return!1}function Im(_ref86){var e=_ref86.comment,t=_ref86.enclosingNode;return!(!t||"ImportSpecifier"!==t.type||(tm(t,e),0))}function jm(_ref87){var e=_ref87.comment,t=_ref87.enclosingNode;return!(!t||"LabeledStatement"!==t.type||(tm(t,e),0))}function Lm(_ref88){var e=_ref88.comment,t=_ref88.enclosingNode;return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label||(nm(t,e),0))}function _m(_ref89){var e=_ref89.comment,t=_ref89.precedingNode,n=_ref89.enclosingNode;return!!(mm(n)&&t&&n.callee===t&&n.arguments.length>0)&&(tm(n.arguments[0],e),!0)}function Mm(_ref90){var e=_ref90.comment,t=_ref90.precedingNode,n=_ref90.enclosingNode,r=_ref90.followingNode;return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&am(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(am(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(nm(t,e),!0))}function Rm(_ref91){var e=_ref91.comment,t=_ref91.enclosingNode;return!(!t||"Property"!==t.type&&"ObjectProperty"!==t.type||(tm(t,e),0))}function Vm(_ref92){var e=_ref92.comment,t=_ref92.enclosingNode,n=_ref92.followingNode,r=_ref92.ast,o=_ref92.isLastComment;return r&&r.body&&0===r.body.length?(o?rm(r,e):tm(r,e),!0):t&&"Program"===t.type&&0===t.body.length&&t.directives&&0===t.directives.length?(o?rm(t,e):tm(t,e),!0):!(!n||"Program"!==n.type||0!==n.body.length||!t||"ModuleExpression"!==t.type||(rm(n,e),0))}function $m(_ref93){var e=_ref93.comment,t=_ref93.enclosingNode;return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type||(tm(t,e),0))}function qm(_ref94){var e=_ref94.comment,t=_ref94.precedingNode,n=_ref94.enclosingNode,r=_ref94.text;return!!(t&&"ImportSpecifier"===t.type&&n&&"ImportDeclaration"===n.type&&Kh(r,Dm(e)))&&(nm(t,e),!0)}function Wm(_ref95){var e=_ref95.comment,t=_ref95.enclosingNode;return!(!t||"AssignmentPattern"!==t.type||(tm(t,e),0))}function Um(_ref96){var e=_ref96.comment,t=_ref96.enclosingNode;return!(!t||"TypeAlias"!==t.type||(tm(t,e),0))}function zm(_ref97){var e=_ref97.comment,t=_ref97.enclosingNode,n=_ref97.followingNode;return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&!um(e)||(tm(n,e),0))}function Hm(_ref98){var e=_ref98.comment,t=_ref98.enclosingNode,n=_ref98.followingNode,r=_ref98.text;return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==Zh(r,e,Dm)||(nm(t,e),0))}function Gm(_ref99){var e=_ref99.comment,t=_ref99.enclosingNode,n=_ref99.followingNode;if(am(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Jm(_ref100){var e=_ref100.comment,t=_ref100.precedingNode,n=_ref100.enclosingNode,r=_ref100.followingNode;return!(!n||"TSMappedType"!==n.type||(r&&"TSTypeParameter"===r.type&&r.name?(tm(r.name,e),0):!t||"TSTypeParameter"!==t.type||!t.constraint||(nm(t.constraint,e),0)))}function Xm(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Ym(e){return um(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Km={handleOwnLineComment:function handleOwnLineComment(e){return[Gm,Om,xm,vm,Am,Fm,Tm,Im,$m,Mm,Vm,qm,Wm,Bm,jm].some((function(t){return t(e)}))},handleEndOfLineComment:function handleEndOfLineComment(e){return[Cm,Om,Sm,Im,vm,Am,Fm,Tm,jm,_m,Rm,Vm,Um,zm].some((function(t){return t(e)}))},handleRemainingComment:function handleRemainingComment(e){return[Gm,vm,Am,wm,Pm,Bm,Vm,Nm,km,Jm,Lm,Hm].some((function(t){return t(e)}))},isTypeCastComment:Ym,getCommentChildNodes:function getCommentChildNodes(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===sm(e.value).length&&!e.value.returnType&&!im(e.value.typeParameters)&&e.value.body)return[].concat(_toConsumableArray(e.decorators||[]),[e.key,e.value.body])},willPrintOwnComments:function willPrintOwnComments(e){var t=e.getValue(),n=e.getParentNode();return(t&&(cm(t)||lm(t)||mm(n)&&(pm(t.leadingComments)||pm(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!fm(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}},Qm=pd.getFunctionParameters,Zm=pd.getLeftSidePathName,eg=pd.hasFlowShorthandAnnotationComment,tg=pd.hasNakedLeftSide,ng=pd.hasNode,rg=pd.isBitwiseOperator,og=pd.startsWithNoLookaheadToken,ig=pd.shouldFlatten,ug=pd.getPrecedence,sg=pd.isCallExpression,ag=pd.isMemberExpression;function cg(e,t){var n=e.getParentNode();if(!n)return!1;var r=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(o)&&lg(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(o))return!1;if("flow"!==t.parser&&eg(e.getValue()))return!0;if("Identifier"===o.type)return!!(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name))||"left"===r&&"async"===o.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"ParenthesizedExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return pg(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===r){for(var _e130=!1,_t106=!1,_n75=o;_n75;)switch(_n75.type){case"MemberExpression":_t106=!0,_n75=_n75.object;break;case"CallExpression":if(_t106||_e130)return!0;_e130=!0,_n75=_n75.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(og(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==o.type&&og(o,!1))return!0}switch(o.type){case"UpdateExpression":if("UnaryExpression"===n.type)return o.prefix&&("++"===o.operator&&"+"===n.operator||"--"===o.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return o.operator===n.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===o.operator)return!0;if("in"===o.operator&&function(e){for(var t=0,n=e.getValue();n;){var _r81=e.getParentNode(t++);if(_r81&&"ForStatement"===_r81.type&&_r81.init===n)return!0;n=_r81}return!1}(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){var _t107=e.getParentNode(1);if("BinaryExpression"===_t107.type&&"|>"===_t107.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==o.type;case"ConditionalExpression":return"TSAsExpression"===o.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":case"AssignmentPattern":return"left"===r&&("TSTypeAssertion"===o.type||"TSAsExpression"===o.type);case"LogicalExpression":if("LogicalExpression"===o.type)return n.operator!==o.operator;case"BinaryExpression":var _e131=o.operator,_t108=o.type;if(!_e131&&"TSTypeAssertion"!==_t108)return!0;var _i53=ug(_e131),_u15=n.operator,_s21=ug(_u15);return _s21>_i53||"right"===r&&_s21===_i53||_s21===_i53&&!ig(_u15,_e131)||(_s21<_i53&&"%"===_e131?"+"===_u15||"-"===_u15:!!rg(_u15));default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;if("expression"===r&&o.argument&&"PipelinePrimaryTopicReference"===o.argument.type&&"PipelineTopicExpression"===n.type)return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"BinaryExpression":return!(!o.argument&&"|>"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":var _t109="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===_t109.type||"IntersectionTypeAnnotation"===_t109.type||"ArrayTypeAnnotation"===_t109.type||"NullableTypeAnnotation"===_t109.type||"FunctionTypeParam"===n.type&&null===n.name&&Qm(o).some((function(e){return e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type}));case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===n.type&&!n.directive){var _t110=e.getParentNode(1);return"Program"===_t110.type||"BlockStatement"===_t110.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof o.value;case"AssignmentExpression":var _t111=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===o.left.type:!("key"===r&&"TSPropertySignature"===n.type||"AssignmentExpression"===n.type||"SequenceExpression"===n.type&&_t111&&"ForStatement"===_t111.type&&(_t111.init===n||_t111.update===n)||"value"===r&&"Property"===n.type&&_t111&&"ObjectPattern"===_t111.type&&_t111.properties.includes(n)||"NGChainedExpression"===n.type));case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return Boolean(o.extra&&o.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":return"NewExpression"===n.type&&"callee"===r;case"OptionalMemberExpression":case"OptionalCallExpression":var _t112=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===_t112.type&&_t112.object===n)return!0;case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type))for(var _e132=o;_e132;)switch(_e132.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":_e132=_e132.object;break;case"TaggedTemplateExpression":_e132=_e132.tag;break;case"TSNonNullExpression":_e132=_e132.expression;break;default:return!1}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&ag(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===n.type||sg(n)&&n.arguments[r]===o||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&!sg(n)&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return ng(e,(function(e){return"ObjectTypeAnnotation"===e.type&&ng(e,(function(e){return"FunctionTypeAnnotation"===e.type||void 0}))||void 0}))}(o)}return!1}function lg(e){var t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(lg);break;case"ObjectProperty":if("value"===r){var _t113=e.getParentNode(1);return ke(_t113.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(lg);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(lg);break;case"UnaryExpression":if(n.prefix)return e.callParent(lg)}return!1}function pg(e,t){var n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!cg(e,t):!(!tg(n)||"ExportDefaultDeclaration"!==r.type&&cg(e,t))&&e.call.apply(e,[function(e){return pg(e,t)}].concat(_toConsumableArray(Zm(e,n))))}var fg=cg,dg=function dg(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}},_Rn$builders8=Rn.builders,hg=_Rn$builders8.join,mg=_Rn$builders8.line,gg=_Rn$builders8.group,yg=_Rn$builders8.softline,Dg=_Rn$builders8.indent,Eg={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function printHtmlBinding(e,t,n){var r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((function(e){var t=hg([",",mg],e.map(n,"params"));return 1===e.getValue().params.length?t:["(",Dg([yg,gg(t)]),yg,")"]}),"program","body",0):t.__isVueBindings?e.call((function(e){return hg([",",mg],e.map(n,"params"))}),"program","body",0):void 0}},bg=up.printComments,Cg=rn.getLast,_Rn$builders9=Rn.builders,vg=_Rn$builders9.join,Ag=_Rn$builders9.line,Fg=_Rn$builders9.softline,xg=_Rn$builders9.group,Sg=_Rn$builders9.indent,wg=_Rn$builders9.align,Tg=_Rn$builders9.ifBreak,Bg=_Rn$builders9.indentIfBreak,_Rn$utils2=Rn.utils,kg=_Rn$utils2.cleanDoc,Ng=_Rn$utils2.getDocParts,Pg=_Rn$utils2.isConcat,Og=pd.hasLeadingOwnLineComment,Ig=pd.isBinaryish,jg=pd.isJsxNode,Lg=pd.shouldFlatten,_g=pd.hasComment,Mg=pd.CommentCheckFlags,Rg=pd.isCallExpression,Vg=pd.isMemberExpression,$g=0;function qg(e,t,n,r,o){var i=[],u=e.getValue();if(Ig(u)){Lg(u.operator,u.left.operator)?i=[].concat(_toConsumableArray(i),_toConsumableArray(e.call((function(e){return qg(e,t,n,!0,o)}),"left"))):i.push(xg(t("left")));var _s22=Wg(u),_a6=("|>"===u.operator||"NGPipeExpression"===u.type||"|"===u.operator&&"__vue_expression"===n.parser)&&!Og(n.originalText,u.right),_c11="NGPipeExpression"===u.type?"|":u.operator,_l9="NGPipeExpression"===u.type&&u.arguments.length>0?xg(Sg([Fg,": ",vg([Fg,":",Tg(" ")],e.map(t,"arguments").map((function(e){return wg(2,xg(e))})))])):"",_p9=_s22?[_c11," ",t("right"),_l9]:[_a6?Ag:"",_c11,_a6?" ":Ag,t("right"),_l9],_f6=e.getParentNode(),_d6=_g(u.left,Mg.Trailing|Mg.Line),_h6=_d6||!(o&&"LogicalExpression"===u.type)&&_f6.type!==u.type&&u.left.type!==u.type&&u.right.type!==u.type;if(i.push(_a6?"":" ",_h6?xg(_p9,{shouldBreak:_d6}):_p9),r&&_g(u)){var _t114=kg(bg(e,i,n));i=Pg(_t114)||"fill"===_t114.type?Ng(_t114):[_t114]}}else i.push(xg(t()));return i}function Wg(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||!!jg(e.right))}var Ug={printBinaryishExpression:function printBinaryishExpression(e,t,n){var r=e.getValue(),o=e.getParentNode(),i=e.getParentNode(1),u=r!==o.body&&("IfStatement"===o.type||"WhileStatement"===o.type||"SwitchStatement"===o.type||"DoWhileStatement"===o.type),s=qg(e,n,t,!1,u);if(u)return s;if(Rg(o)&&o.callee===r||"UnaryExpression"===o.type||Vg(o)&&!o.computed)return xg([Sg([Fg].concat(_toConsumableArray(s))),Fg]);var a="ReturnStatement"===o.type||"ThrowStatement"===o.type||"JSXExpressionContainer"===o.type&&"JSXAttribute"===i.type||"|"!==r.operator&&"JsExpressionRoot"===o.type||"NGPipeExpression"!==r.type&&("NGRoot"===o.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===o.type&&"NGMicrosyntax"===i.type&&1===i.body.length)||r===o.body&&"ArrowFunctionExpression"===o.type||r!==o.body&&"ForStatement"===o.type||"ConditionalExpression"===o.type&&"ReturnStatement"!==i.type&&"ThrowStatement"!==i.type&&!Rg(i)||"TemplateLiteral"===o.type,c="AssignmentExpression"===o.type||"VariableDeclarator"===o.type||"ClassProperty"===o.type||"PropertyDefinition"===o.type||"TSAbstractClassProperty"===o.type||"ClassPrivateProperty"===o.type||"ObjectProperty"===o.type||"Property"===o.type,l=Ig(r.left)&&Lg(r.operator,r.left.operator);if(a||Wg(r)&&!l||!Wg(r)&&c)return xg(s);if(0===s.length)return"";var p=jg(r.right),f=s.findIndex((function(e){return"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type})),d=s.slice(0,-1===f?1:f+1),h=s.slice(d.length,p?-1:void 0),m=Symbol("logicalChain-"+ ++$g),g=xg([].concat(_toConsumableArray(d),[Sg(h)]),{id:m});if(!p)return g;var y=Cg(s);return xg([g,Bg(y,{groupId:m})])},shouldInlineLogicalExpression:Wg},_Rn$builders10=Rn.builders,zg=_Rn$builders10.join,Hg=_Rn$builders10.line,Gg=_Rn$builders10.group,Jg=pd.hasNode,Xg=pd.hasComment,Yg=pd.getComments,Kg=Ug.printBinaryishExpression;function Qg(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var Zg={printAngular:function printAngular(e,t,n){var r=e.getValue();switch(r.type){case"NGRoot":return[n("node"),Xg(r.node)?" //"+Yg(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return Kg(e,t,n);case"NGChainedExpression":return Gg(zg([";",Hg],e.map((function(e){return function(e){return Jg(e.getValue(),(function(e){switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?n():["(",n(),")"]}),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map((function(e,t){return[0===t?"":Qg(e.getValue(),t,r)?" ":[";",Hg],n()]}),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),null===r.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":var _t115=e.getName(),_o33=e.getParentNode(),_i54=Qg(r,_t115,_o33)||(1===_t115&&("then"===r.key.name||"else"===r.key.name)||2===_t115&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===_o33.body[_t115-1].type&&"then"===_o33.body[_t115-1].key.name)&&"NGMicrosyntaxExpression"===_o33.body[0].type;return[n("key"),_i54?" ":": ",n("expression")];case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")]}}},ey=up.printComments,ty=up.printDanglingComments,_Rn$builders11=Rn.builders,ny=_Rn$builders11.line,ry=_Rn$builders11.hardline,oy=_Rn$builders11.softline,iy=_Rn$builders11.group,uy=_Rn$builders11.indent,sy=_Rn$builders11.conditionalGroup,ay=_Rn$builders11.fill,cy=_Rn$builders11.ifBreak,ly=_Rn$builders11.lineSuffixBoundary,py=_Rn$builders11.join,fy=Rn.utils.willBreak,dy=rn.getLast,hy=rn.getPreferredQuote,my=pd.isJsxNode,gy=pd.rawText,yy=pd.isLiteral,Dy=pd.isCallExpression,Ey=pd.isStringLiteral,by=pd.isBinaryish,Cy=pd.hasComment,vy=pd.CommentCheckFlags,Ay=pd.hasNodeIgnoreComment,Fy=Km.willPrintOwnComments,xy=function xy(e){return""===e||e===ny||e===ry||e===oy};function Sy(e,t,n){var r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return yy(t)&&!Iy(t)}(r))return[n("openingElement"),n("closingElement")];var o="JSXElement"===r.type?n("openingElement"):n("openingFragment"),i="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[o].concat(_toConsumableArray(e.map(n,"children")),[i]);r.children=r.children.map((function(e){return function(e){return"JSXExpressionContainer"===e.type&&yy(e.expression)&&" "===e.expression.value&&!Cy(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e}));for(var u=r.children.filter(my).length>0,s=r.children.filter((function(e){return"JSXExpressionContainer"===e.type})).length>1,a="JSXElement"===r.type&&r.openingElement.attributes.length>1,c=fy(o)||u||a||s,l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=l?" ":cy([p,oy]," "),d=function(e,t,n,r,o){var i=[];return e.each((function(e,t,u){var s=e.getValue();if(yy(s)){var _e133=gy(s);if(Iy(s)){var _a7,_n76=_e133.split(Ny);if(""===_n76[0]){if(i.push(""),_n76.shift(),/\n/.test(_n76[0])){var _e134=u[t+1];i.push(Ty(o,_n76[1],s,_e134))}else i.push(r);_n76.shift()}if(""===dy(_n76)&&(_n76.pop(),_a7=_n76.pop()),0===_n76.length)return;var _step64,_iterator64=_createForOfIteratorHelper(_n76.entries());try{for(_iterator64.s();!(_step64=_iterator64.n()).done;){var _step64$value=_slicedToArray(_step64.value,2),_e137=_step64$value[0],_t116=_step64$value[1];_e137%2==1?i.push(ny):i.push(_t116)}}catch(err){_iterator64.e(err)}finally{_iterator64.f()}if(void 0!==_a7)if(/\n/.test(_a7)){var _e135=u[t+1];i.push(Ty(o,dy(i),s,_e135))}else i.push(r);else{var _e136=u[t+1];i.push(wy(o,dy(i),s,_e136))}}else/\n/.test(_e133)?_e133.match(/\n/g).length>1&&i.push("",ry):i.push("",r)}else{var _e138=n();i.push(_e138);var _r82=u[t+1];if(_r82&&Iy(_r82)){var _e139=Oy(gy(_r82)).split(Ny)[0];i.push(wy(o,_e139,s,_r82))}else i.push(ry)}}),"children"),i}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some((function(e){return Iy(e)})),_e140=d.length-2;_e140>=0;_e140--){var _t117=""===d[_e140]&&""===d[_e140+1],_n77=d[_e140]===ry&&""===d[_e140+1]&&d[_e140+2]===ry,_r83=(d[_e140]===oy||d[_e140]===ry)&&""===d[_e140+1]&&d[_e140+2]===f,_o34=d[_e140]===f&&""===d[_e140+1]&&(d[_e140+2]===oy||d[_e140+2]===ry),_i55=d[_e140]===f&&""===d[_e140+1]&&d[_e140+2]===f,_u16=d[_e140]===oy&&""===d[_e140+1]&&d[_e140+2]===ry||d[_e140]===ry&&""===d[_e140+1]&&d[_e140+2]===oy;_n77&&h||_t117||_r83||_i55||_u16?d.splice(_e140,2):_o34&&d.splice(_e140+1,2)}for(;d.length>0&&xy(dy(d));)d.pop();for(;d.length>1&&xy(d[0])&&xy(d[1]);)d.shift(),d.shift();var _step65,m=[],_iterator65=_createForOfIteratorHelper(d.entries());try{for(_iterator65.s();!(_step65=_iterator65.n()).done;){var _step65$value=_slicedToArray(_step65.value,2),_e141=_step65$value[0],_t118=_step65$value[1];if(_t118===f){if(1===_e141&&""===d[_e141-1]){if(2===d.length){m.push(p);continue}m.push([p,ry]);continue}if(_e141===d.length-1){m.push(p);continue}if(""===d[_e141-1]&&d[_e141-2]===ry){m.push(p);continue}}m.push(_t118),fy(_t118)&&(c=!0)}}catch(err){_iterator65.e(err)}finally{_iterator65.f()}var g=h?ay(m):iy(m,{shouldBreak:!0});if(l)return g;var y=iy([o,uy([ry,g]),ry,i]);return c?y:sy([iy([o].concat(_toConsumableArray(d),[i])),y])}function wy(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?oy:ry:oy}function Ty(e,t,n,r){return e?ry:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?ry:oy:ry}function By(e,t,n){return function(e,t,n){var r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;var o=e.match(void 0,(function(e){return"ArrowFunctionExpression"===e.type}),Dy,(function(e){return"JSXExpressionContainer"===e.type})),i=fg(e,n);return iy([i?"":cy("("),uy([oy,t]),oy,i?"":cy(")")],{shouldBreak:o})}(e,ey(e,Sy(e,t,n),t),t)}function ky(e,t,n){var r=e.getValue();return["{",e.call((function(e){var r=["...",n()],o=e.getValue();return Cy(o)&&Fy(e)?[uy([oy,ey(e,r,t)]),oy]:r}),"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}var Ny=new RegExp("([ \n\r\t]+)"),Py=new RegExp("[^ \n\r\t]"),Oy=function Oy(e){return e.replace(new RegExp("(?:^"+Ny.source+"|"+Ny.source+"$)"),"")};function Iy(e){return yy(e)&&(Py.test(gy(e))||!/\n/.test(gy(e)))}var jy={hasJsxIgnoreComment:function hasJsxIgnoreComment(e){var t=e.getValue(),n=e.getParentNode();if(!(n&&t&&my(t)&&my(n)))return!1;for(var r=null,_e142=n.children.indexOf(t);_e142>0;_e142--){var _t119=n.children[_e142-1];if("JSXText"!==_t119.type||Iy(_t119)){r=_t119;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&Ay(r.expression)},printJsx:function printJsx(e,t,n){var r=e.getValue();switch(r.type){case"JSXAttribute":return function(e,t,n){var r=e.getValue(),o=[];if(o.push(n("name")),r.value){var _e143;if(Ey(r.value)){var _n78=gy(r.value).replace(/'/g,"'").replace(/"/g,'"'),_o35=hy(_n78,t.jsxSingleQuote?"'":'"'),_i56="'"===_o35?"'":""";_e143=[_o35,_n78=_n78.slice(1,-1).replace(new RegExp(_o35,"g"),_i56),_o35]}else _e143=n("value");o.push("=",_e143)}return o}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return py(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return py(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return ky(e,t,n);case"JSXExpressionContainer":return function(e,t,n){var r=e.getValue(),o=e.getParentNode(0),i="JSXEmptyExpression"===r.expression.type||!Cy(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||Dy(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||my(o)&&("ConditionalExpression"===r.expression.type||by(r.expression)));return iy(i?["{",n("expression"),ly,"}"]:["{",uy([oy,n("expression")]),oy,ly,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return By(e,t,n);case"JSXOpeningElement":return function(e,t,n){var r=e.getValue(),o=r.name&&Cy(r.name)||r.typeParameters&&Cy(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!o)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Ey(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!o&&!Cy(r.attributes[0]))return iy(["<",n("name"),n("typeParameters")," "].concat(_toConsumableArray(e.map(n,"attributes")),[r.selfClosing?" />":">"]));var i=r.attributes.length>0&&Cy(dy(r.attributes),vy.Trailing),u=0===r.attributes.length&&!o||t.jsxBracketSameLine&&(!o||r.attributes.length>0)&&!i,s=r.attributes&&r.attributes.some((function(e){return e.value&&Ey(e.value)&&e.value.value.includes("\n")}));return iy(["<",n("name"),n("typeParameters"),uy(e.map((function(){return[ny,n()]}),"attributes")),r.selfClosing?ny:u?">":oy,r.selfClosing?"/>":u?"":">"],{shouldBreak:s})}(e,t,n);case"JSXClosingElement":return function(e,t,n){var r=e.getValue(),o=[];o.push(""),o}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){var n=e.getValue(),r=Cy(n),o=Cy(n,vy.Line),i="JSXOpeningFragment"===n.type;return[i?"<":""]}(e,t);case"JSXEmptyExpression":return function(e,t){var n=e.getValue(),r=Cy(n,vy.Line);return[ty(e,t,!r),r?ry:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}}},Ly=rn.isNonEmptyArray,_Rn$builders12=Rn.builders,_y=_Rn$builders12.indent,My=_Rn$builders12.join,Ry=_Rn$builders12.line,Vy=pd.isFlowAnnotationComment,$y={printOptionalToken:function printOptionalToken(e){var t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printFunctionTypeParameters:function printFunctionTypeParameters(e,t,n){var r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function printBindExpressionCallee(e,t,n){return["::",n("callee")]},printTypeScriptModifiers:function printTypeScriptModifiers(e,t,n){var r=e.getValue();return Ly(r.modifiers)?[My(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:function printTypeAnnotation(e,t,n){var r=e.getValue();if(!r.typeAnnotation)return"";var o=e.getParentNode(),i=r.definite||o&&"VariableDeclarator"===o.type&&o.definite,u="DeclareFunction"===o.type&&o.id===r;return Vy(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[u?"":i?"!: ":": ",n("typeAnnotation")]},adjustClause:function adjustClause(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:_y([Ry,t])}},qy=up.printDanglingComments,_Rn$builders13=Rn.builders,Wy=_Rn$builders13.line,Uy=_Rn$builders13.softline,zy=_Rn$builders13.hardline,Hy=_Rn$builders13.group,Gy=_Rn$builders13.indent,Jy=_Rn$builders13.ifBreak,Xy=_Rn$builders13.fill,Yy=rn.getLast,Ky=rn.hasNewline,Qy=pd.shouldPrintComma,Zy=pd.hasComment,eD=pd.CommentCheckFlags,tD=pd.isNextLineEmpty,nD=pd.isNumericLiteral,rD=pd.isSignedNumericLiteral,oD=ea.locStart,iD=$y.printOptionalToken,uD=$y.printTypeAnnotation;function sD(e,t){return e.elements.length>1&&e.elements.every((function(e){return e&&(nD(e)||rD(e)&&!Zy(e.argument))&&!Zy(e,eD.Trailing|eD.Line,(function(e){return!Ky(t.originalText,oD(e),{backwards:!0})}))}))}function aD(e,t,n,r){var o=[],i=[];return e.each((function(e){o.push(i,Hy(r())),i=[",",Wy],e.getValue()&&tD(e.getValue(),t)&&i.push(Uy)}),n),o}function cD(e,t,n,r){var o=[];return e.each((function(e,i,u){var s=i===u.length-1;o.push([n(),s?r:","]),s||o.push(tD(e.getValue(),t)?[zy,zy]:Zy(u[i+1],eD.Leading|eD.Line)?zy:Wy)}),"elements"),Xy(o)}var lD={printArray:function printArray(e,t,n){var r=e.getValue(),o=[],i="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)Zy(r,eD.Dangling)?o.push(Hy([i,qy(e,t),Uy,"]"])):o.push(i,"]");else{var _u17=Yy(r.elements),_s23=!(_u17&&"RestElement"===_u17.type),_a8=null===_u17,_c12=Symbol("array"),_l10=!t.__inJestEach&&r.elements.length>1&&r.elements.every((function(e,t,n){var r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;var o=n[t+1];if(o&&r!==o.type)return!1;var i="ArrayExpression"===r?"elements":"properties";return e[i]&&e[i].length>1})),_p10=sD(r,t),_f7=_s23?_a8?",":Qy(t)?_p10?Jy(",","",{groupId:_c12}):Jy(","):"":"";o.push(Hy([i,Gy([Uy,_p10?cD(e,t,n,_f7):[aD(e,t,"elements",n),_f7],qy(e,t,!0)]),Uy,"]"],{shouldBreak:_l10,id:_c12}))}return o.push(iD(e),uD(e,t,n)),o},printArrayItems:aD,isConciselyPrintedArray:sD},pD=up.printDanglingComments,fD=rn.getLast,dD=rn.getPenultimate,hD=pd.getFunctionParameters,mD=pd.hasComment,gD=pd.CommentCheckFlags,yD=pd.isFunctionCompositionArgs,DD=pd.isJsxNode,ED=pd.isLongCurriedCallExpression,bD=pd.shouldPrintComma,CD=pd.getCallArguments,vD=pd.iterateCallArgumentsPath,AD=pd.isNextLineEmpty,FD=pd.isCallExpression,_Rn$builders14=Rn.builders,xD=_Rn$builders14.line,SD=_Rn$builders14.hardline,wD=_Rn$builders14.softline,TD=_Rn$builders14.group,BD=_Rn$builders14.indent,kD=_Rn$builders14.conditionalGroup,ND=_Rn$builders14.ifBreak,PD=_Rn$builders14.breakParent,OD=Rn.utils.willBreak,ID=uo.ArgExpansionBailout,jD=lD.isConciselyPrintedArray;function LD(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||mD(e))||"ArrayExpression"===e.type&&(e.elements.length>0||mD(e))||"TSTypeAssertion"===e.type&&LD(e.expression)||"TSAsExpression"===e.type&&LD(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||"BlockStatement"===(n=e.body).type&&(n.body.some((function(e){return"EmptyStatement"!==e.type}))||mD(n,gD.Dangling)))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&LD(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(FD(e.body)||"ConditionalExpression"===e.body.type)||DD(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}var _D=function _D(e,t,n){var r=e.getValue(),o="ImportExpression"===r.type,i=CD(r);if(0===i.length)return["(",pD(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===hD(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((function(e){return mD(e)}))}(i))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var u=!1,s=!1,a=i.length-1,c=[];vD(e,(function(e,r){var o=e.getNode(),i=[n()];r===a||(AD(o,t)?(0===r&&(s=!0),u=!0,i.push(",",SD,SD)):i.push(",",xD)),c.push(i)}));var l=o||r.callee&&"Import"===r.callee.type||!bD(t,"all")?"":",";function p(){return TD(["(",BD([xD].concat(c)),l,xD,")"],{shouldBreak:!0})}if(u||"Decorator"!==e.getParentNode().type&&yD(i))return p();var f=function(e){if(2!==e.length)return!1;var _e144=_slicedToArray(e,2),t=_e144[0],n=_e144[1];return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&"ObjectProperty"===e.properties[0].type&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&"StringLiteral"===e.properties[0].value.type&&"module"===e.properties[0].value.value}(n))||!mD(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!LD(n)}(i),d=function(e,t){var n=fD(e),r=dD(e);return!mD(n,gD.Leading)&&!mD(n,gD.Trailing)&&LD(n)&&(!r||r.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==r.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&jD(n,t))}(i,t);if(f||d){if(f?c.slice(1).some(OD):c.slice(0,-1).some(OD))return p();var _t120=[];try{e.try((function(){vD(e,(function(e,r){f&&0===r&&(_t120=[[n([],{expandFirstArg:!0}),c.length>1?",":"",s?SD:xD,s?SD:""]].concat(_toConsumableArray(c.slice(1)))),d&&r===a&&(_t120=[].concat(_toConsumableArray(c.slice(0,-1)),[n([],{expandLastArg:!0})]))}))}))}catch(e){if(e instanceof ID)return p();throw e}return[c.some(OD)?PD:"",kD([["("].concat(_toConsumableArray(_t120),[")"]),f?["(",TD(_t120[0],{shouldBreak:!0})].concat(_toConsumableArray(_t120.slice(1)),[")"]):["("].concat(_toConsumableArray(c.slice(0,-1)),[TD(fD(_t120),{shouldBreak:!0}),")"]),p()])]}var h=["(",BD([wD].concat(c)),ND(l),wD,")"];return ED(e)?h:TD(h,{shouldBreak:c.some(OD)||u})},_Rn$builders15=Rn.builders,MD=_Rn$builders15.softline,RD=_Rn$builders15.group,VD=_Rn$builders15.indent,$D=_Rn$builders15.label,qD=pd.isNumericLiteral,WD=pd.isMemberExpression,UD=pd.isCallExpression,zD=$y.printOptionalToken;function HD(e,t,n){var r=n("property"),o=e.getValue(),i=zD(e);return o.computed?!o.property||qD(o.property)?[i,"[",r,"]"]:RD([i,"[",VD([MD,r]),MD,"]"]):[i,".",r]}var GD={printMemberExpression:function printMemberExpression(e,t,n){var i,r=e.getValue(),o=e.getParentNode(),u=0;do{i=e.getParentNode(u),u++}while(i&&(WD(i)||"TSNonNullExpression"===i.type));var s=n("object"),a=HD(e,t,n),c=i&&("NewExpression"===i.type||"BindExpression"===i.type||"AssignmentExpression"===i.type&&"Identifier"!==i.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&!WD(o)||("AssignmentExpression"===o.type||"VariableDeclarator"===o.type)&&(UD(r.object)&&r.object.arguments.length>0||"TSNonNullExpression"===r.object.type&&UD(r.object.expression)&&r.object.expression.arguments.length>0||"member-chain"===s.label);return $D("member-chain"===s.label?"member-chain":"member",[s,c?a:RD(VD([MD,a]))])},printMemberLookup:HD},JD=up.printComments,XD=rn.getLast,YD=rn.isNextLineEmptyAfterIndex,KD=rn.getNextNonSpaceNonCommentCharacterIndex,QD=pd.isCallExpression,ZD=pd.isMemberExpression,eE=pd.isFunctionOrArrowExpression,tE=pd.isLongCurriedCallExpression,nE=pd.isMemberish,rE=pd.isNumericLiteral,oE=pd.isSimpleCallArgument,iE=pd.hasComment,uE=pd.CommentCheckFlags,sE=pd.isNextLineEmpty,aE=ea.locEnd,_Rn$builders16=Rn.builders,cE=_Rn$builders16.join,lE=_Rn$builders16.hardline,pE=_Rn$builders16.group,fE=_Rn$builders16.indent,dE=_Rn$builders16.conditionalGroup,hE=_Rn$builders16.breakParent,mE=_Rn$builders16.label,gE=Rn.utils.willBreak,yE=GD.printMemberLookup,DE=$y.printOptionalToken,EE=$y.printFunctionTypeParameters,bE=$y.printBindExpressionCallee,CE=function CE(e,t,n){var r=e.getParentNode(),o=!r||"ExpressionStatement"===r.type,i=[];function u(e){var n=t.originalText,r=KD(n,e,aE);return")"===n.charAt(r)?!1!==r&&YD(n,r+1):sE(e,t)}function s(e){var r=e.getValue();QD(r)&&(nE(r.callee)||QD(r.callee))?(i.unshift({node:r,printed:[JD(e,[DE(e),EE(e,t,n),_D(e,t,n)],t),u(r)?lE:""]}),e.call((function(e){return s(e)}),"callee")):nE(r)?(i.unshift({node:r,needsParens:fg(e,t),printed:JD(e,ZD(r)?yE(e,t,n):bE(e,t,n),t)}),e.call((function(e){return s(e)}),"object")):"TSNonNullExpression"===r.type?(i.unshift({node:r,printed:JD(e,"!",t)}),e.call((function(e){return s(e)}),"expression")):i.unshift({node:r,printed:n()})}var a=e.getValue();i.unshift({node:a,printed:[DE(e),EE(e,t,n),_D(e,t,n)]}),a.callee&&e.call((function(e){return s(e)}),"callee");for(var c=[],l=[i[0]],p=1;p0&&c.push(l);var h=c.length>=2&&!iE(c[1][0].node)&&function(e){var n=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){var _r84=e[0][0].node;return"ThisExpression"===_r84.type||"Identifier"===_r84.type&&(d(_r84.name)||o&&function(e){return e.length<=t.tabWidth}(_r84.name)||n)}var r=XD(e[0]).node;return ZD(r)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(c);function m(e){var t=e.map((function(e){return e.printed}));return e.length>0&&XD(e).needsParens?["("].concat(_toConsumableArray(t),[")"]):t}var g=c.map(m),y=g,D=h?3:2,E=Ws(c),b=E.slice(1,-1).some((function(e){return iE(e.node,uE.Leading)}))||E.slice(0,-1).some((function(e){return iE(e.node,uE.Trailing)}))||c[D]&&iE(c[D][0].node,uE.Leading);if(c.length<=D&&!b)return tE(e)?y:pE(y);var x,C=XD(c[h?1:0]).node,v=!QD(C)&&u(C),A=[m(c[0]),h?c.slice(1,2).map(m):"",v?lE:"",function(e){return 0===e.length?"":fE(pE([lE,cE(lE,e.map(m))]))}(c.slice(h?2:1))],F=i.map((function(_ref101){return _ref101.node})).filter(QD);return x=b||F.length>2&&F.some((function(e){return!e.arguments.every((function(e){return oE(e,0)}))}))||g.slice(0,-1).some(gE)||function(){var e=XD(XD(c)).node,t=XD(g);return QD(e)&&gE(t)&&F.slice(0,-1).some((function(e){return e.arguments.some(eE)}))}()?pE(A):[gE(y)||v?hE:"",dE([y,A])],mE("member-chain",x)},_Rn$builders17=Rn.builders,vE=_Rn$builders17.join,AE=_Rn$builders17.group,FE=pd.getCallArguments,xE=pd.hasFlowAnnotationComment,SE=pd.isCallExpression,wE=pd.isMemberish,TE=pd.isStringLiteral,BE=pd.isTemplateOnItsOwnLine,kE=pd.isTestCall,NE=pd.iterateCallArgumentsPath,PE=$y.printOptionalToken,OE=$y.printFunctionTypeParameters,IE={printCallExpression:function printCallExpression(e,t,n){var r=e.getValue(),o=e.getParentNode(),i="NewExpression"===r.type,u="ImportExpression"===r.type,s=PE(e),a=FE(r);if(a.length>0&&(!u&&!i&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){var _n79=FE(e);return"ExpressionStatement"===t.type&&(1===_n79.length||2===_n79.length&&"ArrayExpression"===_n79[0].type||3===_n79.length&&TE(_n79[0])&&"ArrayExpression"===_n79[1].type)}return!1}(r,o)||1===a.length&&BE(a[0],t.originalText)||!i&&kE(r,o))){var _r85=[];return NE(e,(function(){_r85.push(n())})),[i?"new ":"",n("callee"),s,OE(e,t,n),"(",vE(", ",_r85),")"]}var c=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&xE(r.callee.trailingComments);if(c&&(r.callee.trailingComments[0].printed=!0),!u&&!i&&wE(r.callee)&&!e.call((function(e){return fg(e,t)}),"callee"))return CE(e,t,n);var l=[i?"new ":"",u?"import":n("callee"),s,c?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",OE(e,t,n),_D(e,t,n)];return u||SE(r.callee)?AE(l):l}},jE=rn.isNonEmptyArray,LE=rn.getStringWidth,_Rn$builders18=Rn.builders,_E=_Rn$builders18.line,ME=_Rn$builders18.group,RE=_Rn$builders18.indent,VE=_Rn$builders18.indentIfBreak,$E=Rn.utils.cleanDoc,qE=pd.hasLeadingOwnLineComment,WE=pd.isBinaryish,UE=pd.isStringLiteral,zE=pd.isLiteral,HE=pd.isNumericLiteral,GE=pd.isCallExpression,JE=pd.isMemberExpression,XE=pd.getCallArguments,YE=pd.rawText,KE=pd.hasComment,QE=pd.isSignedNumericLiteral,ZE=Ug.shouldInlineLogicalExpression,eb=IE.printCallExpression;function tb(e,t,n,r,o,i){var u=function(e,t,n,r,o){var i=e.getValue(),u=i[o];if(!u)return"only-left";var s=!nb(u);if(e.match(nb,rb,(function(e){return!s||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type})))return s?"ArrowFunctionExpression"===u.type&&"ArrowFunctionExpression"===u.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!s&&nb(u.right)||qE(t.originalText,u))return"break-after-operator";if("CallExpression"===u.type&&"require"===u.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(rb(e)){var _t121=e.left||e.id;return"ObjectPattern"===_t121.type&&_t121.properties.length>2&&_t121.properties.some((function(e){return("ObjectProperty"===e.type||"Property"===e.type)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)}))}return!1}(i))return"break-lhs";var a=function(e,t,n){if("ObjectProperty"!==e.type&&"Property"!==e.type)return!1;var r=3;return"string"==typeof(t=$E(t))&&LE(t)3&&void 0!==arguments[3]&&arguments[3],o=e.getValue(),i=function i(){return ob(e,t,n,!0)};if("TSNonNullExpression"===o.type)return e.call(i,"expression");if(GE(o)){if("member-chain"===eb(e,t,n).label)return!1;var _r86=XE(o);return!!(0===_r86.length||1===_r86.length&&function(e,_ref102){var t=_ref102.printWidth;if(KE(e))return!1;var n=.25*t;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||QE(e)&&!KE(e.argument))return!0;var r="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return r?r.length<=n:UE(e)?YE(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):zE(e)}(_r86[0],t))&&e.call(i,"callee")}return JE(o)?e.call(i,"object"):r&&("Identifier"===o.type||"ThisExpression"===o.type)}var ib={printVariableDeclarator:function printVariableDeclarator(e,t,n){return tb(e,t,n,n("id")," =","init")},printAssignmentExpression:function printAssignmentExpression(e,t,n){var r=e.getValue();return tb(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:tb},ub=rn.getNextNonSpaceNonCommentCharacter,sb=up.printDanglingComments,_Rn$builders19=Rn.builders,ab=_Rn$builders19.line,cb=_Rn$builders19.hardline,lb=_Rn$builders19.softline,pb=_Rn$builders19.group,fb=_Rn$builders19.indent,db=_Rn$builders19.ifBreak,_Rn$utils3=Rn.utils,hb=_Rn$utils3.removeLines,mb=_Rn$utils3.willBreak,gb=pd.getFunctionParameters,yb=pd.iterateFunctionParametersPath,Db=pd.isSimpleType,Eb=pd.isTestCall,bb=pd.isTypeAnnotationAFunction,Cb=pd.isObjectType,vb=pd.isObjectTypePropertyAFunction,Ab=pd.hasRestParameter,Fb=pd.shouldPrintComma,xb=pd.hasComment,Sb=pd.isNextLineEmpty,wb=ea.locEnd,Tb=uo.ArgExpansionBailout,Bb=$y.printFunctionTypeParameters;function kb(e){if(!e)return!1;var t=gb(e);if(1!==t.length)return!1;var n=_slicedToArray(t,1)[0];return!xb(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&Cb(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&Cb(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var Nb={printFunctionParameters:function printFunctionParameters(e,t,n,r,o){var i=e.getValue(),u=gb(i),s=o?Bb(e,n,t):"";if(0===u.length)return[s,"(",sb(e,n,!0,(function(e){return")"===ub(n.originalText,e,wb)})),")"];var a=e.getParentNode(),c=Eb(a),l=kb(i),p=[];if(yb(e,(function(e,r){var o=r===u.length-1;o&&i.rest&&p.push("..."),p.push(t()),o||(p.push(","),c||l?p.push(" "):Sb(u[r],n)?p.push(cb,cb):p.push(ab))})),r){if(mb(s)||mb(p))throw new Tb;return pb([hb(s),"(",hb(p),")"])}var f=u.every((function(e){return!e.decorators}));return l&&f||c?[s,"("].concat(p,[")"]):(vb(a)||bb(a)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===i)&&1===u.length&&null===u[0].name&&i.this!==u[0]&&u[0].typeAnnotation&&null===i.typeParameters&&Db(u[0].typeAnnotation)&&!i.rest?"always"===n.arrowParens?["("].concat(p,[")"]):p:[s,"(",fb([lb].concat(p)),db(!Ab(i)&&Fb(n,"all")?",":""),lb,")"]},shouldHugFunctionParameters:kb,shouldGroupFunctionParameters:function shouldGroupFunctionParameters(e,t){var n=function(e){var t;return e.returnType?(t=e.returnType).typeAnnotation&&(t=t.typeAnnotation):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!n)return!1;var r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){var _e147=r[0];if(_e147.constraint||_e147.default)return!1}}return 1===gb(e).length&&(Cb(n)||mb(t))}},Pb=up.printComments,Ob=up.printDanglingComments,Ib=rn.getLast,_Rn$builders20=Rn.builders,jb=_Rn$builders20.group,Lb=_Rn$builders20.join,_b=_Rn$builders20.line,Mb=_Rn$builders20.softline,Rb=_Rn$builders20.indent,Vb=_Rn$builders20.align,$b=_Rn$builders20.ifBreak,qb=ea.locStart,Wb=pd.isSimpleType,Ub=pd.isObjectType,zb=pd.hasLeadingOwnLineComment,Hb=pd.isObjectTypePropertyAFunction,Gb=pd.shouldPrintComma,Jb=ib.printAssignment,Xb=Nb.printFunctionParameters,Yb=Nb.shouldGroupFunctionParameters,Kb=lD.printArrayItems;function Qb(e){if(Wb(e)||Ub(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var _t123=e.types.filter((function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type})).length,_n80=e.types.some((function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type}));if(e.types.length-1===_t123&&_n80)return!0}return!1}var Zb={printOpaqueType:function printOpaqueType(e,t,n){var r=t.semi?";":"",o=e.getValue(),i=[];return i.push("opaque type ",n("id"),n("typeParameters")),o.supertype&&i.push(": ",n("supertype")),o.impltype&&i.push(" = ",n("impltype")),i.push(r),i},printTypeAlias:function printTypeAlias(e,t,n){var r=t.semi?";":"",o=e.getValue(),i=[];o.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters"));var u="TSTypeAliasDeclaration"===o.type?"typeAnnotation":"right";return[Jb(e,t,n,i," =",u),r]},printIntersectionType:function printIntersectionType(e,t,n){for(var r=e.getValue(),o=e.map(n,"types"),i=[],u=!1,_e148=0;_e1481&&(u=!0),i.push(" & ",_e148>1?Rb(o[_e148]):o[_e148])):i.push(Rb([" &",_b,o[_e148]]));return jb(i)},printUnionType:function printUnionType(e,t,n){var r=e.getValue(),o=e.getParentNode(),i=!("TypeParameterInstantiation"===o.type||"TSTypeParameterInstantiation"===o.type||"GenericTypeAnnotation"===o.type||"TSTypeReference"===o.type||"TSTypeAssertion"===o.type||"TupleTypeAnnotation"===o.type||"TSTupleType"===o.type||"FunctionTypeParam"===o.type&&!o.name&&e.getParentNode(1).this!==o||("TypeAlias"===o.type||"VariableDeclarator"===o.type||"TSTypeAliasDeclaration"===o.type)&&zb(t.originalText,r)),u=Qb(r),s=e.map((function(e){var r=n();return u||(r=Vb(2,r)),Pb(e,r,t)}),"types");if(u)return Lb(" | ",s);var a=i&&!zb(t.originalText,r),c=[$b([a?_b:"","| "]),Lb([_b,"| "],s)];return fg(e,t)?jb([Rb(c),Mb]):"TupleTypeAnnotation"===o.type&&o.types.length>1||"TSTupleType"===o.type&&o.elementTypes.length>1?jb([Rb([$b(["(",Mb]),c]),Mb,$b(")")]):jb(i?Rb(c):c)},printFunctionType:function printFunctionType(e,t,n){var r=e.getValue(),o=[],i=e.getParentNode(0),u=e.getParentNode(1),s=e.getParentNode(2),a="TSFunctionType"===r.type||!(("ObjectTypeProperty"===i.type||"ObjectTypeInternalSlot"===i.type)&&!i.variance&&!i.optional&&qb(i)===qb(r)||"ObjectTypeCallProperty"===i.type||s&&"DeclareFunction"===s.type),c=a&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type),l=c&&a&&("TypeAnnotation"===i.type||"TSTypeAnnotation"===i.type)&&"ArrowFunctionExpression"===u.type;Hb(i)&&(a=!0,c=!0),l&&o.push("(");var p=Xb(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[a?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",d=Yb(r,f);return o.push(d?jb(p):p),f&&o.push(f),l&&o.push(")"),jb(o)},printTupleType:function printTupleType(e,t,n){var r=e.getValue(),o="TSTupleType"===r.type?"elementTypes":"types",i=r[o].length>0&&"TSRestType"===Ib(r[o]).type;return jb(["[",Rb([Mb,Kb(e,t,o,n)]),$b(Gb(t,"all")&&!i?",":""),Ob(e,t,!0),Mb,"]"])},printIndexedAccessType:function printIndexedAccessType(e,t,n){var r=e.getValue(),o="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),o,n("indexType"),"]"]},shouldHugType:Qb},eC=up.printDanglingComments,_Rn$builders21=Rn.builders,tC=_Rn$builders21.join,nC=_Rn$builders21.line,rC=_Rn$builders21.hardline,oC=_Rn$builders21.softline,iC=_Rn$builders21.group,uC=_Rn$builders21.indent,sC=_Rn$builders21.ifBreak,aC=pd.isTestCall,cC=pd.hasComment,lC=pd.CommentCheckFlags,pC=pd.isTSXFile,fC=pd.shouldPrintComma,dC=pd.getFunctionParameters,hC=rn.createGroupIdMapper,mC=Zb.shouldHugType,gC=hC("typeParameters");function yC(e,t){var n=e.getValue();if(!cC(n,lC.Dangling))return"";var r=!cC(n,lC.Line),o=eC(e,t,r);return r?o:[o,rC]}var DC={printTypeParameter:function printTypeParameter(e,t,n){var r=e.getValue(),o=[],i=e.getParentNode();return"TSMappedType"===i.type?(o.push("[",n("name")),r.constraint&&o.push(" in ",n("constraint")),i.nameType&&o.push(" as ",e.callParent((function(){return n("nameType")}))),o.push("]"),o):(r.variance&&o.push(n("variance")),o.push(n("name")),r.bound&&o.push(": ",n("bound")),r.constraint&&o.push(" extends ",n("constraint")),r.default&&o.push(" = ",n("default")),o)},printTypeParameters:function printTypeParameters(e,t,n,r){var o=e.getValue();if(!o[r])return"";if(!Array.isArray(o[r]))return n(r);var i=e.getNode(2);if(i&&aC(i)||0===o[r].length||1===o[r].length&&(mC(o[r][0])||"NullableTypeAnnotation"===o[r][0].type))return["<",tC(", ",e.map(n,r)),yC(e,t),">"];var u="TSTypeParameterInstantiation"===o.type?"":1===dC(o).length&&pC(t)&&!o[r][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":fC(t,"all")?sC(","):"";return iC(["<",uC([oC,tC([",",nC],e.map(n,r))]),u,oC,">"],{id:gC(o)})},getTypeParametersGroupId:gC},EC=up.printComments,bC=rn.printString,CC=rn.printNumber,vC=pd.isNumericLiteral,AC=pd.isSimpleNumber,FC=pd.isStringLiteral,xC=pd.isStringPropSafeToUnquote,SC=pd.rawText,wC=ib.printAssignment,TC=new WeakMap;function BC(e,t,n){var r=e.getNode();if(r.computed)return["[",n("key"),"]"];var o=e.getParentNode(),i=r.key;if("ClassPrivateProperty"===r.type&&"Identifier"===i.type)return["#",n("key")];if("consistent"===t.quoteProps&&!TC.has(o)){var _e149=(o.properties||o.body||o.members).some((function(e){return!e.computed&&e.key&&FC(e.key)&&!xC(e,t)}));TC.set(o,_e149)}if(("Identifier"===i.type||vC(i)&&AC(CC(SC(i)))&&String(i.value)===CC(SC(i))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&TC.get(o))){var _n81=bC(JSON.stringify("Identifier"===i.type?i.name:i.value.toString()),t);return e.call((function(e){return EC(e,_n81,t)}),"key")}return xC(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!TC.get(o))?e.call((function(e){return EC(e,/^\d/.test(i.value)?CC(i.value):i.value,t)}),"key"):n("key")}var kC={printProperty:function printProperty(e,t,n){return e.getValue().shorthand?n("value"):wC(e,t,n,BC(e,t,n),":","value")},printPropertyKey:BC},NC=up.printDanglingComments,PC=up.printCommentsSeparately,OC=rn.getNextNonSpaceNonCommentCharacterIndex,_Rn$builders22=Rn.builders,IC=_Rn$builders22.line,jC=_Rn$builders22.softline,LC=_Rn$builders22.group,_C=_Rn$builders22.indent,MC=_Rn$builders22.ifBreak,RC=_Rn$builders22.hardline,VC=_Rn$builders22.join,$C=_Rn$builders22.indentIfBreak,qC=pd.getFunctionParameters,WC=pd.hasLeadingOwnLineComment,UC=pd.isFlowAnnotationComment,zC=pd.isJsxNode,HC=pd.isTemplateOnItsOwnLine,GC=pd.shouldPrintComma,JC=pd.startsWithNoLookaheadToken,XC=pd.returnArgumentHasLeadingComment,YC=pd.isBinaryish,KC=pd.isLineComment,QC=pd.hasComment,ZC=pd.getComments,ev=pd.CommentCheckFlags,tv=pd.isCallLikeExpression,nv=ea.locEnd,rv=Nb.printFunctionParameters,ov=Nb.shouldGroupFunctionParameters,iv=kC.printPropertyKey,uv=$y.printFunctionTypeParameters;function sv(e,t,n){var r=e.getNode(),o=rv(e,n,t),i=cv(e,n,t),u=ov(r,i),s=[uv(e,t,n),LC([u?LC(o):o,i])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s}function av(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){var t=qC(e);return!(1!==t.length||e.typeParameters||QC(e,ev.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||QC(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function cv(e,t,n){var r=e.getValue(),o=t("returnType");if(r.returnType&&UC(n.originalText,r.returnType))return[" /*: ",o," */"];var i=[o];return r.returnType&&r.returnType.typeAnnotation&&i.unshift(": "),r.predicate&&i.push(r.returnType?" ":": ",t("predicate")),i}function lv(e,t,n){var r=e.getValue(),o=t.semi?";":"",i=[];r.argument&&(XC(t,r.argument)?i.push([" (",_C([RC,n("argument")]),RC,")"]):YC(r.argument)||"SequenceExpression"===r.argument.type?i.push(LC([MC(" ("," "),_C([jC,n("argument")]),jC,MC(")")])):i.push(" ",n("argument")));var u=ZC(r),s=ke(u),a=s&&KC(s);return a&&i.push(o),QC(r,ev.Dangling)&&i.push(" ",NC(e,t,!0)),a||i.push(o),i}var pv={printFunctionDeclaration:function printFunctionDeclaration(e,t,n,r){var o=e.getValue(),i=[];"TSDeclareFunction"===o.type&&o.declare&&i.push("declare "),o.async&&i.push("async "),o.generator?i.push("function* "):i.push("function "),o.id&&i.push(t("id"));var u=rv(e,t,n,r),s=cv(e,t,n),a=ov(o,s);return i.push(uv(e,n,t),LC([a?LC(u):u,s]),o.body?" ":"",t("body")),!n.semi||!o.declare&&o.body||i.push(";"),i},printArrowFunctionExpression:function printArrowFunctionExpression(e,t,n,r){var o=e.getValue(),i=[],u=[],s=!1;if(function a(){var c=function(e,t,n,r){var o=[];e.getValue().async&&o.push("async "),av(e,t)?o.push(n(["params",0])):o.push(LC([rv(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),cv(e,n,t)]));var i=NC(e,t,!0,(function(e){var n=OC(t.originalText,e,nv);return!1!==n&&"=>"===t.originalText.slice(n,n+2)}));return i&&o.push(" ",i),o}(e,t,n,r);if(0===i.length)i.push(c);else{var _PC=PC(e,t),_n82=_PC.leading,_r87=_PC.trailing;i.push([_n82,c]),u.unshift(_r87)}s=s||o.returnType&&qC(o).length>0||o.typeParameters||qC(o).some((function(e){return"Identifier"!==e.type})),"ArrowFunctionExpression"!==o.body.type||r&&r.expandLastArg?u.unshift(n("body",r)):(o=o.body,e.call(a,"body"))}(),i.length>1)return function(e,t,n,r,o,i){var u=e.getName(),s=e.getParentNode(),a=tv(s)&&"callee"===u,c=Boolean(t&&t.assignmentLayout),l="BlockStatement"!==i.body.type&&"ObjectExpression"!==i.body.type,p=a&&l||t&&"chain-tail-arrow-chain"===t.assignmentLayout,f=Symbol("arrow-chain");return LC([LC(_C([a||c?jC:"",LC(VC([" =>",IC],n),{shouldBreak:r})]),{id:f,shouldBreak:p})," =>",$C(l?_C([IC,o]):[" ",o],{groupId:f}),a?MC(jC,"",{groupId:f}):""])}(e,r,i,s,u,o);var a=i;if(a.push(" =>"),!WC(t.originalText,o.body)&&("ArrayExpression"===o.body.type||"ObjectExpression"===o.body.type||"BlockStatement"===o.body.type||zC(o.body)||HC(o.body,t.originalText)||"ArrowFunctionExpression"===o.body.type||"DoExpression"===o.body.type))return LC([].concat(a,[" ",u]));if("SequenceExpression"===o.body.type)return LC([].concat(a,[LC([" (",_C([jC,u]),jC,")"])]));var c=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!QC(o),l=r&&r.expandLastArg&&GC(t,"all"),p="ConditionalExpression"===o.body.type&&!JC(o.body,!1);return LC([].concat(a,[LC([_C([IC,p?MC("","("):"",u,p?MC("",")"):""]),c?[MC(l?",":""),jC]:""])]))},printMethod:function printMethod(e,t,n){var r=e.getNode(),o=r.kind,i=r.value||r,u=[];return o&&"init"!==o&&"method"!==o&&"constructor"!==o?(Il.ok("get"===o||"set"===o),u.push(o," ")):i.async&&u.push("async "),i.generator&&u.push("*"),u.push(iv(e,t,n),r.optional||r.key.optional?"?":""),r===i?u.push(sv(e,t,n)):"FunctionExpression"===i.type?u.push(e.call((function(e){return sv(e,t,n)}),"value")):u.push(n("value")),u},printReturnStatement:function printReturnStatement(e,t,n){return["return",lv(e,t,n)]},printThrowStatement:function printThrowStatement(e,t,n){return["throw",lv(e,t,n)]},printMethodInternal:sv,shouldPrintParamsWithoutParens:av},fv=rn.isNonEmptyArray,dv=rn.hasNewline,_Rn$builders23=Rn.builders,hv=_Rn$builders23.line,mv=_Rn$builders23.hardline,gv=_Rn$builders23.join,yv=_Rn$builders23.breakParent,Dv=_Rn$builders23.group,Ev=ea.locStart,bv=ea.locEnd,Cv=pd.getParentExportDeclaration;function vv(e,t){return e.decorators.some((function(e){return dv(t.originalText,bv(e))}))}function Av(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;var t=e.declaration&&e.declaration.decorators;return fv(t)&&Ev(e,{ignoreDecorators:!0})>Ev(t[0])}var Fv={printDecorators:function printDecorators(e,t,n){var r=e.getValue(),o=r.decorators;if(fv(o)&&!Av(e.getParentNode())){var i="ClassExpression"===r.type||"ClassDeclaration"===r.type||vv(r,t);return[Cv(e)?mv:i?yv:"",gv(hv,e.map(n,"decorators")),hv]}},printClassMemberDecorators:function printClassMemberDecorators(e,t,n){var r=e.getValue();return Dv([gv(hv,e.map(n,"decorators")),vv(r,t)?mv:hv])},printDecoratorsBeforeExport:function printDecoratorsBeforeExport(e,t,n){return[gv(mv,e.map(n,"declaration","decorators")),mv]},hasDecoratorsBeforeExport:Av},xv=rn.isNonEmptyArray,Sv=rn.createGroupIdMapper,wv=up.printComments,Tv=up.printDanglingComments,_Rn$builders24=Rn.builders,Bv=_Rn$builders24.join,kv=_Rn$builders24.line,Nv=_Rn$builders24.hardline,Pv=_Rn$builders24.softline,Ov=_Rn$builders24.group,Iv=_Rn$builders24.indent,jv=_Rn$builders24.ifBreak,Lv=pd.hasComment,_v=pd.CommentCheckFlags,Mv=DC.getTypeParametersGroupId,Rv=pv.printMethod,Vv=$y.printOptionalToken,$v=$y.printTypeAnnotation,qv=kC.printPropertyKey,Wv=ib.printAssignment,Uv=Fv.printClassMemberDecorators,zv=Sv("heritageGroup");function Hv(e){return e.typeParameters&&!Lv(e.typeParameters,_v.Trailing|_v.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((function(t){return Boolean(e[t])})).length>1}(e)}function Gv(e,t,n,r){var o=e.getValue();if(!xv(o[r]))return"";var i=Tv(e,t,!0,(function(_ref103){return _ref103.marker===r}));return[Hv(o)?jv(" ",kv,{groupId:Mv(o.typeParameters)}):kv,i,i&&Nv,r,Ov(Iv([kv,Bv([",",kv],e.map(n,r))]))]}function Jv(e,t,n){var r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?Ov(jv(["(",Iv([Pv,r]),Pv,")"],r)):r}var Xv={printClass:function printClass(e,t,n){var r=e.getValue(),o=[];r.declare&&o.push("declare "),r.abstract&&o.push("abstract "),o.push("class");var _e150,i=r.id&&Lv(r.id,_v.Trailing)||r.superClass&&Lv(r.superClass)||xv(r.extends)||xv(r.mixins)||xv(r.implements),u=[],s=[];if(r.id&&u.push(" ",n("id")),u.push(n("typeParameters")),r.superClass){var _r88=["extends ",Jv(e,t,n),n("superTypeParameters")],_o36=e.call((function(e){return wv(e,_r88,t)}),"superClass");i?s.push(kv,Ov(_o36)):s.push(" ",_o36)}else s.push(Gv(e,t,n,"extends"));return s.push(Gv(e,t,n,"mixins"),Gv(e,t,n,"implements")),i?(_e150=Hv(r)?[].concat(u,[Iv(s)]):Iv([].concat(u,[s])),o.push(Ov(_e150,{id:zv(r)}))):o.push.apply(o,u.concat(s)),o.push(" ",n("body")),o},printClassMethod:function printClassMethod(e,t,n){var r=e.getValue(),o=[];return xv(r.decorators)&&o.push(Uv(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.readonly&&o.push("readonly "),r.declare&&o.push("declare "),r.static&&o.push("static "),r.override&&o.push("override "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&o.push("abstract "),o.push(Rv(e,t,n)),o},printClassProperty:function printClassProperty(e,t,n){var r=e.getValue(),o=[],i=t.semi?";":"";return xv(r.decorators)&&o.push(Uv(e,t,n)),r.accessibility&&o.push(r.accessibility+" "),r.declare&&o.push("declare "),r.static&&o.push("static "),r.override&&o.push("override "),("TSAbstractClassProperty"===r.type||r.abstract)&&o.push("abstract "),r.readonly&&o.push("readonly "),r.variance&&o.push(n("variance")),o.push(qv(e,t,n),Vv(e),$v(e,t,n)),[Wv(e,t,n,o," =","value"),i]},printHardlineAfterHeritage:function printHardlineAfterHeritage(e){return jv(Nv,"",{groupId:zv(e)})}},Yv=rn.isNonEmptyArray,_Rn$builders25=Rn.builders,Kv=_Rn$builders25.join,Qv=_Rn$builders25.line,Zv=_Rn$builders25.group,eA=_Rn$builders25.indent,tA=_Rn$builders25.ifBreak,nA=pd.hasComment,rA=pd.identity,oA=pd.CommentCheckFlags,iA=DC.getTypeParametersGroupId,uA=$y.printTypeScriptModifiers,sA={printInterface:function printInterface(e,t,n){var r=e.getValue(),o=[];r.declare&&o.push("declare "),"TSInterfaceDeclaration"===r.type&&o.push(r.abstract?"abstract ":"",uA(e,t,n)),o.push("interface");var i=[],u=[];"InterfaceTypeAnnotation"!==r.type&&i.push(" ",n("id"),n("typeParameters"));var s=r.typeParameters&&!nA(r.typeParameters,oA.Trailing|oA.Line);return Yv(r.extends)&&u.push(s?tA(" ",Qv,{groupId:iA(r.typeParameters)}):Qv,"extends ",(1===r.extends.length?rA:eA)(Kv([",",Qv],e.map(n,"extends")))),r.id&&nA(r.id,oA.Trailing)||Yv(r.extends)?s?o.push(Zv([].concat(i,[eA(u)]))):o.push(Zv(eA([].concat(i,u)))):o.push.apply(o,i.concat(u)),o.push(" ",n("body")),Zv(o)}},aA=rn.isNonEmptyArray,_Rn$builders26=Rn.builders,cA=_Rn$builders26.softline,lA=_Rn$builders26.group,pA=_Rn$builders26.indent,fA=_Rn$builders26.join,dA=_Rn$builders26.line,hA=_Rn$builders26.ifBreak,mA=_Rn$builders26.hardline,gA=up.printDanglingComments,yA=pd.hasComment,DA=pd.CommentCheckFlags,EA=pd.shouldPrintComma,bA=pd.needsHardlineAfterDanglingComment,CA=ea.locStart,vA=ea.hasSameLoc,AA=Fv.hasDecoratorsBeforeExport,FA=Fv.printDecoratorsBeforeExport;function xA(e,t,n){var r=e.getValue();if(!r.source)return"";var o=[];return wA(r,t)||o.push(" from"),o.push(" ",n("source")),o}function SA(e,t,n){var r=e.getValue();if(wA(r,t))return"";var o=[" "];if(aA(r.specifiers)){var _i57=[],_u18=[];e.each((function(){var t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)_i57.push(n());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));_u18.push(n())}}),"specifiers"),o.push(fA(", ",_i57)),_u18.length>0&&(_i57.length>0&&o.push(", "),_u18.length>1||_i57.length>0||r.specifiers.some((function(e){return yA(e)}))?o.push(lA(["{",pA([t.bracketSpacing?dA:cA,fA([",",dA],_u18)]),hA(EA(t)?",":""),t.bracketSpacing?dA:cA,"}"])):o.push(["{",t.bracketSpacing?" ":""].concat(_u18,[t.bracketSpacing?" ":"","}"])))}else o.push("{}");return o}function wA(e,t){var n=e.type,r=e.importKind,o=e.source,i=e.specifiers;return"ImportDeclaration"===n&&!aA(i)&&"type"!==r&&!/{\s*}/.test(t.originalText.slice(CA(e),CA(o)))}function TA(e,t,n){var r=e.getNode();return aA(r.assertions)?[" assert {",t.bracketSpacing?" ":"",fA(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}var BA={printImportDeclaration:function printImportDeclaration(e,t,n){var r=e.getValue(),o=t.semi?";":"",i=[],u=r.importKind;return i.push("import"),u&&"value"!==u&&i.push(" ",u),i.push(SA(e,t,n),xA(e,t,n),TA(e,t,n),o),i},printExportDeclaration:function printExportDeclaration(e,t,n){var r=e.getValue(),o=[];AA(r)&&o.push(FA(e,t,n));var i=r.type,u=r.exportKind,s=r.declaration;return o.push("export"),(r.default||"ExportDefaultDeclaration"===i)&&o.push(" default"),yA(r,DA.Dangling)&&(o.push(" ",gA(e,t,!0)),bA(r)&&o.push(mA)),s?o.push(" ",n("declaration")):o.push("type"===u?" type":"",SA(e,t,n),xA(e,t,n),TA(e,t,n)),function(e,t){if(!t.semi)return!1;var n=e.type,r=e.declaration,o=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;var i=r.type;return!(!o||"ClassDeclaration"===i||"FunctionDeclaration"===i||"TSInterfaceDeclaration"===i||"DeclareClass"===i||"DeclareFunction"===i||"TSDeclareFunction"===i||"EnumDeclaration"===i)}(r,t)&&o.push(";"),o},printExportAllDeclaration:function printExportAllDeclaration(e,t,n){var r=e.getValue(),o=t.semi?";":"",i=[],u=r.exportKind,s=r.exported;return i.push("export"),"type"===u&&i.push(" type"),i.push(" *"),s&&i.push(" as ",n("exported")),i.push(xA(e,t,n),TA(e,t,n),o),i},printModuleSpecifier:function printModuleSpecifier(e,t,n){var r=e.getNode(),o=r.type,i=r.importKind,u=[];"ImportSpecifier"===o&&i&&u.push(i," ");var s=o.startsWith("Import"),a=s?"imported":"local",c=s?"local":"exported",l="",p="";return"ExportNamespaceSpecifier"===o||"ImportNamespaceSpecifier"===o?l="*":r[a]&&(l=n(a)),!r[c]||r[a]&&vA(r[a],r[c])||(p=n(c)),u.push(l,l&&p?" as ":"",p),u}},kA=pd.getParentExportDeclaration,NA=Xv.printClass,PA=Zb.printOpaqueType,OA=Zb.printTypeAlias,IA=Zb.printIntersectionType,jA=Zb.printUnionType,LA=Zb.printFunctionType,_A=Zb.printTupleType,MA=Zb.printIndexedAccessType,RA=sA.printInterface,VA=DC.printTypeParameters,$A=BA.printExportDeclaration,qA=BA.printExportAllDeclaration;function WA(e,t){var n=kA(e);return n?(Il.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}var UA={printFlow:function printFlow(e,t,n){var r=e.getValue(),o=t.semi?";":"";switch(r.type){case"DeclareClass":return WA(e,NA(e,t,n));case"DeclareFunction":return WA(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),o]);case"DeclareModule":return WA(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return WA(e,["module.exports",": ",n("typeAnnotation"),o]);case"DeclareVariable":return WA(e,["var ",n("id"),o]);case"DeclareOpaqueType":return WA(e,PA(e,t,n));case"DeclareInterface":return WA(e,RA(e,t,n));case"DeclareTypeAlias":return WA(e,OA(e,t,n));case"DeclareExportDeclaration":return WA(e,$A(e,t,n));case"DeclareExportAllDeclaration":return WA(e,qA(e,t,n));case"OpaqueType":return PA(e,t,n);case"TypeAlias":return OA(e,t,n);case"IntersectionTypeAnnotation":return IA(e,t,n);case"UnionTypeAnnotation":return jA(e,t,n);case"FunctionTypeAnnotation":return LA(e,t,n);case"TupleTypeAnnotation":return _A(e,t,n);case"GenericTypeAnnotation":return[n("id"),VA(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return MA(e,t,n);case"TypeAnnotation":return n("typeAnnotation")}}},zA=rn.hasNewlineInRange,HA=pd.isJsxNode,GA=pd.isBlockComment,JA=pd.getComments,XA=pd.isCallExpression,YA=pd.isMemberExpression,KA=ea.locStart,QA=ea.locEnd,_Rn$builders27=Rn.builders,ZA=_Rn$builders27.line,eF=_Rn$builders27.softline,tF=_Rn$builders27.group,nF=_Rn$builders27.indent,rF=_Rn$builders27.align,oF=_Rn$builders27.ifBreak,iF=_Rn$builders27.dedent,uF=_Rn$builders27.breakParent;function sF(e,t,n){var r=e.getValue(),o="ConditionalExpression"===r.type,i=o?"alternate":"falseType",u=e.getParentNode(),s=o?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return u.type===r.type&&u[i]===r?rF(2,s):s}var aF=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]),cF={printTernary:function printTernary(e,t,n){var h,m,r=e.getValue(),o="ConditionalExpression"===r.type,i=o?"consequent":"trueType",u=o?"alternate":"falseType",s=o?["test"]:["checkType","extendsType"],a=r[i],c=r[u],l=[],p=!1,f=e.getParentNode(),d=f.type===r.type&&s.some((function(e){return f[e]===r})),g=f.type===r.type&&!d,y=0;do{m=h||r,h=e.getParentNode(y),y++}while(h&&h.type===r.type&&s.every((function(e){return h[e]!==m})));var D=h||f,E=m;if(o&&(HA(r[s[0]])||HA(a)||HA(c)||function(e){for(var t=[e],_e151=0;_e1511&&m.sort((function(e,t){return e.loc-t.loc}));var g=[],y=m.map((function(e){var n=[].concat(_toConsumableArray(g),[dF(e.printed)]);return g=[f,pF],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!vF(e.node,FF.PrettierIgnore)||g.shift(),xF(e.node,t)&&g.push(gF),n}));if(o.inexact){var _n84;if(vF(o,FF.Dangling)){var _r90=vF(o,FF.Line);_n84=[lF(e,t,!0),_r90||EF(t.originalText,wF(yF(AF(o))))?gF:pF,"..."]}else _n84=["..."];y.push([].concat(_toConsumableArray(g),_toConsumableArray(_n84)))}var b,D=yF(o[i]),E=!(o.inexact||D&&"RestElement"===D.type||D&&("TSPropertySignature"===D.type||"TSCallSignatureDeclaration"===D.type||"TSMethodSignature"===D.type||"TSConstructSignatureDeclaration"===D.type)&&vF(D,FF.PrettierIgnore));if(0===y.length){if(!vF(o,FF.Dangling))return[d,h,BF(e,t,n)];b=dF([d,lF(e,t),fF,h,TF(e),BF(e,t,n)])}else b=[l&&bF(o.properties)?PF(c):"",d,hF([t.bracketSpacing?pF:fF].concat(_toConsumableArray(y))),mF(E&&(","!==f||CF(t))?f:""),t.bracketSpacing?pF:fF,h,TF(e),BF(e,t,n)];return e.match((function(e){return"ObjectPattern"===e.type&&!e.decorators}),(function(e,t,n){return kF(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||e.match(NF,(function(e,t){return"typeAnnotation"===t}),(function(e,t){return"typeAnnotation"===t}),(function(e,t,n){return kF(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n}))||!p&&e.match((function(e){return"ObjectPattern"===e.type}),(function(e){return"AssignmentExpression"===e.type||"VariableDeclarator"===e.type}))?b:dF(b,{shouldBreak:p})}},IF=Rn.builders.hardline,jF=pd.getLeftSidePathName,LF=pd.hasNakedLeftSide,_F=pd.isJsxNode,MF=pd.isTheOnlyJsxElementInMarkdown,RF=pd.hasComment,VF=pd.CommentCheckFlags,$F=pd.isNextLineEmpty,qF=pv.shouldPrintParamsWithoutParens;function WF(e,t,n,r){var o=e.getValue(),i=[],u="ClassBody"===o.type,s=function(e){for(var _t127=e.length-1;_t127>=0;_t127--){var _n85=e[_t127];if("EmptyStatement"!==_n85.type)return _n85}}(o[r]);return e.each((function(e,r,o){var a=e.getValue();if("EmptyStatement"!==a.type){var c=n();t.semi||u||MF(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((function(e){return UF(e,t)}),"expression")}(e,t)?i.push(c):RF(a,VF.Leading)?i.push(n([],{needsSemi:!0})):i.push(";",c),!t.semi&&u&&zF(a)&&function(e,t){var n=e.key&&e.key.name;if(!("static"!==n&&"get"!==n&&"set"!==n||e.value||e.typeAnnotation))return!0;if(!t)return!1;if(t.static||t.accessibility)return!1;if(!t.computed){var _e155=t.key&&t.key.name;if("in"===_e155||"instanceof"===_e155)return!0}switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;var _e156=t.value?t.value.generator:t.generator;return!(!t.computed&&!_e156);case"TSIndexSignature":return!0}return!1}(a,o[r+1])&&i.push(";"),a!==s&&(i.push(IF),$F(a,t)&&i.push(IF))}}),r),i}function UF(e,t){var n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!qF(e,t))return!0;break;case"UnaryExpression":var _e157=n.prefix,_t128=n.operator;if(_e157&&("+"===_t128||"-"===_t128))return!0;break;case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(_F(n))return!0}return!!fg(e,t)||!!LF(n)&&e.call.apply(e,[function(e){return UF(e,t)}].concat(_toConsumableArray(jF(e,n))))}var zF=function zF(_ref104){var e=_ref104.type;return"ClassProperty"===e||"PropertyDefinition"===e||"ClassPrivateProperty"===e},HF={printBody:function printBody(e,t,n){return WF(e,t,n,"body")},printSwitchCaseConsequent:function printSwitchCaseConsequent(e,t,n){return WF(e,t,n,"consequent")}},GF=up.printDanglingComments,JF=rn.isNonEmptyArray,_Rn$builders29=Rn.builders,XF=_Rn$builders29.hardline,YF=_Rn$builders29.indent,KF=pd.hasComment,QF=pd.CommentCheckFlags,ZF=pd.isNextLineEmpty,ex=Xv.printHardlineAfterHeritage,tx=HF.printBody;function nx(e,t,n){var r=e.getValue(),o=JF(r.directives),i=r.body.some((function(e){return"EmptyStatement"!==e.type})),u=KF(r,QF.Dangling);if(!o&&!i&&!u)return"";var s=[];if(o&&e.each((function(e,r,o){s.push(n()),(r"]),_o38=[dx("("),px([cx,n("expression")]),cx,dx(")")];return _e158?fx([[_t132,n("expression")],[_t132,lx(_o38,{shouldBreak:!0})],[_t132,n("expression")]]):lx([_t132,n("expression")]);case"TSDeclareFunction":return Ix(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),o];case"TSModuleBlock":return _x(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return Tx(e,t,n);case"TSTypeAliasDeclaration":return Mx(e,t,n);case"TSQualifiedName":return ux(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return kx(e,t,n);case"TSAbstractClassProperty":return Bx(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(n("expression")),r.typeParameters&&i.push(n("typeParameters")),i;case"TSTemplateLiteralType":return Sx(e,n,t);case"TSNamedTupleMember":return[n("label"),r.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Lx(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Px(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":return Nx(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"TSAbstractKeyword":return"abstract";case"TSAsyncKeyword":return"async";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSStaticKeyword":return"static";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSIntrinsicKeyword":return"intrinsic";case"TSAsExpression":i.push(n("expression")," as ",n("typeAnnotation"));var _t133=e.getParentNode();return yx(_t133)&&_t133.callee===r||Dx(_t133)&&_t133.object===r?lx([px([cx].concat(i)),cx]):i;case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.export&&i.push("export "),r.accessibility&&i.push(r.accessibility+" "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(Ox(e,t,n),Cx(e)),r.typeAnnotation&&i.push(": ",n("typeAnnotation")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSParameterProperty":return r.accessibility&&i.push(r.accessibility+" "),r.export&&i.push("export "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(n("parameter")),i;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":var _i60=e.getParentNode(),_u19=r.parameters.length>1?dx(gx(t)?",":""):"",_s25=lx([px([cx,ux([", ",cx],e.map(n,"parameters"))]),_u19,cx]);return[r.export?"export ":"",r.accessibility?[r.accessibility," "]:"",r.static?"static ":"",r.readonly?"readonly ":"",r.declare?"declare ":"","[",r.parameters?_s25:"",r.typeAnnotation?"]: ":"]",r.typeAnnotation?n("typeAnnotation"):"","ClassBody"===_i60.type?o:""];case"TSTypePredicate":return[r.asserts?"asserts ":"",n("parameterName"),r.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[r.isTypeOf?"typeof ":"","import(",n(r.parameter?"parameter":"argument"),")",r.qualifier?[".",n("qualifier")]:"",Px(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return Wx(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===r.type&&r.abstract&&i.push("abstract "),"TSCallSignatureDeclaration"!==r.type&&i.push("new "),i.push(lx(Fx(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){var _e159="TSConstructorType"===r.type;i.push(_e159?" => ":": ",n("returnType"),n("typeAnnotation"))}return i;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":var _i61=ix(t.originalText,Ex(r),bx(r));return lx(["{",px([t.bracketSpacing?sx:cx,r.readonly?[mx(r.readonly,"readonly")," "]:"",vx(e,t,n),n("typeParameter"),r.optional?mx(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),dx(o)]),ox(e,t,!0),t.bracketSpacing?sx:cx,"}"],{shouldBreak:_i61});case"TSMethodSignature":var _o39=r.kind&&"method"!==r.kind?"".concat(r.kind," "):"";i.push(r.accessibility?[r.accessibility," "]:"",_o39,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",Cx(e));var _u20=Fx(e,n,t,!1,!0),_s26=r.returnType?"returnType":"typeAnnotation",_a9=r[_s26],_c13=_a9?n(_s26):"",_l11=xx(r,_c13);return i.push(_l11?lx(_u20):_u20),_a9&&i.push(": ",lx(_c13)),lx(i);case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n("id")),t.semi&&i.push(";"),lx(i);case"TSEnumDeclaration":return r.declare&&i.push("declare "),r.modifiers&&i.push(vx(e,t,n)),r.const&&i.push("const "),i.push("enum ",n("id")," "),0===r.members.length?i.push(lx(["{",ox(e,t),cx,"}"])):i.push(lx(["{",px([ax,wx(e,t,"members",n),gx(t,"es5")?",":""]),ox(e,t,!0),ax,"}"])),i;case"TSEnumMember":return i.push(n("id")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSImportEqualsDeclaration":return r.isExport&&i.push("export "),i.push("import "),r.importKind&&"value"!==r.importKind&&i.push(r.importKind," "),i.push(n("id")," = ",n("moduleReference")),t.semi&&i.push(";"),lx(i);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":var _u21=e.getParentNode(),_s27=hx(r.id),_a10="TSModuleDeclaration"===_u21.type,_c14=r.body&&"TSModuleDeclaration"===r.body.type;if(_a10)i.push(".");else{r.declare&&i.push("declare "),i.push(vx(e,t,n));var _o40=t.originalText.slice(Ex(r),Ex(r.id));"Identifier"===r.id.type&&"global"===r.id.name&&!/namespace|module/.test(_o40)||i.push(_s27||/(^|\s)module(\s|$)/.test(_o40)?"module ":"namespace ")}return i.push(n("id")),_c14?i.push(n("body")):r.body?i.push(" ",lx(n("body"))):i.push(o),i;case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return Ax(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return Rx(e,t,n);case"TSUnionType":return Vx(e,t,n);case"TSFunctionType":return $x(e,t,n);case"TSTupleType":return qx(e,t,n);case"TSTypeReference":return[n("typeName"),Px(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return jx(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];case"TSJSDocFunctionType":return["function(","): ",n("typeAnnotation")]}}},zx=rn.hasNewline,_Rn$builders31=Rn.builders,Hx=_Rn$builders31.join,Gx=_Rn$builders31.hardline,Jx=Rn.utils.replaceNewlinesWithLiterallines,Xx=pd.isLineComment,Yx=pd.isBlockComment,Kx=ea.locStart,Qx=ea.locEnd,Zx={printComment:function printComment(e,t){var n=e.getValue();if(Xx(n))return t.originalText.slice(Kx(n),Qx(n)).trimEnd();if(Yx(n)){if(function(e){var t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((function(e){return"*"===e.trim()[0]}))}(n)){var _e161=function(e){var t=e.value.split("\n");return["/*",Hx(Gx,t.map((function(e,n){return 0===n?e.trimEnd():" "+(n1&&(_o42=!0)}return sw(e,n,t,_o42);case"ArrowFunctionExpression":return aw(e,t,n,r);case"YieldExpression":return u.push("yield"),o.delegate&&u.push("*"),o.argument&&u.push(" ",n("argument")),u;case"AwaitExpression":if(u.push("await"),o.argument){u.push(" ",n("argument"));var _t136=e.getParentNode();if(NS(_t136)&&_t136.callee===o||PS(_t136)&&_t136.object===o){u=[mS([fS].concat(_toConsumableArray(u))),fS];var _t137=e.findAncestor((function(e){return"AwaitExpression"===e.type||"BlockStatement"===e.type}));if(!_t137||"AwaitExpression"!==_t137.type)return hS(u)}}return u;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return GS(e,t,n);case"ExportAllDeclaration":return JS(e,t,n);case"ImportDeclaration":return HS(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return XS(e,t,n);case"ImportAttribute":return[n("key"),": ",n("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Ew(e,t,n);case"ThrowStatement":return pw(e,t,n);case"ReturnStatement":return lw(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return fw(e,t,n);case"ObjectTypeInternalSlot":return[o.static?"static ":"","[[",n("id"),"]]",qS(e),o.method?"":": ",n("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return ew(e,t,n);case"ObjectProperty":case"Property":return o.method||"get"===o.kind||"set"===o.kind?cw(e,t,n):uw(e,t,n);case"ObjectMethod":return cw(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return QS(e,t,n);case"SequenceExpression":var _t138=e.getParentNode(0);if("ExpressionStatement"===_t138.type||"ForStatement"===_t138.type){var _t139=[];return e.each((function(e,r){0===r?_t139.push(n()):_t139.push(",",mS([lS,n()]))}),"expressions"),hS(_t139)}return hS(cS([",",lS],e.map(n,"expressions")));case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),i];case"DirectiveLiteral":return Fw(o,t);case"UnaryExpression":return u.push(o.operator),/[a-z]$/.test(o.operator)&&u.push(" "),ES(o.argument)?u.push(hS(["(",mS([fS,n("argument")]),fS,")"])):u.push(n("argument")),u;case"UpdateExpression":return u.push(n("argument"),o.operator),o.prefix&&u.reverse(),u;case"ConditionalExpression":return YS(e,t,n);case"VariableDeclaration":var _c15,_t140=e.map(n,"declarations"),_r93=e.getParentNode(),_s28="ForStatement"===_r93.type||"ForInStatement"===_r93.type||"ForOfStatement"===_r93.type,_a11=o.declarations.some((function(e){return e.init}));return 1!==_t140.length||ES(o.declarations[0])?_t140.length>0&&(_c15=mS(_t140[0])):_c15=_t140[0],u=[o.declare?"declare ":"",o.kind,_c15?[" ",_c15]:"",mS(_t140.slice(1).map((function(e){return[",",_a11&&!_s28?pS:lS,e]})))],_s28&&_r93.body!==o||u.push(i),hS(u);case"WithStatement":return hS(["with (",n("object"),")",zS(o.body,n("body"))]);case"IfStatement":var _r94=zS(o.consequent,n("consequent")),_i63=hS(["if (",hS([mS([fS,n("test")]),fS]),")",_r94]);if(u.push(_i63),o.alternate){var _r95=ES(o.consequent,bS.Trailing|bS.Line)||wS(o),_i64="BlockStatement"===o.consequent.type&&!_r95;u.push(_i64?" ":pS),ES(o,bS.Dangling)&&u.push(iS(e,t,!0),_r95?pS:" "),u.push("else",hS(zS(o.alternate,n("alternate"),"IfStatement"===o.alternate.type)))}return u;case"ForStatement":var _r96=zS(o.body,n("body")),_i65=iS(e,t,!0),_u22=_i65?[_i65,fS]:"";return o.init||o.test||o.update?[_u22,hS(["for (",hS([mS([fS,n("init"),";",lS,n("test"),";",lS,n("update")]),fS]),")",_r96])]:[_u22,hS(["for (;;)",_r96])];case"WhileStatement":return hS(["while (",hS([mS([fS,n("test")]),fS]),")",zS(o.body,n("body"))]);case"ForInStatement":return hS(["for (",n("left")," in ",n("right"),")",zS(o.body,n("body"))]);case"ForOfStatement":return hS(["for",o.await?" await":""," (",n("left")," of ",n("right"),")",zS(o.body,n("body"))]);case"DoWhileStatement":var _e163=zS(o.body,n("body"));return u=[hS(["do",_e163])],"BlockStatement"===o.body.type?u.push(" "):u.push(pS),u.push("while (",hS([mS([fS,n("test")]),fS]),")",i),u;case"DoExpression":return[o.async?"async ":"","do ",n("body")];case"BreakStatement":return u.push("break"),o.label&&u.push(" ",n("label")),u.push(i),u;case"ContinueStatement":return u.push("continue"),o.label&&u.push(" ",n("label")),u.push(i),u;case"LabeledStatement":return"EmptyStatement"===o.body.type?[n("label"),":;"]:[n("label"),": ",n("body")];case"TryStatement":return["try ",n("block"),o.handler?[" ",n("handler")]:"",o.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(o.param){var _e164=ES(o.param,(function(e){return!FS(e)||e.leading&&uS(t.originalText,IS(e))||e.trailing&&uS(t.originalText,OS(e),{backwards:!0})})),_r97=n("param");return["catch ",_e164?["(",mS([fS,_r97]),fS,") "]:["(",_r97,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[hS(["switch (",mS([fS,n("discriminant")]),fS,")"])," {",o.cases.length>0?mS([pS,cS(pS,e.map((function(e,r,o){var i=e.getValue();return[n(),r!==o.length-1&&SS(i,t)?pS:""]}),"cases"))]):"",pS,"}"];case"SwitchCase":o.test?u.push("case ",n("test"),":"):u.push("default:");var _r98=o.consequent.filter((function(e){return"EmptyStatement"!==e.type}));if(_r98.length>0){var _o43=yw(e,t,n);u.push(1===_r98.length&&"BlockStatement"===_r98[0].type?[" ",_o43]:mS([pS,_o43]))}return u;case"DebuggerStatement":return["debugger",i];case"ClassDeclaration":case"ClassExpression":return tw(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return nw(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return rw(e,t,n);case"TemplateElement":return cS(dS,o.value.raw.split(/\r?\n/g));case"TemplateLiteral":return KS(e,n,t);case"TaggedTemplateExpression":return[n("tag"),n("typeParameters"),n("quasi")];case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(o.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[n("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(o.value);case"EnumDeclaration":return["enum ",n("id")," ",n("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===o.type||o.explicitType){var _e165=null;switch(o.type){case"EnumBooleanBody":_e165="boolean";break;case"EnumNumberBody":_e165="number";break;case"EnumStringBody":_e165="string";break;case"EnumSymbolBody":_e165="symbol"}u.push("of ",_e165," ")}if(0!==o.members.length||o.hasUnknownMembers){var _r99=o.members.length>0?[pS,ZS(e,t,"members",n),o.hasUnknownMembers||BS(t)?",":""]:[];u.push(hS(["{",mS([].concat(_r99,_toConsumableArray(o.hasUnknownMembers?[pS,"..."]:[]))),iS(e,t,!0),pS,"}"]))}else u.push(hS(["{",iS(e,t),fS,"}"]));return u;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[n("id")," = ","object"==_typeof(o.init)?n("init"):String(o.init)];case"EnumDefaultedMember":return n("id");case"FunctionTypeParam":var _t141=o.name?n("name"):e.getParentNode().this===o?"this":"";return[_t141,qS(e),_t141?": ":"",n("typeAnnotation")];case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return dw(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":var _e166=o.kind;return Il.ok("plus"===_e166||"minus"===_e166),"plus"===_e166?"+":"-";case"ObjectTypeCallProperty":return o.static&&u.push("static "),u.push(n("value")),u;case"ObjectTypeIndexer":return[o.variance?n("variance"):"","[",n("id"),o.id?": ":"",n("key"),"]: ",n("value")];case"ObjectTypeProperty":var _r100="";return o.proto?_r100="proto ":o.static&&(_r100="static "),[_r100,vS(o)?o.kind+" ":"",o.variance?n("variance"):"",iw(e,t,n),qS(e),CS(o)?"":": ",n("value")];case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"StringLiteralTypeAnnotation":return sS(TS(o),t);case"NumberLiteralTypeAnnotation":Il.strictEqual(_typeof(o.value),"number");case"BigIntLiteralTypeAnnotation":return o.extra?aS(o.extra.raw):aS(o.raw);case"TypeCastExpression":return["(",n("expression"),US(e,t,n),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":var _r101=ow(e,t,n,"params");if("flow"===t.parser){var _e167=OS(o),_n87=IS(o),_i66=t.originalText.lastIndexOf("/*",_e167),_u23=t.originalText.indexOf("*/",_n87);if(-1!==_i66&&-1!==_u23){var _e168=t.originalText.slice(_i66+2,_u23).trim();if(_e168.startsWith("::")&&!_e168.includes("/*")&&!_e168.includes("*/"))return["/*:: ",_r101," */"]}}return _r101;case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",n("value"),")"];case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"ThisTypeAnnotation":case"TSThisType":return"this";case"PrivateIdentifier":return["#",n("name")];case"PrivateName":return["#",n("id")];case"InterpreterDirective":return u.push("#!",o.value,pS),SS(o,t)&&u.push(pS),u;case"PipelineBareFunction":return n("callee");case"PipelineTopicExpression":return n("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":u.push("module {");var _e169=n("body");return _e169&&u.push(mS([pS,_e169]),pS),u.push("}"),u;default:throw new Error("unknown type: "+JSON.stringify(o.type))}}(e,t,n,r);if(!o)return"";var i=e.getValue(),u=i.type;if("ClassMethod"===u||"ClassPrivateMethod"===u||"ClassProperty"===u||"PropertyDefinition"===u||"TSAbstractClassProperty"===u||"ClassPrivateProperty"===u||"MethodDefinition"===u||"TSAbstractMethodDefinition"===u||"TSDeclareMethod"===u)return o;var s=Aw(e,t,n);if(s)return hS([].concat(_toConsumableArray(s),[o]));if(!fg(e,t))return r&&r.needsSemi?[";",o]:o;var a=[r&&r.needsSemi?";(":"(",o];if(DS(i)){var _e170=_slicedToArray(i.trailingComments,1)[0];a.push(" /*",_e170.value.trimStart(),"*/"),_e170.printed=!0}return a.push(")"),a},embed:mh,insertPragma:gS,massageAstNode:bh,hasPrettierIgnore:function hasPrettierIgnore(e){return kS(e)||RS(e)},willPrintOwnComments:Km.willPrintOwnComments,canAttachComment:function canAttachComment(e){return e.type&&!FS(e)&&!xS(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:Cw,isBlockComment:FS,handleComments:{avoidAstMutation:!0,ownLine:Km.handleOwnLineComment,endOfLine:Km.handleEndOfLineComment,remaining:Km.handleRemainingComment},getCommentChildNodes:Km.getCommentChildNodes},_Rn$builders33=Rn.builders,Sw=_Rn$builders33.hardline,ww=_Rn$builders33.indent,Tw=_Rn$builders33.join,Bw=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function kw(e,t){var n=e.type;if("ObjectProperty"!==n||"Identifier"!==e.key.type){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;var _step66,_iterator66=_createForOfIteratorHelper(e.elements.entries());try{for(_iterator66.s();!(_step66=_iterator66.n()).done;){var _step66$value=_slicedToArray(_step66.value,2),_n88=_step66$value[0];null===_step66$value[1]&&t.elements.splice(_n88,0,{type:"NullLiteral"})}}catch(err){_iterator66.e(err)}finally{_iterator66.f()}}else t.key={type:"StringLiteral",value:e.key.name}}kw.ignoredProperties=Bw;var Nw={preprocess:dg,print:function print(e,t,n){var r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),Sw];case"ArrayExpression":if(0===r.elements.length)return"[]";var _t142=e.map((function(){return null===e.getValue()?"null":n()}),"elements");return["[",ww([Sw,Tw([",",Sw],_t142)]),Sw,"]"];case"ObjectExpression":return 0===r.properties.length?"{}":["{",ww([Sw,Tw([",",Sw],e.map(n,"properties"))]),Sw,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return["+"===r.operator?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":var _t143=e.getParentNode();return _t143&&"ObjectProperty"===_t143.type&&_t143.key===r?JSON.stringify(r.name):r.name;case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:kw},Pw="Common",Ow={bracketSpacing:{since:"0.0.0",category:Pw,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:Pw,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:Pw,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}},Iw="JavaScript",jw={arrowParens:{since:"1.9.0",category:Iw,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Ow.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Iw,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Iw,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Ow.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Iw,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Iw,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:Iw,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},Lw={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},_w={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Mw={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Rw={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},Vw={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},$w={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},qw={languages:[df(Lw,(function(e){return{since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[].concat(_toConsumableArray(e.extensions.filter((function(e){return".jsx"!==e}))),[".wxs"])}})),df(Lw,(function(){return{name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}})),df(Lw,(function(){return{name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}})),df(_w,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}})),df(Mw,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}})),df(Rw,(function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}})),df(Rw,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((function(e){return".jsonl"!==e}))}})),df(Vw,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[].concat(_toConsumableArray(e.filenames),[".eslintrc"])}})),df($w,(function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}}))],options:jw,printers:{estree:xw,"estree-json":Nw},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}},Ww=rn.isFrontMatterNode,Uw=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function zw(e,t,n){if(Ww(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&n.nodes.length>0){if((n.nodes[0]===e||Ww(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&ke(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(function(e,t,n){var r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){var _n89=e.value.toLowerCase();["from","to"].includes(_n89)&&(t.value=_n89)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}zw.ignoredProperties=Uw;var Hw=zw,_Rn$builders34=Rn.builders,Gw=_Rn$builders34.hardline,Jw=_Rn$builders34.markAsRoot,Xw=function Xw(e,t){if("yaml"===e.lang){var _n90=e.value.trim(),_r103=_n90?t(_n90,{parser:"yaml"},{stripTrailingHardline:!0}):"";return Jw([e.startDelimiter,Gw,_r103,_r103?Gw:"",e.endDelimiter])}},Yw=Rn.builders.hardline,Kw=function Kw(e,t,n){var r=e.getValue();if("front-matter"===r.type){var _e171=Xw(r,n);return _e171?[_e171,Yw]:""}},Qw=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?[\\S\\s]*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)"),Zw=function Zw(e){var t=e.match(Qw);if(!t)return{content:e};var _t$groups2=t.groups,n=_t$groups2.startDelimiter,r=_t$groups2.language,_t$groups2$value=_t$groups2.value,o=void 0===_t$groups2$value?"":_t$groups2$value,i=_t$groups2.endDelimiter,u=r.trim()||"yaml";if("+++"===n&&(u="toml"),"yaml"!==u&&n!==i)return{content:e};var s=_slicedToArray(t,1)[0];return{frontMatter:{type:"front-matter",lang:u,value:o,startDelimiter:n,endDelimiter:i,raw:s.replace(/\n$/,"")},content:s.replace(/[^\n]/g," ")+e.slice(s.length)}},eT={hasPragma:function hasPragma(e){return Xh.hasPragma(Zw(e).content)},insertPragma:function insertPragma(e){var _Zw=Zw(e),t=_Zw.frontMatter,n=_Zw.content;return(t?t.raw+"\n\n":"")+Xh.insertPragma(n)}},tT=rn.isNonEmptyArray,nT=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function rT(e,t){for(var r,n=Array.isArray(t)?t:[t],o=-1;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1}function oT(e,t){var n=rT(e,t);return-1===n?null:e.getParentNode(n)}function iT(e){return"value-operator"===e.type&&"*"===e.value}function uT(e){return"value-operator"===e.type&&"/"===e.value}function sT(e){return"value-operator"===e.type&&"+"===e.value}function aT(e){return"value-operator"===e.type&&"-"===e.value}function cT(e){return"value-operator"===e.type&&"%"===e.value}function lT(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function pT(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&lT(e.groups[0])}function fT(e){return e&&"value-colon"===e.type}var dT={getAncestorCounter:rT,getAncestorNode:oT,getPropOfDeclNode:function getPropOfDeclNode(e){var t=oT(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function hasSCSSInterpolation(e){if(tT(e))for(var _t145=e.length-1;_t145>0;_t145--)if("word"===e[_t145].type&&"{"===e[_t145].value&&"word"===e[_t145-1].type&&e[_t145-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function hasStringOrFunction(e){if(tT(e))for(var _t146=0;_t146","<=",">="].includes(e.value)},isEqualityOperatorNode:function isEqualityOperatorNode(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:iT,isDivisionNode:uT,isAdditionNode:sT,isSubtractionNode:aT,isModuloNode:cT,isMathOperatorNode:function isMathOperatorNode(e){return iT(e)||uT(e)||sT(e)||aT(e)||cT(e)},isEachKeywordNode:function isEachKeywordNode(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function isForKeywordNode(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function isURLFunctionNode(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function isIfElseKeywordNode(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function hasComposesNode(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function hasParensAroundNode(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function hasEmptyRawBefore(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function isSCSSNestedPropertyNode(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function isDetachedRulesetCallNode(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function isTemplatePlaceholderNode(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function isTemplatePropNode(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function isPostcssSimpleVarNode(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:lT,isKeyValuePairInParenGroupNode:pT,isKeyInValuePairNode:function isKeyInValuePairNode(e,t){if(!lT(t))return!1;var n=t.groups,r=n.indexOf(e);return-1!==r&&fT(n[r+1])},isSCSSMapItemNode:function isSCSSMapItemNode(e){var t=e.getValue();if(0===t.groups.length)return!1;var n=e.getParentNode(1);if(!(pT(t)||n&&pT(n)))return!1;var r=oT(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!pT(n)||"value-func"===n.type},isInlineValueCommentNode:function isInlineValueCommentNode(e){return"value-comment"===e.type&&e.inline},isHashNode:function isHashNode(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function isLeftCurlyBraceNode(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function isRightCurlyBraceNode(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function isWordNode(e){return["value-word","value-atword"].includes(e.type)},isColonNode:fT,isMediaAndSupportsKeywords:function isMediaAndSupportsKeywords(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function isColorAdjusterFuncNode(e){return"value-func"===e.type&&nT.has(e.value.toLowerCase())},lastLineHasInlineComment:function lastLineHasInlineComment(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((function(n,r,o){return n+e(r)+("comma_group"===t.groups[0].type&&o!==t.groups.length-1?",":"")}),"")+(t.close&&t.close.value?t.close.value:"");var n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function isAtWordPlaceholderNode(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")}},hT=function hT(e,t){for(var n=0,_r104=0;_r1040?kT:""];case"css-comment":var _e172=r.inline||r.raws.inline,_n93=t.originalText.slice(PB(r),OB(r));return _e172?_n93.trimEnd():_n93;case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&"selector-unknown"===r.selector.type&&kB(r.selector.value)?BT:" ","{",r.nodes.length>0?IT([kT,jB(e,t,n)]):"",kT,"}",eB(r)?";":""]:";"];case"css-decl":var _o47=e.getParentNode(),_u25=r.raws.between.trim(),_s30=":"===_u25,_a12=fB(r)?MT(n("value")):n("value");return!_s30&&kB(_u25)&&(_a12=IT([kT,jT(_a12)])),[r.raws.before.replace(/[\s;]/g,""),zT(e)?r.prop:WT(r.prop),_u25.startsWith("//")?" ":"",_u25,r.extend?"":" ",QT(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",_a12,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",IT([NT,jB(e,t,n)]),NT,"}"]:EB(r)&&!_o47.raws.semicolon&&";"!==t.originalText[OB(r)-1]?"":t.__isHTMLStyleAttribute&&KT(e,r)?LT(";"):";"];case"css-atrule":var _o48=e.getParentNode(),_i71=DB(r)&&!_o48.raws.semicolon&&";"!==t.originalText[OB(r)-1];if(QT(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",_i71?"":";"];if(r.function)return[r.name,n("params"),_i71?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",IT([r.nodes.length>0?NT:"",jB(e,t,n)]),NT,"}"]:"",_i71?"":";"]}return["@",yB(r)||r.name.endsWith(":")?r.name:WT(r.name),r.params?[yB(r)?"":DB(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[kT,kT]:/^\s*\n/.test(r.raws.afterName)?kT:" ":" ",n("params")]:"",r.selector?IT([" ",n("selector")]):"",r.value?PT([" ",n("value"),ZT(r)?dB(r)?" ":BT:""]):"else"===r.name?" ":"",r.nodes?[ZT(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&kB(r.selector.value)||!r.selector&&"string"==typeof r.params&&kB(r.params)?BT:" ","{",IT([r.nodes.length>0?NT:"",jB(e,t,n)]),NT,"}"]:_i71?"":";"];case"media-query-list":var _t148=[];return e.each((function(e){var r=e.getValue();"media-query"===r.type&&""===r.value||_t148.push(n())}),"nodes"),PT(IT(TT(BT,_t148)));case"media-query":return[TT(" ",e.map(n,"nodes")),KT(e,r)?"":","];case"media-type":case"media-value":return VB(MB(r.value,t));case"media-feature-expression":return r.nodes?["("].concat(_toConsumableArray(e.map(n,"nodes")),[")"]):r.value;case"media-feature":return WT(MB(r.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[r.value," "];case"media-keyword":case"selector-string":return MB(r.value,t);case"media-url":return MB(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return r.value;case"selector-root":return PT([HT(e,"custom-selector")?[$T(e,"css-atrule").customSelector,BT]:"",TT([",",HT(e,["extend","custom-selector","nest"])?BT:kT],e.map(n,"nodes"))]);case"selector-selector":return PT(IT(e.map(n,"nodes")));case"selector-tag":var _t149=e.getParentNode(),_n94=_t149&&_t149.nodes.indexOf(r),_o49=_n94&&_t149.nodes[_n94-1];return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"","selector-nesting"===_o49.type?r.value:VB(JT(e,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",VB(MB(r.value,t))];case"selector-attribute":return["[",r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?RB(MB(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){var _t150=e.getParentNode();return["selector-selector"===_t150.type&&_t150.nodes[0]===r?"":BT,r.value,KT(e,r)?"":" "]}return[r.value.trim().startsWith("(")?BT:"",VB(MB(r.value.trim(),t))||BT];case"selector-universal":return[r.namespace?[!0===r.namespace?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[WT(r.value),wT(r.nodes)?["(",TT(", ",e.map(n,"nodes")),")"]:""];case"selector-unknown":var _n95=$T(e,"css-rule");if(_n95&&_n95.isSCSSNesterProperty)return VB(MB(WT(r.value),t));var _o50=e.getParentNode();if(_o50.raws&&_o50.raws.selector){var _e173=PB(_o50),_n96=_e173+_o50.raws.selector.length;return t.originalText.slice(_e173,_n96).trim()}var _i72=e.getParentNode(1);if("value-paren_group"===_o50.type&&_i72&&"value-func"===_i72.type&&"selector"===_i72.value){var _e174=PB(_o50.open)+1,_n97=OB(_o50.close)-1,_r107=t.originalText.slice(_e174,_n97).trim();return kB(_r107)?[_T,_r107]:_r107}return r.value;case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(PB(r),OB(r));case"value-comma_group":for(var _t151=e.getParentNode(),_o51=e.getParentNode(1),_i73=qT(e),_u26=_i73&&"value-value"===_t151.type&&("grid"===_i73||_i73.startsWith("grid-template")),_s31=$T(e,"css-atrule"),_a13=_s31&&ZT(_s31),_c16=r.groups.some((function(e){return vB(e)})),_l12=e.map(n,"groups"),_p11=[],_f8=UT(e,"url"),_d7=!1,_h7=!1,_n98=0;_n980&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",TT(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){for(var _t152=e.map(n,"groups"),_r108=[],_e175=0;_e175<_t152.length;_e175++)0!==_e175&&_r108.push([",",BT]),_r108.push(_t152[_e175]);return PT(IT(OT(_r108)))}var _i75=CB(e),_u27=ke(r.groups),_s32=_u27&&"value-comment"===_u27.type,_a14=gB(r,_o52),_c18=PT([r.open?n("open"):"",IT([NT,TT([",",BT],e.map((function(e){var t=e.getValue(),r=n();if(mB(t)&&"value-comma_group"===t.type&&t.groups&&"value-paren_group"!==t.groups[0].type&&t.groups[2]&&"value-paren_group"===t.groups[2].type){var _e176=RT(r.contents.contents);return _e176[1]=PT(_e176[1]),PT(jT(r))}return r}),"groups"))]),LT(!_s32&&YT(t.parser,t.originalText)&&_i75&&IB(t)?",":""),NT,r.close?n("close"):""],{shouldBreak:_i75&&!_a14});return _a14?jT(_c18):_c18;case"value-func":return[r.value,HT(e,"supports")&&TB(r)?" ":"",n("group")];case"value-number":return[$B(r.value),WT(r.unit)];case"value-word":return r.isColor&&r.isHex||XT(r.value)?r.value.toLowerCase():r.value;case"value-colon":var _t153=e.getParentNode(),_n99=_t153&&_t153.groups.indexOf(r),_o53=_n99&&_t153.groups[_n99-1];return[r.value,_o53&&"string"==typeof _o53.value&&"\\"===ke(_o53.value)||UT(e,"url")?"":BT];case"value-string":return AT(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",r.value];default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:Kw,insertPragma:VT,massageAstNode:Hw},WB={singleQuote:Ow.singleQuote},UB={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},zB={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},HB={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},GB={languages:[df({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},(function(e){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[].concat(_toConsumableArray(e.extensions),[".wxss"])}})),df(UB,(function(){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}})),df(zB,(function(){return{since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}})),df(HB,(function(){return{since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}}))],options:WB,printers:{postcss:qB},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},JB={locStart:function locStart(e){return e.loc.start.offset},locEnd:function locEnd(e){return e.loc.end.offset}};function XB(e,t){if("TextNode"===e.type){var _n100=e.chars.trim();if(!_n100)return null;t.chars=_n100.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}XB.ignoredProperties=new Set(["loc","selfClosing"]);var YB=XB,KB=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function QB(e){return ZB(e,["TextNode"])&&!/\S/.test(e.chars)}function ZB(e,t){return e&&t.includes(e.type)}function ek(e,t){return ZB(e.getParentNode(0),t)}function tk(e,t){var n=e.getValue(),r=e.getParentNode(0)||{},o=r.children||r.body||r.parts||[],i=o.indexOf(n);return-1!==i&&o[i+t]}function nk(e){return tk(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function rk(e){return tk(e,1)}function ok(e){return ZB(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var ik={getNextNode:rk,getPreviousNode:nk,hasPrettierIgnore:function hasPrettierIgnore(e){var t=e.getValue(),n=nk(e,2);return ok(t)||ok(n)},isLastNodeOfSiblings:function isLastNodeOfSiblings(e){var t=e.getValue(),n=e.getParentNode(0);return!(!ek(e,["ElementNode"])||ke(n.children)!==t)||!(!ek(e,["Block"])||ke(n.body)!==t)},isNextNodeOfSomeType:function isNextNodeOfSomeType(e,t){return ZB(rk(e),t)},isNodeOfSomeType:ZB,isParentOfSomeType:ek,isPreviousNodeOfSomeType:function isPreviousNodeOfSomeType(e,t){return ZB(nk(e),t)},isVoid:function isVoid(e){return function(e){return ZB(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((function(e){return QB(e)}))||KB.has(e.tag)},isWhitespaceNode:QB},_Rn$builders36=Rn.builders,uk=_Rn$builders36.dedent,sk=_Rn$builders36.fill,ak=_Rn$builders36.group,ck=_Rn$builders36.hardline,lk=_Rn$builders36.ifBreak,pk=_Rn$builders36.indent,fk=_Rn$builders36.join,dk=_Rn$builders36.line,hk=_Rn$builders36.softline,mk=_Rn$builders36.literalline,gk=Rn.utils.getDocParts,yk=rn.isNonEmptyArray,Dk=rn.replaceEndOfLineWith,Ek=JB.locStart,bk=JB.locEnd,Ck=ik.getNextNode,vk=ik.getPreviousNode,Ak=ik.hasPrettierIgnore,Fk=ik.isLastNodeOfSiblings,xk=ik.isNextNodeOfSomeType,Sk=ik.isNodeOfSomeType,wk=ik.isParentOfSomeType,Tk=ik.isPreviousNodeOfSomeType,Bk=ik.isVoid,kk=ik.isWhitespaceNode;function Nk(e,t,n){var r=e.getValue().children.every((function(e){return kk(e)}));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((function(e,r){var o=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[hk,o]:o}),"children")}function Pk(e){return Bk(e)?lk([hk,"/>"],[" />",hk]):lk([hk,">"],">")}function Ok(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function Ik(e){var t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function jk(e){return[Ok(e),e.closeStrip.open?"~":"","/"]}function Lk(e){var t=Ik(e);return[e.closeStrip.close?"~":"",t]}function _k(e){return[Ok(e),e.inverseStrip.open?"~":""]}function Mk(e){var t=Ik(e);return[e.inverseStrip.close?"~":"",t]}function Rk(e,t){var n=e.getValue(),r=function(e){return[Ok(e),e.openStrip.open?"~":"","#"]}(n),o=function(e){var t=Ik(e);return[e.openStrip.close?"~":"",t]}(n),i=[Zk(e,t)],u=eN(e,t);if(u&&i.push(dk,u),yk(n.program.blockParams)){var _e177=tN(n.program);i.push(dk,_e177)}return ak([r,pk(i),hk,o])}function Vk(e,t){return["ignore"===t.htmlWhitespaceSensitivity?ck:"",_k(e),"else",Mk(e)]}function $k(e,t){var n=e.getParentNode(1);return[_k(n),"else if ",eN(e,t),Mk(n)]}function qk(e,t,n){var r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[Wk(r)?hk:ck,jk(r),t("path"),Lk(r)]:[jk(r),t("path"),Lk(r)]}function Wk(e){return Sk(e,["BlockStatement"])&&e.program.body.every((function(e){return kk(e)}))}function Uk(e){return Sk(e,["BlockStatement"])&&e.inverse}function zk(e,t,n){if(Wk(e.getValue()))return"";var r=t("program");return"ignore"===n.htmlWhitespaceSensitivity?pk([ck,r]):pk(r)}function Hk(e,t,n){var r=e.getValue(),o=t("inverse"),i="ignore"===n.htmlWhitespaceSensitivity?[ck,o]:o;return function(e){return Uk(e)&&1===e.inverse.body.length&&Sk(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(r)?i:Uk(r)?[Vk(r,n),pk(i)]:""}function Gk(e){return gk(fk(dk,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function Jk(e){return(e="string"==typeof e?e:"").split("\n").length-1}function Xk(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Array(Math.min(e,2)).fill(ck)}function Yk(e,t){var n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},o=e.singleQuote?r:n,i=o===r?n:r,u=!1;return(t.includes(o.quote)||t.includes(i.quote))&&(u=(t.match(o.regex)||[]).length>(t.match(i.regex)||[]).length),u?i:o}function Kk(e,t){var n=Zk(e,t),r=eN(e,t);return r?pk([n,dk,ak(r)]):n}function Qk(e,t){var n=Zk(e,t),r=eN(e,t);return r?[pk([n,dk,r]),hk]:n}function Zk(e,t){return t("path")}function eN(e,t){var n=e.getValue(),r=[];if(n.params.length>0){var _n101=e.map(t,"params");r.push.apply(r,_toConsumableArray(_n101))}if(n.hash&&n.hash.pairs.length>0){var _e178=t("hash");r.push(_e178)}return 0===r.length?"":fk(dk,r)}function tN(e){return["as |",e.blockParams.join(" "),"|"]}var nN={print:function print(e,t,n){var r=e.getValue();if(!r)return"";if(Ak(e))return t.originalText.slice(Ek(r),bk(r));switch(r.type){case"Block":case"Program":case"Template":return ak(e.map(n,"body"));case"ElementNode":var _o54=ak(function(e,t){var n=e.getValue(),r=["attributes","modifiers","comments","blockParams"].filter((function(e){return yk(n[e])})).map((function(r){return[dk,"blockParams"===r?tN(n):fk(dk,e.map(t,r))]}));return["<",n.tag,pk(r),Pk(n)]}(e,n)),_i76="ignore"===t.htmlWhitespaceSensitivity&&xk(e,["ElementNode"])?hk:"";if(Bk(r))return[_o54,_i76];var _u28=[""];return 0===r.children.length?[_o54,pk(_u28),_i76]:"ignore"===t.htmlWhitespaceSensitivity?[_o54,pk(Nk(e,t,n)),ck,pk(_u28),_i76]:[_o54,pk(ak(Nk(e,t,n))),pk(_u28),_i76];case"BlockStatement":var _o55=e.getParentNode(1);return _o55&&_o55.inverse&&1===_o55.inverse.body.length&&_o55.inverse.body[0]===r&&"if"===_o55.inverse.body[0].path.parts[0]?[$k(e,n),zk(e,n,t),Hk(e,n,t)]:[Rk(e,n),ak([zk(e,n,t),Hk(e,n,t),qk(e,n,t)])];case"ElementModifierStatement":return ak(["{{",Qk(e,n),"}}"]);case"MustacheStatement":return ak([Ok(r),Qk(e,n),Ik(r)]);case"SubExpression":return ak(["(",Kk(e,n),hk,")"]);case"AttrNode":var _e179="TextNode"===r.value.type;if(_e179&&""===r.value.chars&&Ek(r.value)===bk(r.value))return r.name;var _o56=_e179?Yk(t,r.value.chars).quote:"ConcatStatement"===r.value.type?Yk(t,r.value.parts.filter((function(e){return"TextNode"===e.type})).map((function(e){return e.chars})).join("")).quote:"",_i77=n("value");return[r.name,"=",_o56,"class"===r.name&&_o56?ak(pk(_i77)):_i77,_o56];case"ConcatStatement":return e.map(n,"parts");case"Hash":return fk(dk,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":var _n102=r.chars.replace(/{{/g,"\\{{"),_o57=function(e){for(var _t154=0;_t154<2;_t154++){var _n103=e.getParentNode(_t154);if(_n103&&"AttrNode"===_n103.type)return _n103.name.toLowerCase()}}(e);if(_o57){if("class"===_o57){var _t155=_n102.trim().split(/\s+/).join(" "),_r109=!1,_o58=!1;return wk(e,["ConcatStatement"])&&(Tk(e,["MustacheStatement"])&&/^\s/.test(_n102)&&(_r109=!0),xk(e,["MustacheStatement"])&&/\s$/.test(_n102)&&""!==_t155&&(_o58=!0)),[_r109?dk:"",_t155,_o58?dk:""]}return Dk(_n102,mk)}var _i78=/^[\t\n\f\r ]*$/.test(_n102),_u29=!vk(e),_s33=!Ck(e);if("ignore"!==t.htmlWhitespaceSensitivity){var _t156=/^[\t\n\f\r ]*/,_r110=/[\t\n\f\r ]*$/,_o59=_s33&&wk(e,["Template"]),_a16=_u29&&wk(e,["Template"]);if(_i78){if(_a16||_o59)return"";var _t157=[dk],_r111=Jk(_n102);return _r111&&(_t157=Xk(_r111)),Fk(e)&&(_t157=_t157.map((function(e){return uk(e)}))),_t157}var _c20=_slicedToArray(_n102.match(_t156),1)[0],_l14=_slicedToArray(_n102.match(_r110),1)[0],_p13=[];if(_c20){_p13=[dk];var _e180=Jk(_c20);_e180&&(_p13=Xk(_e180)),_n102=_n102.replace(_t156,"")}var _f10=[];if(_l14){if(!_o59){_f10=[dk];var _t158=Jk(_l14);_t158&&(_f10=Xk(_t158)),Fk(e)&&(_f10=_f10.map((function(e){return uk(e)})))}_n102=_n102.replace(_r110,"")}return[].concat(_toConsumableArray(_p13),[sk(Gk(_n102))],_toConsumableArray(_f10))}var _a15=Jk(_n102),_c19=function(e){return Jk(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(_n102),_l13=function(e){return Jk(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(_n102);if((_u29||_s33)&&_i78&&wk(e,["Block","ElementNode","Template"]))return"";_i78&&_a15?(_c19=Math.min(_a15,2),_l13=0):(xk(e,["BlockStatement","ElementNode"])&&(_l13=Math.max(_l13,1)),Tk(e,["BlockStatement","ElementNode"])&&(_c19=Math.max(_c19,1)));var _p12="",_f9="";return 0===_l13&&xk(e,["MustacheStatement"])&&(_f9=" "),0===_c19&&Tk(e,["MustacheStatement"])&&(_p12=" "),_u29&&(_c19=0,_p12=""),_s33&&(_l13=0,_f9=""),_n102=_n102.replace(/^[\t\n\f\r ]+/g,_p12).replace(/[\t\n\f\r ]+$/,_f9),[].concat(_toConsumableArray(Xk(_c19)),[sk(Gk(_n102))],_toConsumableArray(Xk(_l13)));case"MustacheCommentStatement":var _e181=Ek(r),_n104=bk(r),_o60="~"===t.originalText.charAt(_e181+2),_i79="~"===t.originalText.charAt(_n104-3),_u30=r.value.includes("}}")?"--":"";return["{{",_o60?"~":"","!",_u30,r.value,_u30,_i79?"~":"","}}"];case"PathExpression":return r.original;case"BooleanLiteral":case"NumberLiteral":return String(r.value);case"CommentStatement":return["\x3c!--",r.value,"--\x3e"];case"StringLiteral":return function(e,t){var _Yk=Yk(t,e),n=_Yk.quote,r=_Yk.regex;return[n,e.replace(r,"\\".concat(n)),n]}(r.value,t);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:YB},rN={languages:[df({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},(function(){return{since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}}))],printers:{glimmer:nN},parsers:{get glimmer(){return{}.parsers.glimmer}}},oN={hasPragma:function hasPragma(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function insertPragma(e){return"# @format\n\n"+e}},iN={locStart:function locStart(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function locEnd(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}},_Rn$builders37=Rn.builders,uN=_Rn$builders37.join,sN=_Rn$builders37.hardline,aN=_Rn$builders37.line,cN=_Rn$builders37.softline,lN=_Rn$builders37.group,pN=_Rn$builders37.indent,fN=_Rn$builders37.ifBreak,dN=rn.isNextLineEmpty,hN=rn.isNonEmptyArray,mN=oN.insertPragma,gN=iN.locStart,yN=iN.locEnd;function DN(e,t,n){if(0===n.directives.length)return"";var r=uN(aN,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?lN([aN,r]):[" ",lN(pN([cN,r]))]}function EN(e,t,n){var r=e.getValue().length;return e.map((function(e,o){var i=n();return dN(t.originalText,e.getValue(),yN)&&o0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call((function(e){return EN(e,t,n)}),"arguments"))]),cN,")"]):"",DN(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"StringValue":return r.block?['"""',sN,uN(sN,r.value.replace(/"""/g,"\\$&").split("\n")),sN,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return lN(["[",pN([cN,uN([fN("",", "),cN],e.map(n,"values"))]),cN,"]"]);case"ObjectValue":return lN(["{",t.bracketSpacing&&r.fields.length>0?" ":"",pN([cN,uN([fN("",", "),cN],e.map(n,"fields"))]),cN,fN("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call((function(e){return EN(e,t,n)}),"arguments"))]),cN,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",DN(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?sN:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements "].concat(_toConsumableArray(bN(e,t,n))):"",DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"fields"))]),sN,"}"]:""];case"FieldDefinition":return[n("description"),r.description?sN:"",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call((function(e){return EN(e,t,n)}),"arguments"))]),cN,")"]):"",": ",n("type"),DN(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?sN:"","directive ","@",n("name"),r.arguments.length>0?lN(["(",pN([cN,uN([fN("",", "),cN],e.call((function(e){return EN(e,t,n)}),"arguments"))]),cN,")"]):"",r.repeatable?" repeatable":""," on ",uN(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?sN:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",n("name"),DN(e,n,r),r.values.length>0?[" {",pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"values"))]),sN,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?sN:"",n("name"),DN(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?sN:aN:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",DN(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?sN:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",n("name"),DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"fields"))]),sN,"}"]:""];case"SchemaDefinition":return["schema",DN(e,n,r)," {",r.operationTypes.length>0?pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"operationTypes"))]):"",sN,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?sN:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements "].concat(_toConsumableArray(bN(e,t,n))):"",DN(e,n,r),r.fields.length>0?[" {",pN([sN,uN(sN,e.call((function(e){return EN(e,t,n)}),"fields"))]),sN,"}"]:""];case"FragmentSpread":return["...",n("name"),DN(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",DN(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return lN([n("description"),r.description?sN:"",lN(["UnionTypeExtension"===r.kind?"extend ":"","union ",n("name"),DN(e,n,r),r.types.length>0?[" =",fN(""," "),pN([fN([aN," "]),uN([aN,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?sN:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",n("name"),DN(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:CN,hasPrettierIgnore:function hasPrettierIgnore(e){var t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some((function(e){return"prettier-ignore"===e.value.trim()}))},insertPragma:mN,printComment:function printComment(e){var t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function canAttachComment(e){return e.kind&&"Comment"!==e.kind}},AN={bracketSpacing:Ow.bracketSpacing},FN={languages:[df({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},(function(){return{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}}))],options:AN,printers:{graphql:vN},parsers:{get graphql(){return{}.parsers.graphql}}},xN={locStart:function locStart(e){return e.position.start.offset},locEnd:function locEnd(e){return e.position.end.offset}},SN=rn.getLast,wN=xN.locStart,TN=xN.locEnd,_cjkPattern$kPattern$={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},BN=_cjkPattern$kPattern$.cjkPattern,kN=_cjkPattern$kPattern$.kPattern,NN=_cjkPattern$kPattern$.punctuationPattern,PN=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],ON=[].concat(PN,["tableCell","paragraph","heading"]),IN=new RegExp(kN),jN=new RegExp(NN);function LN(e,t){var _t$slice$match2=_slicedToArray(t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),4);return{numberText:_t$slice$match2[1],marker:_t$slice$match2[2],leadingSpaces:_t$slice$match2[3]}}var _N={mapAst:function mapAst(e,t){return function e(n,r,o){var i=Object.assign({},t(n,r,o));return i.children&&(i.children=i.children.map((function(t,n){return e(t,n,[i].concat(_toConsumableArray(o)))}))),i}(e,null,[])},splitText:function splitText(e,t){var _step67,n="non-cjk",r="cj-letter",o="cjk-punctuation",i=[],u=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(BN,")\n(").concat(BN,")"),"g"),"$1$2")).split(/([\t\n ]+)/),_iterator67=_createForOfIteratorHelper(u.entries());try{for(_iterator67.s();!(_step67=_iterator67.n()).done;){var _step67$value=_slicedToArray(_step67.value,2),_e184=_step67$value[0],_t159=_step67$value[1];if(_e184%2!=1){if(0!==_e184&&_e184!==u.length-1||""!==_t159){var _step68,_a17=_t159.split(new RegExp("(".concat(BN,")"))),_iterator68=_createForOfIteratorHelper(_a17.entries());try{for(_iterator68.s();!(_step68=_iterator68.n()).done;){var _step68$value=_slicedToArray(_step68.value,2),_e185=_step68$value[0],_t160=_step68$value[1];(0!==_e185&&_e185!==_a17.length-1||""!==_t160)&&(_e185%2!=0?s(jN.test(_t160)?{type:"word",value:_t160,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:_t160,kind:IN.test(_t160)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==_t160&&s({type:"word",value:_t160,kind:n,hasLeadingPunctuation:jN.test(_t160[0]),hasTrailingPunctuation:jN.test(SN(_t160))}))}}catch(err){_iterator68.e(err)}finally{_iterator68.f()}}}else i.push({type:"whitespace",value:/\n/.test(_t159)?"\n":" "})}}catch(err){_iterator67.e(err)}finally{_iterator67.f()}return i;function s(e){var u,s,t=SN(i);t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(u=n,s=o,t.kind===u&&e.kind===s||t.kind===s&&e.kind===u||[t.value,e.value].some((function(e){return/\u3000/.test(e)}))||i.push({type:"whitespace",value:""}))),i.push(e)}},punctuationPattern:NN,getFencedCodeBlockValue:function getFencedCodeBlockValue(e,t){var n=e.value;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:LN,hasGitDiffFriendlyOrderedList:function hasGitDiffFriendlyOrderedList(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;var n=Number(LN(e.children[0],t.originalText).numberText),r=Number(LN(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){var _n106=Number(LN(e.children[2],t.originalText).numberText);return 1===r&&1===_n106}return 1===r},INLINE_NODE_TYPES:PN,INLINE_NODE_WRAPPER_TYPES:ON,isAutolink:function isAutolink(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;var t=e.children[0];return t&&wN(e)===wN(t)&&TN(e)===TN(t)}},MN=rn.inferParserByLanguage,RN=rn.getMaxContinuousCount,_Rn$builders38=Rn.builders,VN=_Rn$builders38.hardline,$N=_Rn$builders38.markAsRoot,qN=Rn.utils.replaceNewlinesWithLiterallines,WN=_N.getFencedCodeBlockValue,UN=function UN(e,t,n,r){var o=e.getValue();if("code"===o.type&&null!==o.lang){var _e186=MN(o.lang,r);if(_e186){var _t161=r.__inJsTemplate?"~":"`",_i82=_t161.repeat(Math.max(3,RN(o.value,_t161)+1)),_u32=n(WN(o,r.originalText),{parser:_e186},{stripTrailingHardline:!0});return $N([_i82,o.lang,o.meta?" "+o.meta:"",VN,qN(_u32),VN,_i82])}}switch(o.type){case"front-matter":return Xw(o,n);case"importExport":return[n(o.value,{parser:"babel"},{stripTrailingHardline:!0}),VN];case"jsx":return n("<$>".concat(o.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},zN=["format","prettier"];function HN(e){var t="@(".concat(zN.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var GN={startWithPragma:HN,hasPragma:function hasPragma(e){return HN(Zw(e).content.trimStart())},insertPragma:function insertPragma(e){var t=Zw(e),n="\x3c!-- @".concat(zN[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}},JN=_N.getOrderedListItemInfo,XN=_N.mapAst,YN=_N.splitText,KN=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function QN(e,t,n){return XN(e,(function(e){if(!e.children)return e;var r=e.children.reduce((function(e,r){var o=ke(e);return o&&t(o,r)?e.splice(-1,1,n(o,r)):e.push(r),e}),[]);return Object.assign({},e,{children:r})}))}var ZN=function ZN(e,t){return function(e){return QN(e,(function(e,t){return"importExport"===e.type&&"importExport"===t.type}),(function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e){return XN(e,(function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"})}))}(e=function(e,t){return XN(e,(function(e,n,_ref106){var r=_slicedToArray(_ref106,1)[0];if("text"!==e.type)return e;var o=e.value;return"paragraph"===r.type&&(0===n&&(o=o.trimStart()),n===r.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:YN(o,t)}}))}(e=function(e,t){return XN(e,(function(e,t,n){if("list"===e.type&&e.children.length>0){for(var _t162=0;_t1621)return!0;var i=n(r);return-1!==i&&(1===e.children.length?i%t.tabWidth==0:i===n(o)&&(i%t.tabWidth==0||JN(o,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return XN(e,(function(e,n,r){if("code"===e.type){var _n107=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=_n107,_n107)for(var _e187=0;_e1870&&(n.children[0]===e||eP(n.children[0])&&n.children[1]===e)&&"html"===e.type&&tP(e.value)?null:void 0)}rP.ignoredProperties=nP;var oP=rP,iP=rn.getLast,uP=rn.getMinNotPresentContinuousCount,sP=rn.getMaxContinuousCount,aP=rn.getStringWidth,cP=rn.isNonEmptyArray,_Rn$builders39=Rn.builders,lP=_Rn$builders39.breakParent,pP=_Rn$builders39.join,fP=_Rn$builders39.line,dP=_Rn$builders39.literalline,hP=_Rn$builders39.markAsRoot,mP=_Rn$builders39.hardline,gP=_Rn$builders39.softline,yP=_Rn$builders39.ifBreak,DP=_Rn$builders39.fill,EP=_Rn$builders39.align,bP=_Rn$builders39.indent,CP=_Rn$builders39.group,vP=_Rn$builders39.hardlineWithoutBreakParent,AP=Rn.utils.normalizeDoc,FP=Rn.printer.printDocToString,xP=rn.replaceEndOfLineWith,SP=GN.insertPragma,wP=xN.locStart,TP=xN.locEnd,BP=_N.getFencedCodeBlockValue,kP=_N.hasGitDiffFriendlyOrderedList,NP=_N.splitText,PP=_N.punctuationPattern,OP=_N.INLINE_NODE_TYPES,IP=_N.INLINE_NODE_WRAPPER_TYPES,jP=_N.isAutolink,LP=new Set(["importExport"]),_P=["heading","tableCell","link","wikiLink"],MP=new Set(["listItem","definition","footnoteDefinition"]);function RP(e,t,n,r){var o=e.getValue(),i=null===o.checked?"":o.checked?"[x] ":"[ ] ";return[i,zP(e,t,n,{processor:function processor(e,o){if(0===o&&"list"!==e.getValue().type)return EP(" ".repeat(i.length),n());var s,a,c,u=" ".repeat((c=3,(s=t.tabWidth-r.length)<(a=0)?a:s>c?c:s));return[u,EP(u,n())]}})]}function VP(e,t){return function(e,t,n){var _step69,r=-1,_iterator69=_createForOfIteratorHelper(t.children);try{for(_iterator69.s();!(_step69=_iterator69.n()).done;){var _o62=_step69.value;if(_o62.type===e.type&&n(_o62)?r++:r=-1,_o62===e)return r}}catch(err){_iterator69.e(err)}finally{_iterator69.f()}}(e,t,(function(t){return t.ordered===e.ordered}))}function $P(e,t){for(var r,n=Array.isArray(t)?t:[t],o=-1;r=e.getParentNode(++o);)if(n.includes(r.type))return o;return-1}function qP(e,t){var n=$P(e,t);return-1===n?null:e.getParentNode(n)}function WP(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return mP;var r="always"===n.proseWrap&&!qP(e,_P);return""!==t?r?fP:" ":r?gP:""}function UP(e,t,n){var _step70,r=[],o=null,i=e.getValue().children,_iterator70=_createForOfIteratorHelper(i.entries());try{for(_iterator70.s();!(_step70=_iterator70.n()).done;){var _step70$value=_slicedToArray(_step70.value,2),_e189=_step70$value[0],_t164=_step70$value[1];switch(GP(_t164)){case"start":null===o&&(o={index:_e189,offset:_t164.position.end.offset});break;case"end":null!==o&&(r.push({start:o,end:{index:_e189,offset:_t164.position.start.offset}}),o=null)}}}catch(err){_iterator70.e(err)}finally{_iterator70.f()}return zP(e,t,n,{processor:function processor(e,o){if(r.length>0){var _e188=r[0];if(o===_e188.start.index)return[i[_e188.start.index].value,t.originalText.slice(_e188.start.offset,_e188.end.offset),i[_e188.end.index].value];if(_e188.start.index3&&void 0!==arguments[3]?arguments[3]:{},o=r.postprocessor,i=r.processor||function(){return n()},u=e.getValue(),s=[];return e.each((function(e,n){var r=e.getValue(),o=i(e,n);if(!1!==o){var _e190={parts:s,prevNode:a,parentNode:u,options:t};(function(e,t){var n=0===t.parts.length,r=OP.includes(e.type),o="html"===e.type&&IP.includes(t.parentNode.type);return!n&&!r&&!o})(r,_e190)&&(s.push(mP),a&&LP.has(a.type)||(function(e,t){var n=(t.prevNode&&t.prevNode.type)===e.type&&MP.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,o=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,i="next"===GP(t.prevNode),u="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(n||r||i||u||s)}(r,_e190)||JP(r,_e190))&&s.push(mP),JP(r,_e190)&&s.push(mP)),s.push(o),a=r}}),"children"),o?o(s):s}function HP(e){for(var t=e;cP(t.children);)t=iP(t.children);return t}function GP(e){if("html"!==e.type)return!1;var t=e.value.match(/^$/);return null!==t&&(t[1]?t[1]:"next")}function JP(e,t){var n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function XP(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[" "].concat(_toConsumableArray(Array.isArray(t)?t:[t]));return new RegExp(n.map((function(e){return"\\".concat(e)})).join("|")).test(e)?"<".concat(e,">"):e}function YP(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+YP(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var r=e.split("'").length-1,o=e.split('"').length-1,i=r>o?'"':o>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i)}var KP={preprocess:ZN,print:function print(e,t,n){var r=e.getValue();if(function(e){var t=qP(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return NP(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map((function(n){return"word"===n.type?n.value:""===n.value?"":WP(e,n.value,t)}));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":[AP(UP(e,t,n)),LP.has(HP(r).type)?"":mP];case"paragraph":return zP(e,t,n,{postprocessor:DP});case"sentence":return zP(e,t,n);case"word":var _t165=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(PP,")(_+)"),"(_+)(".concat(PP,"|$)")].join("|"),"g"),(function(e,t,n,r,o){return(n?"".concat(t).concat(n):"".concat(r).concat(o)).replace(/_/g,"\\_")})),_n108=function _n108(e,t,n){return"sentence"===e.type&&0===n},_o63=function _o63(e,t,n){return jP(e.children[n-1])};return _t165!==r.value&&(e.match(void 0,_n108,_o63)||e.match(void 0,_n108,(function(e,t,n){return"emphasis"===e.type&&0===n}),_o63))&&(_t165=_t165.replace(/^(\\?[*_])+/,(function(e){return e.replace(/\\/g,"")}))),_t165;case"whitespace":var _n109=e.getParentNode(),_o64=_n109.children.indexOf(r),_i83=_n109.children[_o64+1],_u33=_i83&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(_i83.value)?"never":t.proseWrap;return WP(e,r.value,{proseWrap:_u33});case"emphasis":var _o65;if(jP(r.children[0]))_o65=t.originalText[r.position.start.offset];else{var _t166=e.getParentNode(),_n110=_t166.children.indexOf(r),_i84=_t166.children[_n110-1],_u34=_t166.children[_n110+1];_o65=_i84&&"sentence"===_i84.type&&_i84.children.length>0&&"word"===iP(_i84.children).type&&!iP(_i84.children).hasTrailingPunctuation||_u34&&"sentence"===_u34.type&&_u34.children.length>0&&"word"===_u34.children[0].type&&!_u34.children[0].hasLeadingPunctuation||qP(e,"emphasis")?"*":"_"}return[_o65,zP(e,t,n),_o65];case"strong":return["**",zP(e,t,n),"**"];case"delete":return["~~",zP(e,t,n),"~~"];case"inlineCode":var _e191=uP(r.value,"`"),_t167="`".repeat(_e191||1),_n111=_e191&&!/^\s/.test(r.value)?" ":"";return[_t167,_n111,r.value,_n111,_t167];case"wikiLink":return["[[","preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),"]]"];case"link":switch(t.originalText[r.position.start.offset]){case"<":var _e193="mailto:";return["<",r.url.startsWith(_e193)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+_e193.length)!==_e193?r.url.slice(_e193.length):r.url,">"];case"[":return["[",zP(e,t,n),"](",XP(r.url,")"),YP(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return["![",r.alt||"","](",XP(r.url,")"),YP(r.title,t),")"];case"blockquote":return["> ",EP("> ",zP(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",zP(e,t,n)];case"code":if(r.isIndented){var _e195=" ".repeat(4);return EP(_e195,[_e195].concat(_toConsumableArray(xP(r.value,mP))))}var _e194=t.__inJsTemplate?"~":"`",_n112=_e194.repeat(Math.max(3,sP(r.value,_e194)+1));return[_n112,r.lang||"",r.meta?" "+r.meta:"",mP].concat(_toConsumableArray(xP(BP(r,t.originalText),mP)),[mP,_n112]);case"html":var _t168=e.getParentNode(),_n113="root"===_t168.type&&iP(_t168.children)===r?r.value.trimEnd():r.value,_o66=/^$/.test(_n113);return xP(_n113,_o66?mP:hP(dP));case"list":var _o67=VP(r,e.getParentNode()),_i85=kP(r,t);return zP(e,t,n,{processor:function processor(e,u){var s=function(){var e=r.ordered?(0===u?r.start:_i85?1:r.start+u)+(_o67%2==0?". ":") "):_o67%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){var n=r();return e+" ".repeat(n>=4?0:n);function r(){var n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),a=e.getValue();return 2===a.children.length&&"html"===a.children[1].type&&a.children[0].position.start.column!==a.children[1].position.start.column?[s,RP(e,t,n,s)]:[s,EP(" ".repeat(s.length),RP(e,t,n,s))]}});case"thematicBreak":var _t169=$P(e,"list");return-1===_t169?"---":VP(e.getParentNode(_t169),e.getParentNode(_t169+1))%2==0?"***":"---";case"linkReference":return["[",zP(e,t,n),"]","full"===r.referenceType?["[",r.identifier,"]"]:"collapsed"===r.referenceType?"[]":""];case"imageReference":return"full"===r.referenceType?["![",r.alt||"","][",r.identifier,"]"]:["![",r.alt,"]","collapsed"===r.referenceType?"[]":""];case"definition":var _e196="always"===t.proseWrap?fP:" ";return CP(["[",r.identifier,"]:",bP([_e196,XP(r.url),null===r.title?"":[_e196,YP(r.title,t,!1)]])]);case"footnote":return["[^",zP(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":var _o68=e.getParentNode().children[e.getName()+1],_i86=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return["[^",r.identifier,"]: ",_i86?zP(e,t,n):CP([EP(" ".repeat(4),zP(e,t,n,{processor:function processor(e,t){return 0===t?CP([gP,n()]):n()}})),_o68&&"footnoteDefinition"===_o68.type?gP:""])];case"table":return function(e,t,n){var r=e.getValue(),o=[],i=e.map((function(e){return e.map((function(e,r){var i=FP(n(),t).formatted,u=aP(i);return o[r]=Math.max(o[r]||3,u),{text:i,width:u}}),"children")}),"children"),u=a(!1);if("never"!==t.proseWrap)return[lP,u];var s=a(!0);return[lP,CP(yP(s,u))];function a(e){var t=[l(i[0],e),c(e)];return i.length>1&&t.push(pP(vP,i.slice(1).map((function(t){return l(t,e)})))),pP(vP,t)}function c(e){var t=o.map((function(t,n){var o=r.align[n],i="center"===o||"left"===o?":":"-",u="center"===o||"right"===o?":":"-",s=e?"-":"-".repeat(t-2);return"".concat(i).concat(s).concat(u)}));return"| ".concat(t.join(" | ")," |")}function l(e,t){var n=e.map((function(_ref108,i){var e=_ref108.text,n=_ref108.width;if(t)return e;var u=o[i]-n,s=r.align[i],a=0;"right"===s?a=u:"center"===s&&(a=Math.floor(u/2));var c=u-a;return"".concat(" ".repeat(a)).concat(e).concat(" ".repeat(c))}));return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return zP(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",hP(dP)]:["\\",mP];case"liquidNode":return xP(r.value,mP);case"importExport":return[r.value,mP];case"jsx":return r.value;case"math":return["$$",mP,r.value?[].concat(_toConsumableArray(xP(r.value,mP)),[mP]):"","$$"];case"inlineMath":return t.originalText.slice(wP(r),TP(r));default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:UN,massageAstNode:oP,hasPrettierIgnore:function hasPrettierIgnore(e){var t=Number(e.getName());return 0!==t&&"next"===GP(e.getParentNode().children[t-1])},insertPragma:SP},QP={proseWrap:Ow.proseWrap,singleQuote:Ow.singleQuote},ZP={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},eO={languages:[df(ZP,(function(e){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[].concat(_toConsumableArray(e.filenames),["README"]),extensions:e.extensions.filter((function(e){return".mdx"!==e}))}})),df(ZP,(function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}}))],options:QP,printers:{mdast:KP},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}},tO=rn.isFrontMatterNode,nO=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function rO(e,t){return"text"===e.type||"comment"===e.type||tO(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}rO.ignoredProperties=nO;var oO=rO,iO={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},uO=rn.inferParserByLanguage,sO=rn.isFrontMatterNode,_CSS_DISPLAY_TAGS$CSS2={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},aO=_CSS_DISPLAY_TAGS$CSS2.CSS_DISPLAY_TAGS,cO=_CSS_DISPLAY_TAGS$CSS2.CSS_DISPLAY_DEFAULT,lO=_CSS_DISPLAY_TAGS$CSS2.CSS_WHITE_SPACE_TAGS,pO=_CSS_DISPLAY_TAGS$CSS2.CSS_WHITE_SPACE_DEFAULT,fO=yO(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),dO=function(e,t){for(var n=Object.create(null),_i87=0,_Object$entries10=Object.entries(e);_i87<_Object$entries10.length;_i87++){var _Object$entries10$_i=_slicedToArray(_Object$entries10[_i87],2),_r115=_Object$entries10$_i[0],_o69=_Object$entries10$_i[1];n[_r115]=t(_o69,_r115)}return n}(iO,yO),hO=new Set(["\t","\n","\f","\r"," "]),mO=function mO(e){return e.replace(/[\t\n\f\r ]+$/,"")},gO=function gO(e){return e.match(/^[\t\n\f\r ]*/)[0]};function yO(e){var _step71,t=Object.create(null),_iterator71=_createForOfIteratorHelper(e);try{for(_iterator71.s();!(_step71=_iterator71.n()).done;)t[_step71.value]=!0}catch(err){_iterator71.e(err)}finally{_iterator71.f()}return t}function DO(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!kO(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))||!(!LO(e,t)||bO(e)||"interpolation"===e.type)}function EO(e){return"attribute"!==e.type&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function bO(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||NO(e)&&("script"===e.name||"style"===e.name))}function CO(e){return PO(e).startsWith("pre")}function vO(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function AO(e){return wO(e)||"element"===e.type&&"br"===e.fullName||FO(e)}function FO(e){return xO(e)&&SO(e)}function xO(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function wO(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function TO(e){var _e$attrMap2=e.attrMap,t=_e$attrMap2.type,n=_e$attrMap2.lang;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function BO(e){return"block"===e||"list-item"===e||e.startsWith("table")}function kO(e){return PO(e).startsWith("pre")}function NO(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function PO(e){return"element"===e.type&&(!e.namespace||NO(e))&&lO[e.name]||pO}var OO=new Set(["template","style","script"]);function IO(e,t){return jO(e,t)&&!OO.has(e.fullName)}function jO(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function LO(e,t){return jO(e,t)&&(IO(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var _O={HTML_ELEMENT_ATTRIBUTES:dO,HTML_TAGS:fO,htmlTrim:function htmlTrim(e){return function(e){return e.replace(/^[\t\n\f\r ]+/,"")}(mO(e))},htmlTrimPreserveIndentation:function htmlTrimPreserveIndentation(e){return function(e){return e.replace(/^[\t\f\r ]*?\n/g,"")}(mO(e))},splitByHtmlWhitespace:function splitByHtmlWhitespace(e){return e.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function hasHtmlWhitespace(e){return/[\t\n\f\r ]/.test(e)},getLeadingAndTrailingHtmlWhitespace:function getLeadingAndTrailingHtmlWhitespace(e){var _e$match4=_slicedToArray(e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),4),t=_e$match4[1],n=_e$match4[2];return{leadingWhitespace:t,trailingWhitespace:_e$match4[3],text:n}},canHaveInterpolation:function canHaveInterpolation(e){return e.children&&!bO(e)},countChars:function countChars(e,t){for(var n=0,_r116=0;_r116=0;_r117--){var _o70=e.stack[_r117];_o70&&"object"==_typeof(_o70)&&!Array.isArray(_o70)&&t(_o70)&&n++}return n},dedentString:function dedentString(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var _step72,t=Number.POSITIVE_INFINITY,_iterator72=_createForOfIteratorHelper(e.split("\n"));try{for(_iterator72.s();!(_step72=_iterator72.n()).done;){var _n115=_step72.value;if(0!==_n115.length){if(!hO.has(_n115[0]))return 0;var _e197=gO(_n115).length;_n115.length!==_e197&&_e1970&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&xO(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||SO(e.lastChild))},forceNextEmptyLine:function forceNextEmptyLine(e){return sO(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})),RO=function(){function RO(e,t,n){_classCallCheck(this,RO),this.filePath=e,this.name=t,this.members=n}return _createClass(RO,[{key:"assertNoMembers",value:function assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),RO}(),VO=RO,$O=function(){function $O(){_classCallCheck(this,$O),this.cache=new Map}return _createClass($O,[{key:"get",value:function get(e,t,n){var r=(n=n||[]).length?".".concat(n.join(".")):"",o='"'.concat(e,'".').concat(t).concat(r),i=this.cache.get(o);return i||(i=new RO(e,t,n),this.cache.set(o,i)),i}}]),$O}(),qO=Object.defineProperty({StaticSymbol:VO,StaticSymbolCache:$O},"__esModule",{value:!0}),WO=/-+([a-z0-9])/g,UO=function UO(e){return e.replace(WO,(function(){for(var _len15=arguments.length,e=new Array(_len15),_key15=0;_key15<_len15;_key15++)e[_key15]=arguments[_key15];return e[1].toUpperCase()}))},zO=function zO(e,t){return GO(e,":",t)},HO=function HO(e,t){return GO(e,".",t)};function GO(e,t,n){var r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function JO(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==_typeof(e)&&null!==e&&Object.getPrototypeOf(e)===sI}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}var XO=JO,YO=function YO(e){return null!=e},KO=function KO(e){return void 0===e?null:e},QO=function(){function QO(){_classCallCheck(this,QO)}return _createClass(QO,[{key:"visitArray",value:function visitArray(e,t){var _this20=this;return e.map((function(e){return JO(e,_this20,t)}))}},{key:"visitStringMap",value:function visitStringMap(e,t){var _this21=this,n={};return Object.keys(e).forEach((function(r){n[r]=JO(e[r],_this21,t)})),n}},{key:"visitPrimitive",value:function visitPrimitive(e,t){return e}},{key:"visitOther",value:function visitOther(e,t){return e}}]),QO}(),ZO={assertSync:function assertSync(e){if(pI(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function then(e,t){return pI(e)?e.then(t):t(e)},all:function all(e){return e.some(pI)?Promise.all(e):e}},eI=function eI(e){throw new Error("Internal Error: ".concat(e))},tI=function tI(e,t){var n=Error(e);return n[nI]=!0,t&&(n[rI]=t),n},nI="ngSyntaxError",rI="ngParseErrors",oI=function oI(e){return e[nI]},iI=function iI(e){return e[rI]||[]},uI=function uI(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},sI=Object.getPrototypeOf({}),aI=function aI(e){for(var t="",_n116=0;_n116=55296&&_r118<=56319&&e.length>_n116+1){var _t171=e.charCodeAt(_n116+1);_t171>=56320&&_t171<=57343&&(_n116++,_r118=(_r118-55296<<10)+_t171-56320+65536)}_r118<=127?t+=String.fromCharCode(_r118):_r118<=2047?t+=String.fromCharCode(_r118>>6&31|192,63&_r118|128):_r118<=65535?t+=String.fromCharCode(_r118>>12|224,_r118>>6&63|128,63&_r118|128):_r118<=2097151&&(t+=String.fromCharCode(_r118>>18&7|240,_r118>>12&63|128,_r118>>6&63|128,63&_r118|128))}return t},cI=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";var n=t.toString();if(null==n)return""+n;var r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},lI=function lI(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e};function pI(e){return!!e&&"function"==typeof e.then}var fI=pI,dI=_createClass((function dI(e){_classCallCheck(this,dI),this.full=e;var t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")})),hI="undefined"!=typeof window&&window,mI="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,gI=void 0!==r&&r||hI||mI,yI=Object.defineProperty({dashCaseToCamelCase:UO,splitAtColon:zO,splitAtPeriod:HO,visitValue:XO,isDefined:YO,noUndefined:KO,ValueTransformer:QO,SyncAsync:ZO,error:eI,syntaxError:tI,isSyntaxError:oI,getParseErrors:iI,escapeRegExp:uI,utf8Encode:aI,stringify:cI,resolveForwardRef:lI,isPromise:fI,Version:dI,global:gI},"__esModule",{value:!0}),DI=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;var u,o=0;function i(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof qO.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;var n=yI.stringify(t);return n.indexOf("(")>=0?(n="anonymous_".concat(o++),t.__anonymousType=n):n=r(n),n}t.identifierName=i,t.identifierModuleUrl=function(e){var t=e.reference;return t instanceof qO.StaticSymbol?t.filePath:"./".concat(yI.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(i({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(i({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(i({reference:e}))},t.componentFactoryName=function(e){return"".concat(i({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(u=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):i(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},t.CompileStylesheetMetadata=function(){function _class11(){var _ref109=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_ref109.moduleUrl,t=_ref109.styles,n=_ref109.styleUrls;_classCallCheck(this,_class11),this.moduleUrl=e||null,this.styles=a(t),this.styleUrls=a(n)}return _createClass(_class11)}(),t.CompileTemplateMetadata=function(){function _class12(_ref110){var e=_ref110.encapsulation,t=_ref110.template,n=_ref110.templateUrl,r=_ref110.htmlAst,o=_ref110.styles,i=_ref110.styleUrls,u=_ref110.externalStylesheets,s=_ref110.animations,l=_ref110.ngContentSelectors,p=_ref110.interpolation,f=_ref110.isInline,d=_ref110.preserveWhitespaces;if(_classCallCheck(this,_class12),this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=a(o),this.styleUrls=a(i),this.externalStylesheets=a(u),this.animations=s?c(s):[],this.ngContentSelectors=l||[],p&&2!=p.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=p,this.isInline=f,this.preserveWhitespaces=d}return _createClass(_class12,[{key:"toSummary",value:function toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),_class12}();var s=function(){function s(_ref111){var e=_ref111.isHost,t=_ref111.type,n=_ref111.isComponent,r=_ref111.selector,o=_ref111.exportAs,i=_ref111.changeDetection,u=_ref111.inputs,_s34=_ref111.outputs,c=_ref111.hostListeners,l=_ref111.hostProperties,p=_ref111.hostAttributes,f=_ref111.providers,d=_ref111.viewProviders,h=_ref111.queries,m=_ref111.guards,g=_ref111.viewQueries,y=_ref111.entryComponents,D=_ref111.template,E=_ref111.componentViewType,b=_ref111.rendererType,C=_ref111.componentFactory;_classCallCheck(this,s),this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=o,this.changeDetection=i,this.inputs=u,this.outputs=_s34,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=p,this.providers=a(f),this.viewProviders=a(d),this.queries=a(h),this.guards=m,this.viewQueries=a(g),this.entryComponents=a(y),this.template=D,this.componentViewType=E,this.rendererType=b,this.componentFactory=C}return _createClass(s,[{key:"toSummary",value:function toSummary(){return{summaryKind:u.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function create(_ref112){var e=_ref112.isHost,t=_ref112.type,r=_ref112.isComponent,o=_ref112.selector,i=_ref112.exportAs,u=_ref112.changeDetection,a=_ref112.inputs,c=_ref112.outputs,l=_ref112.host,p=_ref112.providers,f=_ref112.viewProviders,d=_ref112.queries,h=_ref112.guards,m=_ref112.viewQueries,g=_ref112.entryComponents,y=_ref112.template,D=_ref112.componentViewType,E=_ref112.rendererType,b=_ref112.componentFactory,C={},v={},A={};null!=l&&Object.keys(l).forEach((function(e){var t=l[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?v[r[1]]=t:null!=r[2]&&(C[r[2]]=t)}));var F={};null!=a&&a.forEach((function(e){var t=yI.splitAtColon(e,[e,e]);F[t[0]]=t[1]}));var x={};return null!=c&&c.forEach((function(e){var t=yI.splitAtColon(e,[e,e]);x[t[0]]=t[1]})),new s({isHost:e,type:t,isComponent:!!r,selector:o,exportAs:i,changeDetection:u,inputs:F,outputs:x,hostListeners:C,hostProperties:v,hostAttributes:A,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:m,entryComponents:g,template:y,componentViewType:D,rendererType:E,componentFactory:b})}}]),s}();function a(e){return e||[]}function c(e){return e.reduce((function(e,t){var n=Array.isArray(t)?c(t):t;return e.concat(n)}),[])}function l(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=s,t.CompilePipeMetadata=function(){function _class13(_ref113){var e=_ref113.type,t=_ref113.name,n=_ref113.pure;_classCallCheck(this,_class13),this.type=e,this.name=t,this.pure=!!n}return _createClass(_class13,[{key:"toSummary",value:function toSummary(){return{summaryKind:u.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),_class13}(),t.CompileShallowModuleMetadata=function(){function _class14(){_classCallCheck(this,_class14)}return _createClass(_class14)}(),t.CompileNgModuleMetadata=function(){function _class15(_ref114){var e=_ref114.type,t=_ref114.providers,n=_ref114.declaredDirectives,r=_ref114.exportedDirectives,o=_ref114.declaredPipes,i=_ref114.exportedPipes,u=_ref114.entryComponents,s=_ref114.bootstrapComponents,c=_ref114.importedModules,l=_ref114.exportedModules,p=_ref114.schemas,f=_ref114.transitiveModule,d=_ref114.id;_classCallCheck(this,_class15),this.type=e||null,this.declaredDirectives=a(n),this.exportedDirectives=a(r),this.declaredPipes=a(o),this.exportedPipes=a(i),this.providers=a(t),this.entryComponents=a(u),this.bootstrapComponents=a(s),this.importedModules=a(c),this.exportedModules=a(l),this.schemas=a(p),this.id=d||null,this.transitiveModule=f||null}return _createClass(_class15,[{key:"toSummary",value:function toSummary(){var e=this.transitiveModule;return{summaryKind:u.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}]),_class15}(),t.TransitiveCompileNgModuleMetadata=function(){function _class16(){_classCallCheck(this,_class16),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return _createClass(_class16,[{key:"addProvider",value:function addProvider(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),_class16}(),t.ProviderMeta=function(){function _class17(e,_ref115){var t=_ref115.useClass,n=_ref115.useValue,r=_ref115.useExisting,o=_ref115.useFactory,i=_ref115.deps,u=_ref115.multi;_classCallCheck(this,_class17),this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=o||null,this.dependencies=i||null,this.multi=!!u}return _createClass(_class17)}(),t.flatten=c,t.templateSourceUrl=function(e,t,n){var r;return r=n.isInline?t.type.reference instanceof qO.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(i(e),"/").concat(i(t.type),".html"):n.templateUrl,t.type.reference instanceof qO.StaticSymbol?r:l(r)},t.sharedStylesheetJitUrl=function(e,t){var n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return l("css/".concat(t).concat(r,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return l("".concat(i(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return l("".concat(i(e),"/").concat(i(t.type),".ngfactory.js"))}})),EI=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function n(e,t,_n117,r){_classCallCheck(this,n),this.file=e,this.offset=t,this.line=_n117,this.col=r}return _createClass(n,[{key:"toString",value:function toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function moveBy(e){for(var t=this.file.content,r=t.length,o=this.offset,i=this.line,u=this.col;o>0&&e<0;)if(o--,e++,t.charCodeAt(o)==MO.$LF){i--;var _e198=t.substr(0,o-1).lastIndexOf(String.fromCharCode(MO.$LF));u=_e198>0?o-_e198:o}else u--;for(;o0;){var _n120=t.charCodeAt(o);o++,e--,_n120==MO.$LF?(i++,u=0):u++}return new n(this.file,o,i,u)}},{key:"getContext",value:function getContext(e,t){var _n119=this.file.content,r=this.offset;if(null!=r){r>_n119.length-1&&(r=_n119.length-1);for(var _o71=r,_i88=0,_u35=0;_i880&&(_i88++,"\n"!=_n119[--r]||++_u35!=t););for(_i88=0,_u35=0;_i882&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,o),this.start=e,this.end=t,this.details=n}return _createClass(o,[{key:"toString",value:function toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),o}();t.ParseSourceSpan=o,t.EMPTY_PARSE_LOCATION=new n(new r("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new o(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(i=t.ParseErrorLevel||(t.ParseErrorLevel={})),t.ParseError=function(){function _class18(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.ERROR;_classCallCheck(this,_class18),this.span=e,this.msg=t,this.level=n}return _createClass(_class18,[{key:"contextualMessage",value:function contextualMessage(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(i[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function toString(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),_class18}(),t.typeSourceSpan=function(e,t){var i=DI.identifierModuleUrl(t),u=null!=i?"in ".concat(e," ").concat(DI.identifierName(t)," in ").concat(i):"in ".concat(e," ").concat(DI.identifierName(t)),s=new r("",u);return new o(new n(s,-1,-1,-1),new n(s,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,i){var u="in ".concat(e," ").concat(t," in ").concat(i),s=new r("",u);return new o(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}})),bI=EI.ParseSourceSpan,CI=_O.htmlTrim,vI=_O.getLeadingAndTrailingHtmlWhitespace,AI=_O.hasHtmlWhitespace,FI=_O.canHaveInterpolation,xI=_O.getNodeCssStyleDisplay,SI=_O.isDanglingSpaceSensitiveNode,wI=_O.isIndentationSensitiveNode,TI=_O.isLeadingSpaceSensitiveNode,BI=_O.isTrailingSpaceSensitiveNode,kI=_O.isWhitespaceSensitiveNode,NI=[function(e){return e.map((function(e){if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){var _e$children2=_toArray(e.children),_t172=_e$children2[0],_n121=_e$children2.slice(1);return e.clone({children:1===_t172.value.length?_n121:[_t172.clone({value:_t172.value.slice(1)})].concat(_toConsumableArray(_n121))})}return e}))},function(e){var t=function t(e){return"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset};return e.map((function(e){if(e.children){var _n122=e.children.map(t);if(_n122.some(Boolean)){for(var _t173=[],_r119=0;_r119")}))},function(e,t){if("html"===t.parser)return e;var n=/{{([\S\s]+?)}}/g;return e.map((function(e){if(!FI(e))return e;var _step73,t=[],_iterator73=_createForOfIteratorHelper(e.children);try{for(_iterator73.s();!(_step73=_iterator73.n()).done;){var _r122=_step73.value;if("text"===_r122.type)for(var _e200=_r122.sourceSpan.start,_o74=null,_i91=_r122.value.split(n),_n124=0;_n124<_i91.length;_n124++,_e200=_o74){var _r123=_i91[_n124];_n124%2!=0?(_o74=_e200.moveBy(_r123.length+4),t.push({type:"interpolation",sourceSpan:new bI(_e200,_o74),children:0===_r123.length?[]:[{type:"text",value:_r123,sourceSpan:new bI(_e200.moveBy(2),_o74.moveBy(-2))}]})):(_o74=_e200.moveBy(_r123.length),_r123.length>0&&t.push({type:"text",value:_r123,sourceSpan:new bI(_e200,_o74)}))}else t.push(_r122)}}catch(err){_iterator73.e(err)}finally{_iterator73.f()}return e.clone({children:t})}))},function(e){var t="whitespace";return e.map((function(e){if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===CI(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:e.children.length>0});var n=kI(e),r=wI(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce((function(e,r){if("text"!==r.type||n)return[].concat(_toConsumableArray(e),[r]);var o=[],_vI=vI(r.value),i=_vI.leadingWhitespace,u=_vI.text,s=_vI.trailingWhitespace;return i&&o.push({type:t}),u&&o.push({type:"text",value:u,sourceSpan:new bI(r.sourceSpan.start.moveBy(i.length),r.sourceSpan.end.moveBy(-s.length))}),s&&o.push({type:t}),[].concat(_toConsumableArray(e),o)}),[]).reduce((function(e,n,r,o){if(n.type===t)return e;var i=0!==r&&o[r-1].type===t,u=r!==o.length-1&&o[r+1].type===t;return[].concat(_toConsumableArray(e),[Object.assign({},n,{hasLeadingSpaces:i,hasTrailingSpaces:u})])}),[])})}))},function(e,t){return e.map((function(e){return Object.assign(e,{cssDisplay:xI(e,t)})}))},function(e){return e.map((function(e){return Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})}))},function(e,t){return e.map((function(e){return"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})}))},function(e,t){return e.map((function(e){return e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:SI(e)}):e.clone({children:e.children.map((function(e){return Object.assign({},e,{isLeadingSpaceSensitive:TI(e,t),isTrailingSpaceSensitive:BI(e,t)})})).map((function(e,t,n){return Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})}))}):e}))},function(e){var t=function t(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!AI(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type};return e.map((function(e){if(e.children){var _n125=e.children.map(t);if(_n125.some(Boolean)){for(var _t175=[],_r124=0;_r124")+_o75.firstChild.value+"")+_i92.value,sourceSpan:new bI(_n126.sourceSpan.start,_i92.sourceSpan.end),isTrailingSpaceSensitive:_u37,hasTrailingSpaces:_s36}))}else _t175.push(_o75)}return e.clone({children:_t175})}}return e}))}],PI=function PI(e,t){var _step74,_iterator74=_createForOfIteratorHelper(NI);try{for(_iterator74.s();!(_step74=_iterator74.n()).done;)e=(0,_step74.value)(e,t)}catch(err){_iterator74.e(err)}finally{_iterator74.f()}return e},OI={hasPragma:function hasPragma(e){return/^\s*/.test(e)},insertPragma:function insertPragma(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},II={locStart:function locStart(e){return e.sourceSpan.start.offset},locEnd:function locEnd(e){return e.sourceSpan.end.offset}},jI=Rn.builders.group,LI={isVueEventBindingExpression:function isVueEventBindingExpression(e){var t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function printVueFor(e,t){var _ref116=function(e){var t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,o=e.match(t);if(o){var i={};i.for=o[3].trim();var u=o[1].trim().replace(r,""),s=u.match(n);return s?(i.alias=u.replace(n,""),i.iterator1=s[1].trim(),s[2]&&(i.iterator2=s[2].trim())):i.alias=u,{left:"".concat([i.alias,i.iterator1,i.iterator2].filter(Boolean).join(",")),operator:o[2],right:i.for}}}(e),n=_ref116.left,r=_ref116.operator,o=_ref116.right;return[jI(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function printVueBindings(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}},_I=i((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(r,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function o(t){var n,r=t.exec(e.substring(y));if(r)return n=r[0],y+=n.length,n}for(var i,u,s,a,c,l=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,D=[];;){if(o(f),y>=l)return D;i=o(d),u=[],","===i.slice(-1)?(i=i.replace(h,""),b()):E()}function E(){for(o(p),s="",a="in descriptor";;){if(c=e.charAt(y),"in descriptor"===a)if(r(c))s&&(u.push(s),s="",a="after descriptor");else{if(","===c)return y+=1,s&&u.push(s),void b();if("("===c)s+=c,a="in parens";else{if(""===c)return s&&u.push(s),void b();s+=c}}else if("in parens"===a)if(")"===c)s+=c,a="in descriptor";else{if(""===c)return u.push(s),void b();s+=c}else if("after descriptor"===a)if(r(c));else{if(""===c)return void b();a="in descriptor",y-=1}y+=1}}function b(){var t,r,o,s,a,c,l,p,f,d=!1,h={};for(s=0;s1)throw new Error("Mixed descriptor in srcset is not supported");var o=n?"w":r?"h":"d",i=n?"w":r?"h":"x",u=function u(e){return Math.max.apply(Math,_toConsumableArray(e))},s=t.map((function(e){return e.url})),a=u(s.map((function(e){return e.length}))),c=t.map((function(e){return e[o]})).map((function(e){return e?e.toString():""})),l=c.map((function(e){var t=e.indexOf(".");return-1===t?e.length:t})),p=u(l);return $I([",",qI],s.map((function(e,t){var n=[e],r=c[t];if(r){var _o76=a-e.length+1,_u38=p-l[t],_s37=" ".repeat(_o76+_u38);n.push(RI(_s37," "),r+i)}return n})))},printClassNames:function printClassNames(e){for(var r,t=e.trim().split(/\s+/),n=[],_e201=0;_e2010)||"element"===e.type&&e.isSelfClosing&&Zj(t)?"":!t.isLeadingSpaceSensitive||Bj(t)||Zj(t)&&e.lastChild&&tL(e.lastChild)&&e.lastChild.lastChild&&tL(e.lastChild.lastChild)?KI:t.hasLeadingSpaces?nj:oj}}function Wj(e,t){var n=e.startSourceSpan.end.offset;e.firstChild&&Qj(e.firstChild)&&(n-=uL(e).length);var r=e.endSourceSpan.start.offset;return e.lastChild&&tL(e.lastChild)?r+=sL(e,t).length:eL(e)&&(r-=aL(e.lastChild,t).length),t.originalText.slice(n,r)}function Uj(e,t,n){var r=e.getValue();if(!lj(r.attrs))return r.isSelfClosing?" ":"";var o=r.prev&&"comment"===r.prev.type&&bj(r.prev.value),i="boolean"==typeof o?function(){return o}:Array.isArray(o)?function(e){return o.includes(e.rawName)}:function(){return!1},u=e.map((function(e){var r=e.getValue();return i(r)?cj(t.originalText.slice(jj(r),Lj(r)),rj):n()}),"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,a=[ej([s?" ":nj,tj(nj,u)])];return r.firstChild&&Qj(r.firstChild)||r.isSelfClosing&&eL(r.parent)||s?a.push(r.isSelfClosing?" ":""):a.push(r.isSelfClosing?nj:oj),a}function zj(e,t,n){var r=e.getValue();return[Hj(r,t),Uj(e,t,n),r.isSelfClosing?"":Gj(r)]}function Hj(e,t){return e.prev&&Kj(e.prev)?"":[nL(e,t),iL(e)]}function Gj(e){return e.firstChild&&Qj(e.firstChild)?"":uL(e)}function Jj(e,t){return[e.isSelfClosing?"":Xj(e,t),Yj(e,t)]}function Xj(e,t){return e.lastChild&&tL(e.lastChild)?"":[rL(e,t),sL(e,t)]}function Yj(e,t){return(e.next?Zj(e.next):eL(e.parent))?"":[aL(e,t),oL(e,t)]}function Kj(e){return e.next&&!Tj(e.next)&&Tj(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Qj(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Zj(e){return e.prev&&"docType"!==e.prev.type&&!Tj(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function eL(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Tj(Ej(e.lastChild))&&!Oj(e)}function tL(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Tj(Ej(e))}function nL(e,t){return Qj(e)?uL(e.parent):Zj(e)?aL(e.prev,t):""}function rL(e,t){return eL(e)?aL(e.lastChild,t):""}function oL(e,t){return tL(e)?sL(e.parent,t):Kj(e)?iL(e.next):""}function iL(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function uL(e){switch(Il(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function sL(e,t){if(Il(!e.isSelfClosing),kj(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function cL(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?cj(t,rj):cj(mj(pj(t)),KI):sj(tj(nj,fj(t)))}var lL={preprocess:PI,print:function print(e,t,n){var o,r=e.getValue();switch(r.type){case"front-matter":return cj(r.raw,rj);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[YI(qj(e,t,n)),KI];case"element":case"ieConditionalComment":if(Nj(r,t))return[nL(r,t),YI(zj(e,t,n))].concat(_toConsumableArray(cj(Wj(r,t),rj)),_toConsumableArray(Jj(r,t)),[oL(r,t)]);var _i93=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,_u39=Symbol("element-attr-group-id");return[YI([YI(zj(e,t,n),{id:_u39}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?nj:"":[yj(r)?GI:"",(o=[_i93?QI(oj,"",{groupId:_u39}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?nj:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?JI(oj):oj,qj(e,t,n)],_i93?ZI(o,{groupId:_u39}):!wj(r)&&!Aj(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?ej(o):o),(r.next?Zj(r.next):eL(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":_i93?QI(oj,"",{groupId:_u39}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?nj:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*hj(e,(function(e){return e.parent&&"root"!==e.parent.type})),"}$")).test(r.lastChild.value)?"":oj]]),Jj(r,t)];case"ieConditionalStartComment":case"ieConditionalEndComment":return[Hj(r),Yj(r)];case"interpolation":return[Hj(r,t)].concat(_toConsumableArray(e.map(n,"children")),[Yj(r,t)]);case"text":if("interpolation"===r.parent.type){var _e203=/\n[^\S\n]*?$/,_t177=_e203.test(r.value),_n129=_t177?r.value.replace(_e203,""):r.value;return[].concat(_toConsumableArray(cj(_n129,rj)),[_t177?KI:""])}var _e202=uj([nL(r,t)].concat(_toConsumableArray(cL(r)),[oL(r,t)]));return aj(_e202)||"fill"===_e202.type?XI(sj(_e202)):_e202;case"docType":return[YI([Hj(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),Yj(r,t)];case"comment":return[nL(r,t)].concat(_toConsumableArray(cj(t.originalText.slice(jj(r),Lj(r)),rj)),[oL(r,t)]);case"attribute":if(null===r.value)return r.rawName;var _e204=Pj(r.value),_t178=dj(_e204,"'")1&&void 0!==arguments[1])||arguments[1];return YI([ej([oj,e]),t?oj:""])},c=function c(e){return i?s(e):a(e)},l=function l(e,n){return t(e,Object.assign({__onHtmlBindingRoot:u,__embeddedInHtml:!0},n),{stripTrailingHardline:!0})};if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return a(Vj(o()));if("class"===e.fullName&&!n.parentParser){var _e209=o();if(!_e209.includes("{{"))return $j(_e209)}if("style"===e.fullName&&!n.parentParser){var _e210=o();if(!_e210.includes("{{"))return a(l(_e210,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return _j(o(),l);if(xj(e)||Sj(e,n))return Mj(o(),l);var _t181=["^:","^v-bind:"],_i96=["^v-"];if(r(["^@","^v-on:"])){var _e211=o();return c(l(_e211,{parser:Rj(_e211)?"__js_expression":"__vue_event_binding"}))}if(r(_t181))return c(l(o(),{parser:"__vue_expression"}));if(r(_i96))return c(l(o(),{parser:"__js_expression"}))}if("angular"===n.parser){var _t182=function _t182(e,t){return l(e,Object.assign({},t,{trailingComma:"none"}))},_n130=["^\\*"],_i97=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],_u41=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return c(_t182(o(),{parser:"__ng_action"}));if(r(_i97))return c(_t182(o(),{parser:"__ng_binding"}));if(r(_u41)){var _t183=o().trim();return a(XI(cL(e,_t183)),!_t183.includes("@@"))}if(r(_n130))return c(_t182(o(),{parser:"__ng_directive"}));var _s39=/{{([\S\s]+?)}}/g,_p14=o();if(_s39.test(_p14)){var _step76,_e212=[],_iterator76=_createForOfIteratorHelper(_p14.split(_s39).entries());try{for(_iterator76.s();!(_step76=_iterator76.n()).done;){var _step76$value=_slicedToArray(_step76.value,2),_n131=_step76$value[0],_r126=_step76$value[1];if(_n131%2==0)_e212.push(cj(_r126,rj));else try{_e212.push(YI(["{{",ej([nj,_t182(_r126,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),nj,"}}"]))}catch(t){_e212.push("{{",cj(_r126,rj),"}}")}}}catch(err){_iterator76.e(err)}finally{_iterator76.f()}return YI(_e212)}}return null}(o,(function(e,t){return n(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})}),r);if(_e208)return[o.rawName,'="',YI(ij(_e208,(function(e){return"string"==typeof e?e.replace(/"/g,"""):e}))),'"'];break;case"front-matter":return Xw(o,n)}}},pL="HTML",fL={htmlWhitespaceSensitivity:{since:"1.15.0",category:pL,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:pL,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},dL={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},hL={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},mL={languages:[df(dL,(function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}})),df(dL,(function(e){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[].concat(_toConsumableArray(e.extensions),[".mjml"])}})),df(dL,(function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}})),df(hL,(function(){return{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}}))],printers:{html:lL},options:fL,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},gL={isPragma:function isPragma(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function hasPragma(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function insertPragma(e){return"# @format\n\n".concat(e)}},yL={locStart:function locStart(e){return e.position.start.offset},locEnd:function locEnd(e){return e.position.end.offset}},DL=function DL(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(r.filepath))return n(r.originalText,Object.assign({},r,{parser:"json"}))},EL=rn.getLast,bL=rn.isNonEmptyArray;function CL(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function vL(e){return"prettier-ignore"===e.value.trim()}function AL(e){return e&&bL(e.leadingComments)}function FL(e){return e&&bL(e.middleComments)}function xL(e){return e&&e.indicatorComment}function SL(e){return e&&e.trailingComment}function wL(e){return e&&bL(e.endComments)}function TL(e){var n,_step77,t=[],_iterator77=_createForOfIteratorHelper(e.split(/( +)/g));try{for(_iterator77.s();!(_step77=_iterator77.n()).done;){var _r127=_step77.value;" "!==_r127?" "===n?t.push(_r127):t.push((t.pop()||"")+_r127):void 0===n&&t.unshift(""),n=_r127}}catch(err){_iterator77.e(err)}finally{_iterator77.f()}return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var BL={getLast:EL,getAncestorCount:function getAncestorCount(e,t){for(var n=0,r=e.stack.length-1,_o78=0;_o780&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(EL(e))?[].concat(_toConsumableArray(e.slice(0,-1)),[[].concat(_toConsumableArray(EL(e)),_toConsumableArray(t))]):[].concat(_toConsumableArray(e),[t])}),[]).map((function(e){return e.reduce((function(e,t){return e.length>0&&/\s$/.test(EL(e))?[].concat(_toConsumableArray(e.slice(0,-1)),[EL(e)+" "+t]):[].concat(_toConsumableArray(e),[t])}),[])})).map((function(e){return"never"===r.proseWrap?[e.join(" ")]:e})));function a(t){if("keep"===e.chomping)return 0===EL(t).length?t.slice(0,-1):t;for(var r=0,_e214=t.length-1;_e214>=0&&0===t[_e214].length;_e214--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function getFlowScalarLineContents(e,t,n){var r=t.split("\n").map((function(e,t,n){return 0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart()}));return"preserve"===n.proseWrap?r.map((function(e){return 0===e.length?[]:[e]})):r.map((function(e){return 0===e.length?[]:TL(e)})).reduce((function(t,n,o){return 0!==o&&r[o-1].length>0&&n.length>0&&("quoteDouble"!==e||!EL(EL(t)).endsWith("\\"))?[].concat(_toConsumableArray(t.slice(0,-1)),[[].concat(_toConsumableArray(EL(t)),_toConsumableArray(n))]):[].concat(_toConsumableArray(t),[n])}),[]).map((function(e){return"never"===n.proseWrap?[e.join(" ")]:e}))},getLastDescendantNode:function e(t){return bL(t.children)?e(EL(t.children)):t},hasPrettierIgnore:function hasPrettierIgnore(e){var t=e.getValue();if("documentBody"===t.type){var _t185=e.getParentNode();return wL(_t185.head)&&vL(EL(_t185.head.endComments))}return AL(t)&&vL(EL(t.leadingComments))},hasLeadingComments:AL,hasMiddleComments:FL,hasIndicatorComment:xL,hasTrailingComment:SL,hasEndComments:wL},kL=BL.defineShortcut,NL=BL.mapNode;function PL(e){switch(e.type){case"document":kL(e,"head",(function(){return e.children[0]})),kL(e,"body",(function(){return e.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":kL(e,"content",(function(){return e.children[0]}));break;case"mappingItem":case"flowMappingItem":kL(e,"key",(function(){return e.children[0]})),kL(e,"value",(function(){return e.children[1]}))}return e}var OL=function OL(e){return NL(e,PL)},_Rn$builders42=Rn.builders,IL=_Rn$builders42.softline,jL=_Rn$builders42.align,LL=BL.hasEndComments,_L=BL.isNextLineEmpty,ML=BL.isNode,RL=new WeakMap;function VL(e){return LL(e)&&!ML(e,["documentHead","documentBody","flowMapping","flowSequence"])}var $L={alignWithSpaces:function alignWithSpaces(e,t){return jL(" ".repeat(e),t)},shouldPrintEndComments:VL,printNextEmptyLine:function printNextEmptyLine(e,t){var o,n=e.getValue(),r=e.stack[0];return RL.has(r)?o=RL.get(r):(o=new Set,RL.set(r,o)),o.has(n.position.end.line)||(o.add(n.position.end.line),!_L(n,t)||VL(e.getParentNode()))?"":IL}},_Rn$builders43=Rn.builders,qL=_Rn$builders43.ifBreak,WL=_Rn$builders43.line,UL=_Rn$builders43.softline,zL=_Rn$builders43.hardline,HL=_Rn$builders43.join,GL=BL.isEmptyNode,JL=BL.getLast,XL=BL.hasEndComments,YL=$L.printNextEmptyLine,KL=$L.alignWithSpaces;function QL(e,t,n){var r=e.getValue(),o="flowMapping"===r.type,i=o?"{":"[",u=o?"}":"]",s=UL;o&&r.children.length>0&&n.bracketSpacing&&(s=WL);var a=JL(r.children),c=a&&"flowMappingItem"===a.type&&GL(a.key)&&GL(a.value);return[i,KL(n.tabWidth,[s,ZL(e,t,n),"none"===n.trailingComma?"":qL(","),XL(r)?[zL,HL(zL,e.map(t,"endComments"))]:""]),c?"":s,u]}function ZL(e,t,n){var r=e.getValue();return e.map((function(e,o){return[t(),o===r.children.length-1?"":[",",WL,r.children[o].position.start.line!==r.children[o+1].position.start.line?YL(e,n.originalText):""]]}),"children")}var e_={printFlowMapping:QL,printFlowSequence:QL},_Rn$builders44=Rn.builders,t_=_Rn$builders44.conditionalGroup,n_=_Rn$builders44.group,r_=_Rn$builders44.hardline,o_=_Rn$builders44.ifBreak,i_=_Rn$builders44.join,u_=_Rn$builders44.line,s_=BL.hasLeadingComments,a_=BL.hasMiddleComments,c_=BL.hasTrailingComment,l_=BL.hasEndComments,p_=BL.isNode,f_=BL.isEmptyNode,d_=BL.isInlineNode,h_=$L.alignWithSpaces;function m_(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}var g_=function g_(e,t,n,r,o){var i=e.key,u=e.value,s=f_(i),a=f_(u);if(s&&a)return": ";var c=r("key"),l=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?c:"mappingItem"!==e.type||!m_(i.content,o)||c_(i.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",h_(2,c)]:[c,l,":"];var p=r("value");if(s)return[": ",h_(2,p)];if(s_(u)||!d_(i.content))return["? ",h_(2,c),r_,i_("",n.map(r,"value","leadingComments").map((function(e){return[e,r_]}))),": ",h_(2,p)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(i.content)&&!s_(i.content)&&!a_(i.content)&&!c_(i.content)&&!l_(i)&&!s_(u.content)&&!a_(u.content)&&!l_(u)&&m_(u.content,o))return[c,l,": ",p];var f=Symbol("mappingKey"),d=n_([o_("? "),n_(h_(2,c),{id:f})]),h=[r_,": ",h_(2,p)],m=[l,":"];s_(u.content)||l_(u)&&u.content&&!p_(u.content,["mapping","sequence"])||"mapping"===t.type&&c_(i.content)&&d_(u.content)||p_(u.content,["mapping","sequence"])&&null===u.content.tag&&null===u.content.anchor?m.push(r_):u.content&&m.push(u_),m.push(p);var g=h_(o.tabWidth,m);return t_([[d,o_(h,g,{groupId:f})]])},_Rn$builders45=Rn.builders,y_=_Rn$builders45.dedent,D_=_Rn$builders45.dedentToRoot,E_=_Rn$builders45.fill,b_=_Rn$builders45.hardline,C_=_Rn$builders45.join,v_=_Rn$builders45.line,A_=_Rn$builders45.literalline,F_=_Rn$builders45.markAsRoot,x_=Rn.utils.getDocParts,S_=BL.getAncestorCount,w_=BL.getBlockValueLineContents,T_=BL.hasIndicatorComment,B_=BL.isLastDescendantNode,k_=BL.isNode,N_=$L.alignWithSpaces,P_=function P_(e,t,n){var r=e.getValue(),o=S_(e,(function(e){return k_(e,["sequence","mapping"])})),i=B_(e),u=["blockFolded"===r.type?">":"|"];null!==r.indent&&u.push(r.indent.toString()),"clip"!==r.chomping&&u.push("keep"===r.chomping?"+":"-"),T_(r)&&u.push(" ",t("indicatorComment"));var _step78,s=w_(r,{parentIndent:o,isLastDescendant:i,options:n}),a=[],_iterator78=_createForOfIteratorHelper(s.entries());try{for(_iterator78.s();!(_step78=_iterator78.n()).done;){var _step78$value=_slicedToArray(_step78.value,2),_e215=_step78$value[0],_t186=_step78$value[1];0===_e215&&a.push(b_),a.push(E_(x_(C_(v_,_t186)))),_e215!==s.length-1?a.push(0===_t186.length?b_:F_(A_)):"keep"===r.chomping&&i&&a.push(D_(0===_t186.length?b_:A_))}}catch(err){_iterator78.e(err)}finally{_iterator78.f()}return null===r.indent?u.push(y_(N_(n.tabWidth,a))):u.push(D_(N_(r.indent-1+o,a))),u},_Rn$builders46=Rn.builders,O_=_Rn$builders46.breakParent,I_=_Rn$builders46.fill,j_=_Rn$builders46.group,L_=_Rn$builders46.hardline,__=_Rn$builders46.join,M_=_Rn$builders46.line,R_=_Rn$builders46.lineSuffix,V_=_Rn$builders46.literalline,$_=Rn.utils.getDocParts,q_=rn.replaceEndOfLineWith,W_=rn.isPreviousLineEmpty,U_=gL.insertPragma,z_=gL.isPragma,H_=yL.locStart,G_=BL.getFlowScalarLineContents,J_=BL.getLastDescendantNode,X_=BL.hasLeadingComments,Y_=BL.hasMiddleComments,K_=BL.hasTrailingComment,Q_=BL.hasEndComments,Z_=BL.hasPrettierIgnore,eM=BL.isLastDescendantNode,tM=BL.isNode,nM=BL.isInlineNode,rM=$L.alignWithSpaces,oM=$L.printNextEmptyLine,iM=$L.shouldPrintEndComments,uM=e_.printFlowMapping,sM=e_.printFlowSequence;function aM(e,t){return K_(e)||t&&(t.head.children.length>0||Q_(t.head))}function cM(e,t,n){var r=G_(e,t,n);return __(L_,r.map((function(e){return I_($_(__(M_,e)))})))}var lM={preprocess:OL,embed:DL,print:function print(e,t,n){var r=e.getValue(),o=[];"mappingValue"!==r.type&&X_(r)&&o.push([__(L_,e.map(n,"leadingComments")),L_]);var i=r.tag,u=r.anchor;i&&o.push(n("tag")),i&&u&&o.push(" "),u&&o.push(n("anchor"));var s="";tM(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!eM(e)&&(s=oM(e,t.originalText)),(i||u)&&(tM(r,["sequence","mapping"])&&!Y_(r)?o.push(L_):o.push(" ")),Y_(r)&&o.push([1===r.middleComments.length?"":L_,__(L_,e.map(n,"middleComments")),L_]);var a=e.getParentNode();return Z_(e)?o.push(q_(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),V_)):o.push(j_(function(e,t,n,r,o){switch(e.type){case"root":var _t187=e.children,_r130=[];n.each((function(e,n){var i=_t187[n],u=_t187[n+1];0!==n&&_r130.push(L_),_r130.push(o()),aM(i,u)?(_r130.push(L_,"..."),K_(i)&&_r130.push(" ",o("trailingComment"))):u&&!K_(u.head)&&_r130.push(L_,"---")}),"children");var _i98=J_(e);return tM(_i98,["blockLiteral","blockFolded"])&&"keep"===_i98.chomping||_r130.push(L_),_r130;case"document":var _i99=[];return"head"===function(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(H_(e),H_(e)+4))||e.head.children.length>0||Q_(e.head)||K_(e.head)?"head":!aM(e,t)&&!!t&&"root"}(e,t.children[n.getName()+1],t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&_i99.push(o("head")),K_(e.head)?_i99.push(["---"," ",o(["head","trailingComment"])]):_i99.push("---")),function(e){return e.body.children.length>0||Q_(e.body)}(e)&&_i99.push(o("body")),__(L_,_i99);case"documentHead":return __(L_,[].concat(_toConsumableArray(n.map(o,"children")),_toConsumableArray(n.map(o,"endComments"))));case"documentBody":var _t188=e.children,_r131=e.endComments,_i100="";if(_t188.length>0&&_r131.length>0){var _t189=J_(e);tM(_t189,["blockFolded","blockLiteral"])?"keep"!==_t189.chomping&&(_i100=[L_,L_]):_i100=L_}return[__(L_,n.map(o,"children")),_i100,__(L_,n.map(o,"endComments"))];case"directive":return["%",__(" ",[e.name].concat(_toConsumableArray(e.parameters)))];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return cM(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":var _t190="'",_n133='"',_o80=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&_o80.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(_o80)){var _i102="quoteDouble"===e.type?_n133:_t190;return[_i102,cM(e.type,_o80,r),_i102]}if(_o80.includes(_n133))return[_t190,cM(e.type,"quoteDouble"===e.type?_o80.replace(/\\"/g,_n133).replace(/'/g,_t190.repeat(2)):_o80,r),_t190];if(_o80.includes(_t190))return[_n133,cM(e.type,"quoteSingle"===e.type?_o80.replace(/''/g,_t190):_o80,r),_n133];var _i101=r.singleQuote?_t190:_n133;return[_i101,cM(e.type,_o80,r),_i101];case"blockFolded":case"blockLiteral":return P_(n,o,r);case"mapping":case"sequence":return __(L_,n.map(o,"children"));case"sequenceItem":return["- ",rM(2,e.content?o("content"):"")];case"mappingKey":case"mappingValue":return e.content?o("content"):"";case"mappingItem":case"flowMappingItem":return g_(e,t,n,o,r);case"flowMapping":return uM(n,o,r);case"flowSequence":return sM(n,o,r);case"flowSequenceItem":return o("content");default:throw new Error("Unexpected node type ".concat(e.type))}}(r,a,e,t,n))),K_(r)&&!tM(r,["document","documentHead"])&&o.push(R_(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===a.type&&"mapping"===e.getParentNode(2).type&&nM(r)?"":O_,n("trailingComment")])),iM(r)&&o.push(rM("sequenceItem"===r.type?2:0,[L_,__(L_,e.map((function(e){return[W_(t.originalText,e.getValue(),H_)?L_:"",n()]}),"endComments"))])),o.push(s),o},massageAstNode:function massageAstNode(e,t){if(tM(t))switch(delete t.position,t.type){case"comment":if(z_(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:U_},pM={bracketSpacing:Ow.bracketSpacing,singleQuote:Ow.singleQuote,proseWrap:Ow.proseWrap},fM=[qw,GB,rN,FN,eO,mL,{languages:[df({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},(function(e){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[].concat(_toConsumableArray(e.filenames.filter((function(e){return"yarn.lock"!==e}))),[".prettierrc"])}}))],printers:{yaml:lM},options:pM,parsers:{get yaml(){return{}.parsers.yaml}}}],dM=n.version,hM=Mt.getSupportInfo,mM=fM.map((function(t){return e(t,["parsers"])}));function gM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var _len16=arguments.length,n=new Array(_len16),_key16=0;_key16<_len16;_key16++)n[_key16]=arguments[_key16];var r=n[t]||{},o=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[].concat(_toConsumableArray(mM),_toConsumableArray(Array.isArray(o)?o:Object.values(o)))}),e.apply(void 0,n)}}var yM=gM($p.formatWithCursor);return{formatWithCursor:yM,format:function format(e,t){return yM(e,t).formatted},check:function check(e,t){return yM(e,t).formatted===e},doc:Rn,getSupportInfo:gM(hM,0),version:dM,util:ff,__debug:{parse:gM($p.parse),formatAST:gM($p.formatAST),formatDoc:gM($p.formatDoc),printToDoc:gM($p.printToDoc),printDocToString:gM($p.printDocToString)}}}()}(standalone);var prettier=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.L)(standalone.exports),formatter=memoizerific__WEBPACK_IMPORTED_MODULE_90___default()(2)((function(type,source){return!1===type?source:"dedent"===type||!0===type?Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_91__.J)(source):prettier.format(source,{parser:type,plugins:[prettierHtml],htmlWhitespaceSensitivity:"ignore"}).trim()}))},"./node_modules/core-js/internals/array-buffer-view-core.js":function(module,exports,__webpack_require__){"use strict";var NAME,Constructor,Prototype,NATIVE_ARRAY_BUFFER=__webpack_require__("./node_modules/core-js/internals/array-buffer-basic-detection.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),isCallable=__webpack_require__("./node_modules/core-js/internals/is-callable.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),tryToString=__webpack_require__("./node_modules/core-js/internals/try-to-string.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),defineBuiltIn=__webpack_require__("./node_modules/core-js/internals/define-built-in.js"),defineBuiltInAccessor=__webpack_require__("./node_modules/core-js/internals/define-built-in-accessor.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),getPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-get-prototype-of.js"),setPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-set-prototype-of.js"),wellKnownSymbol=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js"),uid=__webpack_require__("./node_modules/core-js/internals/uid.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,Int8Array=global.Int8Array,Int8ArrayPrototype=Int8Array&&Int8Array.prototype,Uint8ClampedArray=global.Uint8ClampedArray,Uint8ClampedArrayPrototype=Uint8ClampedArray&&Uint8ClampedArray.prototype,TypedArray=Int8Array&&getPrototypeOf(Int8Array),TypedArrayPrototype=Int8ArrayPrototype&&getPrototypeOf(Int8ArrayPrototype),ObjectPrototype=Object.prototype,TypeError=global.TypeError,TO_STRING_TAG=wellKnownSymbol("toStringTag"),TYPED_ARRAY_TAG=uid("TYPED_ARRAY_TAG"),NATIVE_ARRAY_BUFFER_VIEWS=NATIVE_ARRAY_BUFFER&&!!setPrototypeOf&&"Opera"!==classof(global.opera),TYPED_ARRAY_TAG_REQUIRED=!1,TypedArrayConstructorsList={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},BigIntArrayConstructorsList={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(it){var proto=getPrototypeOf(it);if(isObject(proto)){var state=getInternalState(proto);return state&&hasOwn(state,"TypedArrayConstructor")?state.TypedArrayConstructor:getTypedArrayConstructor(proto)}},isTypedArray=function(it){if(!isObject(it))return!1;var klass=classof(it);return hasOwn(TypedArrayConstructorsList,klass)||hasOwn(BigIntArrayConstructorsList,klass)};for(NAME in TypedArrayConstructorsList)(Prototype=(Constructor=global[NAME])&&Constructor.prototype)?enforceInternalState(Prototype).TypedArrayConstructor=Constructor:NATIVE_ARRAY_BUFFER_VIEWS=!1;for(NAME in BigIntArrayConstructorsList)(Prototype=(Constructor=global[NAME])&&Constructor.prototype)&&(enforceInternalState(Prototype).TypedArrayConstructor=Constructor);if((!NATIVE_ARRAY_BUFFER_VIEWS||!isCallable(TypedArray)||TypedArray===Function.prototype)&&(TypedArray=function TypedArray(){throw new TypeError("Incorrect invocation")},NATIVE_ARRAY_BUFFER_VIEWS))for(NAME in TypedArrayConstructorsList)global[NAME]&&setPrototypeOf(global[NAME],TypedArray);if((!NATIVE_ARRAY_BUFFER_VIEWS||!TypedArrayPrototype||TypedArrayPrototype===ObjectPrototype)&&(TypedArrayPrototype=TypedArray.prototype,NATIVE_ARRAY_BUFFER_VIEWS))for(NAME in TypedArrayConstructorsList)global[NAME]&&setPrototypeOf(global[NAME].prototype,TypedArrayPrototype);if(NATIVE_ARRAY_BUFFER_VIEWS&&getPrototypeOf(Uint8ClampedArrayPrototype)!==TypedArrayPrototype&&setPrototypeOf(Uint8ClampedArrayPrototype,TypedArrayPrototype),DESCRIPTORS&&!hasOwn(TypedArrayPrototype,TO_STRING_TAG))for(NAME in TYPED_ARRAY_TAG_REQUIRED=!0,defineBuiltInAccessor(TypedArrayPrototype,TO_STRING_TAG,{configurable:!0,get:function(){return isObject(this)?this[TYPED_ARRAY_TAG]:void 0}}),TypedArrayConstructorsList)global[NAME]&&createNonEnumerableProperty(global[NAME],TYPED_ARRAY_TAG,NAME);module.exports={NATIVE_ARRAY_BUFFER_VIEWS:NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_TAG:TYPED_ARRAY_TAG_REQUIRED&&TYPED_ARRAY_TAG,aTypedArray:function(it){if(isTypedArray(it))return it;throw new TypeError("Target is not a typed array")},aTypedArrayConstructor:function(C){if(isCallable(C)&&(!setPrototypeOf||isPrototypeOf(TypedArray,C)))return C;throw new TypeError(tryToString(C)+" is not a typed array constructor")},exportTypedArrayMethod:function(KEY,property,forced,options){if(DESCRIPTORS){if(forced)for(var ARRAY in TypedArrayConstructorsList){var TypedArrayConstructor=global[ARRAY];if(TypedArrayConstructor&&hasOwn(TypedArrayConstructor.prototype,KEY))try{delete TypedArrayConstructor.prototype[KEY]}catch(error){try{TypedArrayConstructor.prototype[KEY]=property}catch(error2){}}}TypedArrayPrototype[KEY]&&!forced||defineBuiltIn(TypedArrayPrototype,KEY,forced?property:NATIVE_ARRAY_BUFFER_VIEWS&&Int8ArrayPrototype[KEY]||property,options)}},exportTypedArrayStaticMethod:function(KEY,property,forced){var ARRAY,TypedArrayConstructor;if(DESCRIPTORS){if(setPrototypeOf){if(forced)for(ARRAY in TypedArrayConstructorsList)if((TypedArrayConstructor=global[ARRAY])&&hasOwn(TypedArrayConstructor,KEY))try{delete TypedArrayConstructor[KEY]}catch(error){}if(TypedArray[KEY]&&!forced)return;try{return defineBuiltIn(TypedArray,KEY,forced?property:NATIVE_ARRAY_BUFFER_VIEWS&&TypedArray[KEY]||property)}catch(error){}}for(ARRAY in TypedArrayConstructorsList)!(TypedArrayConstructor=global[ARRAY])||TypedArrayConstructor[KEY]&&!forced||defineBuiltIn(TypedArrayConstructor,KEY,property)}},getTypedArrayConstructor:getTypedArrayConstructor,isView:function isView(it){if(!isObject(it))return!1;var klass=classof(it);return"DataView"===klass||hasOwn(TypedArrayConstructorsList,klass)||hasOwn(BigIntArrayConstructorsList,klass)},isTypedArray:isTypedArray,TypedArray:TypedArray,TypedArrayPrototype:TypedArrayPrototype}},"./node_modules/core-js/internals/array-copy-within.js":function(module,exports,__webpack_require__){"use strict";var toObject=__webpack_require__("./node_modules/core-js/internals/to-object.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),deletePropertyOrThrow=__webpack_require__("./node_modules/core-js/internals/delete-property-or-throw.js"),min=Math.min;module.exports=[].copyWithin||function copyWithin(target,start){var O=toObject(this),len=lengthOfArrayLike(O),to=toAbsoluteIndex(target,len),from=toAbsoluteIndex(start,len),end=arguments.length>2?arguments[2]:void 0,count=min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to),inc=1;for(from0;)from in O?O[to]=O[from]:deletePropertyOrThrow(O,to),to+=inc,from+=inc;return O}},"./node_modules/core-js/internals/array-from-constructor-and-list.js":function(module,exports,__webpack_require__){"use strict";var lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js");module.exports=function(Constructor,list){for(var index=0,length=lengthOfArrayLike(list),result=new Constructor(length);length>index;)result[index]=list[index++];return result}},"./node_modules/core-js/internals/array-last-index-of.js":function(module,exports,__webpack_require__){"use strict";var apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),toIndexedObject=__webpack_require__("./node_modules/core-js/internals/to-indexed-object.js"),toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),lengthOfArrayLike=__webpack_require__("./node_modules/core-js/internals/length-of-array-like.js"),arrayMethodIsStrict=__webpack_require__("./node_modules/core-js/internals/array-method-is-strict.js"),min=Math.min,$lastIndexOf=[].lastIndexOf,NEGATIVE_ZERO=!!$lastIndexOf&&1/[1].lastIndexOf(1,-0)<0,STRICT_METHOD=arrayMethodIsStrict("lastIndexOf"),FORCED=NEGATIVE_ZERO||!STRICT_METHOD;module.exports=FORCED?function lastIndexOf(searchElement){if(NEGATIVE_ZERO)return apply($lastIndexOf,this,arguments)||0;var O=toIndexedObject(this),length=lengthOfArrayLike(O),index=length-1;for(arguments.length>1&&(index=min(index,toIntegerOrInfinity(arguments[1]))),index<0&&(index=length+index);index>=0;index--)if(index in O&&O[index]===searchElement)return index||0;return-1}:$lastIndexOf},"./node_modules/core-js/internals/is-big-int-array.js":function(module,exports,__webpack_require__){"use strict";var classof=__webpack_require__("./node_modules/core-js/internals/classof.js");module.exports=function(it){var klass=classof(it);return"BigInt64Array"===klass||"BigUint64Array"===klass}},"./node_modules/core-js/internals/string-trim-start.js":function(module,exports,__webpack_require__){"use strict";var $trimStart=__webpack_require__("./node_modules/core-js/internals/string-trim.js").start,forcedStringTrimMethod=__webpack_require__("./node_modules/core-js/internals/string-trim-forced.js");module.exports=forcedStringTrimMethod("trimStart")?function trimStart(){return $trimStart(this)}:"".trimStart},"./node_modules/core-js/internals/to-big-int.js":function(module,exports,__webpack_require__){"use strict";var toPrimitive=__webpack_require__("./node_modules/core-js/internals/to-primitive.js"),$TypeError=TypeError;module.exports=function(argument){var prim=toPrimitive(argument,"number");if("number"==typeof prim)throw new $TypeError("Can't convert number to bigint");return BigInt(prim)}},"./node_modules/core-js/internals/to-offset.js":function(module,exports,__webpack_require__){"use strict";var toPositiveInteger=__webpack_require__("./node_modules/core-js/internals/to-positive-integer.js"),$RangeError=RangeError;module.exports=function(it,BYTES){var offset=toPositiveInteger(it);if(offset%BYTES)throw new $RangeError("Wrong offset");return offset}},"./node_modules/core-js/internals/to-positive-integer.js":function(module,exports,__webpack_require__){"use strict";var toIntegerOrInfinity=__webpack_require__("./node_modules/core-js/internals/to-integer-or-infinity.js"),$RangeError=RangeError;module.exports=function(it){var result=toIntegerOrInfinity(it);if(result<0)throw new $RangeError("The argument can't be less than 0");return result}},"./node_modules/core-js/internals/to-uint8-clamped.js":function(module,exports,__webpack_require__){"use strict";var round=Math.round;module.exports=function(it){var value=round(it);return value<0?0:value>255?255:255&value}},"./node_modules/core-js/internals/typed-array-constructor.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS=__webpack_require__("./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js"),ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),ArrayBufferModule=__webpack_require__("./node_modules/core-js/internals/array-buffer.js"),anInstance=__webpack_require__("./node_modules/core-js/internals/an-instance.js"),createPropertyDescriptor=__webpack_require__("./node_modules/core-js/internals/create-property-descriptor.js"),createNonEnumerableProperty=__webpack_require__("./node_modules/core-js/internals/create-non-enumerable-property.js"),isIntegralNumber=__webpack_require__("./node_modules/core-js/internals/is-integral-number.js"),toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),toIndex=__webpack_require__("./node_modules/core-js/internals/to-index.js"),toOffset=__webpack_require__("./node_modules/core-js/internals/to-offset.js"),toUint8Clamped=__webpack_require__("./node_modules/core-js/internals/to-uint8-clamped.js"),toPropertyKey=__webpack_require__("./node_modules/core-js/internals/to-property-key.js"),hasOwn=__webpack_require__("./node_modules/core-js/internals/has-own-property.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),isObject=__webpack_require__("./node_modules/core-js/internals/is-object.js"),isSymbol=__webpack_require__("./node_modules/core-js/internals/is-symbol.js"),create=__webpack_require__("./node_modules/core-js/internals/object-create.js"),isPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-is-prototype-of.js"),setPrototypeOf=__webpack_require__("./node_modules/core-js/internals/object-set-prototype-of.js"),getOwnPropertyNames=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-names.js").f,typedArrayFrom=__webpack_require__("./node_modules/core-js/internals/typed-array-from.js"),forEach=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").forEach,setSpecies=__webpack_require__("./node_modules/core-js/internals/set-species.js"),defineBuiltInAccessor=__webpack_require__("./node_modules/core-js/internals/define-built-in-accessor.js"),definePropertyModule=__webpack_require__("./node_modules/core-js/internals/object-define-property.js"),getOwnPropertyDescriptorModule=__webpack_require__("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),InternalStateModule=__webpack_require__("./node_modules/core-js/internals/internal-state.js"),inheritIfRequired=__webpack_require__("./node_modules/core-js/internals/inherit-if-required.js"),getInternalState=InternalStateModule.get,setInternalState=InternalStateModule.set,enforceInternalState=InternalStateModule.enforce,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,RangeError=global.RangeError,ArrayBuffer=ArrayBufferModule.ArrayBuffer,ArrayBufferPrototype=ArrayBuffer.prototype,DataView=ArrayBufferModule.DataView,NATIVE_ARRAY_BUFFER_VIEWS=ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_TAG=ArrayBufferViewCore.TYPED_ARRAY_TAG,TypedArray=ArrayBufferViewCore.TypedArray,TypedArrayPrototype=ArrayBufferViewCore.TypedArrayPrototype,aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor,isTypedArray=ArrayBufferViewCore.isTypedArray,fromList=function(C,list){aTypedArrayConstructor(C);for(var index=0,length=list.length,result=new C(length);length>index;)result[index]=list[index++];return result},addGetter=function(it,key){defineBuiltInAccessor(it,key,{configurable:!0,get:function(){return getInternalState(this)[key]}})},isArrayBuffer=function(it){var klass;return isPrototypeOf(ArrayBufferPrototype,it)||"ArrayBuffer"===(klass=classof(it))||"SharedArrayBuffer"===klass},isTypedArrayIndex=function(target,key){return isTypedArray(target)&&!isSymbol(key)&&key in target&&isIntegralNumber(+key)&&key>=0},wrappedGetOwnPropertyDescriptor=function getOwnPropertyDescriptor(target,key){return key=toPropertyKey(key),isTypedArrayIndex(target,key)?createPropertyDescriptor(2,target[key]):nativeGetOwnPropertyDescriptor(target,key)},wrappedDefineProperty=function defineProperty(target,key,descriptor){return key=toPropertyKey(key),!(isTypedArrayIndex(target,key)&&isObject(descriptor)&&hasOwn(descriptor,"value"))||hasOwn(descriptor,"get")||hasOwn(descriptor,"set")||descriptor.configurable||hasOwn(descriptor,"writable")&&!descriptor.writable||hasOwn(descriptor,"enumerable")&&!descriptor.enumerable?nativeDefineProperty(target,key,descriptor):(target[key]=descriptor.value,target)};DESCRIPTORS?(NATIVE_ARRAY_BUFFER_VIEWS||(getOwnPropertyDescriptorModule.f=wrappedGetOwnPropertyDescriptor,definePropertyModule.f=wrappedDefineProperty,addGetter(TypedArrayPrototype,"buffer"),addGetter(TypedArrayPrototype,"byteOffset"),addGetter(TypedArrayPrototype,"byteLength"),addGetter(TypedArrayPrototype,"length")),$({target:"Object",stat:!0,forced:!NATIVE_ARRAY_BUFFER_VIEWS},{getOwnPropertyDescriptor:wrappedGetOwnPropertyDescriptor,defineProperty:wrappedDefineProperty}),module.exports=function(TYPE,wrapper,CLAMPED){var BYTES=TYPE.match(/\d+/)[0]/8,CONSTRUCTOR_NAME=TYPE+(CLAMPED?"Clamped":"")+"Array",GETTER="get"+TYPE,SETTER="set"+TYPE,NativeTypedArrayConstructor=global[CONSTRUCTOR_NAME],TypedArrayConstructor=NativeTypedArrayConstructor,TypedArrayConstructorPrototype=TypedArrayConstructor&&TypedArrayConstructor.prototype,exported={},addElement=function(that,index){nativeDefineProperty(that,index,{get:function(){return function(that,index){var data=getInternalState(that);return data.view[GETTER](index*BYTES+data.byteOffset,!0)}(this,index)},set:function(value){return function(that,index,value){var data=getInternalState(that);data.view[SETTER](index*BYTES+data.byteOffset,CLAMPED?toUint8Clamped(value):value,!0)}(this,index,value)},enumerable:!0})};NATIVE_ARRAY_BUFFER_VIEWS?TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS&&(TypedArrayConstructor=wrapper((function(dummy,data,typedArrayOffset,$length){return anInstance(dummy,TypedArrayConstructorPrototype),inheritIfRequired(isObject(data)?isArrayBuffer(data)?void 0!==$length?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES),$length):void 0!==typedArrayOffset?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES)):new NativeTypedArrayConstructor(data):isTypedArray(data)?fromList(TypedArrayConstructor,data):call(typedArrayFrom,TypedArrayConstructor,data):new NativeTypedArrayConstructor(toIndex(data)),dummy,TypedArrayConstructor)})),setPrototypeOf&&setPrototypeOf(TypedArrayConstructor,TypedArray),forEach(getOwnPropertyNames(NativeTypedArrayConstructor),(function(key){key in TypedArrayConstructor||createNonEnumerableProperty(TypedArrayConstructor,key,NativeTypedArrayConstructor[key])})),TypedArrayConstructor.prototype=TypedArrayConstructorPrototype):(TypedArrayConstructor=wrapper((function(that,data,offset,$length){anInstance(that,TypedArrayConstructorPrototype);var buffer,byteLength,length,index=0,byteOffset=0;if(isObject(data)){if(!isArrayBuffer(data))return isTypedArray(data)?fromList(TypedArrayConstructor,data):call(typedArrayFrom,TypedArrayConstructor,data);buffer=data,byteOffset=toOffset(offset,BYTES);var $len=data.byteLength;if(void 0===$length){if($len%BYTES)throw new RangeError("Wrong length");if((byteLength=$len-byteOffset)<0)throw new RangeError("Wrong length")}else if((byteLength=toLength($length)*BYTES)+byteOffset>$len)throw new RangeError("Wrong length");length=byteLength/BYTES}else length=toIndex(data),buffer=new ArrayBuffer(byteLength=length*BYTES);for(setInternalState(that,{buffer:buffer,byteOffset:byteOffset,byteLength:byteLength,length:length,view:new DataView(buffer)});index1?arguments[1]:void 0,mapping=void 0!==mapfn,iteratorMethod=getIteratorMethod(O);if(iteratorMethod&&!isArrayIteratorMethod(iteratorMethod))for(next=(iterator=getIterator(O,iteratorMethod)).next,O=[];!(step=call(next,iterator)).done;)O.push(step.value);for(mapping&&argumentsLength>2&&(mapfn=bind(mapfn,arguments[2])),length=lengthOfArrayLike(O),result=new(aTypedArrayConstructor(C))(length),thisIsBigIntArray=isBigIntArray(result),i=0;length>i;i++)value=mapping?mapfn(O[i],i):O[i],result[i]=thisIsBigIntArray?toBigInt(value):+value;return result}},"./node_modules/core-js/internals/typed-array-species-constructor.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),speciesConstructor=__webpack_require__("./node_modules/core-js/internals/species-constructor.js"),aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor,getTypedArrayConstructor=ArrayBufferViewCore.getTypedArrayConstructor;module.exports=function(originalArray){return aTypedArrayConstructor(speciesConstructor(originalArray,getTypedArrayConstructor(originalArray)))}},"./node_modules/core-js/modules/es.number.max-safe-integer.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/internals/export.js")({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},"./node_modules/core-js/modules/es.regexp.flags.js":function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),DESCRIPTORS=__webpack_require__("./node_modules/core-js/internals/descriptors.js"),defineBuiltInAccessor=__webpack_require__("./node_modules/core-js/internals/define-built-in-accessor.js"),regExpFlags=__webpack_require__("./node_modules/core-js/internals/regexp-flags.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),RegExp=global.RegExp,RegExpPrototype=RegExp.prototype;DESCRIPTORS&&fails((function(){var INDICES_SUPPORT=!0;try{RegExp(".","d")}catch(error){INDICES_SUPPORT=!1}var O={},calls="",expected=INDICES_SUPPORT?"dgimsy":"gimsy",addGetter=function(key,chr){Object.defineProperty(O,key,{get:function(){return calls+=chr,!0}})},pairs={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var key in INDICES_SUPPORT&&(pairs.hasIndices="d"),pairs)addGetter(key,pairs[key]);return Object.getOwnPropertyDescriptor(RegExpPrototype,"flags").get.call(O)!==expected||calls!==expected}))&&defineBuiltInAccessor(RegExpPrototype,"flags",{configurable:!0,get:regExpFlags})},"./node_modules/core-js/modules/es.string.anchor.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),createHTML=__webpack_require__("./node_modules/core-js/internals/create-html.js");$({target:"String",proto:!0,forced:__webpack_require__("./node_modules/core-js/internals/string-html-forced.js")("anchor")},{anchor:function anchor(name){return createHTML(this,"a","name",name)}})},"./node_modules/core-js/modules/es.string.code-point-at.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),codeAt=__webpack_require__("./node_modules/core-js/internals/string-multibyte.js").codeAt;$({target:"String",proto:!0},{codePointAt:function codePointAt(pos){return codeAt(this,pos)}})},"./node_modules/core-js/modules/es.string.from-code-point.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),$RangeError=RangeError,fromCharCode=String.fromCharCode,$fromCodePoint=String.fromCodePoint,join=uncurryThis([].join);$({target:"String",stat:!0,arity:1,forced:!!$fromCodePoint&&1!==$fromCodePoint.length},{fromCodePoint:function fromCodePoint(x){for(var code,elements=[],length=arguments.length,i=0;length>i;){if(code=+arguments[i++],toAbsoluteIndex(code,1114111)!==code)throw new $RangeError(code+" is not a valid code point");elements[i]=code<65536?fromCharCode(code):fromCharCode(55296+((code-=65536)>>10),code%1024+56320)}return join(elements,"")}})},"./node_modules/core-js/modules/es.string.trim-left.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),trimStart=__webpack_require__("./node_modules/core-js/internals/string-trim-start.js");$({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==trimStart},{trimLeft:trimStart})},"./node_modules/core-js/modules/es.string.trim-start.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.string.trim-left.js");var $=__webpack_require__("./node_modules/core-js/internals/export.js"),trimStart=__webpack_require__("./node_modules/core-js/internals/string-trim-start.js");$({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==trimStart},{trimStart:trimStart})},"./node_modules/core-js/modules/es.typed-array.copy-within.js":function(module,exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),u$ArrayCopyWithin=uncurryThis(__webpack_require__("./node_modules/core-js/internals/array-copy-within.js")),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("copyWithin",(function copyWithin(target,start){return u$ArrayCopyWithin(aTypedArray(this),target,start,arguments.length>2?arguments[2]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.every.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$every=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").every,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("every",(function every(callbackfn){return $every(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.fill.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$fill=__webpack_require__("./node_modules/core-js/internals/array-fill.js"),toBigInt=__webpack_require__("./node_modules/core-js/internals/to-big-int.js"),classof=__webpack_require__("./node_modules/core-js/internals/classof.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,slice=uncurryThis("".slice);exportTypedArrayMethod("fill",(function fill(value){var length=arguments.length;aTypedArray(this);var actualValue="Big"===slice(classof(this),0,3)?toBigInt(value):+value;return call($fill,this,actualValue,length>1?arguments[1]:void 0,length>2?arguments[2]:void 0)}),fails((function(){var count=0;return new Int8Array(2).fill({valueOf:function(){return count++}}),1!==count})))},"./node_modules/core-js/modules/es.typed-array.filter.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$filter=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").filter,fromSpeciesAndList=__webpack_require__("./node_modules/core-js/internals/typed-array-from-species-and-list.js"),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("filter",(function filter(callbackfn){var list=$filter(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0);return fromSpeciesAndList(this,list)}))},"./node_modules/core-js/modules/es.typed-array.find-index.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$findIndex=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").findIndex,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("findIndex",(function findIndex(predicate){return $findIndex(aTypedArray(this),predicate,arguments.length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.find.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$find=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").find,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("find",(function find(predicate){return $find(aTypedArray(this),predicate,arguments.length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.float32-array.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/internals/typed-array-constructor.js")("Float32",(function(init){return function Float32Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},"./node_modules/core-js/modules/es.typed-array.float64-array.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/internals/typed-array-constructor.js")("Float64",(function(init){return function Float64Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},"./node_modules/core-js/modules/es.typed-array.for-each.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$forEach=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").forEach,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("forEach",(function forEach(callbackfn){$forEach(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.includes.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$includes=__webpack_require__("./node_modules/core-js/internals/array-includes.js").includes,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("includes",(function includes(searchElement){return $includes(aTypedArray(this),searchElement,arguments.length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.index-of.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$indexOf=__webpack_require__("./node_modules/core-js/internals/array-includes.js").indexOf,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("indexOf",(function indexOf(searchElement){return $indexOf(aTypedArray(this),searchElement,arguments.length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.iterator.js":function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),ArrayIterators=__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),ITERATOR=__webpack_require__("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),Uint8Array=global.Uint8Array,arrayValues=uncurryThis(ArrayIterators.values),arrayKeys=uncurryThis(ArrayIterators.keys),arrayEntries=uncurryThis(ArrayIterators.entries),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,TypedArrayPrototype=Uint8Array&&Uint8Array.prototype,GENERIC=!fails((function(){TypedArrayPrototype[ITERATOR].call([1])})),ITERATOR_IS_VALUES=!!TypedArrayPrototype&&TypedArrayPrototype.values&&TypedArrayPrototype[ITERATOR]===TypedArrayPrototype.values&&"values"===TypedArrayPrototype.values.name,typedArrayValues=function values(){return arrayValues(aTypedArray(this))};exportTypedArrayMethod("entries",(function entries(){return arrayEntries(aTypedArray(this))}),GENERIC),exportTypedArrayMethod("keys",(function keys(){return arrayKeys(aTypedArray(this))}),GENERIC),exportTypedArrayMethod("values",typedArrayValues,GENERIC||!ITERATOR_IS_VALUES,{name:"values"}),exportTypedArrayMethod(ITERATOR,typedArrayValues,GENERIC||!ITERATOR_IS_VALUES,{name:"values"})},"./node_modules/core-js/modules/es.typed-array.join.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,$join=uncurryThis([].join);exportTypedArrayMethod("join",(function join(separator){return $join(aTypedArray(this),separator)}))},"./node_modules/core-js/modules/es.typed-array.last-index-of.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),$lastIndexOf=__webpack_require__("./node_modules/core-js/internals/array-last-index-of.js"),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("lastIndexOf",(function lastIndexOf(searchElement){var length=arguments.length;return apply($lastIndexOf,aTypedArray(this),length>1?[searchElement,arguments[1]]:[searchElement])}))},"./node_modules/core-js/modules/es.typed-array.map.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$map=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").map,typedArraySpeciesConstructor=__webpack_require__("./node_modules/core-js/internals/typed-array-species-constructor.js"),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("map",(function map(mapfn){return $map(aTypedArray(this),mapfn,arguments.length>1?arguments[1]:void 0,(function(O,length){return new(typedArraySpeciesConstructor(O))(length)}))}))},"./node_modules/core-js/modules/es.typed-array.reduce-right.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$reduceRight=__webpack_require__("./node_modules/core-js/internals/array-reduce.js").right,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("reduceRight",(function reduceRight(callbackfn){var length=arguments.length;return $reduceRight(aTypedArray(this),callbackfn,length,length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.reduce.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$reduce=__webpack_require__("./node_modules/core-js/internals/array-reduce.js").left,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("reduce",(function reduce(callbackfn){var length=arguments.length;return $reduce(aTypedArray(this),callbackfn,length,length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.reverse.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,floor=Math.floor;exportTypedArrayMethod("reverse",(function reverse(){for(var value,length=aTypedArray(this).length,middle=floor(length/2),index=0;index1?arguments[1]:void 0,1),src=toIndexedObject(arrayLike);if(WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS)return call($set,this,src,offset);var length=this.length,len=lengthOfArrayLike(src),index=0;if(len+offset>length)throw new RangeError("Wrong length");for(;indexindex;)result[index]=list[index++];return result}),fails((function(){new Int8Array(1).slice()})))},"./node_modules/core-js/modules/es.typed-array.some.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),$some=__webpack_require__("./node_modules/core-js/internals/array-iteration.js").some,aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("some",(function some(callbackfn){return $some(aTypedArray(this),callbackfn,arguments.length>1?arguments[1]:void 0)}))},"./node_modules/core-js/modules/es.typed-array.sort.js":function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this-clause.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),aCallable=__webpack_require__("./node_modules/core-js/internals/a-callable.js"),internalSort=__webpack_require__("./node_modules/core-js/internals/array-sort.js"),ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),FF=__webpack_require__("./node_modules/core-js/internals/engine-ff-version.js"),IE_OR_EDGE=__webpack_require__("./node_modules/core-js/internals/engine-is-ie-or-edge.js"),V8=__webpack_require__("./node_modules/core-js/internals/engine-v8-version.js"),WEBKIT=__webpack_require__("./node_modules/core-js/internals/engine-webkit-version.js"),aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,Uint16Array=global.Uint16Array,nativeSort=Uint16Array&&uncurryThis(Uint16Array.prototype.sort),ACCEPT_INCORRECT_ARGUMENTS=!(!nativeSort||fails((function(){nativeSort(new Uint16Array(2),null)}))&&fails((function(){nativeSort(new Uint16Array(2),{})}))),STABLE_SORT=!!nativeSort&&!fails((function(){if(V8)return V8<74;if(FF)return FF<67;if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<602;var index,mod,array=new Uint16Array(516),expected=Array(516);for(index=0;index<516;index++)mod=index%4,array[index]=515-index,expected[index]=index-2*mod+3;for(nativeSort(array,(function(a,b){return(a/4|0)-(b/4|0)})),index=0;index<516;index++)if(array[index]!==expected[index])return!0}));exportTypedArrayMethod("sort",(function sort(comparefn){return void 0!==comparefn&&aCallable(comparefn),STABLE_SORT?nativeSort(this,comparefn):internalSort(aTypedArray(this),function(comparefn){return function(x,y){return void 0!==comparefn?+comparefn(x,y)||0:y!=y?-1:x!=x?1:0===x&&0===y?1/x>0&&1/y<0?1:-1:x>y}}(comparefn))}),!STABLE_SORT||ACCEPT_INCORRECT_ARGUMENTS)},"./node_modules/core-js/modules/es.typed-array.subarray.js":function(module,exports,__webpack_require__){"use strict";var ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),toLength=__webpack_require__("./node_modules/core-js/internals/to-length.js"),toAbsoluteIndex=__webpack_require__("./node_modules/core-js/internals/to-absolute-index.js"),typedArraySpeciesConstructor=__webpack_require__("./node_modules/core-js/internals/typed-array-species-constructor.js"),aTypedArray=ArrayBufferViewCore.aTypedArray;(0,ArrayBufferViewCore.exportTypedArrayMethod)("subarray",(function subarray(begin,end){var O=aTypedArray(this),length=O.length,beginIndex=toAbsoluteIndex(begin,length);return new(typedArraySpeciesConstructor(O))(O.buffer,O.byteOffset+beginIndex*O.BYTES_PER_ELEMENT,toLength((void 0===end?length:toAbsoluteIndex(end,length))-beginIndex))}))},"./node_modules/core-js/modules/es.typed-array.to-locale-string.js":function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("./node_modules/core-js/internals/global.js"),apply=__webpack_require__("./node_modules/core-js/internals/function-apply.js"),ArrayBufferViewCore=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js"),fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),arraySlice=__webpack_require__("./node_modules/core-js/internals/array-slice.js"),Int8Array=global.Int8Array,aTypedArray=ArrayBufferViewCore.aTypedArray,exportTypedArrayMethod=ArrayBufferViewCore.exportTypedArrayMethod,$toLocaleString=[].toLocaleString,TO_LOCALE_STRING_BUG=!!Int8Array&&fails((function(){$toLocaleString.call(new Int8Array(1))}));exportTypedArrayMethod("toLocaleString",(function toLocaleString(){return apply($toLocaleString,TO_LOCALE_STRING_BUG?arraySlice(aTypedArray(this)):aTypedArray(this),arraySlice(arguments))}),fails((function(){return[1,2].toLocaleString()!==new Int8Array([1,2]).toLocaleString()}))||!fails((function(){Int8Array.prototype.toLocaleString.call([1,2])})))},"./node_modules/core-js/modules/es.typed-array.to-string.js":function(module,exports,__webpack_require__){"use strict";var exportTypedArrayMethod=__webpack_require__("./node_modules/core-js/internals/array-buffer-view-core.js").exportTypedArrayMethod,fails=__webpack_require__("./node_modules/core-js/internals/fails.js"),global=__webpack_require__("./node_modules/core-js/internals/global.js"),uncurryThis=__webpack_require__("./node_modules/core-js/internals/function-uncurry-this.js"),Uint8Array=global.Uint8Array,Uint8ArrayPrototype=Uint8Array&&Uint8Array.prototype||{},arrayToString=[].toString,join=uncurryThis([].join);fails((function(){arrayToString.call({})}))&&(arrayToString=function toString(){return join(this)});var IS_NOT_ARRAY_METHOD=Uint8ArrayPrototype.toString!==arrayToString;exportTypedArrayMethod("toString",arrayToString,IS_NOT_ARRAY_METHOD)},"./node_modules/core-js/modules/es.typed-array.uint16-array.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/internals/typed-array-constructor.js")("Uint16",(function(init){return function Uint16Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},"./node_modules/core-js/modules/es.typed-array.uint8-array.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/internals/typed-array-constructor.js")("Uint8",(function(init){return function Uint8Array(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},"./node_modules/core-js/modules/web.url.to-json.js":function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__("./node_modules/core-js/internals/export.js"),call=__webpack_require__("./node_modules/core-js/internals/function-call.js");$({target:"URL",proto:!0,enumerable:!0},{toJSON:function toJSON(){return call(URL.prototype.toString,this)}})}}]); +//# sourceMappingURL=7.199ea7b9.iframe.bundle.js.map \ No newline at end of file diff --git a/7.199ea7b9.iframe.bundle.js.LICENSE.txt b/7.199ea7b9.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..1ade02a1c --- /dev/null +++ b/7.199ea7b9.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,31 @@ +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ + +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ diff --git a/7.199ea7b9.iframe.bundle.js.map b/7.199ea7b9.iframe.bundle.js.map new file mode 100644 index 000000000..b2de2b7b9 --- /dev/null +++ b/7.199ea7b9.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7.199ea7b9.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/7.ee6337d23cbb5bfac5a8.manager.bundle.js b/7.ee6337d23cbb5bfac5a8.manager.bundle.js new file mode 100644 index 000000000..5ef5b4162 --- /dev/null +++ b/7.ee6337d23cbb5bfac5a8.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{849:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"default",(function(){return GlobalScrollAreaStyles})),__webpack_require__.d(__webpack_exports__,"getScrollAreaStyles",(function(){return getScrollAreaStyles}));__webpack_require__(23),__webpack_require__(54);var _templateObject,react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_theming__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1);var hsResizeObserverDummyAnimation=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_3__.j)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["0%{z-index:0}to{z-index:-1}"]))),getScrollAreaStyles=function getScrollAreaStyles(theme){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(hsResizeObserverDummyAnimation)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.color.mediumdark,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},GlobalScrollAreaStyles=function GlobalScrollAreaStyles(){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_3__.b,{styles:getScrollAreaStyles})}}}]); \ No newline at end of file diff --git a/8.5538f2cc2d527002659b.manager.bundle.js b/8.5538f2cc2d527002659b.manager.bundle.js new file mode 100644 index 000000000..27390e470 --- /dev/null +++ b/8.5538f2cc2d527002659b.manager.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 8.5538f2cc2d527002659b.manager.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{850:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"OverlayScrollbarsComponent",(function(){return OverlayScrollbarsComponent})),__webpack_require__.d(__webpack_exports__,"default",(function(){return OverlayScrollbarsComponent}));__webpack_require__(23),__webpack_require__(16),__webpack_require__(93),__webpack_require__(95),__webpack_require__(29),__webpack_require__(7),__webpack_require__(94),__webpack_require__(47),__webpack_require__(74),__webpack_require__(306),__webpack_require__(46),__webpack_require__(65),__webpack_require__(143),__webpack_require__(234),__webpack_require__(22),__webpack_require__(27),__webpack_require__(14),__webpack_require__(19),__webpack_require__(20),__webpack_require__(13),__webpack_require__(18),__webpack_require__(15);var _index_681e4b07_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(2),react__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_23__);__webpack_require__(24),__webpack_require__(51),__webpack_require__(83);function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var OverlayScrollbars$1={exports:{}};!function(module){var global;global="undefined"!=typeof window?window:_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_22__.F,module.exports=function(window,document,undefined$1){var _targets,_instancePropertyString,_easingsMath,PLUGINNAME="OverlayScrollbars",TYPES={o:"object",f:"function",a:"array",s:"string",b:"boolean",n:"number",u:"undefined",z:"null"},LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function _cssProperty(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(_strSpace)}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],_animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){prop===_strScrollLeft||prop===_strScrollTop?el[prop]=value:setCSSVal(el,prop,value)}function _animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el:el,q:[]},_animations.push(animObj)),props)from[key]=key===_strScrollLeft||key===_strScrollTop?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined$1&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,_frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing:easing,complete:complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),_frame=function frame(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing:easing,speacialEasing:specialEasing,duration:duration,complete:complete,step:step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(_frame)},qObj.frame=COMPATIBILITY.rAF()(_frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function _stop(el,clearQ,jumpToEnd){for(var animObj,qObj,key,i=0;i<_animations[LEXICON.l];i++)if((animObj=_animations[i]).el===el){if(animObj.q[LEXICON.l]>0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES.s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;nodes[LEXICON.l]-i;deepest.firstChild===nodes[0]&&i++)deepest.appendChild(nodes[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function wrapInner(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function wrap(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function css(styles,val){var el,key,cptStyle,getCptStyle=window.getComputedStyle;return _type(styles)==TYPES.s?val===undefined$1?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function hasClass(className){for(var elem,classList,i=0,classNamePrepared=_strSpace+className+_strSpace;elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(_strSpace+stripAndCollapse(elem.className+_strEmpty)+_strSpace).indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function addClass(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined$1&&(supportClassList=elmClassList!==undefined$1),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+_strEmpty,cur=1===elem.nodeType&&_strSpace+stripAndCollapse(curValue)+_strSpace){for(;clazz=classes[v++];)cur.indexOf(_strSpace+clazz+_strSpace)<0&&(cur+=clazz+_strSpace);curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function removeClass(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined$1&&(supportClassList=elmClassList!==undefined$1),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+_strEmpty,cur=1===elem.nodeType&&_strSpace+stripAndCollapse(curValue)+_strSpace){for(;clazz=classes[v++];)for(;cur.indexOf(_strSpace+clazz+_strSpace)>-1;)cur=cur.replace(_strSpace+clazz+_strSpace,_strSpace);curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function hide(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function show(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function attr(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined$1)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function removeAttr(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function offset(){var rect=this[0][LEXICON.bCR](),scrollLeft=window.pageXOffset||document.documentElement[_strScrollLeft],scrollTop=window.pageYOffset||document.documentElement[_strScrollTop];return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function position(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function scrollLeft(value){for(var el,i=0;el=this[i++];){if(value===undefined$1)return el[_strScrollLeft];el[_strScrollLeft]=value}return this},scrollTop:function scrollTop(value){for(var el,i=0;el=this[i++];){if(value===undefined$1)return el[_strScrollTop];el[_strScrollTop]=value}return this},val:function val(value){var el=this[0];return value?(el.value=value,this):el.value},first:function first(){return this.eq(0)},last:function last(){return this.eq(-1)},eq:function eq(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function find(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i-1){if(!(argLen>1))return _targets[index][_instancePropertyString];delete target[_instancePropertyString],_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,restrictedStringsSplit,restrictedStringsPossibilitiesSplit,classNameAllowedValues,numberAllowedValues,booleanNullAllowedValues,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,overflowBehaviorAllowedValues,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES.b,TYPES.n,TYPES.s,TYPES.a,TYPES.o,TYPES.f,TYPES.z],restrictedStringsSplit=" ",restrictedStringsPossibilitiesSplit=":",classNameAllowedValues=[TYPES.z,TYPES.s],numberAllowedValues=TYPES.n,booleanNullAllowedValues=[TYPES.z,TYPES.b],booleanTrueTemplate=[!0,TYPES.b],booleanFalseTemplate=[!1,TYPES.b],callbackTemplate=[null,[TYPES.z,TYPES.f]],overflowBehaviorAllowedValues="v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden",optionsDefaultsAndTemplate={className:["os-theme-dark",classNameAllowedValues],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate,clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate,autoUpdate:[null,booleanNullAllowedValues],autoUpdateInterval:[33,numberAllowedValues],updateOnLoad:[["img"],[TYPES.s,TYPES.a,TYPES.z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll",overflowBehaviorAllowedValues],y:["scroll",overflowBehaviorAllowedValues]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,numberAllowedValues],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES.s,TYPES.a,TYPES.z]]},callbacks:{onInitialized:callbackTemplate,onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function convert(template){return function recursive(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES.a?obj[key]=val[template?1:0]:valType==TYPES.o&&(obj[key]=recursive(val)));return obj}(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function _validate(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function checkObjectProps(data,template,diffData,validatedOptions,validatedOptionsPrepared,prevPropName){for(var prop in template)if(template[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES.o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined$1?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES.o)validatedOptions[prop]={},validatedOptionsPrepared[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions[prop],validatedOptionsPrepared[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions,validatedOptionsPrepared],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(restrictedStringsPossibilitiesSplit).join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,strOverflow="overflow",strHidden="hidden",strScroll="scroll",bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=function(){var result,ua=window.navigator.userAgent,strIndexOf="indexOf",strSubString="substring",msie=ua[strIndexOf]("MSIE "),trident=ua[strIndexOf]("Trident/"),edge=ua[strIndexOf]("Edge/"),rv=ua[strIndexOf]("rv:"),parseIntFunc=parseInt;return msie>0?result=parseIntFunc(ua[strSubString](msie+5,ua[strIndexOf](".",msie)),10):trident>0?result=parseIntFunc(ua[strSubString](rv+3,ua[strIndexOf](".",rv)),10):edge>0&&(result=parseIntFunc(ua[strSubString](edge+5,ua[strIndexOf](".",edge)),10)),result}();function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions:defaultOptions,msie:msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize:nativeScrollbarSize,nativeScrollbarIsOverlaid:nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch(ex){}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css(strOverflow,strHidden);var scrollSize={w:scrollbarDummyElement0[LEXICON.sW],h:scrollbarDummyElement0[LEXICON.sH]};scrollbarDummyElement.css(strOverflow,"visible");var scrollSize2={w:scrollbarDummyElement0[LEXICON.sW],h:scrollbarDummyElement0[LEXICON.sH]};return scrollSize.w-scrollSize2.w!=0||scrollSize.h-scrollSize2.h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":strHidden,"overflow-x":strScroll,direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function get(){supportsPassive=!0}}))}catch(e){}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR(),onResize=function onResize(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!differenceIsBiggerThanOne(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),oldScrollbarSize.x===newScrollbarSize.x&&oldScrollbarSize.y===newScrollbarSize.y||FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}};FRAMEWORK(window).on("resize",onResize)}function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}function getWindowDPR(){var dDPI=window.screen.deviceXDPI||0,sDPI=window.screen.logicalXDPI||1;return window.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_base=this,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strAutoUpdate="autoUpdate",_strAutoUpdateInterval=_strAutoUpdate+"Interval",_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopIntervalDefault=33,_loopInterval=_loopIntervalDefault,_loopTimeOld=_getNow(),loop=function loop(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=_loopIntervalDefault;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined$1&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options())[_strAutoUpdate],instanceAutoUpdateInterval=MATH.max(1,instanceOptions[_strAutoUpdateInterval]),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=_loopIntervalDefault};_base.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},_base.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined$1&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strMinusHidden="-hidden",_strMarginMinus="margin-",_strPaddingMinus="padding-",_strBorderMinus="border-",_strTop="top",_strRight="right",_strBottom="bottom",_strLeft="left",_strMinMinus="min-",_strMaxMinus="max-",_strWidth="width",_strHeight="height",_strFloat="float",_strEmpty="",_strAuto="auto",_strSync="sync",_strScroll="scroll",_strHundredPercent="100%",_strX="x",_strY="y",_strDot=".",_strSpace=" ",_strScrollbar="scrollbar",_strMinusHorizontal="-horizontal",_strMinusVertical="-vertical",_strScrollLeft=_strScroll+"Left",_strScrollTop=_strScroll+"Top",_strMouseTouchDownEvent="mousedown touchstart",_strMouseTouchUpEvent="mouseup touchend touchcancel",_strMouseTouchMoveEvent="mousemove touchmove",_strMouseEnter="mouseenter",_strMouseLeave="mouseleave",_strKeyDownEvent="keydown",_strKeyUpEvent="keyup",_strSelectStartEvent="selectstart",_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_strResizeObserverProperty="__overlayScrollbarsRO__",_cassNamesPrefix="os-",_classNameHTMLElement=_cassNamesPrefix+"html",_classNameHostElement=_cassNamesPrefix+"host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-"+_strScrollbar+_strMinusHorizontal+_strMinusHidden,_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-"+_strScrollbar+_strMinusVertical+_strMinusHidden,_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement=_cassNamesPrefix+"textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNamePaddingElement=_cassNamesPrefix+"padding",_classNameViewportElement=_cassNamesPrefix+"viewport",_classNameViewportNativeScrollbarsInvisible=_classNameViewportElement+"-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid=_classNameViewportElement+"-native-scrollbars-overlaid",_classNameContentElement=_cassNamesPrefix+"content",_classNameContentArrangeElement=_cassNamesPrefix+"content-arrange",_classNameContentGlueElement=_cassNamesPrefix+"content-glue",_classNameSizeAutoObserverElement=_cassNamesPrefix+"size-auto-observer",_classNameResizeObserverElement=_cassNamesPrefix+"resize-observer",_classNameResizeObserverItemElement=_cassNamesPrefix+"resize-observer-item",_classNameResizeObserverItemFinalElement=_classNameResizeObserverItemElement+"-final",_classNameTextInherit=_cassNamesPrefix+"text-inherit",_classNameScrollbar=_cassNamesPrefix+_strScrollbar,_classNameScrollbarTrack=_classNameScrollbar+"-track",_classNameScrollbarTrackOff=_classNameScrollbarTrack+"-off",_classNameScrollbarHandle=_classNameScrollbar+"-handle",_classNameScrollbarHandleOff=_classNameScrollbarHandle+"-off",_classNameScrollbarUnusable=_classNameScrollbar+"-unusable",_classNameScrollbarAutoHidden=_classNameScrollbar+"-"+_strAuto+_strMinusHidden,_classNameScrollbarCorner=_classNameScrollbar+"-corner",_classNameScrollbarCornerResize=_classNameScrollbarCorner+"-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+_strMinusHorizontal,_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+_strMinusVertical,_classNameScrollbarHorizontal=_classNameScrollbar+_strMinusHorizontal,_classNameScrollbarVertical=_classNameScrollbar+_strMinusVertical,_classNameDragging=_cassNamesPrefix+"dragging",_classNameThemeNone=_cassNamesPrefix+"theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(_strSpace),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_extensionsPrivateMethods="added removed on contract",_swallowedUpdateHints={},_swallowUpdateLag=42,_updateOnLoadEventName="load",_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES.s?force===_strAuto?(attrsChanged=meaningfulAttrsChanged(),contentSizeC=updateAutoContentSizeChanged(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined$1:_currentPreparedOptions})):force===_strSync?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update(_strAuto):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,_base.update(_strSync)&&!force||update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES.s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);setObjectPropVal(option,newOptions,value),changedOps=setOptions(option)}else changedOps=setOptions(newOptions);FRAMEWORK.isEmptyObject(changedOps)||update({_changedOptions:changedOps})},_base.destroy=function(){if(!_destroyed){for(var extName in autoUpdateLoop.remove(_base),disconnectMutationObservers(),setupResizeObserver(_sizeObserverElement),setupResizeObserver(_sizeAutoObserverElement),_extensions)_base.removeExt(extName);for(;_destroyEvents[LEXICON.l]>0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off(_updateOnLoadEventName,updateOnLoadCallback);_updateOnLoadElms=undefined$1,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined$1){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update(_strSync);var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=[_strX,_strLeft,"l"],coordinatesYAxisProps=[_strY,_strTop,"t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES.o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strEnd="end",strBegin="begin",strCenter="center",strNearest="nearest",strAlways="always",strNever="never",strIfNeeded="ifneeded",strLength=LEXICON.l,elementObjSettingsAxisValues=[_strX,_strY,"xy","yx"],elementObjSettingsBlockValues=[strBegin,strEnd,strCenter,strNearest],elementObjSettingsScrollValues=[strAlways,strNever,strIfNeeded],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function updateScrollbarInfos(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES.f?undefined$1:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll)[strReplace](/min/g,0)[strReplace](//g,(normalizeShortcuts?"-":_strEmpty)+_strHundredPercent)[strReplace](/px/g,_strEmpty)[strReplace](/%/g,mult+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100)[strReplace](/vw/g,mult+_viewportSize.w)[strReplace](/vh/g,mult+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined$1&&!isNaN(amount)&&type(amount)==TYPES.n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined$1:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES.a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES.n||marginType==TYPES.b?generateMargin([margin,margin,margin,margin]):marginType==TYPES.a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES.o?generateMargin([margin[_strTop],margin[_strRight],margin[_strBottom],margin[_strLeft]]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES.s,strAlways,elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES.s,strBegin,elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:settingsScroll.x==strNever||settingsAxis==_strY,y:settingsScroll.y==strNever||settingsAxis==_strX};elementOffset[_strTop]-=settingsMargin[0],elementOffset[_strLeft]-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset[_strLeft]-viewportOffset[_strLeft]+viewportScroll.l),y:MATH.round(elementOffset[_strTop]-viewportOffset[_strTop]+viewportScroll.t)};if(_isRTL&&(_rtlScrollBehavior.n||_rtlScrollBehavior.i||(elementScrollCoordinates.x=MATH.round(viewportOffset[_strLeft]-elementOffset[_strLeft]+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset[_strLeft]-elementOffset[_strLeft]+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),settingsBlock.x!=strBegin||settingsBlock.y!=strBegin||settingsScroll.x==strIfNeeded||settingsScroll.y==strIfNeeded||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize[_strWidth]+settingsMargin[3]+settingsMargin[1],h:rawElementSize[_strHeight]+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function finalizeBlock(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?strBegin:strEnd),blockIsCenter=settingsBlock[xy]==strCenter,blockIsNearest=settingsBlock[xy]==strNearest,scrollNever=settingsScroll[xy]==strNever,scrollIfNeeded=settingsScroll[xy]==strIfNeeded,vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration:duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing[_strScrollLeft]=easing[0]||easing.x,specialEasing[_strScrollTop]=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement[_strScrollLeft](finalScroll[_strScrollLeft]),doScrollTop&&_viewportElement[_strScrollTop](finalScroll[_strScrollTop]),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES.s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj){if(!FRAMEWORK.isPlainObject(obj))return obj;var extended=extendDeep({},obj),changePropertyName=function changePropertyName(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w",_strWidth),changePropertyName("h",_strHeight),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES.s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods=_extensionsPrivateMethods.split(" "),i=0;if(type(extName)==TYPES.s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv(_classNameResizeObserverElement,generateDiv({c:_classNameResizeObserverItemElement,dir:"ltr"},generateDiv(_classNameResizeObserverItemElement,generateDiv(_classNameResizeObserverItemFinalElement))+generateDiv(_classNameResizeObserverItemElement,generateDiv({c:_classNameResizeObserverItemFinalElement,style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0][strChildNodes][0][strChildNodes][0],shrinkElement=FRAMEWORK(observerElement[strChildNodes][1]),expandElement=FRAMEWORK(observerElement[strChildNodes][0]),expandElementChild=FRAMEWORK(expandElement[0][strChildNodes][0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],factor=2,nativeScrollbarSize=globals.nativeScrollbarSize,reset=function reset(){expandElement[_strScrollLeft](constScroll)[_strScrollTop](constScroll),shrinkElement[_strScrollLeft](constScroll)[_strScrollTop](constScroll)},onResized=function onResized(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function onScroll(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,_strEmpty,[-(nativeScrollbarSize.y+1)*factor,nativeScrollbarSize.x*-factor,nativeScrollbarSize.y*-factor,-(nativeScrollbarSize.x+1)*factor]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on(_strScroll,onScroll),shrinkElement.on(_strScroll,onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS[_strWidth]=constScroll,expandChildCSS[_strHeight]=constScroll,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined$1;if(attachEvent)targetElement.prepend(generateDiv(_classNameResizeObserverElement)),findFirst(targetElement,_strDot+_classNameResizeObserverElement)[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES.o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,_classNameResizeObserverElement),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function directionChanged(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css[_strLeft]=0,css[_strRight]=_strAuto,scrollLeftValue=constScroll):(css[_strLeft]=_strAuto,css[_strRight]=0,scrollLeftValue=_rtlScrollBehavior.n?-constScroll:_rtlScrollBehavior.i?0:constScroll),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement[_strScrollLeft](scrollLeftValue)[_strScrollTop](constScroll),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,_strScroll,(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0])[_strResizeObserverProperty];resizeObserverObj&&(resizeObserverObj.disconnect(),delete element[_strResizeObserverProperty])}else remove(targetElement.children(_strDot+_classNameResizeObserverElement).eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserverContentLag=11,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function _mutationObserverContentCallback(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return!(doUpdate=isUnknownMutation(this))})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function action(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update(_strAuto))},clearTimeout(contentTimeout),mutationObserverContentLag<=0||now-contentLastUpdate>mutationObserverContentLag||!sizeAuto?action():contentTimeout=setTimeout(action,mutationObserverContentLag))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function _mutationObserverHostCallback(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(_strSpace).concat(oldMutationVal.split(_strSpace).filter((function(name){return name.match(hostClassNameRegex)}))).join(_strSpace),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||_strAuto)),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){var elm=FRAMEWORK(event.target);eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,_strMouseTouchMoveEvent.split(_strSpace)[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,[_strMouseEnter,_strMouseLeave],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),_initialized||destroy||_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css(_strMinMinus+_strWidth)),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css(_strMinMinus+_strHeight)),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=_typeof(newClassNames)==TYPES.s?newClassNames.split(_strSpace):[],diff=getArrayDifferences(_typeof(oldClassNames)==TYPES.s?oldClassNames.split(_strSpace):[],currClasses),idx=inArray(_classNameThemeNone,diff);if(idx>-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i0}}function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var flexGrow="flex-grow",flexShrink="flex-shrink",flexBasis="flex-basis",affectingPropsX=[_strWidth,_strMinMinus+_strWidth,_strMaxMinus+_strWidth,_strMarginMinus+_strLeft,_strMarginMinus+_strRight,_strLeft,_strRight,"font-weight","word-spacing",flexGrow,flexShrink,flexBasis],affectingPropsXContentBox=[_strPaddingMinus+_strLeft,_strPaddingMinus+_strRight,_strBorderMinus+_strLeft+_strWidth,_strBorderMinus+_strRight+_strWidth],affectingPropsY=[_strHeight,_strMinMinus+_strHeight,_strMaxMinus+_strHeight,_strMarginMinus+_strTop,_strMarginMinus+_strBottom,_strTop,_strBottom,"line-height",flexGrow,flexShrink,flexBasis],affectingPropsYContentBox=[_strPaddingMinus+_strTop,_strPaddingMinus+_strBottom,_strBorderMinus+_strTop+_strWidth,_strBorderMinus+_strBottom+_strWidth],_strS="s",_strVS="v-s",checkX=_overflowBehaviorCache.x===_strS||_overflowBehaviorCache.x===_strVS,sizeIsAffected=!1,checkPropertyName=function checkPropertyName(arr,name){for(var i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES.s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css[_strMinMinus+_strWidth]=_strEmpty,css[_strMinMinus+_strHeight]=_strEmpty,css[_strWidth]=_strAuto,_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css[_strWidth]=_widthAutoCache?_strAuto:_strHundredPercent,css[_strMinMinus+_strWidth]=_strHundredPercent,css[_strHeight]=_strAuto,_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css[_strWidth]=width,css[_strHeight]=height,_textareaCoverElement.css(css),css[_strMinMinus+_strWidth]=minWidth,css[_strMinMinus+_strHeight]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<_swallowUpdateLag&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,_swallowUpdateLag)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function checkCacheAutoForce(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement[_strScrollLeft](),y:_viewportElement[_strScrollTop]()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+_strSpace+_classNameThemeNone),addClass(_hostElement,className!==undefined$1&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv(_classNameContentGlueElement)),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv(_classNameSizeAutoObserverElement)),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css(_strHeight,_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger(_strScroll),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger(_strScroll)),displayIsHidden=displayIsHidden===undefined$1?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost(_strPaddingMinus);try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch(ex){return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?_strLeft:_strRight,isRTLRight=_isRTL?_strRight:_strLeft,widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css(_strFloat))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css(_strWidth);_contentGlueElement.css(_strWidth,_strAuto);var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css(_strWidth,tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css(_strWidth,tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css(_strWidth,tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost(_strBorderMinus,"-"+_strWidth,!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost(_strMarginMinus),contentElementCSS={},contentGlueElementCSS={},getHostSize=function getHostSize(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function getViewportSize(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css(_strFloat,isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,_strMarginMinus,[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,_strEmpty,paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,_strPaddingMinus)):(setTopRightBottomLeft(paddingElementCSS,_strEmpty),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,_strPaddingMinus,paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS[_strHeight]=_strAuto:(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS[_strHeight]=_strHundredPercent),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS[_strWidth]=_strAuto,contentGlueElementCSS[_strMaxMinus+_strWidth]=_strHundredPercent):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS[_strWidth]=_strHundredPercent,contentElementCSS[_strFloat]=_strEmpty,contentGlueElementCSS[_strMaxMinus+_strWidth]=_strEmpty),widthAuto?(contentGlueElementCSS[_strWidth]=_strAuto,contentElementCSS[_strWidth]=VENDORS._cssPropertyValue(_strWidth,"max-content intrinsic")||_strAuto,contentElementCSS[_strFloat]=isRTLRight):contentGlueElementCSS[_strWidth]=_strEmpty,contentGlueElementCSS[_strHeight]=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:_strEmpty,sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){var strOverflow="overflow",strOverflowX=strOverflow+"-x",strOverflowY=strOverflow+"-y",strHidden="hidden",strVisible="visible";if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css(_strBottom):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,_strEmpty),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS[_strBottom]=wasHeightAuto?_strEmpty:resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?_strEmpty:resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS[_strWidth]=contentGlueSize.w,contentGlueElementCSS[_strHeight]=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function setContentGlueElementCSSfunction(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),!(autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS[_strWidth]=_strHundredPercent),!widthAuto||_isBorderBox||_mutationObserversConnected||(contentElementCSS[_strFloat]="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function setOverflowVariables(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax=_strScroll+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,borderDesign="px solid transparent",contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:_strEmpty,arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:_strEmpty,arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS[_strMarginMinus+isRTLRight]=contentElementCSS[_strBorderMinus+isRTLRight]=_strEmpty,setContentElementCSS=function setContentElementCSS(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?_strBottom:isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS[_strMarginMinus+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?_strEmpty:_overlayScrollbarDummySize[xy]:_strEmpty,contentElementCSS[_strBorderMinus+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?_strEmpty:_overlayScrollbarDummySize[xy]+borderDesign):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS[_strMarginMinus+strDirection]=contentElementCSS[_strBorderMinus+strDirection]=_strEmpty,arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h=_strEmpty,arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS[_strWidth]=hideOverflow.y?arrangeContent.w:_strEmpty,contentArrangeElementCSS[_strHeight]=hideOverflow.x?arrangeContent.h:_strEmpty,_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv(_classNameContentArrangeElement)),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]=_strEmpty,(setViewportCSS=function setViewportCSS(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?_strBottom:isRTLLeft,reset=function reset(){viewportElementCSS[strDirection]=_strEmpty,_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS[strOverflow+XY]=_strScroll,ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS[strOverflow+XY]=_strEmpty,reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS[_strPaddingMinus+_strTop]=_nativeScrollbarMinSize.x,viewportElementCSS[_strMarginMinus+_strTop]=-_nativeScrollbarMinSize.x,viewportElementCSS[_strPaddingMinus+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS[_strMarginMinus+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS[_strPaddingMinus+_strTop]=viewportElementCSS[_strMarginMinus+_strTop]=viewportElementCSS[_strPaddingMinus+isRTLRight]=viewportElementCSS[_strMarginMinus+isRTLRight]=_strEmpty,viewportElementCSS[_strPaddingMinus+isRTLLeft]=viewportElementCSS[_strMarginMinus+isRTLLeft]=_strEmpty,hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS[strOverflowX]=paddingElementCSS[strOverflowY]=strHidden):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS[strOverflowX]=paddingElementCSS[strOverflowY]=_strEmpty),viewportElementCSS[strOverflowX]=viewportElementCSS[strOverflowY]=strVisible),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",elementStyle.display=_strEmpty,elementStyle.webkitTransform=_strEmpty}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css(_strFloat),posLeftWithoutFloat=MATH.round(_contentElement.css(_strFloat,_strEmpty).css(_strLeft,_strEmpty).position().left);_contentElement.css(_strFloat,floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS[_strLeft]=posLeftWithoutFloat)}else contentElementCSS[_strLeft]=_strEmpty;if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=getTextareaInfo();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined$1||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement[_strScrollLeft](0),heightAuto&&_hostElement[_strScrollTop](0),_viewportElement[_strScrollLeft](currScroll.x)[_strScrollTop](currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function refreshScrollbarsVisibility(showX,showY){showY=showY===undefined$1?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css(_strMinMinus+_strWidth,_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css(_strMinMinus+_strHeight,_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off(_updateOnLoadEventName,updateOnLoadCallback).on(_updateOnLoadEventName,updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var strParent="parent",classNameResizeObserverHost="os-resize-observer-host",classNameTextareaElementFull=_classNameTextareaElement+_strSpace+_classNameTextInherit,textareaClass=_isTextarea?_strSpace+_classNameTextInherit:_strEmpty,adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function applyAdoptedAttrs(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES.s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(_strSpace),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement[strParent]()[strParent]()[strParent]()[strParent]():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass(_classNameContentElement+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass(_classNameViewportElement+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass(_classNamePaddingElement+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass(classNameResizeObserverHost),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined$1),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES.s?adoptAttrs.split(_strSpace):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES.s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,_classNameHTMLElement)):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS[_strWidth]=_targetElement.css(_strWidth),hostElementCSS[_strHeight]=_targetElement.css(_strHeight)),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement[strParent]().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,_strDot+_classNameContentElement),_viewportElement=findFirst(_hostElement,_strDot+_classNameViewportElement),_paddingElement=findFirst(_hostElement,_strDot+_classNamePaddingElement),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,_classNameHTMLElement),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[],scrollStopDelay=175,strFocus="focus";function updateTextarea(doClearInterval){textareaUpdate(),_base.update(_strAuto),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}function textareaOnScroll(event){return _targetElement[_strScrollLeft](_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement[_strScrollTop](0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)}function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,strFocus)}function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,strFocus),updateTextarea(!0)}function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))}function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&isSizeAffectingCSSProperty((event=event.originalEvent||event).propertyName)&&_base.update(_strAuto)}function viewportOnScroll(event){_sleeping||(scrollStopTimeoutId!==undefined$1?clearTimeout(scrollStopTimeoutId):((_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0),nativeOverlayScrollbarsAreActive()||addClass(_hostElement,_classNameHostScrolling),dispatchCallback("onScrollStart",event)),_scrollbarsHandlesDefineScrollPos||(refreshScrollbarHandleOffset(!0),refreshScrollbarHandleOffset(!1)),dispatchCallback("onScroll",event),scrollStopTimeoutId=setTimeout((function(){_destroyed||(clearTimeout(scrollStopTimeoutId),scrollStopTimeoutId=undefined$1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1),nativeOverlayScrollbarsAreActive()||removeClass(_hostElement,_classNameHostScrolling),dispatchCallback("onScrollStop",event))}),scrollStopDelay))}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,[_strKeyDownEvent,_strKeyUpEvent],[textareaOnKeyDown,textareaOnKeyUp]),addDestroyEventListener(_targetElement,[_strScroll,"drop",strFocus,strFocus+"out"],[textareaOnScroll,textareaOnDrop,textareaOnFocus,textareaOnFocusout])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,contentOnTransitionEnd),addDestroyEventListener(_viewportElement,_strScroll,viewportOnScroll,!0)}function setupScrollbarsDOM(destroy){var horizontalElements,verticalElements,selectOrGenerateScrollbarDOM=function selectOrGenerateScrollbarDOM(isHorizontal){var scrollbar=selectOrGenerateDivByClass(_classNameScrollbar+_strSpace+(isHorizontal?_classNameScrollbarHorizontal:_classNameScrollbarVertical),!0),track=selectOrGenerateDivByClass(_classNameScrollbarTrack,scrollbar),handle=selectOrGenerateDivByClass(_classNameScrollbarHandle,scrollbar);return _domExists||destroy||(scrollbar.append(track),track.append(handle)),{_scrollbar:scrollbar,_track:track,_handle:handle}};function resetScrollbarDOM(isHorizontal){var scrollbarVars=getScrollbarVars(isHorizontal),scrollbar=scrollbarVars._scrollbar,track=scrollbarVars._track,handle=scrollbarVars._handle;_domExists&&_initialized?each([scrollbar,track,handle],(function(i,elm){removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})):remove(scrollbar||selectOrGenerateScrollbarDOM(isHorizontal)._scrollbar)}destroy?(resetScrollbarDOM(!0),resetScrollbarDOM()):(horizontalElements=selectOrGenerateScrollbarDOM(!0),verticalElements=selectOrGenerateScrollbarDOM(),_scrollbarHorizontalElement=horizontalElements._scrollbar,_scrollbarHorizontalTrackElement=horizontalElements._track,_scrollbarHorizontalHandleElement=horizontalElements._handle,_scrollbarVerticalElement=verticalElements._scrollbar,_scrollbarVerticalTrackElement=verticalElements._track,_scrollbarVerticalHandleElement=verticalElements._handle,_domExists||(_paddingElement.after(_scrollbarVerticalElement),_paddingElement.after(_scrollbarHorizontalElement)))}function setupScrollbarEvents(isHorizontal){var trackTimeout,mouseDownScroll,mouseDownOffset,mouseDownInvertedScale,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,insideIFrame=_windowElementNative.top!==_windowElementNative,xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,scroll=_strScroll+scrollbarVars._Left_Top,strActive="active",strSnapHandle="snapHandle",strClickEvent="click",scrollDurationFactor=1,increaseDecreaseScrollAmountKeyCodes=[16,17];function getPointerPosition(event){return _msieVersion&&insideIFrame?event["screen"+XY]:COMPATIBILITY.page(event)[xy]}function getPreparedScrollbarsOption(name){return _currentPreparedOptions.scrollbars[name]}function increaseTrackScrollAmount(){scrollDurationFactor=.5}function decreaseTrackScrollAmount(){scrollDurationFactor=1}function stopClickEventPropagation(event){COMPATIBILITY.stpP(event)}function documentKeyDown(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined$1;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,[_strMouseTouchMoveEvent,_strMouseTouchUpEvent,_strKeyDownEvent,_strKeyUpEvent,_strSelectStartEvent],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,strClickEvent,stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,strActive),removeClass(scrollbarVars._track,strActive),removeClass(scrollbarVars._scrollbar,strActive),mouseDownScroll=undefined$1,mouseDownOffset=undefined$1,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined$1&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined$1),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption(strSnapHandle),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,strActive),addClass(scrollbarVars._scrollbar,strActive),setupResponsiveEventListener(_documentElement,[_strMouseTouchMoveEvent,_strMouseTouchUpEvent,_strSelectStartEvent],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,strClickEvent,stopClickEventPropagation,!1,{_capture:!0})})),!_msieVersion&&_documentMixed||COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,easing="linear",scrollActionFinsished=function scrollActionFinsished(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function scrollActionInstantFinished(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function scrollAction(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:easing,step:function step(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined$1,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption(strSnapHandle),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,strActive),addClass(scrollbarVars._scrollbar,strActive),setupResponsiveEventListener(_documentElement,[_strMouseTouchUpEvent,_strKeyDownEvent,_strKeyUpEvent,_strSelectStartEvent],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}}function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)}function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,_strMouseTouchDownEvent,onHandleMouseTouchDown),addDestroyEventListener(scrollbarVars._track,[_strMouseTouchDownEvent,_strMouseEnter,_strMouseLeave],[onTrackMouseTouchDown,onTrackMouseTouchEnter,onTrackMouseTouchLeave]),addDestroyEventListener(scrollbarVars._scrollbar,_strMouseTouchDownEvent,onScrollbarMouseTouchDown),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,strActive="active",hide=function hide(){_scrollbarsHandleHovered||_destroyed||(!(anyActive=_scrollbarHorizontalHandleElement.hasClass(strActive)||_scrollbarVerticalHandleElement.hasClass(strActive))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,digit=1e6,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*digit)/digit+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES.b,transitionDuration=250,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTranslateBrace="translate(",strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement[_strScrollLeft]():_viewportElement[_strScrollTop](),currentScroll=scrollOrTransition===undefined$1||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative[_strScroll+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function getScrollRatio(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function getHandleOffset(scrollRatio){var offset=handleTrackDiff*scrollRatio;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?strTranslateBrace+transformOffset+"px, 0)":strTranslateBrace+"0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?getCSSTransitionString(scrollbarVars._handle)+", "+(strTransform+_strSpace+transitionDuration)+"ms":_strEmpty)):handleCSS[scrollbarVars._left_top]=handleOffset,nativeOverlayScrollbarsAreActive()||(scrollbarVars._handle.css(handleCSS),_supportTransform&&_supportTransition&&transition&&scrollbarVars._handle.one(_strTransitionEndEvent,(function(){_destroyed||scrollbarVars._handle.css(strTransition,_strEmpty)}))),scrollbarVarsInfo._handleOffset=handleOffset,scrollbarVarsInfo._snappedHandleOffset=snappedHandleOffset,scrollbarVarsInfo._trackLength=trackLength}function refreshScrollbarsInteractive(isTrack,value){var action=value?"removeClass":"addClass",element2=isTrack?_scrollbarVerticalTrackElement:_scrollbarVerticalHandleElement,className=isTrack?_classNameScrollbarTrackOff:_classNameScrollbarHandleOff;(isTrack?_scrollbarHorizontalTrackElement:_scrollbarHorizontalHandleElement)[action](className),element2[action](className)}function getScrollbarVars(isHorizontal){return{_width_height:isHorizontal?_strWidth:_strHeight,_Width_Height:isHorizontal?"Width":"Height",_left_top:isHorizontal?_strLeft:_strTop,_Left_Top:isHorizontal?"Left":"Top",_x_y:isHorizontal?_strX:_strY,_X_Y:isHorizontal?"X":"Y",_w_h:isHorizontal?"w":"h",_l_t:isHorizontal?"l":"t",_track:isHorizontal?_scrollbarHorizontalTrackElement:_scrollbarVerticalTrackElement,_handle:isHorizontal?_scrollbarHorizontalHandleElement:_scrollbarVerticalHandleElement,_scrollbar:isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement,_info:isHorizontal?_scrollHorizontalInfo:_scrollVerticalInfo}}function setupScrollbarCornerDOM(destroy){_scrollbarCornerElement=_scrollbarCornerElement||selectOrGenerateDivByClass(_classNameScrollbarCorner,!0),destroy?_domExists&&_initialized?removeClass(_scrollbarCornerElement.removeAttr(LEXICON.s),_classNamesDynamicDestroy):remove(_scrollbarCornerElement):_domExists||_hostElement.append(_scrollbarCornerElement)}function setupScrollbarCornerEvents(){var reconnectMutationObserver,insideIFrame=_windowElementNative.top!==_windowElementNative,mouseDownPosition={},mouseDownSize={},mouseDownInvertedScale={};function documentDragMove(event){if(onMouseTouchDownContinue(event)){var pageOffset=getCoordinates(event),hostElementCSS={};(_resizeHorizontal||_resizeBoth)&&(hostElementCSS[_strWidth]=mouseDownSize.w+(pageOffset.x-mouseDownPosition.x)*mouseDownInvertedScale.x),(_resizeVertical||_resizeBoth)&&(hostElementCSS[_strHeight]=mouseDownSize.h+(pageOffset.y-mouseDownPosition.y)*mouseDownInvertedScale.y),_hostElement.css(hostElementCSS),COMPATIBILITY.stpP(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){var eventIsTrusted=event!==undefined$1;setupResponsiveEventListener(_documentElement,[_strSelectStartEvent,_strMouseTouchMoveEvent,_strMouseTouchUpEvent],[documentOnSelectStart,documentDragMove,documentMouseTouchUp],!0),removeClass(_bodyElement,_classNameDragging),_scrollbarCornerElement.releaseCapture&&_scrollbarCornerElement.releaseCapture(),eventIsTrusted&&(reconnectMutationObserver&&connectMutationObservers(),_base.update(_strAuto)),reconnectMutationObserver=!1}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined$1;return!_sleeping&&!_destroyed&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function getCoordinates(event){return _msieVersion&&insideIFrame?{x:event.screenX,y:event.screenY}:COMPATIBILITY.page(event)}addDestroyEventListener(_scrollbarCornerElement,_strMouseTouchDownEvent,(function(event){onMouseTouchDownContinue(event)&&!_resizeNone&&(_mutationObserversConnected&&(reconnectMutationObserver=!0,disconnectMutationObservers()),mouseDownPosition=getCoordinates(event),mouseDownSize.w=_hostElementNative[LEXICON.oW]-(_isBorderBox?0:_paddingX),mouseDownSize.h=_hostElementNative[LEXICON.oH]-(_isBorderBox?0:_paddingY),mouseDownInvertedScale=getHostElementInvertedScale(),setupResponsiveEventListener(_documentElement,[_strSelectStartEvent,_strMouseTouchMoveEvent,_strMouseTouchUpEvent],[documentOnSelectStart,documentDragMove,documentMouseTouchUp]),addClass(_bodyElement,_classNameDragging),_scrollbarCornerElement.setCapture&&_scrollbarCornerElement.setCapture(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event))}))}function dispatchCallback(name,args,dependent){if(!1!==dependent)if(_initialized){var ext,callback=_currentPreparedOptions.callbacks[name],extensionOnName=name;"on"===extensionOnName.substr(0,2)&&(extensionOnName=extensionOnName.substr(2,1).toLowerCase()+extensionOnName.substr(3)),type(callback)==TYPES.f&&callback.call(_base,args),each(_extensions,(function(){type((ext=this).on)==TYPES.f&&ext.on(extensionOnName,args)}))}else _destroyed||_callbacksInitQeueue.push({n:name,a:args})}function setTopRightBottomLeft(targetCSSObject,prefix,values){values=values||[_strEmpty,_strEmpty,_strEmpty,_strEmpty],targetCSSObject[(prefix=prefix||_strEmpty)+_strTop]=values[0],targetCSSObject[prefix+_strRight]=values[1],targetCSSObject[prefix+_strBottom]=values[2],targetCSSObject[prefix+_strLeft]=values[3]}function getTopRightBottomLeftHost(prefix,suffix,zeroX,zeroY){return suffix=suffix||_strEmpty,prefix=prefix||_strEmpty,{t:zeroY?0:parseToZeroOrNumber(_hostElement.css(prefix+_strTop+suffix)),r:zeroX?0:parseToZeroOrNumber(_hostElement.css(prefix+_strRight+suffix)),b:zeroY?0:parseToZeroOrNumber(_hostElement.css(prefix+_strBottom+suffix)),l:zeroX?0:parseToZeroOrNumber(_hostElement.css(prefix+_strLeft+suffix))}}function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpString="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",regExpMain=new RegExp(regExpString),regExpValidate=new RegExp("^("+regExpString+")+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function splitCssStyleByComma(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,_strEmpty);return strResult};itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}function nativeOverlayScrollbarsAreActive(){return _ignoreOverlayScrollbarHidingCache&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y}function getContentMeasureElement(){return _isTextarea?_textareaCoverElement[0]:_contentElementNative}function generateDiv(classesOrAttrs,content){return"
"+(content||_strEmpty)+"
"}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES.b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"](_strDot+className.replace(/\s/g,_strDot)).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split(_strDot),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined$1&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES.f&&options(v,inst)||options===undefined$1)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr},_plugin.globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined$1)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES.s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES.f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions:defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){var _elements=this;return JQUERY.isPlainObject(options)?(JQUERY.each(_elements,(function(){PLUGIN(this,options,extensions)})),_elements):PLUGIN(_elements,options)}),PLUGIN}(global,global.document,void 0)}(OverlayScrollbars$1);var OverlayScrollbars=OverlayScrollbars$1.exports,OverlayScrollbarsComponent=function OverlayScrollbarsComponent(_a){var _a$options=_a.options,options=void 0===_a$options?{}:_a$options,extensions=_a.extensions,className=_a.className,children=_a.children,rest=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_22__.G)(_a,["options","extensions","className","children"]),osTargetRef=Object(react__WEBPACK_IMPORTED_MODULE_23__.useRef)(),osInstance=Object(react__WEBPACK_IMPORTED_MODULE_23__.useRef)();return Object(react__WEBPACK_IMPORTED_MODULE_23__.useEffect)((function(){return osInstance.current=OverlayScrollbars(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),function(){OverlayScrollbars.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)}}),[]),Object(react__WEBPACK_IMPORTED_MODULE_23__.useEffect)((function(){OverlayScrollbars.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),Object(react__WEBPACK_IMPORTED_MODULE_23__.useEffect)((function(){OverlayScrollbars.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",Object.assign({className:"os-host"},rest,{ref:osTargetRef}),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_23___default.a.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(OverlayScrollbars.valid(osInstance)){var host=osInstance.getElements().host,regex=new RegExp("(^os-host([-_].+|)$)|".concat(osInstance.options().className.replace(/\s/g,"$|"),"$"),"g"),osClassNames=host.className.split(" ").filter((function(name){return name.match(regex)})).join(" ");host.className="".concat(osClassNames," ").concat(className||"")}}}}]); \ No newline at end of file diff --git a/8.5538f2cc2d527002659b.manager.bundle.js.LICENSE.txt b/8.5538f2cc2d527002659b.manager.bundle.js.LICENSE.txt new file mode 100644 index 000000000..cfda1d61d --- /dev/null +++ b/8.5538f2cc2d527002659b.manager.bundle.js.LICENSE.txt @@ -0,0 +1,12 @@ +/*! + * OverlayScrollbars + * https://github.com/KingSora/OverlayScrollbars + * + * Version: 1.13.0 + * + * Copyright KingSora | Rene Haas. + * https://github.com/KingSora + * + * Released under the MIT license. + * Date: 02.08.2020 + */ diff --git a/8.7733e41f.iframe.bundle.js b/8.7733e41f.iframe.bundle.js new file mode 100644 index 000000000..e65b5e75a --- /dev/null +++ b/8.7733e41f.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"./node_modules/@storybook/components/dist/esm/Color-f953d088.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorControl",(function(){return ColorControl})),__webpack_require__.d(__webpack_exports__,"default",(function(){return ColorControl}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.map.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");var _ColorPicker,_fallbackColor,_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("./node_modules/@storybook/components/dist/esm/index-681e4b07.js"),react__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("./node_modules/react/index.js"),react__WEBPACK_IMPORTED_MODULE_27___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_27__),_storybook_theming__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js");__webpack_require__("./node_modules/memoizerific/memoizerific.js"),__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),__webpack_require__("./node_modules/qs/lib/index.js");function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(o[t]=e[t]);return o}function i(e){var t=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)(e),n=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var s=function s(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:_e.buttons>0)&&m.current?g(d(m.current,_e,b.current)):t(!1)},r=function r(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]}),[p,g]),C=x[0],E=x[1],H=x[2];return Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){return H}),[H]),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))})),g=function g(e){return e.filter(Boolean).join(" ")},p=function p(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function b(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function x(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},C=function C(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},M=function M(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},N=function N(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},w=function w(e){var r=N(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},y=function y(e){var r=N(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},q=function q(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function z(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function B(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},K=react__WEBPACK_IMPORTED_MODULE_27___default.a.memo((function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:o},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(m,{onMove:function onMove(e){n({h:360*e.left})},onKey:function onKey(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":b(t)},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:w({h:t,s:100,v:100,a:1})})))})),L=react__WEBPACK_IMPORTED_MODULE_27___default.a.memo((function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:"react-colorful__saturation",style:o},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(m,{onMove:function onMove(e){n({s:100*e.left,v:100-100*e.top})},onKey:function onKey(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:w(t)})))})),A=function A(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},S=function S(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function T(e,t,l){var u=i(l),c=Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)((function(){return e.toHsva(t)})),s=c[0],f=c[1],v=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)({color:t,hsva:s});Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}}),[t,e]),Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=Object(react__WEBPACK_IMPORTED_MODULE_27__.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}for(var P="undefined"!=typeof window?react__WEBPACK_IMPORTED_MODULE_27__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_27__.useEffect,R=new Map,V=function V(e){P((function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=function X(){return __webpack_require__.nc}();n&&t.setAttribute("nonce",n),r.head.appendChild(t)}}),[])},$=function $(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",u({},s,{ref:f,className:m}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(L,{hsva:d,onChange:h}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function toHsva(e){return B(x(e))},fromHsva:function fromHsva(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n},equal:function equal(e,r){return e.toLowerCase()===r.toLowerCase()||A(x(e),x(r))}},Q=function Q(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+y(Object.assign({},n,{a:0}))+", "+y(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:l},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(m,{onMove:function onMove(e){o({a:e.left})},onKey:function onKey(e){o({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":b(100*n.a)+"%"},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:y(n)})))},U=function U(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=Object(react__WEBPACK_IMPORTED_MODULE_27__.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement("div",u({},s,{ref:f,className:m}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(L,{hsva:d,onChange:h}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(K,{hue:d.h,onChange:h}),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Q,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},ee={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:function E(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?M({h:C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},fromHsva:y,equal:S},ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:function I(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},fromHsva:function fromHsva(e){var r=q(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:S},cssKeywords={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},reverseKeywords={},_i=0,_Object$keys=Object.keys(cssKeywords);_i<_Object$keys.length;_i++){var key=_Object$keys[_i];reverseKeywords[cssKeywords[key]]=key}for(var convert$1={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},conversions$2=convert$1,_i2=0,_Object$keys2=Object.keys(convert$1);_i2<_Object$keys2.length;_i2++){var model=_Object$keys2[_i2];if(!("channels"in convert$1[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert$1[model]))throw new Error("missing channel labels property: "+model);if(convert$1[model].labels.length!==convert$1[model].channels)throw new Error("channel and label counts mismatch: "+model);var _convert$1$model=convert$1[model],channels=_convert$1$model.channels,labels=_convert$1$model.labels;delete convert$1[model].channels,delete convert$1[model].labels,Object.defineProperty(convert$1[model],"channels",{value:channels}),Object.defineProperty(convert$1[model],"labels",{value:labels})}function comparativeDistance(x,y){return Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)+Math.pow(x[2]-y[2],2)}convert$1.rgb.hsl=function(rgb){var h,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),(h=Math.min(60*h,360))<0&&(h+=360);var l=(min+max)/2;return[h,100*(max===min?0:l<=.5?delta/(max+min):delta/(2-max-min)),100*l]},convert$1.rgb.hsv=function(rgb){var rdif,gdif,bdif,h,s,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function diffc(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert$1.rgb.hwb=function(rgb){var r=rgb[0],g=rgb[1],b=rgb[2];return[convert$1.rgb.hsl(rgb)[0],100*(1/255*Math.min(r,Math.min(g,b))),100*(b=1-1/255*Math.max(r,Math.max(g,b)))]},convert$1.rgb.cmyk=function(rgb){var r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert$1.rgb.keyword=function(rgb){var reversed=reverseKeywords[rgb];if(reversed)return reversed;for(var currentClosestKeyword,currentClosestDistance=1/0,_i3=0,_Object$keys3=Object.keys(cssKeywords);_i3<_Object$keys3.length;_i3++){var keyword=_Object$keys3[_i3],distance=comparativeDistance(rgb,cssKeywords[keyword]);distance.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.3576*(g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92)+.1805*(b=b>.04045?Math.pow((b+.055)/1.055,2.4):b/12.92)),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert$1.rgb.lab=function(rgb){var xyz=convert$1.rgb.xyz(rgb),x=xyz[0],y=xyz[1],z=xyz[2];return y/=100,z/=108.883,x=(x/=95.047)>.008856?Math.pow(x,1/3):7.787*x+16/116,[116*(y=y>.008856?Math.pow(y,1/3):7.787*y+16/116)-16,500*(x-y),200*(y-(z=z>.008856?Math.pow(z,1/3):7.787*z+16/116))]},convert$1.hsl.rgb=function(hsl){var t2,t3,val,h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;if(0===s)return[val=255*l,val,val];for(var t1=2*l-(t2=l<.5?l*(1+s):l+s-l*s),rgb=[0,0,0],_i4=0;_i4<3;_i4++)(t3=h+1/3*-(_i4-1))<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[_i4]=255*val;return rgb},convert$1.hsl.hsv=function(hsl){var h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);return s*=(l*=2)<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert$1.hsv.rgb=function(hsv){var h=hsv[0]/60,s=hsv[1]/100,v=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert$1.hsv.hsl=function(hsv){var sl,l,h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);l=(2-s)*v;var lmin=(2-s)*vmin;return sl=s*vmin,[h,100*(sl=(sl/=lmin<=1?lmin:2-lmin)||0),100*(l/=2)]},convert$1.hwb.rgb=function(hwb){var f,h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl;ratio>1&&(wh/=ratio,bl/=ratio);var i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);var r,g,b,n=wh+f*(v-wh);switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert$1.cmyk.rgb=function(cmyk){var c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert$1.xyz.rgb=function(xyz){var r,g,b,x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;return g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=(r=3.2406*x+-1.5372*y+-.4986*z)>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:12.92*g,b=b>.0031308?1.055*Math.pow(b,1/2.4)-.055:12.92*b,[255*(r=Math.min(Math.max(0,r),1)),255*(g=Math.min(Math.max(0,g),1)),255*(b=Math.min(Math.max(0,b),1))]},convert$1.xyz.lab=function(xyz){var x=xyz[0],y=xyz[1],z=xyz[2];return y/=100,z/=108.883,x=(x/=95.047)>.008856?Math.pow(x,1/3):7.787*x+16/116,[116*(y=y>.008856?Math.pow(y,1/3):7.787*y+16/116)-16,500*(x-y),200*(y-(z=z>.008856?Math.pow(z,1/3):7.787*z+16/116))]},convert$1.lab.xyz=function(lab){var x,y,z,l=lab[0];x=lab[1]/500+(y=(l+16)/116),z=y-lab[2]/200;var y2=Math.pow(y,3),x2=Math.pow(x,3),z2=Math.pow(z,3);return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,[x*=95.047,y*=100,z*=108.883]},convert$1.lab.lch=function(lab){var h,l=lab[0],a=lab[1],b=lab[2];return(h=360*Math.atan2(b,a)/2/Math.PI)<0&&(h+=360),[l,Math.sqrt(a*a+b*b),h]},convert$1.lch.lab=function(lch){var l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert$1.rgb.ansi16=function(args){var saturation=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,_args=_slicedToArray(args,3),r=_args[0],g=_args[1],b=_args[2],value=null===saturation?convert$1.rgb.hsv(args)[2]:saturation;if(0===(value=Math.round(value/50)))return 30;var ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert$1.hsv.ansi16=function(args){return convert$1.rgb.ansi16(convert$1.hsv.rgb(args),args[2])},convert$1.rgb.ansi256=function(args){var r=args[0],g=args[1],b=args[2];return r===g&&g===b?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert$1.ansi16.rgb=function(args){var color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),[color=color/10.5*255,color,color];var mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert$1.ansi256.rgb=function(args){if(args>=232){var _c=10*(args-232)+8;return[_c,_c,_c]}var rem;return args-=16,[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert$1.rgb.hex=function(args){var string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert$1.hex.rgb=function(args){var match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];var colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map((function(char){return char+char})).join(""));var integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert$1.rgb.hcg=function(rgb){var hue,r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;return hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,[360*(hue%=1),100*chroma,100*(chroma<1?min/(1-chroma):0)]},convert$1.hsl.hcg=function(hsl){var s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert$1.hsv.hcg=function(hsv){var s=hsv[1]/100,v=hsv[2]/100,c=s*v,f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert$1.hcg.rgb=function(hcg){var h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];var mg,pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert$1.hcg.hsv=function(hcg){var c=hcg[1]/100,v=c+hcg[2]/100*(1-c),f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert$1.hcg.hsl=function(hcg){var c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert$1.hcg.hwb=function(hcg){var c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert$1.hwb.hcg=function(hwb){var w=hwb[1]/100,v=1-hwb[2]/100,c=v-w,g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert$1.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert$1.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert$1.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert$1.gray.hsl=function(args){return[0,0,args[0]]},convert$1.gray.hsv=convert$1.gray.hsl,convert$1.gray.hwb=function(gray){return[0,100,gray[0]]},convert$1.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert$1.gray.lab=function(gray){return[gray[0],0,0]},convert$1.gray.hex=function(gray){var val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert$1.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]};var conversions$1=conversions$2;function deriveBFS(fromModel){var graph=function buildGraph(){for(var graph={},models=Object.keys(conversions$1),len=models.length,_i5=0;_i51&&(args=arg0);var result=fn(args);if("object"===_typeof(result))for(var len=result.length,_i8=0;_i81&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)}))}));var colorConvert=convert,root=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.Z,now_1=function now$1(){return root.Date.now()},reWhitespace=/\s/;var trimmedEndIndex=function trimmedEndIndex$1(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index},reTrimStart=/^\s+/;var baseTrim=function baseTrim$1(string){return string?string.slice(0,trimmedEndIndex(string)+1).replace(reTrimStart,""):string},isObject$2=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.cb,isSymbol=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.db,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;var toNumber_1=function toNumber$1(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject$2(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject$2(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value},isObject$1=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.cb,now=now_1,toNumber=toNumber_1,nativeMax=Math.max,nativeMin=Math.min;var debounce_1=function debounce$1(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject$1(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced},debounce=debounce_1,isObject=_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.cb;var ColorSpace,throttle_1=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})},Wrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.i.div({position:"relative",maxWidth:250}),PickerTooltip=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.i)(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.k)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.i.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.i)(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.j)((function(_ref){return{fontFamily:_ref.theme.typography.fonts.base}})),Swatches=_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.i.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.i.div((function(_ref2){var theme=_ref2.theme;return{width:16,height:16,boxShadow:_ref2.active?"".concat(theme.appBorderColor," 0 0 0 1px inset, ").concat(theme.color.mediumdark,"50 0 0 0 4px"):"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:theme.appBorderRadius}})),Swatch=function Swatch(_a){var value=_a.value,active=_a.active,onClick=_a.onClick,style=_a.style,props=Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.I)(_a,["value","active","onClick","style"]),backgroundImage="linear-gradient(".concat(value,", ").concat(value,"), ").concat('url(\'data:image/svg+xml;charset=utf-8,\')',", linear-gradient(#fff, #fff)");return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(SwatchColor,Object.assign({},props,{active:active,onClick:onClick},{style:Object.assign(Object.assign({},style),{backgroundImage:backgroundImage})}))},Input=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.i)(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.d.Input)((function(_ref3){return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:_ref3.theme.typography.fonts.base}})),ToggleIcon=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_28__.i)(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.f)((function(_ref4){return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:_ref4.theme.input.color}}));!function(ColorSpace){ColorSpace.RGB="rgb",ColorSpace.HSL="hsl",ColorSpace.HEX="hex"}(ColorSpace||(ColorSpace={}));var COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker=(_defineProperty(_ColorPicker={},ColorSpace.HEX,(function J(r){return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement($,u({},r,{colorModel:G}))})),_defineProperty(_ColorPicker,ColorSpace.RGB,(function pe(r){return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(U,u({},r,{colorModel:ge}))})),_defineProperty(_ColorPicker,ColorSpace.HSL,(function re(r){return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(U,u({},r,{colorModel:ee}))})),_ColorPicker),fallbackColor=(_defineProperty(_fallbackColor={},ColorSpace.HEX,"transparent"),_defineProperty(_fallbackColor,ColorSpace.RGB,"rgba(0, 0, 0, 0)"),_defineProperty(_fallbackColor,ColorSpace.HSL,"hsla(0, 0%, 0%, 0)"),_fallbackColor),stringToArgs=function stringToArgs(value){var match=null==value?void 0:value.match(COLOR_REGEXP);if(!match)return[0,0,0,1];var _match=_slicedToArray(match,5),x=_match[1],y=_match[2],z=_match[3],_match$=_match[4];return[x,y,z,void 0===_match$?1:_match$].map(Number)},parseValue=function parseValue(value){var _ref11;if(value){var valid=!0;if(RGB_REGEXP.test(value)){var _ref7,_stringToArgs2=_slicedToArray(stringToArgs(value),4),r=_stringToArgs2[0],_g=_stringToArgs2[1],_b=_stringToArgs2[2],a=_stringToArgs2[3],_ref6=_slicedToArray(colorConvert.rgb.hsl([r,_g,_b])||[0,0,0],3),_h=_ref6[0],_s2=_ref6[1],l=_ref6[2];return _defineProperty(_ref7={valid:valid,value:value,keyword:colorConvert.rgb.keyword([r,_g,_b]),colorSpace:ColorSpace.RGB},ColorSpace.RGB,value),_defineProperty(_ref7,ColorSpace.HSL,"hsla(".concat(_h,", ").concat(_s2,"%, ").concat(l,"%, ").concat(a,")")),_defineProperty(_ref7,ColorSpace.HEX,"#".concat(colorConvert.rgb.hex([r,_g,_b]).toLowerCase())),_ref7}if(HSL_REGEXP.test(value)){var _ref10,_stringToArgs4=_slicedToArray(stringToArgs(value),4),_h2=_stringToArgs4[0],_s3=_stringToArgs4[1],_l=_stringToArgs4[2],_a2=_stringToArgs4[3],_ref9=_slicedToArray(colorConvert.hsl.rgb([_h2,_s3,_l])||[0,0,0],3),_r=_ref9[0],_g2=_ref9[1],_b2=_ref9[2];return _defineProperty(_ref10={valid:valid,value:value,keyword:colorConvert.hsl.keyword([_h2,_s3,_l]),colorSpace:ColorSpace.HSL},ColorSpace.RGB,"rgba(".concat(_r,", ").concat(_g2,", ").concat(_b2,", ").concat(_a2,")")),_defineProperty(_ref10,ColorSpace.HSL,value),_defineProperty(_ref10,ColorSpace.HEX,"#".concat(colorConvert.hsl.hex([_h2,_s3,_l]).toLowerCase())),_ref10}var plain=value.replace("#",""),rgb=colorConvert.keyword.rgb(plain)||colorConvert.hex.rgb(plain),hsl=colorConvert.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped="#".concat(plain)),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{colorConvert.keyword.hex(mapped)}catch(e){valid=!1}return _defineProperty(_ref11={valid:valid,value:mapped,keyword:colorConvert.rgb.keyword(rgb),colorSpace:ColorSpace.HEX},ColorSpace.RGB,"rgba(".concat(rgb[0],", ").concat(rgb[1],", ").concat(rgb[2],", 1)")),_defineProperty(_ref11,ColorSpace.HSL,"hsla(".concat(hsl[0],", ").concat(hsl[1],"%, ").concat(hsl[2],"%, 1)")),_defineProperty(_ref11,ColorSpace.HEX,mapped),_ref11}},useColorInput=function useColorInput(initialValue,onChange){var _useState2=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)(initialValue||""),2),value=_useState2[0],setValue=_useState2[1],_useState4=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)((function(){return parseValue(value)})),2),color=_useState4[0],setColor=_useState4[1],_useState6=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)((null==color?void 0:color.colorSpace)||ColorSpace.HEX),2),colorSpace=_useState6[0],setColorSpace=_useState6[1];Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){void 0===initialValue&&(setValue(""),setColor(void 0),setColorSpace(ColorSpace.HEX))}),[initialValue]);var realValue=Object(react__WEBPACK_IMPORTED_MODULE_27__.useMemo)((function(){return function getRealValue(value,color,colorSpace){if(!value||!(null==color?void 0:color.valid))return fallbackColor[colorSpace];if(colorSpace!==ColorSpace.HEX)return(null==color?void 0:color[colorSpace])||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return"#".concat(colorConvert.keyword.hex(color.hex))}catch(e){return fallbackColor.hex}var short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;var _short$1$split2=_slicedToArray(short[1].split(""),3),r=_short$1$split2[0],g=_short$1$split2[1],b=_short$1$split2[2];return"#".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b)}(value,color,colorSpace).toLowerCase()}),[value,color,colorSpace]),updateValue=Object(react__WEBPACK_IMPORTED_MODULE_27__.useCallback)((function(update){var parsed=parseValue(update);setValue((null==parsed?void 0:parsed.value)||update||""),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[onChange]),cycleColorSpace=Object(react__WEBPACK_IMPORTED_MODULE_27__.useCallback)((function(){var next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);var update=(null==color?void 0:color[COLOR_SPACES[next]])||"";setValue(update),onChange(update)}),[color,colorSpace,onChange]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=function id(value){return value.replace(/\s*/,"").toLowerCase()},ColorControl=function ColorControl(_ref12){var name=_ref12.name,initialValue=_ref12.value,onChange=_ref12.onChange,onFocus=_ref12.onFocus,onBlur=_ref12.onBlur,presetColors=_ref12.presetColors,startOpen=_ref12.startOpen,_useColorInput=useColorInput(initialValue,throttle_1(onChange,200)),value=_useColorInput.value,realValue=_useColorInput.realValue,updateValue=_useColorInput.updateValue,color=_useColorInput.color,colorSpace=_useColorInput.colorSpace,cycleColorSpace=_useColorInput.cycleColorSpace,_usePresets=function usePresets(presetColors,currentColor,colorSpace){var _useState8=_slicedToArray(Object(react__WEBPACK_IMPORTED_MODULE_27__.useState)((null==currentColor?void 0:currentColor.valid)?[currentColor]:[]),2),selectedColors=_useState8[0],setSelectedColors=_useState8[1];Object(react__WEBPACK_IMPORTED_MODULE_27__.useEffect)((function(){void 0===currentColor&&setSelectedColors([])}),[currentColor]);var presets=Object(react__WEBPACK_IMPORTED_MODULE_27__.useMemo)((function(){return(presetColors||[]).map((function(preset){return"string"==typeof preset?parseValue(preset):preset.title?Object.assign(Object.assign({},parseValue(preset.color)),{keyword:preset.title}):parseValue(preset.color)})).concat(selectedColors).filter(Boolean).slice(-27)}),[presetColors,selectedColors]),addPreset=Object(react__WEBPACK_IMPORTED_MODULE_27__.useCallback)((function(color){(null==color?void 0:color.valid)&&(presets.some((function(preset){return id(preset[colorSpace])===id(color[colorSpace])}))||setSelectedColors((function(arr){return arr.concat(color)})))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}}(presetColors,color,colorSpace),presets=_usePresets.presets,addPreset=_usePresets.addPreset,Picker=ColorPicker[colorSpace];return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Wrapper,null,react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(PickerTooltip,{trigger:"click",startOpen:startOpen,closeOnClick:!0,onVisibilityChange:function onVisibilityChange(){return addPreset(color)},tooltip:react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(TooltipContent,null,react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Picker,Object.assign({color:"transparent"===realValue?"#000000":realValue},{onChange:updateValue,onFocus:onFocus,onBlur:onBlur})),presets.length>0&&react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Swatches,null,presets.map((function(preset,index){return react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.k,{key:"".concat(preset.value,"-").concat(index),hasChrome:!1,tooltip:react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Note,{note:preset.keyword||preset.value})},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:function onClick(){return updateValue(preset.value)}}))}))))},react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Swatch,{value:realValue,style:{margin:4}})),react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(Input,{id:Object(_index_681e4b07_js__WEBPACK_IMPORTED_MODULE_26__.eb)(name),value:value,onChange:function onChange(e){return updateValue(e.target.value)},onFocus:function onFocus(e){return e.target.select()},placeholder:"Choose color..."}),value?react__WEBPACK_IMPORTED_MODULE_27___default.a.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}):null)}}}]); \ No newline at end of file diff --git a/9.344f8b3e8be455e1f5fc.manager.bundle.js b/9.344f8b3e8be455e1f5fc.manager.bundle.js new file mode 100644 index 000000000..11661c0c7 --- /dev/null +++ b/9.344f8b3e8be455e1f5fc.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{903:function(module,exports){module.exports=function(e,n){return n=n||{},new Promise((function(t,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var l in s.open(n.method||"get",e,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,n,t){o.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+","+t:t})),t(a())},s.onerror=r,s.withCredentials="include"==n.credentials,n.headers)s.setRequestHeader(l,n.headers[l]);s.send(n.body||null)}))}}}]); \ No newline at end of file diff --git a/9.7ec395b9.iframe.bundle.js b/9.7ec395b9.iframe.bundle.js new file mode 100644 index 000000000..be6ee7f68 --- /dev/null +++ b/9.7ec395b9.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"./node_modules/@storybook/components/dist/esm/GlobalScrollAreaStyles-8793ce4a.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"default",(function(){return GlobalScrollAreaStyles})),__webpack_require__.d(__webpack_exports__,"getScrollAreaStyles",(function(){return getScrollAreaStyles}));__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js");var _templateObject,react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/react/index.js"),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_theming__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/theming/dist/esm/index.js");var hsResizeObserverDummyAnimation=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_3__.g)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["0%{z-index:0}to{z-index:-1}"]))),getScrollAreaStyles=function getScrollAreaStyles(theme){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(hsResizeObserverDummyAnimation)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.color.mediumdark,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},GlobalScrollAreaStyles=function GlobalScrollAreaStyles(){return react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_3__.a,{styles:getScrollAreaStyles})}}}]); \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..428500fde188122fe8a6b07197f4c03f4e93640a GIT binary patch literal 32988 zcmeHP36vDY86Faor@5nfxexMk`C<+d^Dr27QQ4W`K#-M--8Ponvnf z0R=V!8iRluG!eXopn#&HphN^g5k(g807PNC`_K1vO)WjWGt)IoBfO;hy`JvrqpH5Y z{=2F=7V8l^AlA2U49A|aLvf79VzHh*^Z!2;i~SMTKL7dr|AS(&2?JxXPvN@z`~k7p zLqlS*L-7tCi>0vhdbIt|QlLj_uzYy@VEI^ULJp3_q{se zo=ZA&>yysIxwy3`o3NLslh%vbxV^r<#%^!!Z!g95Q^KY}_INp@^#tjiOLX+hCS^cV zt#xukQqDq~F3KeBtLl?>T`p<2;(Q|7dUH16{39E8?$0HyM}TKZHfcYLwysIX?F~3? z!M+V`-kC|*PJN9?W35O_e-YH-?xS!VePZFxYrNmW9nUsnZ^Cf?4>82Ev? z7jZXZXB)$8XIOas<&Z}})0tu52i_~j3<#%R{O#OZ|6TlXdwMwd?F{8`Z?$!Alp7}g zT#eoQe~lk@hx%-9^wZudGtB-^C+r(T!ygw(SBs219{X|XSl18Na6L>~goz(EditK= zC*Et178&|ebtKltpTnN~0=5);4t6C~rS1>=nF#5zr?dzYe&C!M7F;v^2Tc-FFhl&c$Ua5e^K=e?W6dl;yUyGLzwu} zN#|brTgGjHFGKz&_UTuPyu3^*+S*?dxvL30(O2;WeIw(#_X7S*!dgIo&$JDcYxeo$ zvnzt#<>6J2Dfyu6R7!&|`#)E0Jx>4C1izN`We;?L)2$2S1?mXu2b22sGhyOKT=O)2 zeqDCCBX!)pTZ`{=k z`v9Hj#aQkA1Clv2{88 zwCU8>uRK>4M(0i25_xk2cx7wnrNEOZe^mZMxpwG#Vd2mILJoodx0!hbU3Re}d4JT& zBJaHu2*b69eiq-GG78d?d3Hbv2zqf<%4?jlvI6*k9T_O|C z7P-2&;^*P8ZM2tfyc+bT$dWtFbwF77k@NT(_#N}#0I%2I z=esKx2EV)fK@mRdt+&*9Soj-HkZ(c%budp=sxDrquXjf#7{kg(f#E2W1%1KyNC)!H zE6)bMyX^k=AAhF5e9z6z1>uKnnq41^;rT~^0km>yi84vI8-6Q7xd_@GyW{ zmm;)N)CISvvDYC68VcPA+Kf3hZ^Oa!^c5HbuX(Z%W4V8A=POw$Cx`l8Sn{7qN}>tA zzX^WUO&Ty>p`IddbLY9%^QkI@opCPhzv=e+iz=ox^?}2}55M>4mBfCU{{AD|ef1HF zKbFohMZNnu#>4x<|HT-}$)u$pkLiC`&Y|DQ6U4Cnjop|`&*)P!o;K}!wk@pwhweLb zPjX+B^HHb3zArLGTlm~NZ;OmQEid;0Hpts2A>u#3yZFiPw_Mr1J|`7+AU0^b5IO|5 zHOT&Wv4`3JnYexVDER39@`L^l1@_qug?(AczxK5v*Po-XLkCw}e^~vWOUST_#y-$i z^89ThD?wZM?34deIbqt3O8Z^+OIY|Zo?g+|7yY2|XNv54w-A%bKjwx14!cM_Pkq;& zeh(dg(rz*CfA}@@?N%)|LA(2z_mD4o0C^L}1eA4+VNZ@>^*>^t38wN-8~0b}t4cP; zbYq6(<6-2?_oUCg^a=|<=ABG6)&G?Hg)`02ckER0(lvO8J|S~k?0fP)kM23{@jrQr zex(;*(0N$+v(@$tmK9VV<5&m((*%DVc$c}Xx7&mJe-U`(%ENcllzsh=Z29--H!^R;9HYiq z?idz+%wc-K#Q!IMwhn^N0)H)NqmCd?>-H1>od&+b_^AGCit1}pqckdo0a@h}*z91iPe{E&?_qJ|= zd<}pOpp8I$6SRlL|Iq(NV_!P|Z<5O)k1$ureEHa4DP30{J;ukM2G3L#=1t4dAPoHH z9{$9K(ut0hCSyNr3+ew?mLdiw%)j9tS zV@34qH@~9BK^EMi#!2YoyJLhE$h)5}!oUyQeW?4pjo;J$RF#qm>PPlz=lsWkC?9o@ zPV8^$`BHse>bf6$X#JnSdX!qU&x4~_U6o#A9^ak+3SX8-cV3HujFT^1JLqW-bA*fu z{CyNg{{wrHzJJ*GyF)MHd-frbnZwmM5^2G)wSQt>)J>Omjf=y;58fZhwKSEsH|*!@ zz%O;xw)56T3swQS!byr}7R};6WhW>*-g-mAKgc-u>ETIlJHj}p+>fZT?R6_UkU3Ht z<3YXMR%bcn1#ewp;79KNo3Q_u$=pA0-C>^-f2zuI)-JV*TG5%qo!xUP^8FA7ey*K? z|NHx2b+>mOImeoM&`Wn0 ze^~3EYUSI&dm6A^1Wea}Ct5HktPSh=W@MAjJ%|w((k~5ss}>Yu*Z-#d0oajy##&OB|ERP1PGe0+m1*1ehvzugHrHQ14c`4yWA%IA z%Efmb-jM7#9_wKT3_C(jUwV)ICt$wTw(S<|ZI0vIf&IR=^Q}ixRUOZP_g)51ZiKu( z4gL##{pr8fSH5kgRO(*poxR! zlW2zV2L1Ad`V-}_M(7&YnxkQR5{M@TBKA5Ry81lCu9qmCBlVDvap|N?#r2uFgfk}_ zmwC|Lk3rWght6JwSa&_vI&8wV`ON(UH6mAIozqflZ)JR}bvtxndaWPh9FrU#>qozy z9E3lekSB`P4_a_MhCVUJBpYE1Iljp83C5qCe_AeG$=~q<(%w0&=^N@}l2k3@~d%@j5w=%)fE` z0XnD4*t${u&=1fjZ&L1c{p2^!QTA>e-1TT9 ziOWy5G@Em1;<88&}B;Ao#akR$3qX~ZKyq=kAd#5)yNFSVYmzcBW#v^n0?tBKc zZS~{oy7!m!<0vnc)(_o%DDXSp`k7a$hwdQ%GY3E6*NmIgxcrLw-dff9PRz%qUU22m zBLgP*o09Sa)=hc$ww*G-+yv*pael*X;74z)>TSis8Qtf9=)T_MeSiJ@&s0!Uq3OD2Tj*hOuMA3?lrDIY3Ka)^Ihsb>eLOZ zicw+rwFf5`$8K6b=s&ht{aXKlJ}xhCK8E(cxZZ+xfb+?;4@jD^PVa8Q|IGjR`ML!r05Q z`yJO_vOhR4i?V1^Kk-ijCO%6&TxtG~Ic?0Xakjl-J9@1Auh5;O1Tl2E{xE?Y6YR2_$UN&xTrO!$^)x0ql zvI#%#>{4|w#=HUc%Oq}REI^-7`-Sw4SU&nYQ>y$rX*2SR&CMj1w z+VK^%-<_Yre&hT|##o!zVLs&xA`_v{Xooo8KyUPUXouW>4xm4E7<8&der8{}wgfnc zg|W@lKZ$HvuS-@(_C5Q_gnwY8ze^ja%jbEjO0{{(?80*SkF@7ElgL9R<->*?PTI3v zK2OZV@DhAr|Hhbs{X-v4KhJl{(I2|~NbCLsUjK8nwmAC!*_5_t* zhwn_%wz7P-o4CDx74t02X>lIu6L+cH1J~SoW4dzfr(NPWiAx*sKaX2LW4$fDP2@M= zPx=OW+XVSwAF(|_?MMF(%KH*--j6!X`z<8SeR*_xVXo?#dzHRp*+J#we!<#A`qDx3 z$T?R)`(HujgAdO0u6-e9VqlxK&!XwVH4Tij{Ns@2=nwzrQr_2Cd8A%p8I)bF_ojZH zGe+e!c%3?mF)nxV^JvI?Dg6&$V+6+mz2)n3_Mx^flvn;Ie@!}1t=VQ?X8c)@2_>IJ z?F(Y?bFM@A>|@$TV$r*{m*g+?6My3p;&OuGab`>q38A zN=*13;b`XZ`CT%MA3j7I4WDmi>KJ?dgtM(J7#n++m0W)&+7Ft7J|*pYal6^|DvImT z+D8s*`;8oo^RLQI`R=$O(kI<-R~P?;eiA;#?2f6J_(>c$<##sd_hjHRg3peG?sdO0 zi?$EJ`EQ{EE(R|S1r7T6TgUH{HP__*8t6NWy-EXk6*(%^H~D^V^{yB!B;JK){R#nQ`*+CPtmr5Z;G<*c>fjlFL{z<@tn)gZynHXG6(M3e6)w} zV;;*4Z~gR_ajhM`pNu{g-+_P}anm_Oo^viKWxLq>81wr~T|(X(4%zUop<%qm?}u?? zPLw=OKK0k%P%U4CkMT|&dH-C@U%y@Hkcl|gc{}P>`eDWDuZzpqVS_tpXQ&&l{ISSA z<9E+@Bpuv!J5|Nscl#VXN*zBO&+r=`dZR68e)_83l#$}^*C*tMw4W)w%Q@oi=AaG8 zc`*OU?=Mi7&}J8FKk7e%{uOm1ze&K&Mjvp^wf-gx*DG<2O0oA*cVGIK)Jvo}{TKf> z?NU{KvG+4^tA@Nsy+r=uv+Mt(%AvjInlRFycDWVx`1_A}u<-+xerdq{5$FRi|8fmB z^TAW#t4ufr?d(^`zm&J88v9A;l{MHmqA$1A^|LLO0ouw)@YRxA6{1-eLN^~>C_kE) zAMPs$!2kMqW`KOI4&St9ewe!Jnj@qZ_HzhIxM0#5a@EMHuJWtPh>j5jA__zlh$s+I zAfiA-frtVT1tJPW6o@DgQ6Qo~M1hC`5d|U&L==c95K$naKtzFv0ucow3Pco$C=gK~ QqCiA}hyoD>_J0ce7gEZOiU0rr literal 0 HcmV?d00001 diff --git a/iframe.html b/iframe.html new file mode 100644 index 000000000..38fe7d4db --- /dev/null +++ b/iframe.html @@ -0,0 +1,382 @@ +Webpack App

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the Storybook config.
  • Try reloading the page.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..fca466d00 --- /dev/null +++ b/index.html @@ -0,0 +1,59 @@ +Webpack App
\ No newline at end of file diff --git a/main.159fda92.iframe.bundle.js b/main.159fda92.iframe.bundle.js new file mode 100644 index 000000000..72cde9fe0 --- /dev/null +++ b/main.159fda92.iframe.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see main.159fda92.iframe.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"./.storybook/build-service.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.set-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js");var react__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./node_modules/react/index.js"),react__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_18__),react_helmet__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("./node_modules/react-helmet/lib/Helmet.js"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("./node_modules/react/jsx-runtime.js");function _defineProperties(target,props){for(var i=0;i=12&&hours<=17?"Good afternoon":"Good evening"}();return"mailto:?subject=Read this article from the Financial Times&body="+encodeURIComponent(greeting+",\n\nI read this article from the Financial Times and thought it would interest you.\n\n"+articleTitle+"\n"+shareUrl+"\n\nBest wishes,")},copyToClipboard:function copyToClipboard(event){var inputEl=event.target.closest(".js-gift-article__url-section").querySelector("input"),oldContentEditable=inputEl.contentEditable,oldReadOnly=inputEl.readOnly,range=document.createRange();inputEl.contenteditable=!0,inputEl.readonly=!1,inputEl.focus(),range.selectNodeContents(inputEl);var selection=window.getSelection();try{selection.removeAllRanges(),selection.addRange(range),inputEl.setSelectionRange(0,999999)}catch(err){inputEl.select()}inputEl.contentEditable=oldContentEditable,inputEl.readOnly=oldReadOnly,document.execCommand("copy"),inputEl.blur()}}},"./components/x-gift-article/src/lib/tracking.js":function(module,exports){function dispatchEvent(detail){var event=new CustomEvent("oTracking.event",{detail:detail,bubbles:!0});document.body.dispatchEvent(event)}module.exports={createGiftLink:function createGiftLink(link,longUrl){return dispatchEvent({category:"gift-link",action:"create",linkType:"giftLink",link:link,longUrl:longUrl})},createESLink:function createESLink(link){return dispatchEvent({category:"gift-link",action:"create",linkType:"enterpriseLink",link:link})},createNonGiftLink:function createNonGiftLink(link,longUrl){return dispatchEvent({category:"gift-link",action:"create",linkType:"nonGiftLink",link:link,longUrl:longUrl})},initEnterpriseSharing:function initEnterpriseSharing(status){return dispatchEvent({category:"gift-link",action:"open",status:status})},copyLink:function copyLink(linkType,link){return dispatchEvent({category:"gift-link",action:"copy",linkType:linkType,link:link})},emailLink:function emailLink(linkType,link){return dispatchEvent({category:"gift-link",action:"mailto",linkType:linkType,link:link})}}},"./components/x-gift-article/src/main.scss":function(module,exports,__webpack_require__){var content=__webpack_require__("./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-gift-article/src/main.scss");"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:undefined,insertInto:void 0};__webpack_require__("./node_modules/style-loader/lib/addStyles.js")(content,options);content.locals&&(module.exports=content.locals)},"./components/x-gift-article/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ShareArticleModalB2B",(function(){return storybook_ShareArticleModalB2B})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalRegistered",(function(){return storybook_ShareArticleModalRegistered})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalB2C",(function(){return storybook_ShareArticleModalB2C})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalB2BHighlights",(function(){return storybook_ShareArticleModalB2BHighlights})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalWithAdvanceSharing",(function(){return storybook_ShareArticleModalWithAdvanceSharing})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalB2CNoCredits",(function(){return storybook_ShareArticleModalB2CNoCredits})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalB2BNoCredits",(function(){return storybook_ShareArticleModalB2BNoCredits})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalWithAdvancedSharingNoGiftCredits",(function(){return storybook_ShareArticleModalWithAdvancedSharingNoGiftCredits})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalWithAdvancedSharingNoEnterpriseCredits",(function(){return storybook_ShareArticleModalWithAdvancedSharingNoEnterpriseCredits})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalWithAdvancedSharingNoBothCredits",(function(){return storybook_ShareArticleModalWithAdvancedSharingNoBothCredits})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalWithAdvancedSharingSaveHighlightsMessage",(function(){return storybook_ShareArticleModalWithAdvancedSharingSaveHighlightsMessage})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalB2BSaveHighlightsMessage",(function(){return storybook_ShareArticleModalB2BSaveHighlightsMessage})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalB2BFreeArticle",(function(){return storybook_ShareArticleModalB2BFreeArticle})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalB2CFreeArticle",(function(){return storybook_ShareArticleModalB2CFreeArticle})),__webpack_require__.d(__webpack_exports__,"ShareArticleModalWithAdvancedSharingFreeArticle",(function(){return storybook_ShareArticleModalWithAdvancedSharingFreeArticle}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.string.search.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.async-iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.math.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.json.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.set-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.reverse.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./packages/x-engine/src/client.js");var Interaction_es5=__webpack_require__("./components/x-interaction/dist/Interaction.es5.js");__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-primitive.js");function _regeneratorRuntime(){_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function _defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},protocol=_ref.protocol,domain=_ref.domain;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ApiClient),this.protocol=protocol,this.domain=domain}var _getShorterUrl,_getGiftUrl,_getGiftArticleAllowance;return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(ApiClient,[{key:"getFetchUrl",value:function getFetchUrl(path){var base="";return this.domain&&(base="//"+this.domain,this.protocol&&(base=this.protocol+":"+base)),""+base+path}},{key:"fetchJson",value:function fetchJson(path,additionalOptions){var url=this.getFetchUrl(path),options=Object.assign({credentials:"include"},additionalOptions);return fetch(url,options).then((function(response){return response.json()}))}},{key:"getGiftArticleAllowance",value:(_getGiftArticleAllowance=_asyncToGenerator(_regeneratorRuntime().mark((function _callee(){var json;return _regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.prev=0,_context.next=3,this.fetchJson("/article/gift-credits");case 3:return json=_context.sent,_context.abrupt("return",{monthlyAllowance:json.allowance,giftCredits:json.remainingCredits,nextRenewalDate:json.renewalDate});case 7:return _context.prev=7,_context.t0=_context.catch(0),_context.abrupt("return",{monthlyAllowance:void 0,giftCredits:void 0,nextRenewalDate:void 0});case 10:case"end":return _context.stop()}}),_callee,this,[[0,7]])}))),function getGiftArticleAllowance(){return _getGiftArticleAllowance.apply(this,arguments)})},{key:"getGiftUrl",value:(_getGiftUrl=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(articleId){var highlightsToken,json,_args2=arguments;return _regeneratorRuntime().wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(highlightsToken=_args2.length>1&&void 0!==_args2[1]?_args2[1]:void 0,_context2.prev=1,!highlightsToken){_context2.next=8;break}return _context2.next=5,this.fetchJson("/article/gift-link/"+encodeURIComponent(articleId)+"?highlightsToken="+highlightsToken);case 5:json=_context2.sent,_context2.next=11;break;case 8:return _context2.next=10,this.fetchJson("/article/gift-link/"+encodeURIComponent(articleId));case 10:json=_context2.sent;case 11:if(!json.errors){_context2.next=13;break}throw new Error("Failed to get gift article link: "+json.errors.join(", "));case 13:return _context2.abrupt("return",Object.assign({},json));case 16:return _context2.prev=16,_context2.t0=_context2.catch(1),_context2.abrupt("return",{redemptionUrl:void 0,redemptionLimit:void 0});case 19:case"end":return _context2.stop()}}),_callee2,this,[[1,16]])}))),function getGiftUrl(_x){return _getGiftUrl.apply(this,arguments)})},{key:"getShorterUrl",value:(_getShorterUrl=_asyncToGenerator(_regeneratorRuntime().mark((function _callee3(originalUrl){var url,isShortened,json;return _regeneratorRuntime().wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:return url=originalUrl,isShortened=!1,_context3.prev=2,_context3.next=5,this.fetchJson("/article/shorten-url/"+encodeURIComponent(originalUrl));case 5:(json=_context3.sent).shortenedUrl&&(isShortened=!0,url=json.shortenedUrl),_context3.next=11;break;case 9:_context3.prev=9,_context3.t0=_context3.catch(2);case 11:return _context3.abrupt("return",{url:url,isShortened:isShortened});case 12:case"end":return _context3.stop()}}),_callee3,this,[[2,9]])}))),function getShorterUrl(_x2){return _getShorterUrl.apply(this,arguments)})}]),ApiClient}();function enterpriseApi_regeneratorRuntime(){enterpriseApi_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function enterpriseApi_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function enterpriseApi_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){enterpriseApi_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){enterpriseApi_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function enterpriseApi_defineProperties(target,props){for(var i=0;i1&&void 0!==_args3[1]&&_args3[1],_context3.prev=1,_context3.next=4,this.fetchJson("/v1/shares",{method:"POST",body:JSON.stringify({contentId:contentId,includeHighlights:includeHighlights})});case 4:return json=_context3.sent,_context3.abrupt("return",{redemptionUrl:json.url,redemptionLimit:json.redeemLimit});case 8:return _context3.prev=8,_context3.t0=_context3.catch(1),_context3.abrupt("return",{redemptionUrl:void 0,redemptionLimit:void 0});case 11:case"end":return _context3.stop()}}),_callee3,this,[[1,8]])}))),function getESUrl(_x3){return _getESUrl.apply(this,arguments)})}]),EnterpriseApiClient}(),share_link_actions=__webpack_require__("./components/x-gift-article/src/lib/share-link-actions.js"),tracking=__webpack_require__("./components/x-gift-article/src/lib/tracking.js"),tracking_default=__webpack_require__.n(tracking),ShareType_gift="gift",ShareType_enterprise="enterprise",ShareType_nonGift="nonGift",UrlType={dummy:"example-gift-link",gift:"gift-link",nonGift:"non-gift-link"},monthNames=["January","February","March","April","May","June","July","August","September","October","November","December"],updaters_showGiftUrlSection=function showGiftUrlSection(props){return{shareType:ShareType_gift,url:props.urls.gift||props.urls.dummy,urlType:props.urls.gift?UrlType.gift:UrlType.dummy,mailtoUrl:props.mailtoUrls.gift,isGiftUrlCreated:!!props.urls.gift,showCopyConfirmation:!1,invalidResponseFromApi:!1,showNonSubscriberOptions:!0}},updaters_showGiftEnterpriseSection=function showGiftEnterpriseSection(props){return{shareType:ShareType_enterprise,url:props.urls.enterprise||props.urls.dummy,urlType:props.urls.enterprise?UrlType.gift:UrlType.dummy,mailtoUrl:props.mailtoUrls.enterprise,isGiftUrlCreated:!!props.urls.enterprise,showCopyConfirmation:!1,invalidResponseFromApi:!1}},updaters_showNonGiftUrlSection=function showNonGiftUrlSection(props){return{shareType:ShareType_nonGift,url:props.urls.nonGift,urlType:UrlType.nonGift,mailtoUrl:props.mailtoUrls.nonGift,isGiftUrlCreated:!1,showCopyConfirmation:!1,invalidResponseFromApi:!1,showAdvancedSharingOptions:!1,showNonSubscriberOptions:!1}},updaters_showAdvancedSharingOptions=function showAdvancedSharingOptions(){return{showAdvancedSharingOptions:!0}},updaters_showNonSubscriberSharingOptions=function showNonSubscriberSharingOptions(){return{showNonSubscriberOptions:!0}},updaters_hideNonSubscriberSharingOptions=function hideNonSubscriberSharingOptions(props){return Object.assign({},updaters_showNonGiftUrlSection(props),{showAdvancedSharingOptions:!1,showNonSubscriberOptions:!1})},updaters_setGiftUrl=function setGiftUrl(url,redemptionLimit,isShortened){var isEnterprise=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(props){var _Object$assign,_Object$assign2,mailtoUrl=Object(share_link_actions.createMailtoUrl)(props.article.title,url);return{url:url,mailtoUrl:mailtoUrl,redemptionLimit:isEnterprise?props.redemptionLimit:redemptionLimit,isGiftUrlCreated:!0,isGiftUrlShortened:isShortened,urlType:isEnterprise?UrlType.enterprise:UrlType.gift,urls:Object.assign(props.urls,(_Object$assign={},_Object$assign[isEnterprise?"enterprise":"gift"]=url,_Object$assign)),mailtoUrls:Object.assign(props.mailtoUrls,(_Object$assign2={},_Object$assign2[isEnterprise?"enterprise":"gift"]=mailtoUrl,_Object$assign2)),invalidResponseFromApi:!1}}},setAllowance=function setAllowance(giftCredits,monthlyAllowance,nextRenewalDate){var date=new Date(nextRenewalDate);return{giftCredits:giftCredits,monthlyAllowance:monthlyAllowance,nextRenewalDateText:monthNames[date.getMonth()]+" "+date.getDate(),invalidResponseFromApi:!1}},updaters_setShortenedNonGiftUrl=function setShortenedNonGiftUrl(shortenedUrl){return function(props){var mailtoUrl=Object(share_link_actions.createMailtoUrl)(props.article.title,shortenedUrl);return{url:shortenedUrl,mailtoUrl:mailtoUrl,isNonGiftUrlShortened:!0,urls:Object.assign(props.urls,{nonGift:shortenedUrl}),mailtoUrls:Object.assign(props.mailtoUrls,{nonGift:mailtoUrl})}}},setErrorState=function setErrorState(errorState){return{invalidResponseFromApi:errorState}},jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),Header_Header=function Header(props){var title=props.title,isGiftUrlCreated=props.isGiftUrlCreated,shareType=props.shareType,isNonGiftUrlShortened=props.isNonGiftUrlShortened,showFreeArticleAlert=props.showFreeArticleAlert;return isGiftUrlCreated||shareType===ShareType_nonGift&&isNonGiftUrlShortened&&!showFreeArticleAlert?Object(jsx_runtime.jsx)("header",{children:Object(jsx_runtime.jsx)("h3",{className:"share-article-dialog__header-share-link-title",children:"Sharing link"})}):Object(jsx_runtime.jsx)("header",{children:Object(jsx_runtime.jsx)("h3",{className:"share-article-dialog__header",children:Object(jsx_runtime.jsx)("span",{className:"share-article-dialog__header-share-article-title",children:title})})})};Header_Header.displayName="Header",Header_Header.__docgenInfo={description:"",methods:[],displayName:"Header"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/Header.jsx"]={name:"Header",docgenInfo:Header_Header.__docgenInfo,path:"components/x-gift-article/src/Header.jsx"});var NoCreditAlert_NoCreditAlert=function NoCreditAlert(_ref){var children=_ref.children;return Object(jsx_runtime.jsx)("div",{id:"no-credit-alert",className:"o-message o-message--alert o-message--neutral share-article-dialog__alert","data-o-component":"o-message",children:Object(jsx_runtime.jsx)("div",{className:"o-message__container",children:Object(jsx_runtime.jsx)("div",{className:"o-message__content",children:Object(jsx_runtime.jsx)("p",{className:"o-message__content-main",children:children})})})})};NoCreditAlert_NoCreditAlert.displayName="NoCreditAlert",NoCreditAlert_NoCreditAlert.__docgenInfo={description:"",methods:[],displayName:"NoCreditAlert"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/NoCreditAlert.jsx"]={name:"NoCreditAlert",docgenInfo:NoCreditAlert_NoCreditAlert.__docgenInfo,path:"components/x-gift-article/src/NoCreditAlert.jsx"});var RegisteredUserAlert_RegisteredUserAlert=function RegisteredUserAlert(_ref){var children=_ref.children;return Object(jsx_runtime.jsx)("div",{id:"registered-user-alert",className:"o-message o-message--alert o-message--received-highlights share-article-dialog__alert","data-o-component":"o-message",children:Object(jsx_runtime.jsx)("div",{className:"o-message__container",children:Object(jsx_runtime.jsx)("div",{className:"o-message__content",children:Object(jsx_runtime.jsx)("p",{className:"o-message__content-main",children:children})})})})};RegisteredUserAlert_RegisteredUserAlert.displayName="RegisteredUserAlert",RegisteredUserAlert_RegisteredUserAlert.__docgenInfo={description:"",methods:[],displayName:"RegisteredUserAlert"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/RegisteredUserAlert.jsx"]={name:"RegisteredUserAlert",docgenInfo:RegisteredUserAlert_RegisteredUserAlert.__docgenInfo,path:"components/x-gift-article/src/RegisteredUserAlert.jsx"});var AdvancedSharingOptions_AdvancedSharingOptions=function AdvancedSharingOptions(props){var shareType=props.shareType,actions=props.actions,enterpriseHasCredits=props.enterpriseHasCredits,giftCredits=props.giftCredits,onValueChange=function onValueChange(event){event.target.value===ShareType_enterprise?actions.showEnterpriseUrlSection(event):event.target.value===ShareType_gift&&actions.showGiftUrlSection(event)};return giftCredits||enterpriseHasCredits?Object(jsx_runtime.jsxs)("div",{children:[Object(jsx_runtime.jsxs)("div",{className:"o-forms-field o-forms-field--optional o-forms-field--professional share-article-dialog__advanced-sharing-options",role:"group",children:[Object(jsx_runtime.jsx)("h3",{className:"share-article-dialog__header",children:Object(jsx_runtime.jsx)("span",{className:"share-article-dialog__header-share-article-title",children:"Share using:"})}),Object(jsx_runtime.jsx)("span",{className:"o-forms-input o-forms-input--radio-round",children:Object(jsx_runtime.jsxs)("span",{className:"o-forms-input--radio-round__container",children:[Object(jsx_runtime.jsxs)("label",{htmlFor:"share-with-multiple-people-radio",children:[Object(jsx_runtime.jsx)("input",{id:"share-with-multiple-people-radio",name:"share-with-multiple-people-radio",type:"radio",value:ShareType_enterprise,checked:shareType===ShareType_enterprise,onChange:onValueChange,disabled:!enterpriseHasCredits}),Object(jsx_runtime.jsxs)("div",{className:"o-forms-input__label share-article-dialog__advanced-sharing-options--element",children:[Object(jsx_runtime.jsx)("span",{className:"share-article-dialog__advanced-sharing-options--element-title",children:"Advanced Sharing"}),Object(jsx_runtime.jsx)("span",{className:"share-article-dialog__advanced-sharing-options--element-description",children:"Lets you share with multiple non-subscribers"})]})]}),Object(jsx_runtime.jsxs)("label",{htmlFor:"share-with-one-person-radio",children:[Object(jsx_runtime.jsx)("input",{id:"share-with-one-person-radio",name:"share-with-one-person-radio",type:"radio",value:ShareType_gift,checked:shareType===ShareType_gift,onChange:onValueChange,disabled:!giftCredits}),Object(jsx_runtime.jsxs)("div",{className:"o-forms-input__label share-article-dialog__advanced-sharing-options--element",children:[Object(jsx_runtime.jsx)("span",{className:"share-article-dialog__advanced-sharing-options--element-title",children:"Gift article"}),Object(jsx_runtime.jsxs)("span",{className:"share-article-dialog__advanced-sharing-options--element-description",children:["Gift up to 20 articles per month to single non-subscribers. You have ",giftCredits," articles left this month."]})]})]})]})})]}),(!giftCredits||!enterpriseHasCredits)&&Object(jsx_runtime.jsx)(NoCreditAlert_NoCreditAlert,{children:"One of the choices is not available because you’ve run out of credits. Please use the other option."})]}):null};AdvancedSharingOptions_AdvancedSharingOptions.__docgenInfo={description:"",methods:[],displayName:"AdvancedSharingOptions"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/AdvancedSharingOptions.jsx"]={name:"AdvancedSharingOptions",docgenInfo:AdvancedSharingOptions_AdvancedSharingOptions.__docgenInfo,path:"components/x-gift-article/src/AdvancedSharingOptions.jsx"});__webpack_require__("./node_modules/core-js/modules/es.array.is-array.js"),__webpack_require__("./node_modules/core-js/modules/es.array.every.js");var parsedSavedAnnotationsFromLocalStorage=function parsedSavedAnnotationsFromLocalStorage(){var _localStorage$getItem,savedSharedAnnotationArticleIds=JSON.parse(null!==(_localStorage$getItem=localStorage.getItem("savedSharedAnnotations"))&&void 0!==_localStorage$getItem?_localStorage$getItem:"[]");return Array.isArray(savedSharedAnnotationArticleIds)&&savedSharedAnnotationArticleIds.every((function(articleId){return"string"==typeof articleId}))?savedSharedAnnotationArticleIds:[]},canShareWithNonSubscribers=function canShareWithNonSubscribers(_ref){var giftCredits=_ref.giftCredits,enterpriseHasCredits=_ref.enterpriseHasCredits;return giftCredits>0||enterpriseHasCredits},isNonSubscriberOption=function isNonSubscriberOption(_ref2){var showNonSubscriberOptions=_ref2.showNonSubscriberOptions,showAdvancedSharingOptions=_ref2.showAdvancedSharingOptions;return showNonSubscriberOptions||showAdvancedSharingOptions},SharedLinkTypeSelector_SharedLinkTypeSelector=function SharedLinkTypeSelector(props){var enterpriseEnabled=props.enterpriseEnabled,giftCredits=props.giftCredits,showNonSubscriberOptions=props.showNonSubscriberOptions,showAdvancedSharingOptions=props.showAdvancedSharingOptions,isRegisteredUser=props.isRegisteredUser,_canShareWithNonSubscribers=canShareWithNonSubscribers(props),_isNonSubscriberOption=isNonSubscriberOption(props);return Object(jsx_runtime.jsxs)("div",{id:"share-with-non-subscribers-checkbox",className:"o-forms-field o-forms-field--optional share-article-dialog__non-subscriber-checkbox "+(enterpriseEnabled?"o-forms-field--professional":""),role:"group","aria-labelledby":"share-with-non-subscribers-checkbox",children:[!_canShareWithNonSubscribers&&_isNonSubscriberOption&&!isRegisteredUser&&Object(jsx_runtime.jsxs)(NoCreditAlert_NoCreditAlert,{children:["You’ve run out of sharing credits, which you need to share articles with non-subscribers. Use FT subscribers only option or"," ",Object(jsx_runtime.jsx)("a",{href:enterpriseEnabled?"mailto:customer.success@ft.com":"mailto:help@ft.com",rel:"noreferrer",target:"_blank","data-trackable":"enterprise-out-of-credits",children:"contact support"}),"."]}),isRegisteredUser&&Object(jsx_runtime.jsxs)(RegisteredUserAlert_RegisteredUserAlert,{children:["Only FT subscribers will be able to see the full article using this link."," ",Object(jsx_runtime.jsx)("a",{className:"o-typography-professional o-typography-link",href:"https://subs.ft.com/",rel:"noreferrer",target:"_blank","data-trackable":"enterprise-out-of-credits",children:"Subscribe"})," ","to share with non-subscribers."]}),showAdvancedSharingOptions&&Object(jsx_runtime.jsx)(AdvancedSharingOptions_AdvancedSharingOptions,Object.assign({},props)),!showAdvancedSharingOptions&&showNonSubscriberOptions&&giftCredits>0&&!isRegisteredUser&&Object(jsx_runtime.jsx)("div",{className:"o-forms-input__label share-article-dialog__advanced-non-subscriber--element",children:Object(jsx_runtime.jsxs)("span",{className:"share-article-dialog__advanced-sharing-options--element-description",children:["Gift up to 20 articles per month to single non-subscribers. You have ",giftCredits," articles left this month."]})})]})};SharedLinkTypeSelector_SharedLinkTypeSelector.displayName="SharedLinkTypeSelector",SharedLinkTypeSelector_SharedLinkTypeSelector.__docgenInfo={description:"",methods:[],displayName:"SharedLinkTypeSelector"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/SharedLinkTypeSelector.jsx"]={name:"SharedLinkTypeSelector",docgenInfo:SharedLinkTypeSelector_SharedLinkTypeSelector.__docgenInfo,path:"components/x-gift-article/src/SharedLinkTypeSelector.jsx"});var CopyConfirmation=function(_ref){var hideCopyConfirmation=_ref.hideCopyConfirmation;return Object(jsx_runtime.jsx)("div",{className:"o-message o-message--alert o-message--success share-article-dialog__copy-confirmation-alert",role:"alert",children:Object(jsx_runtime.jsxs)("div",{className:"o-message__container",children:[Object(jsx_runtime.jsx)("div",{className:"o-message__content",children:Object(jsx_runtime.jsx)("p",{className:"o-message__content-main",children:Object(jsx_runtime.jsx)("span",{className:"o-message__content-highlight",children:"Link copied to clipboard."})})}),Object(jsx_runtime.jsx)("button",{className:"o-message__close","aria-label":"close",title:"Close",onClick:hideCopyConfirmation})]})})},SocialShareButtons_SocialShareButtons=function SocialShareButtons(_ref){var actions=_ref.actions,mailtoUrl=_ref.mailtoUrl,shareType=_ref.shareType,enterpriseEnabled=_ref.enterpriseEnabled,url=_ref.url,article=_ref.article,mobileShareLinks={facebook:"http://www.facebook.com/sharer.php?u="+encodeURIComponent(url)+"&t="+encodeURIComponent(article.title),twitter:"https://twitter.com/intent/tweet?url="+encodeURIComponent(url)+"&text="+encodeURIComponent(article.title)+"&via=financialtimes",linkedin:"http://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(url)+"&title="+encodeURIComponent(article.title)+"&source=Financial+Times",whatsapp:"whatsapp://send?text="+encodeURIComponent(article.title)+"%20-%20"+encodeURIComponent(url)};return Object(jsx_runtime.jsxs)("div",{children:[Object(jsx_runtime.jsx)("h3",{className:"share-article-dialog__share-via-socials-title",children:"Or share via"}),Object(jsx_runtime.jsx)("div",{id:"social-share-buttons","data-o-component":"o-share",className:"o-share",children:Object(jsx_runtime.jsxs)("ul",{className:"share-article-dialog__share-via-socials-wrapper",children:[Object(jsx_runtime.jsx)("li",{className:"o-share__action",children:Object(jsx_runtime.jsxs)("a",{className:"o-share__icon o-share__icon--x",href:mobileShareLinks.twitter,rel:"noopener noreferrer","data-trackable":"twitter",children:[Object(jsx_runtime.jsx)("div",{className:"o-share__icon__image",children:Object(jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",children:Object(jsx_runtime.jsx)("path",{d:"M21.647 18.469 28.932 10h-1.726l-6.326 7.353L15.827 10H10l7.64 11.12L10 30h1.726l6.68-7.765L23.744 30h5.827l-7.924-11.531Zm-2.365 2.748-.774-1.107-6.16-8.81H15l4.971 7.11.774 1.107 6.462 9.242h-2.652l-5.273-7.541Z"})})}),Object(jsx_runtime.jsx)("span",{className:"o-share__text",children:"Share on X"})]})}),Object(jsx_runtime.jsx)("li",{className:"o-share__action",children:Object(jsx_runtime.jsxs)("a",{className:"o-share__icon o-share__icon--facebook",href:mobileShareLinks.facebook,rel:"noopener noreferrer","data-trackable":"facebook",children:[Object(jsx_runtime.jsx)("div",{className:"o-share__icon__image",children:Object(jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",children:Object(jsx_runtime.jsx)("path",{d:"M643.9 342h-48.2c-37.8 0-45.1 18-45.1 44.3v58.1h90.1l-11.7 91h-78.4V769h-94V535.5H378v-91h78.6v-67.1c0-77.9 47.6-120.3 117.1-120.3 33.3 0 61.9 2.5 70.2 3.6V342z"})})}),Object(jsx_runtime.jsx)("span",{className:"o-share__text",children:"Share on Facebook"})]})}),Object(jsx_runtime.jsx)("li",{className:"o-share__action",children:Object(jsx_runtime.jsxs)("a",{className:"o-share__icon o-share__icon--linkedin",href:mobileShareLinks.linkedin,rel:"noopener noreferrer","data-trackable":"linkedin",children:[Object(jsx_runtime.jsx)("div",{className:"o-share__icon__image",children:Object(jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",children:Object(jsx_runtime.jsx)("path",{d:"M264.4 426.2h106.2v341.4H264.4V426.2zm53.2-169.7c-34.1 0-61.6 27.6-61.6 61.5 0 34 27.5 61.5 61.6 61.5 33.9 0 61.5-27.6 61.5-61.5-.1-34-27.6-61.5-61.5-61.5zm323.1 161.2c-51.6 0-86.2 28.3-100.4 55.1h-1.5v-46.7H437.2v341.4h106V598.7c0-44.5 8.4-87.7 63.6-87.7 54.5 0 55.1 50.9 55.1 90.5v166H768V580.3c0-91.9-19.9-162.6-127.3-162.6z"})})}),Object(jsx_runtime.jsx)("span",{className:"o-share__text",children:"Share on LinkedIn"})]})}),Object(jsx_runtime.jsx)("li",{className:"o-share__action",children:Object(jsx_runtime.jsxs)("a",{className:"o-share__icon o-share__icon--whatsapp",href:mobileShareLinks.whatsapp,rel:"noopener noreferrer","data-trackable":"whatsapp",children:[Object(jsx_runtime.jsx)("div",{className:"o-share__icon__image",children:Object(jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",children:Object(jsx_runtime.jsx)("path",{d:"M756.7 436.8c-35.6-122-152.2-196.3-279.3-178.1-116 16.7-208.2 121.5-210.6 238.6-.9 45.5 9.5 87.9 30.4 128.2 2.6 4.9 3.1 12.2 1.6 17.6-4.1 15.4-9.8 30.5-14.9 45.7L257.6 768c44.5-14.2 86.2-27.4 127.8-41.1 7.3-2.4 13.1-1.8 19.9 1.5 48.9 23.9 100.3 31.5 154.2 22.4 145.1-24.5 238.3-172.8 197.2-314zM542.2 710.9c-47.6 5.4-91.8-3.7-132.7-28.3-5.4-3.2-9.9-3.8-15.8-1.8-20.2 6.8-40.7 13.2-61 19.7-2.4.8-4.9 1.2-9.5 2.4 5.3-16.1 8.6-31.2 15.1-44.8 9.4-20.1 6.5-35.8-4.3-55.9-57.4-106-12.8-237.4 99.5-287 124.7-55.1 269.7 24.4 288.6 159.4 17.9 129.1-77.2 224.6-179.9 236.3zm98.3-144.6c2.9 1.7 5.2 7.7 4.9 11.6-1.8 27.4-19.7 46.3-47.1 50.4-4.6.7-9.3.9-14 1.4l-.3 1c-8.8-1.9-17.7-3.3-26.2-5.9-57.5-17.8-101.9-53-134.8-103.2-13.6-20.8-27.2-41.4-30.4-66.8-3.1-24.2 4.6-44.7 21.1-62.3 10.4-11 23.3-10.4 36.3-7.7 2.9.6 6.1 4.2 7.4 7.2 6.9 16.7 13.7 33.4 19.4 50.5 1.5 4.7-.5 10.8-2 16-.8 3-3.6 5.5-5.7 8.1-14.9 18.3-14.7 18.2-1.7 37.8 17.8 26.9 41.5 46.8 70.2 61.2 9 4.5 15.7 3.7 21.9-4.2 5.2-6.5 11.1-12.5 16.5-18.9 4-4.8 8.6-6 14.2-3.1 16.8 8.9 33.9 17.4 50.3 26.9"})})}),Object(jsx_runtime.jsx)("span",{className:"o-share__text",children:"Share on Whatsapp"})]})}),Object(jsx_runtime.jsx)("li",{className:"o-share__action",children:Object(jsx_runtime.jsxs)("a",{className:"o-share__icon "+(enterpriseEnabled?"share-article-dialog__icon--email":"o-share__icon--mail"),href:mailtoUrl,rel:"noopener noreferrer",onClick:function onClickHandler(event){switch(shareType){case ShareType_gift:actions.emailGiftUrl(event);break;case ShareType_enterprise:actions.emailEnterpriseUrl(event);break;case ShareType_nonGift:actions.emailNonGiftUrl(event)}},"data-trackable":"email",children:[Object(jsx_runtime.jsx)("div",{className:"o-share__icon__image",children:Object(jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",children:Object(jsx_runtime.jsx)("path",{d:"M768 305.1H256V719h512V305.1zm-51.2 362.6H307.2V450.1L512 573l204.8-122.9v217.6zm0-277.3L512 513.3 307.2 390.4v-34.1h409.6v34.1z"})})}),Object(jsx_runtime.jsx)("span",{className:"o-share__text",children:"Share via Email"})]})})]})})]})};SocialShareButtons_SocialShareButtons.displayName="SocialShareButtons",SocialShareButtons_SocialShareButtons.__docgenInfo={description:"",methods:[],displayName:"SocialShareButtons"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/SocialShareButtons.jsx"]={name:"SocialShareButtons",docgenInfo:SocialShareButtons_SocialShareButtons.__docgenInfo,path:"components/x-gift-article/src/SocialShareButtons.jsx"});var UrlSection_UrlSection=function UrlSection(props){var urlType=props.urlType,url=props.url,actions=props.actions,shareType=props.shareType,showCopyConfirmation=props.showCopyConfirmation,enterpriseEnabled=props.enterpriseEnabled;return Object(jsx_runtime.jsxs)("div",{children:[Object(jsx_runtime.jsxs)("div",{className:"o-forms-input o-forms-input--text o-forms-input--suffix js-gift-article__url-section","data-section-id":shareType+"Link","data-trackable":"copy-link",children:[Object(jsx_runtime.jsx)("input",{id:"share-link",type:"text",name:urlType,value:url,readOnly:!0}),Object(jsx_runtime.jsx)("button",{className:"o-buttons o-buttons--big o-buttons--primary "+(enterpriseEnabled?"o-buttons--professional":""),"aria-label":"Copy link of the gift article to your clipboard",onClick:function copyLinkHandler(event){switch(shareType){case ShareType_gift:actions.copyGiftUrl(event);break;case ShareType_enterprise:actions.copyEnterpriseUrl(event);break;case ShareType_nonGift:actions.copyNonGiftUrl(event)}},children:"Copy link"}),showCopyConfirmation&&Object(jsx_runtime.jsx)(CopyConfirmation,{hideCopyConfirmation:actions.hideCopyConfirmation})]}),Object(jsx_runtime.jsx)(SocialShareButtons_SocialShareButtons,Object.assign({},props))]})};UrlSection_UrlSection.displayName="UrlSection",UrlSection_UrlSection.__docgenInfo={description:"",methods:[],displayName:"UrlSection"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/UrlSection.jsx"]={name:"UrlSection",docgenInfo:UrlSection_UrlSection.__docgenInfo,path:"components/x-gift-article/src/UrlSection.jsx"});var main=__webpack_require__("./node_modules/@financial-times/o-share/main.js");function CreateLinkButton_regeneratorRuntime(){CreateLinkButton_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function CreateLinkButton_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}var CreateLinkButton_CreateLinkButton=function CreateLinkButton(props){var shareType=props.shareType,actions=props.actions,enterpriseEnabled=props.enterpriseEnabled,isFreeArticle=props.isFreeArticle,isRegisteredUser=props.isRegisteredUser,_canShareWithNonSubscribers=canShareWithNonSubscribers(props),_isNonSubscriberOption=isNonSubscriberOption(props),createLinkHandler=function(){var _ref=function CreateLinkButton_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){CreateLinkButton_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){CreateLinkButton_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(CreateLinkButton_regeneratorRuntime().mark((function _callee(){return CreateLinkButton_regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:_context.t0=shareType,_context.next=_context.t0===ShareType_gift?3:_context.t0===ShareType_nonGift?6:_context.t0===ShareType_enterprise?9:12;break;case 3:return _context.next=5,actions.createGiftUrl();case 5:return _context.abrupt("break",12);case 6:return _context.next=8,actions.shortenNonGiftUrl();case 8:return _context.abrupt("break",12);case 9:return _context.next=11,actions.createEnterpriseUrl();case 11:return _context.abrupt("break",12);case 12:new main.a(document.querySelector("#social-share-buttons"));case 13:case"end":return _context.stop()}}),_callee)})));return function createLinkHandler(){return _ref.apply(this,arguments)}}();return Object(jsx_runtime.jsx)("button",{disabled:!_canShareWithNonSubscribers&&_isNonSubscriberOption&&!isFreeArticle&&!isRegisteredUser,id:"create-link-button",className:"o-buttons o-buttons--big o-buttons--primary share-article-dialog__create-link-button "+(enterpriseEnabled?"o-buttons--professional":""),"data-trackable":shareType+"Link",onClick:createLinkHandler,children:"Get sharing link"})};CreateLinkButton_CreateLinkButton.displayName="CreateLinkButton",CreateLinkButton_CreateLinkButton.__docgenInfo={description:"",methods:[],displayName:"CreateLinkButton"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/CreateLinkButton.jsx"]={name:"CreateLinkButton",docgenInfo:CreateLinkButton_CreateLinkButton.__docgenInfo,path:"components/x-gift-article/src/CreateLinkButton.jsx"});var FreeArticleAlert_FreeArticleAlert=function FreeArticleAlert(){return Object(jsx_runtime.jsx)("div",{id:"free-article-alert",className:"o-message o-message--alert o-message--received-highlights share-article-dialog__alert","data-o-component":"o-message",children:Object(jsx_runtime.jsx)("div",{className:"o-message__container",children:Object(jsx_runtime.jsx)("div",{className:"o-message__content",children:Object(jsx_runtime.jsxs)("p",{className:"o-message__content-main",children:[Object(jsx_runtime.jsx)("strong",{children:"This is one of our free articles"}),Object(jsx_runtime.jsx)("br",{}),"Even non-subscribers can read it, without using up your sharing credits."]})})})})};function highlightsApi_regeneratorRuntime(){highlightsApi_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function highlightsApi_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function highlightsApi_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){highlightsApi_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){highlightsApi_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function highlightsApi_defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:"https://enterprise-user-annotations-api.ft.com/v1";!function highlightsApi_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,HighlightsApiClient),this.baseUrl=baseUrl}var _shareHighlights,_copySharedHighlights,_fetchJson;return function highlightsApi_createClass(Constructor,protoProps,staticProps){return protoProps&&highlightsApi_defineProperties(Constructor.prototype,protoProps),staticProps&&highlightsApi_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(HighlightsApiClient,[{key:"getFetchUrl",value:function getFetchUrl(path){if(!this.baseUrl)throw new Error("User Annotations API base url missing");return""+this.baseUrl+path}},{key:"fetchJson",value:(_fetchJson=highlightsApi_asyncToGenerator(highlightsApi_regeneratorRuntime().mark((function _callee(path,additionalOptions){var url,options,response,responseJSON;return highlightsApi_regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return url=this.getFetchUrl(path),options=Object.assign({credentials:"include",headers:{"Content-Type":"application/json"}},additionalOptions),_context.next=4,fetch(url,options);case 4:return response=_context.sent,_context.next=7,response.json();case 7:return responseJSON=_context.sent,_context.abrupt("return",responseJSON);case 9:case"end":return _context.stop()}}),_callee,this)}))),function fetchJson(_x,_x2){return _fetchJson.apply(this,arguments)})},{key:"copySharedHighlights",value:(_copySharedHighlights=highlightsApi_asyncToGenerator(highlightsApi_regeneratorRuntime().mark((function _callee2(highlightsToken){var json;return highlightsApi_regeneratorRuntime().wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.prev=0,_context2.next=3,this.fetchJson("/copy-annotations",{method:"POST",body:JSON.stringify({highlightsToken:highlightsToken})});case 3:return json=_context2.sent,_context2.abrupt("return",{annotationsCopyResult:json.annotationsCopyResult});case 7:return _context2.prev=7,_context2.t0=_context2.catch(0),_context2.abrupt("return",{annotationsCopyResult:void 0});case 10:case"end":return _context2.stop()}}),_callee2,this,[[0,7]])}))),function copySharedHighlights(_x3){return _copySharedHighlights.apply(this,arguments)})},{key:"shareHighlights",value:(_shareHighlights=highlightsApi_asyncToGenerator(highlightsApi_regeneratorRuntime().mark((function _callee3(articleId){var includeHighlights,_args3=arguments;return highlightsApi_regeneratorRuntime().wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(includeHighlights=_args3.length>1&&void 0!==_args3[1]&&_args3[1],_context3.prev=1,includeHighlights){_context3.next=4;break}return _context3.abrupt("return",{});case 4:return _context3.next=6,this.fetchJson("/create-token",{method:"POST",body:JSON.stringify({articleId:articleId})});case 6:return _context3.abrupt("return",_context3.sent);case 9:return _context3.prev=9,_context3.t0=_context3.catch(1),_context3.abrupt("return",{});case 12:case"end":return _context3.stop()}}),_callee3,this,[[1,9]])}))),function shareHighlights(_x4){return _shareHighlights.apply(this,arguments)})}]),HighlightsApiClient}();function ReceivedHighlightsAlert_regeneratorRuntime(){ReceivedHighlightsAlert_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ReceivedHighlightsAlert_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}var ReceivedHighlightsAlert_ReceivedHighlightsAlert=function ReceivedHighlightsAlert(_ref){var actions=_ref.actions,handleSaveAnnotations=function(){var _ref2=function ReceivedHighlightsAlert_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){ReceivedHighlightsAlert_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){ReceivedHighlightsAlert_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(ReceivedHighlightsAlert_regeneratorRuntime().mark((function _callee(event){var url,params,highlightsToken,highlightsAPIClient,_yield$highlightsAPIC,annotationsCopyResult,savedSharedAnnotations,_savedSharedAnnotations;return ReceivedHighlightsAlert_regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return event.preventDefault(),url=new URL(location.href),params=new URLSearchParams(url.search),highlightsToken=params.get("highlights"),highlightsAPIClient=new highlightsApi_HighlightsApiClient("https://enterprise-user-annotations-api.ft.com/v1"),_context.next=7,highlightsAPIClient.copySharedHighlights(highlightsToken);case 7:_yield$highlightsAPIC=_context.sent,annotationsCopyResult=_yield$highlightsAPIC.annotationsCopyResult;try{(savedSharedAnnotations=parsedSavedAnnotationsFromLocalStorage()).push(highlightsToken),localStorage.setItem("savedSharedAnnotations",JSON.stringify(savedSharedAnnotations))}catch(_unused){_savedSharedAnnotations=[highlightsToken],localStorage.setItem("savedSharedAnnotations",JSON.stringify(_savedSharedAnnotations))}annotationsCopyResult&&actions.saveHighlightsHandler();case 11:case"end":return _context.stop()}}),_callee)})));return function handleSaveAnnotations(_x){return _ref2.apply(this,arguments)}}();return Object(jsx_runtime.jsx)("div",{id:"received-highlights-alert",className:"o-message o-message--alert o-message--received-highlights share-article-dialog__alert","data-o-component":"o-message",children:Object(jsx_runtime.jsxs)("div",{className:"o-message__container",children:[Object(jsx_runtime.jsx)("div",{className:"o-message__content",children:Object(jsx_runtime.jsxs)("p",{className:"o-message__content-main",children:["If you wish to share the highlighted article",", ",Object(jsx_runtime.jsx)("a",{className:"o-typography-professional o-typography-link",href:"",rel:"noreferrer",onClick:handleSaveAnnotations,children:"save the highlights"})," ","as your own before creating the link."]})}),Object(jsx_runtime.jsx)("button",{className:"o-message__close",onClick:actions.closeHighlightsRecipientMessage})]})})};ReceivedHighlightsAlert_ReceivedHighlightsAlert.displayName="ReceivedHighlightsAlert",ReceivedHighlightsAlert_ReceivedHighlightsAlert.__docgenInfo={description:"",methods:[],displayName:"ReceivedHighlightsAlert"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/ReceivedHighlightsAlert.jsx"]={name:"ReceivedHighlightsAlert",docgenInfo:ReceivedHighlightsAlert_ReceivedHighlightsAlert.__docgenInfo,path:"components/x-gift-article/src/ReceivedHighlightsAlert.jsx"});var IncludeHighlights_IncludeHighlights=function IncludeHighlights(props){var actions=props.actions,hasHighlights=props.hasHighlights,enterpriseEnabled=props.enterpriseEnabled,includeHighlights=props.includeHighlights,_canShareWithNonSubscribers=canShareWithNonSubscribers(props),_isNonSubscriberOption=isNonSubscriberOption(props);return hasHighlights&&enterpriseEnabled&&(_canShareWithNonSubscribers||!_isNonSubscriberOption)?Object(jsx_runtime.jsx)("div",{className:"o-forms-field o-forms-field--optional o-forms-field--professional share-article-dialog__include-highlights",role:"group",children:Object(jsx_runtime.jsx)("div",{className:"o-forms-input o-forms-input--checkbox o-forms-field",children:Object(jsx_runtime.jsxs)("label",{htmlFor:"includeHighlights",children:[Object(jsx_runtime.jsx)("input",{type:"checkbox",id:"includeHighlights",name:"includeHighlights",value:includeHighlights,checked:includeHighlights,onChange:function includeHighlightsHandler(event){actions.setIncludeHighlights(event.target.checked)},"data-trackable":"make-highlights-visible"}),Object(jsx_runtime.jsx)("span",{className:"o-forms-input__label x-gift-article__checkbox-span",children:"Include highlights"})]})})}):null};IncludeHighlights_IncludeHighlights.__docgenInfo={description:"",methods:[],displayName:"IncludeHighlights"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/IncludeHighlights.jsx"]={name:"IncludeHighlights",docgenInfo:IncludeHighlights_IncludeHighlights.__docgenInfo,path:"components/x-gift-article/src/IncludeHighlights.jsx"});var GiftLinkSection_GiftLinkSection=function GiftLinkSection(props){var isGiftUrlCreated=props.isGiftUrlCreated,shareType=props.shareType,isNonGiftUrlShortened=props.isNonGiftUrlShortened,showFreeArticleAlert=props.showFreeArticleAlert,showHighlightsRecipientMessage=props.showHighlightsRecipientMessage;return isGiftUrlCreated||shareType===ShareType_nonGift&&isNonGiftUrlShortened&&!showFreeArticleAlert?Object(jsx_runtime.jsx)(UrlSection_UrlSection,Object.assign({},props)):Object(jsx_runtime.jsxs)("div",{children:[showFreeArticleAlert&&Object(jsx_runtime.jsx)(FreeArticleAlert_FreeArticleAlert,{}),!showFreeArticleAlert&&Object(jsx_runtime.jsx)(SharedLinkTypeSelector_SharedLinkTypeSelector,Object.assign({},props)),showHighlightsRecipientMessage&&Object(jsx_runtime.jsx)(ReceivedHighlightsAlert_ReceivedHighlightsAlert,Object.assign({},props)),Object(jsx_runtime.jsx)(IncludeHighlights_IncludeHighlights,Object.assign({},props)),Object(jsx_runtime.jsx)(CreateLinkButton_CreateLinkButton,Object.assign({},props))]})};GiftLinkSection_GiftLinkSection.displayName="GiftLinkSection",GiftLinkSection_GiftLinkSection.__docgenInfo={description:"",methods:[],displayName:"GiftLinkSection"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/GiftLinkSection.jsx"]={name:"GiftLinkSection",docgenInfo:GiftLinkSection_GiftLinkSection.__docgenInfo,path:"components/x-gift-article/src/GiftLinkSection.jsx"});var FooterMessage_FooterMessage=function FooterMessage(_ref){var shareType=_ref.shareType,isGiftUrlCreated=_ref.isGiftUrlCreated,redemptionLimit=_ref.redemptionLimit,enterpriseLimit=_ref.enterpriseLimit,giftCredits=_ref.giftCredits,isNonGiftUrlShortened=_ref.isNonGiftUrlShortened,enterpriseEnabled=_ref.enterpriseEnabled,enterpriseRequestAccess=_ref.enterpriseRequestAccess,includeHighlights=_ref.includeHighlights,isFreeArticle=_ref.isFreeArticle,showFreeArticleAlert=_ref.showFreeArticleAlert,advancedSharingArticlesBudget=_ref.advancedSharingArticlesBudget,isRegisteredUser=_ref.isRegisteredUser;if(!isGiftUrlCreated&&!isNonGiftUrlShortened)return enterpriseEnabled&&!enterpriseRequestAccess?null:enterpriseEnabled?Object(jsx_runtime.jsxs)("p",{className:"share-article-dialog__footer-message",children:["Share with multiple non-subscribers via"," ",Object(jsx_runtime.jsx)("a",{className:"o-typography-professional o-typography-link",href:"https://professional.ft.com/advanced-sharing-request-access",target:"_blank",rel:"noreferrer","data-trackable":"trial-link",children:"Advanced Sharing"})]}):null;if(isRegisteredUser)return null;if(isFreeArticle)return showFreeArticleAlert?null:Object(jsx_runtime.jsxs)("p",{className:"share-article-dialog__footer-message-shared-link",children:["Anyone will be able to see the full article using this link."," ",includeHighlights?"Your highlights will be visible to recipients.":""]});if(shareType===ShareType_gift){var newCredit=giftCredits-1,redemptionLimitMessage="Link can be viewed "+redemptionLimit+" "+(1===redemptionLimit?"time":"times")+" and is valid for 90 days. "+(includeHighlights?"Your highlights will be visible to recipients.":""),creditsMessage="You now have "+newCredit+" gift "+(1===newCredit?"article":"articles")+" remaining this month.";return Object(jsx_runtime.jsxs)("div",{className:"share-article-dialog__footer-message-shared-link",children:[Object(jsx_runtime.jsx)("p",{children:redemptionLimitMessage}),Object(jsx_runtime.jsx)("p",{children:creditsMessage})]})}if(shareType===ShareType_nonGift){var advancedSharingFTsubscribersOnlyMessage="Only FT subscribers will be able to see the full article using this link. "+(includeHighlights?"Your highlights will be visible to recipients.":"");return Object(jsx_runtime.jsx)("p",{className:"share-article-dialog__footer-message-shared-link",children:advancedSharingFTsubscribersOnlyMessage})}if(shareType===ShareType_enterprise){var advancedSharingLimitMessage="Because you used Advanced Sharing, this shared article can be viewed "+enterpriseLimit+" "+(1===enterpriseLimit?"time":"times")+". "+(includeHighlights?"Your highlights will be visible to recipients.":"");return Object(jsx_runtime.jsxs)("div",{className:"share-article-dialog__footer-message-shared-link",children:[Object(jsx_runtime.jsx)("p",{children:advancedSharingLimitMessage}),Object(jsx_runtime.jsxs)("p",{children:["Your organisation can still share ",advancedSharingArticlesBudget," articles via Advanced Sharing."]}),Object(jsx_runtime.jsx)("p",{children:Object(jsx_runtime.jsx)("a",{className:"o-typography-professional o-typography-link",href:"https://enterprise-sharing-dashboard.ft.com",target:"_blank",rel:"noreferrer","data-trackable":"see-all-links",children:"See all shared links"})})]})}return null};FooterMessage_FooterMessage.__docgenInfo={description:"",methods:[],displayName:"FooterMessage"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/FooterMessage.jsx"]={name:"FooterMessage",docgenInfo:FooterMessage_FooterMessage.__docgenInfo,path:"components/x-gift-article/src/FooterMessage.jsx"});var Footer_Footer=function Footer(props){return Object(jsx_runtime.jsx)("footer",{className:"share-article-dialog__footer",children:Object(jsx_runtime.jsx)(FooterMessage_FooterMessage,Object.assign({},props))})};Footer_Footer.displayName="Footer",Footer_Footer.__docgenInfo={description:"",methods:[],displayName:"Footer"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/Footer.jsx"]={name:"Footer",docgenInfo:Footer_Footer.__docgenInfo,path:"components/x-gift-article/src/Footer.jsx"});var SharingOptionsToggler_SharingOptionsToggler=function SharingOptionsToggler(props){var enterpriseEnabled=props.enterpriseEnabled,enterpriseRequestAccess=props.enterpriseRequestAccess,actions=props.actions,enterpriseHasCredits=props.enterpriseHasCredits,showAdvancedSharingOptions=props.showAdvancedSharingOptions,showNonSubscriberOptions=props.showNonSubscriberOptions,advancedSharingEnabled=enterpriseEnabled&&!enterpriseRequestAccess,onValueChange=function onValueChange(event){advancedSharingEnabled?"anyone"===event.target.value?(enterpriseHasCredits?actions.showEnterpriseUrlSection(event):actions.showGiftUrlSection(event),actions.showAdvancedSharingOptions()):(actions.hideNonSubscriberSharingOptions(event),actions.setIncludeHighlights(event.target.checked)):"non-subscriber"===event.target.value?actions.showGiftUrlSection(event):actions.showNonGiftUrlSection(event)};return Object(jsx_runtime.jsx)("div",{className:"o-forms-field o-forms-field--optional share-article-dialog__sharing-options-toggler "+(enterpriseEnabled?"o-forms-field--professional":""),role:"group","aria-labelledby":"o-forms-labelledby_sharing-options","aria-describedby":"o-forms-labelledby_sharing-options",children:Object(jsx_runtime.jsx)("span",{className:"o-forms-input o-forms-input--saving o-forms-input--radio-box",children:Object(jsx_runtime.jsxs)("span",{className:"o-forms-input--radio-box__container",children:[advancedSharingEnabled?Object(jsx_runtime.jsxs)("label",{htmlFor:"share-with-anyone-people-radio",className:"no-margin",children:[Object(jsx_runtime.jsx)("input",{id:"share-with-anyone-people-radio",name:"share-option",type:"radio",value:"anyone",checked:showAdvancedSharingOptions,onChange:onValueChange}),Object(jsx_runtime.jsx)("span",{className:"o-forms-input__label",children:"Anyone"})]}):Object(jsx_runtime.jsxs)("label",{htmlFor:"share-with-a-non-subscriber-radio",className:"no-margin",children:[Object(jsx_runtime.jsx)("input",{id:"share-with-a-non-subscriber-radio",name:"share-option",type:"radio",value:"non-subscriber",checked:showNonSubscriberOptions,onChange:onValueChange}),Object(jsx_runtime.jsx)("span",{className:"o-forms-input__label",children:"Non-subscriber"})]}),Object(jsx_runtime.jsxs)("label",{htmlFor:"share-with-subscribers-radio",className:"no-margin",children:[Object(jsx_runtime.jsx)("input",{id:"share-with-subscribers-radio",name:"share-option",type:"radio",value:"subscribers",checked:!showAdvancedSharingOptions&&!showNonSubscriberOptions,onChange:onValueChange}),Object(jsx_runtime.jsx)("span",{className:"o-forms-input__label",children:"FT subscribers only"})]})]})})})};SharingOptionsToggler_SharingOptionsToggler.displayName="SharingOptionsToggler",SharingOptionsToggler_SharingOptionsToggler.__docgenInfo={description:"",methods:[],displayName:"SharingOptionsToggler"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/SharingOptionsToggler.jsx"]={name:"SharingOptionsToggler",docgenInfo:SharingOptionsToggler_SharingOptionsToggler.__docgenInfo,path:"components/x-gift-article/src/SharingOptionsToggler.jsx"});var ShareArticleDialog=function(props){var isGiftUrlCreated=props.isGiftUrlCreated,shareType=props.shareType,isNonGiftUrlShortened=props.isNonGiftUrlShortened,showFreeArticleAlert=props.showFreeArticleAlert,isFreeArticle=props.isFreeArticle,enterpriseEnabled=props.enterpriseEnabled,enterpriseRequestAccess=props.enterpriseRequestAccess,isRegisteredUser=props.isRegisteredUser;return Object(jsx_runtime.jsxs)("div",{className:"o-typography-wrapper share-article-dialog__wrapper",hidden:props.isLoading,"data-trackable":"share-modal | "+(enterpriseEnabled&&!enterpriseRequestAccess?"b2b":"b2c"),role:"dialog","aria-modal":"true",children:[Object(jsx_runtime.jsx)("button",{className:"share-article-modal__close","aria-label":"Close"}),Object(jsx_runtime.jsxs)("div",{className:"share-article-dialog__main",children:[Object(jsx_runtime.jsx)(Header_Header,Object.assign({},props)),isFreeArticle||isGiftUrlCreated||isRegisteredUser||shareType===ShareType_nonGift&&isNonGiftUrlShortened&&!showFreeArticleAlert?null:Object(jsx_runtime.jsx)(SharingOptionsToggler_SharingOptionsToggler,Object.assign({},props)),Object(jsx_runtime.jsx)(GiftLinkSection_GiftLinkSection,Object.assign({},props)),Object(jsx_runtime.jsx)(Footer_Footer,Object.assign({},props))]})]})};function GiftArticle_regeneratorRuntime(){GiftArticle_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function GiftArticle_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function GiftArticle_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){GiftArticle_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){GiftArticle_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}var isCopySupported="undefined"!=typeof document&&document.queryCommandSupported&&document.queryCommandSupported("copy"),withGiftFormActions=Object(Interaction_es5.withActions)((function(initialProps){var _createEnterpriseUrl,_shortenNonGiftUrl,_createGiftUrl,api=new ApiClient({protocol:initialProps.apiProtocol,domain:initialProps.apiDomain}),enterpriseApi=new EnterpriseApiClient(initialProps.enterpriseApiBaseUrl),highlightsApiClient=new highlightsApi_HighlightsApiClient;return{showGiftUrlSection:function showGiftUrlSection(){return updaters_showGiftUrlSection},showEnterpriseUrlSection:function showEnterpriseUrlSection(){return updaters_showGiftEnterpriseSection},showNonSubscriberSharingOptions:function showNonSubscriberSharingOptions(){return updaters_showNonSubscriberSharingOptions},showNonGiftUrlSection:function showNonGiftUrlSection(){return updaters_showNonGiftUrlSection},showAdvancedSharingOptions:function showAdvancedSharingOptions(){return updaters_showAdvancedSharingOptions},hideNonSubscriberSharingOptions:function hideNonSubscriberSharingOptions(){return updaters_hideNonSubscriberSharingOptions},createGiftUrl:(_createGiftUrl=GiftArticle_asyncToGenerator(GiftArticle_regeneratorRuntime().mark((function _callee2(){return GiftArticle_regeneratorRuntime().wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.abrupt("return",function(){var _ref=GiftArticle_asyncToGenerator(GiftArticle_regeneratorRuntime().mark((function _callee(state){var response,_yield$highlightsApiC,highlightsAccessToken,_response,redemptionUrl,redemptionLimit,_yield$api$getShorter,url,isShortened;return GiftArticle_regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,highlightsApiClient.shareHighlights(initialProps.article.id,state.includeHighlights);case 2:return _yield$highlightsApiC=_context.sent,highlightsAccessToken=_yield$highlightsApiC.highlightsAccessToken,_context.next=6,api.getGiftUrl(initialProps.article.id,highlightsAccessToken);case 6:if(response=_context.sent,redemptionUrl=(_response=response).redemptionUrl,redemptionLimit=_response.redemptionLimit,!redemptionUrl){_context.next=18;break}return _context.next=11,api.getShorterUrl(redemptionUrl);case 11:return _yield$api$getShorter=_context.sent,url=_yield$api$getShorter.url,isShortened=_yield$api$getShorter.isShortened,tracking_default.a.createGiftLink(url,redemptionUrl),_context.abrupt("return",updaters_setGiftUrl(url,redemptionLimit,isShortened)(state));case 18:return _context.abrupt("return",setErrorState(!0));case 19:case"end":return _context.stop()}}),_callee)})));return function(_x){return _ref.apply(this,arguments)}}());case 1:case"end":return _context2.stop()}}),_callee2)}))),function createGiftUrl(){return _createGiftUrl.apply(this,arguments)}),shortenNonGiftUrl:(_shortenNonGiftUrl=GiftArticle_asyncToGenerator(GiftArticle_regeneratorRuntime().mark((function _callee4(){return GiftArticle_regeneratorRuntime().wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:return _context4.abrupt("return",function(){var _ref2=GiftArticle_asyncToGenerator(GiftArticle_regeneratorRuntime().mark((function _callee3(state){var nonGiftUrl,_yield$highlightsApiC2,highlightsAccessToken,_yield$api$getShorter2,url,isShortened;return GiftArticle_regeneratorRuntime().wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(!state.isNonGiftUrlShortened){_context3.next=3;break}return state.showFreeArticleAlert=!1,_context3.abrupt("return",state);case 3:return nonGiftUrl=new URL(state.urls.nonGift),_context3.next=6,highlightsApiClient.shareHighlights(initialProps.article.id,state.includeHighlights);case 6:return _yield$highlightsApiC2=_context3.sent,(highlightsAccessToken=_yield$highlightsApiC2.highlightsAccessToken)&&nonGiftUrl.searchParams.append("highlights",highlightsAccessToken),_context3.next=11,api.getShorterUrl(nonGiftUrl.toString());case 11:if(_yield$api$getShorter2=_context3.sent,url=_yield$api$getShorter2.url,isShortened=_yield$api$getShorter2.isShortened,tracking_default.a.createNonGiftLink(url,state.urls.nonGift),!isShortened){_context3.next=19;break}return _context3.abrupt("return",updaters_setShortenedNonGiftUrl(url)(state));case 19:return _context3.abrupt("return",setErrorState(!0));case 20:case"end":return _context3.stop()}}),_callee3)})));return function(_x2){return _ref2.apply(this,arguments)}}());case 1:case"end":return _context4.stop()}}),_callee4)}))),function shortenNonGiftUrl(){return _shortenNonGiftUrl.apply(this,arguments)}),createEnterpriseUrl:(_createEnterpriseUrl=GiftArticle_asyncToGenerator(GiftArticle_regeneratorRuntime().mark((function _callee6(){return GiftArticle_regeneratorRuntime().wrap((function _callee6$(_context6){for(;;)switch(_context6.prev=_context6.next){case 0:return _context6.abrupt("return",function(){var _ref3=GiftArticle_asyncToGenerator(GiftArticle_regeneratorRuntime().mark((function _callee5(state){var _yield$enterpriseApi$,redemptionUrl,redemptionLimit,_document$cookie$matc,sharesCount,firstUseEvent;return GiftArticle_regeneratorRuntime().wrap((function _callee5$(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:return _context5.next=2,enterpriseApi.getESUrl(initialProps.article.id,state.includeHighlights);case 2:if(_yield$enterpriseApi$=_context5.sent,redemptionUrl=_yield$enterpriseApi$.redemptionUrl,redemptionLimit=_yield$enterpriseApi$.redemptionLimit,!redemptionUrl){_context5.next=12;break}return tracking_default.a.createESLink(redemptionUrl),sharesCount=null===(_document$cookie$matc=document.cookie.match(new RegExp("(^| )ES_COUNT=([^;]+)")))||void 0===_document$cookie$matc?void 0:_document$cookie$matc.at(2),1===Number(sharesCount)&&(firstUseEvent=new Event("advanced-sharing-first-use"),document.dispatchEvent(firstUseEvent)),_context5.abrupt("return",updaters_setGiftUrl(redemptionUrl,redemptionLimit,!1,!0)(state));case 12:return _context5.abrupt("return",setErrorState(!0));case 13:case"end":return _context5.stop()}}),_callee5)})));return function(_x3){return _ref3.apply(this,arguments)}}());case 1:case"end":return _context6.stop()}}),_callee6)}))),function createEnterpriseUrl(){return _createEnterpriseUrl.apply(this,arguments)}),copyGiftUrl:function copyGiftUrl(event){return Object(share_link_actions.copyToClipboard)(event),function(state){var giftUrl=state.urls.gift;return tracking_default.a.copyLink("giftLink",giftUrl),{showCopyConfirmation:!0}}},copyEnterpriseUrl:function copyEnterpriseUrl(event){return Object(share_link_actions.copyToClipboard)(event),function(state){var enterpriseUrl=state.urls.enterprise;return tracking_default.a.copyLink("enterpriseLink",enterpriseUrl),{showCopyConfirmation:!0}}},copyNonGiftUrl:function copyNonGiftUrl(event){return Object(share_link_actions.copyToClipboard)(event),function(state){var nonGiftUrl=state.urls.nonGift;return tracking_default.a.copyLink("nonGiftLink",nonGiftUrl),{showCopyConfirmation:!0}}},emailGiftUrl:function emailGiftUrl(){return function(state){tracking_default.a.emailLink("giftLink",state.urls.gift)}},emailEnterpriseUrl:function emailEnterpriseUrl(){return function(state){tracking_default.a.emailLink("enterpriseLink",state.urls.enterprise)}},emailNonGiftUrl:function emailNonGiftUrl(){return function(state){tracking_default.a.emailLink("nonGiftLink",state.urls.nonGift)}},hideCopyConfirmation:function hideCopyConfirmation(){return{showCopyConfirmation:!1}},shareByNativeShare:function shareByNativeShare(){throw new Error("shareByNativeShare should be implemented by x-gift-article's consumers")},activate:function activate(){return function(){var _ref4=GiftArticle_asyncToGenerator(GiftArticle_regeneratorRuntime().mark((function _callee7(state){var _yield$enterpriseApi$2,enabled,limit,hasCredits,requestAccess,budget,isRegisteredUser,advancedSharingEnabled,enterpriseState,_yield$api$getShorter3,url,isShortened,freeArticleState,_yield$api$getGiftArt,giftCredits,monthlyAllowance,nextRenewalDate;return GiftArticle_regeneratorRuntime().wrap((function _callee7$(_context7){for(;;)switch(_context7.prev=_context7.next){case 0:return _context7.next=2,enterpriseApi.getEnterpriseArticleAllowance();case 2:if(_yield$enterpriseApi$2=_context7.sent,enabled=_yield$enterpriseApi$2.enabled,limit=_yield$enterpriseApi$2.limit,hasCredits=_yield$enterpriseApi$2.hasCredits,requestAccess=_yield$enterpriseApi$2.requestAccess,budget=_yield$enterpriseApi$2.budget,isRegisteredUser=_yield$enterpriseApi$2.isRegisteredUser,enterpriseState={enterpriseLimit:limit,isRegisteredUser:isRegisteredUser,enterpriseHasCredits:hasCredits,enterpriseRequestAccess:requestAccess,showAdvancedSharingOptions:advancedSharingEnabled=enabled&&!requestAccess,showNonSubscriberOptions:!advancedSharingEnabled,advancedSharingArticlesBudget:budget,shareType:initialProps.isFreeArticle||isRegisteredUser?ShareType_nonGift:advancedSharingEnabled&&hasCredits?ShareType_enterprise:ShareType_gift},enabled?tracking_default.a.initEnterpriseSharing(requestAccess?"enterprise-request-access":hasCredits?"enterprise-enabled":"enterprise-no-credits"):tracking_default.a.initEnterpriseSharing("enterprise-disabled"),!initialProps.isFreeArticle){_context7.next=23;break}return _context7.next=15,api.getShorterUrl(state.urls.nonGift);case 15:return _yield$api$getShorter3=_context7.sent,url=_yield$api$getShorter3.url,isShortened=_yield$api$getShorter3.isShortened,freeArticleState=Object.assign({invalidResponseFromApi:!0,enterpriseEnabled:enabled},enterpriseState),isShortened&&(Object.assign(freeArticleState,updaters_setShortenedNonGiftUrl(url)(state)),freeArticleState.showFreeArticleAlert=!0),_context7.abrupt("return",freeArticleState);case 23:return _context7.next=25,api.getGiftArticleAllowance();case 25:if(_yield$api$getGiftArt=_context7.sent,giftCredits=_yield$api$getGiftArt.giftCredits,monthlyAllowance=_yield$api$getGiftArt.monthlyAllowance,nextRenewalDate=_yield$api$getGiftArt.nextRenewalDate,!(giftCredits>0||0===giftCredits)){_context7.next=33;break}return _context7.abrupt("return",Object.assign({},setAllowance(giftCredits,monthlyAllowance,nextRenewalDate),{shareType:ShareType_nonGift,enterpriseEnabled:enabled},enterpriseState));case 33:return _context7.abrupt("return",Object.assign({invalidResponseFromApi:!0,enterpriseEnabled:enabled},enterpriseState));case 34:case"end":return _context7.stop()}}),_callee7)})));return function(_x4){return _ref4.apply(this,arguments)}}()},setIncludeHighlights:function setIncludeHighlights(includeHighlights){return function(state){return state.includeHighlights=includeHighlights,{includeHighlights:includeHighlights}}},checkIfHasHighlights:function checkIfHasHighlights(){return function(state){return state.hasHighlights=!!document.getElementsByClassName(state.highlightClassName).length,{hasHighlights:state.hasHighlights}}},saveHighlightsHandler:function saveHighlightsHandler(){return function(){return{showHighlightsRecipientMessage:!1,showHighlightsSuccessMessage:!0,showHighlightsCheckbox:!0}}},closeHighlightsRecipientMessage:function closeHighlightsRecipientMessage(){return function(){return{showHighlightsRecipientMessage:!1}}},closeHighlightsSuccessMessage:function closeHighlightsSuccessMessage(){return function(){return{showHighlightsSuccessMessage:!1}}}}}),(function(props){var url=new URL(location.href),highlightsToken=new URLSearchParams(url.search).get("highlights"),userIsAHighlightsRecipient=url.searchParams.has("highlights"),userHasNotYetSavedSharedAnnotations=!parsedSavedAnnotationsFromLocalStorage().includes(highlightsToken),highlightsHaveNotBeenRemoved=null===document.querySelector(".missing-highlight-message"),initialState={title:"Share this article with:",giftCredits:void 0,monthlyAllowance:void 0,showCopyButton:isCopySupported,isGiftUrlCreated:!1,isGiftUrlShortened:!1,isNonGiftUrlShortened:!1,includeHighlights:!1,showAdvancedSharingOptions:!1,showNonSubscriberOptions:!1,hasHighlights:!1,showHighlightsRecipientMessage:userIsAHighlightsRecipient&&userHasNotYetSavedSharedAnnotations&&highlightsHaveNotBeenRemoved,showHighlightsSuccessMessage:!1,showHighlightsCheckbox:!new URL(location.href).searchParams.has("highlights"),highlightClassName:"user-annotation",urls:{dummy:"https://on.ft.com/gift_link",gift:void 0,enterprise:void 0,nonGift:props.article.url+"?shareType=nongift"},mailtoUrls:{gift:void 0,enterprise:void 0,nonGift:Object(share_link_actions.createMailtoUrl)(props.article.title,props.article.url+"?shareType=nongift")},showFreeArticleAlert:!1},expandedProps=Object.assign({},props,initialState),sectionProps=props.isFreeArticle?updaters_showNonGiftUrlSection(expandedProps):updaters_showGiftUrlSection(expandedProps);return Object.assign(initialState,sectionProps)})),GiftArticle_BaseShareArticleModal=function BaseShareArticleModal(props){return Object(jsx_runtime.jsx)(ShareArticleDialog,Object.assign({},props))};GiftArticle_BaseShareArticleModal.displayName="BaseShareArticleModal";var ShareArticleModal=withGiftFormActions(GiftArticle_BaseShareArticleModal);GiftArticle_BaseShareArticleModal.__docgenInfo={description:"",methods:[],displayName:"BaseShareArticleModal"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/src/GiftArticle.jsx"]={name:"BaseShareArticleModal",docgenInfo:GiftArticle_BaseShareArticleModal.__docgenInfo,path:"components/x-gift-article/src/GiftArticle.jsx"});var es5_client=__webpack_require__("./node_modules/fetch-mock/es5/client.js"),es5_client_default=__webpack_require__.n(es5_client),build_service=(__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./.storybook/build-service.js")),dependencies=(__webpack_require__("./components/x-gift-article/src/main.scss"),{"o-fonts":"^5.3.0"}),storybook_ShareArticleModalB2B=(__webpack_exports__.default={title:"x-gift-article"},function ShareArticleModalB2B(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal.js").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})});storybook_ShareArticleModalB2B.displayName="ShareArticleModalB2B",storybook_ShareArticleModalB2B.storyName="Share article modal (B2B)",storybook_ShareArticleModalB2B.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal.js").args;var storybook_ShareArticleModalRegistered=function ShareArticleModalRegistered(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-registered.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalRegistered.displayName="ShareArticleModalRegistered",storybook_ShareArticleModalRegistered.storyName="Share article modal (Registered)",storybook_ShareArticleModalRegistered.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-registered.jsx").args;var storybook_ShareArticleModalB2C=function ShareArticleModalB2C(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2c.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalB2C.displayName="ShareArticleModalB2C",storybook_ShareArticleModalB2C.storyName="Share article modal (B2C)",storybook_ShareArticleModalB2C.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2c.jsx").args;var storybook_ShareArticleModalB2BHighlights=function ShareArticleModalB2BHighlights(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2b-highlights.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalB2BHighlights.displayName="ShareArticleModalB2BHighlights",storybook_ShareArticleModalB2BHighlights.storyName="Share article modal (B2B with highlights)",storybook_ShareArticleModalB2BHighlights.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2b-highlights.jsx").args;var storybook_ShareArticleModalWithAdvanceSharing=function ShareArticleModalWithAdvanceSharing(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalWithAdvanceSharing.displayName="ShareArticleModalWithAdvanceSharing",storybook_ShareArticleModalWithAdvanceSharing.storyName="Share article modal (B2B with Advanced Sharing)",storybook_ShareArticleModalWithAdvanceSharing.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing.jsx").args;var storybook_ShareArticleModalB2CNoCredits=function ShareArticleModalB2CNoCredits(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2c-no-credits.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalB2CNoCredits.displayName="ShareArticleModalB2CNoCredits",storybook_ShareArticleModalB2CNoCredits.storyName="Share article modal (B2C no credits)",storybook_ShareArticleModalB2CNoCredits.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2c-no-credits.jsx").args;var storybook_ShareArticleModalB2BNoCredits=function ShareArticleModalB2BNoCredits(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-no-credits.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalB2BNoCredits.displayName="ShareArticleModalB2BNoCredits",storybook_ShareArticleModalB2BNoCredits.storyName="Share article modal (B2B no credits)",storybook_ShareArticleModalB2BNoCredits.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-no-credits.jsx").args;var storybook_ShareArticleModalWithAdvancedSharingNoGiftCredits=function ShareArticleModalWithAdvancedSharingNoGiftCredits(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-gift-credits.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalWithAdvancedSharingNoGiftCredits.displayName="ShareArticleModalWithAdvancedSharingNoGiftCredits",storybook_ShareArticleModalWithAdvancedSharingNoGiftCredits.storyName="Share article modal (AS no gift credits)",storybook_ShareArticleModalWithAdvancedSharingNoGiftCredits.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-gift-credits.jsx").args;var storybook_ShareArticleModalWithAdvancedSharingNoEnterpriseCredits=function ShareArticleModalWithAdvancedSharingNoEnterpriseCredits(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-enterprise-credits.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalWithAdvancedSharingNoEnterpriseCredits.displayName="ShareArticleModalWithAdvancedSharingNoEnterpriseCredits",storybook_ShareArticleModalWithAdvancedSharingNoEnterpriseCredits.storyName="Share article modal (AS no enterprise credits)",storybook_ShareArticleModalWithAdvancedSharingNoEnterpriseCredits.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-enterprise-credits.jsx").args;var storybook_ShareArticleModalWithAdvancedSharingNoBothCredits=function ShareArticleModalWithAdvancedSharingNoBothCredits(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-both-credits.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalWithAdvancedSharingNoBothCredits.displayName="ShareArticleModalWithAdvancedSharingNoBothCredits",storybook_ShareArticleModalWithAdvancedSharingNoBothCredits.storyName="Share article modal (AS no enterprise credits)",storybook_ShareArticleModalWithAdvancedSharingNoBothCredits.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-both-credits.jsx").args;var storybook_ShareArticleModalWithAdvancedSharingSaveHighlightsMessage=function ShareArticleModalWithAdvancedSharingSaveHighlightsMessage(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-save-highlights-message.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalWithAdvancedSharingSaveHighlightsMessage.displayName="ShareArticleModalWithAdvancedSharingSaveHighlightsMessage",storybook_ShareArticleModalWithAdvancedSharingSaveHighlightsMessage.storyName="Share article modal (AS save highlights message)",storybook_ShareArticleModalWithAdvancedSharingSaveHighlightsMessage.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-save-highlights-message.jsx").args;var storybook_ShareArticleModalB2BSaveHighlightsMessage=function ShareArticleModalB2BSaveHighlightsMessage(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2b-save-highlights-message.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalB2BSaveHighlightsMessage.displayName="ShareArticleModalB2BSaveHighlightsMessage",storybook_ShareArticleModalB2BSaveHighlightsMessage.storyName="Share article modal (B2B save highlights message)",storybook_ShareArticleModalB2BSaveHighlightsMessage.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2b-save-highlights-message.jsx").args;var storybook_ShareArticleModalB2BFreeArticle=function ShareArticleModalB2BFreeArticle(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2b-free-article.js").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalB2BFreeArticle.displayName="ShareArticleModalB2BFreeArticle",storybook_ShareArticleModalB2BFreeArticle.storyName="Share article modal (B2B free article)",storybook_ShareArticleModalB2BFreeArticle.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2b-free-article.js").args;var storybook_ShareArticleModalB2CFreeArticle=function ShareArticleModalB2CFreeArticle(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2c-free-article.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalB2CFreeArticle.displayName="ShareArticleModalB2CFreeArticle",storybook_ShareArticleModalB2CFreeArticle.storyName="Share article modal (B2C free article)",storybook_ShareArticleModalB2CFreeArticle.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-b2c-free-article.jsx").args;var storybook_ShareArticleModalWithAdvancedSharingFreeArticle=function ShareArticleModalWithAdvancedSharingFreeArticle(args){return __webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-free-article.jsx").fetchMock(es5_client_default.a),Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(ShareArticleModal,Object.assign({},args,{actionsRef:function actionsRef(actions){return null==actions?void 0:actions.activate()}}))]})};storybook_ShareArticleModalWithAdvancedSharingFreeArticle.displayName="ShareArticleModalWithAdvancedSharingFreeArticle",storybook_ShareArticleModalWithAdvancedSharingFreeArticle.storyName="Share article modal (AS free article)",storybook_ShareArticleModalWithAdvancedSharingFreeArticle.args=__webpack_require__("./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-free-article.jsx").args,storybook_ShareArticleModalB2B.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalB2B"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalB2B",docgenInfo:storybook_ShareArticleModalB2B.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalRegistered.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalRegistered"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalRegistered",docgenInfo:storybook_ShareArticleModalRegistered.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalB2C.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalB2C"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalB2C",docgenInfo:storybook_ShareArticleModalB2C.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalB2BHighlights.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalB2BHighlights"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalB2BHighlights",docgenInfo:storybook_ShareArticleModalB2BHighlights.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalWithAdvanceSharing.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalWithAdvanceSharing"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalWithAdvanceSharing",docgenInfo:storybook_ShareArticleModalWithAdvanceSharing.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalB2CNoCredits.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalB2CNoCredits"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalB2CNoCredits",docgenInfo:storybook_ShareArticleModalB2CNoCredits.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalB2BNoCredits.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalB2BNoCredits"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalB2BNoCredits",docgenInfo:storybook_ShareArticleModalB2BNoCredits.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalWithAdvancedSharingNoGiftCredits.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalWithAdvancedSharingNoGiftCredits"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalWithAdvancedSharingNoGiftCredits",docgenInfo:storybook_ShareArticleModalWithAdvancedSharingNoGiftCredits.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalWithAdvancedSharingNoEnterpriseCredits.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalWithAdvancedSharingNoEnterpriseCredits"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalWithAdvancedSharingNoEnterpriseCredits",docgenInfo:storybook_ShareArticleModalWithAdvancedSharingNoEnterpriseCredits.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalWithAdvancedSharingNoBothCredits.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalWithAdvancedSharingNoBothCredits"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalWithAdvancedSharingNoBothCredits",docgenInfo:storybook_ShareArticleModalWithAdvancedSharingNoBothCredits.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalWithAdvancedSharingSaveHighlightsMessage.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalWithAdvancedSharingSaveHighlightsMessage"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalWithAdvancedSharingSaveHighlightsMessage",docgenInfo:storybook_ShareArticleModalWithAdvancedSharingSaveHighlightsMessage.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalB2BSaveHighlightsMessage.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalB2BSaveHighlightsMessage"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalB2BSaveHighlightsMessage",docgenInfo:storybook_ShareArticleModalB2BSaveHighlightsMessage.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalB2BFreeArticle.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalB2BFreeArticle"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalB2BFreeArticle",docgenInfo:storybook_ShareArticleModalB2BFreeArticle.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalB2CFreeArticle.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalB2CFreeArticle"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalB2CFreeArticle",docgenInfo:storybook_ShareArticleModalB2CFreeArticle.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"}),storybook_ShareArticleModalWithAdvancedSharingFreeArticle.__docgenInfo={description:"",methods:[],displayName:"ShareArticleModalWithAdvancedSharingFreeArticle"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-gift-article/storybook/index.jsx"]={name:"ShareArticleModalWithAdvancedSharingFreeArticle",docgenInfo:storybook_ShareArticleModalWithAdvancedSharingFreeArticle.__docgenInfo,path:"components/x-gift-article/storybook/index.jsx"})},"./components/x-gift-article/storybook/share-article-modal-b2b-free-article.js":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!0,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com"},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",403).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-b2b-highlights.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com",hasHighlights:!0},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",403).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-b2b-save-highlights-message.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com",hasHighlights:!1,showHighlightsCheckbox:!1,showHighlightsRecipientMessage:!0},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",403).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-b2c-free-article.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!0,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com"},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",new Response(JSON.stringify({message:"NotFoundError: b2c"}),{status:404})).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-b2c-no-credits.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com"},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:20,remainingCredits:0,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",new Response(JSON.stringify({message:"NotFoundError: b2c"}),{status:404})).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-b2c.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com"},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",new Response(JSON.stringify({message:"NotFoundError: b2c"}),{status:404})).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-no-credits.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com"},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:20,remainingCredits:0,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",403).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-registered.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com"},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",new Response(JSON.stringify({message:"NotFoundError: registered"}),{status:404})).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-free-article.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!0,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com",hasHighlights:!0},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",{limit:120,budget:100,hasCredits:!0}).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-both-credits.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com",hasHighlights:!0},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:0,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",{limit:120,hasCredits:!1}).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-enterprise-credits.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com",hasHighlights:!0},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",{limit:120,hasCredits:!1}).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-no-gift-credits.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com",hasHighlights:!0},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:20,remainingCredits:0,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",{limit:120,budget:100,hasCredits:!0}).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing-save-highlights-message.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com",hasHighlights:!1,showHighlightsCheckbox:!1,showHighlightsRecipientMessage:!0},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",{limit:120,budget:100,hasCredits:!0}).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120}).post("path:/v1/copy-annotations",{annotationsCopyResult:[]})}},"./components/x-gift-article/storybook/share-article-modal-with-advanced-sharing.jsx":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com",hasHighlights:!0},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",{limit:120,budget:100,hasCredits:!0}).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-gift-article/storybook/share-article-modal.js":function(module,exports){var articleId="e4b5ade3-01d1-4db8-b197-257051656684",articleUrl="https://www.ft.com/content/e4b5ade3-01d1-4db8-b197-257051656684",articleUrlRedeemed="https://enterprise-sharing.ft.com/gift-url-redeemed",nonGiftArticleUrl=articleUrl+"?shareType=nongift";exports.args={title:"Share this article with:",isFreeArticle:!1,article:{id:articleId,url:articleUrl,title:"Equinor and Daimler Truck cut Russia ties as Volvo and JLR halt car deliveries"},id:"base-gift-article-static-id",enterpriseApiBaseUrl:"https://enterprise-sharing-api.ft.com"},exports.fetchMock=function(fetchMock){fetchMock.restore().get("path:/article/gift-credits",{allowance:20,consumedCredits:5,remainingCredits:15,renewalDate:"2018-08-01T00:00:00Z"}).get("path:/article/shorten-url/"+encodeURIComponent(articleUrlRedeemed),{shortenedUrl:"https://shortened-gift-url"}).get("path:/article/shorten-url/"+encodeURIComponent(nonGiftArticleUrl),{shortenedUrl:"https://shortened-non-gift-url"}).get("path:/article/gift-link/"+encodeURIComponent(articleId),{redemptionUrl:articleUrlRedeemed,redemptionLimit:3,remainingAllowance:1}).get("path:/v1/users/me/allowance",403).post("path:/v1/shares",{url:articleUrlRedeemed,redeemLimit:120})}},"./components/x-increment/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Sync",(function(){return storybook_Sync})),__webpack_require__.d(__webpack_exports__,"Async",(function(){return storybook_Async}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/web.timers.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.async-iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.math.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.json.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.set-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.reverse.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./packages/x-engine/src/client.js");var Interaction_es5=__webpack_require__("./components/x-interaction/dist/Interaction.es5.js"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");function _regeneratorRuntime(){_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}var delay=function delay(ms){return new Promise((function(r){return setTimeout(r,ms)}))},withIncrementActions=Object(Interaction_es5.withActions)((function(_ref){var _increment,timeout=_ref.timeout;return{increment:(_increment=function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(){var _ref2$amount,amount,_args=arguments;return _regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _ref2$amount=(_args.length>0&&void 0!==_args[0]?_args[0]:{}).amount,amount=void 0===_ref2$amount?1:_ref2$amount,_context.next=3,delay(timeout);case 3:return _context.abrupt("return",(function(_ref3){return{count:_ref3.count+amount}}));case 4:case"end":return _context.stop()}}),_callee)}))),function increment(){return _increment.apply(this,arguments)})}})),Increment_BaseIncrement=function BaseIncrement(_ref4){var count=_ref4.count,customSlot=_ref4.customSlot,increment=_ref4.actions.increment,isLoading=_ref4.isLoading;return Object(jsx_runtime.jsxs)("div",{children:[Object(jsx_runtime.jsx)("span",{children:count}),Object(jsx_runtime.jsxs)("button",{onClick:function onClick(){return increment()},disabled:isLoading,children:[customSlot,isLoading?"Loading...":"Increment"]})]})};Increment_BaseIncrement.displayName="BaseIncrement";var Increment=withIncrementActions(Increment_BaseIncrement);Increment_BaseIncrement.__docgenInfo={description:"",methods:[],displayName:"BaseIncrement"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-increment/src/Increment.jsx"]={name:"BaseIncrement",docgenInfo:Increment_BaseIncrement.__docgenInfo,path:"components/x-increment/src/Increment.jsx"});__webpack_exports__.default={title:"x-increment"};var storybook_Sync=function Sync(){return Object(jsx_runtime.jsx)(Increment,Object.assign({},{count:1,id:"base-increment-static-id"}))};storybook_Sync.displayName="Sync";var storybook_Async=function Async(){return Object(jsx_runtime.jsx)(Increment,Object.assign({},{count:1,timeout:1e3,id:"base-increment-static-id"}))};storybook_Async.displayName="Async",storybook_Sync.__docgenInfo={description:"",methods:[],displayName:"Sync"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-increment/storybook/index.jsx"]={name:"Sync",docgenInfo:storybook_Sync.__docgenInfo,path:"components/x-increment/storybook/index.jsx"}),storybook_Async.__docgenInfo={description:"",methods:[],displayName:"Async"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-increment/storybook/index.jsx"]={name:"Async",docgenInfo:storybook_Async.__docgenInfo,path:"components/x-increment/storybook/index.jsx"})},"./components/x-interaction/dist/Interaction.es5.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptors.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-properties.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.set-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.is-array.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.reduce.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.array.some.js"),Object.defineProperty(exports,"__esModule",{value:!0});var xEngine=__webpack_require__("./packages/x-engine/src/client.js"),shortId=function _interopDefault(ex){return ex&&"object"==typeof ex&&"default"in ex?ex.default:ex}(__webpack_require__("./node_modules/@quarterto/short-id/short-id.js"));function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _possibleConstructorReturn(self,call){if(call&&("object"==typeof call||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self)}function _createSuper(Derived){var hasNativeReflectConstruct=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0}))},InteractionClass=function(_Component){_inherits(InteractionClass,_Component);var _super=_createSuper(InteractionClass);function InteractionClass(props){var _this;_classCallCheck(this,InteractionClass);for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return(_this=_super.call.apply(_super,[this,props].concat(args))).state={state:{},inFlight:0},_this.createActions(props),_this}return _createClass(InteractionClass,[{key:"createActions",value:function createActions(props){var _this2=this;this.actions=function mapValues(obj,fn){return Object.keys(obj).reduce((function(mapped,key){return Object.assign(mapped,_defineProperty({},key,fn(obj[key],key,obj)))}),{})}(props.actions,(function(func){return function(){var $args=arguments;return new Promise((function($return,$error){var stateUpdate,nextState;return Promise.resolve().then((function(){_this2.setState((function(_ref){return{inFlight:_ref.inFlight+1}}))})),Promise.resolve(Promise.resolve(func.apply(void 0,$args))).then((function($await_3){try{return stateUpdate=$await_3,Promise.resolve(new Promise((function($return,$error){return"function"==typeof stateUpdate?Promise.resolve(Promise.resolve(stateUpdate(Object.assign({},props.initialState,_this2.state.state)))).then((function($await_4){try{return $return(Object.assign(_this2.state.state,$await_4))}catch($boundEx){return $error($boundEx)}}),$error):$return(Object.assign(_this2.state.state,stateUpdate))}))).then((function($await_5){try{return nextState=$await_5,$return(new Promise((function(resolve){return _this2.setState({state:nextState},(function(){return _this2.setState((function(_ref2){return{inFlight:_ref2.inFlight-1}}),resolve)}))})))}catch($boundEx){return $error($boundEx)}}),$error)}catch($boundEx){return $error($boundEx)}}),$error)}))}}))}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(props){this.createActions(props)}},{key:"componentDidMount",value:function componentDidMount(){this.props.actionsRef&&this.props.actionsRef(this.actions)}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.props.actionsRef&&this.props.actionsRef(null)}},{key:"render",value:function render(){return xEngine.h(InteractionRender,Object.assign({},this.props,this.state,{actions:this.actions}))}}]),InteractionClass}(xEngine.Component),registeredComponents={},xInteractionName=Symbol("x-interaction-name");function getComponentName(Component){return Component[xInteractionName]||"Unknown"}var HydrationWrapper=function(_Component){_inherits(HydrationWrapper,_Component);var _super=_createSuper(HydrationWrapper);function HydrationWrapper(){return _classCallCheck(this,HydrationWrapper),_super.apply(this,arguments)}return _createClass(HydrationWrapper,[{key:"render",value:function render(){var _this=this,_this$props=this.props,Component=_this$props.Component,props=_this$props.props,id=_this$props.id;return xEngine.h(Component,Object.assign({},props,{id:id,actionsRef:function actionsRef(a){return _this.actions=a}}))}},{key:"componentDidMount",value:function componentDidMount(){this.props.wrapper&&this.props.wrapper.addEventListener("x-interaction.trigger-action",this)}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.props.wrapper&&this.props.wrapper.removeEventListener("x-interaction.trigger-action",this)}},{key:"handleEvent",value:function handleEvent(event){var _this$actions,_event$detail=event.detail,action=_event$detail.action,_event$detail$args=_event$detail.args,args=void 0===_event$detail$args?[]:_event$detail$args;this.actions&&this.actions[action]&&(_this$actions=this.actions)[action].apply(_this$actions,_toConsumableArray(args))}}]),HydrationWrapper}(xEngine.Component);var HydrationData=function HydrationData(_ref){var serialiser=_ref.serialiser;if(serialiser){var data=serialiser.flushHydrationData();return xEngine.h("script",{dangerouslySetInnerHTML:{__html:"window._xDashInteractionHydrationData = ".concat(JSON.stringify(data))}})}return null},Serialiser=function(){function Serialiser(){_classCallCheck(this,Serialiser),this.destroyed=!1,this.data=[]}return _createClass(Serialiser,[{key:"addData",value:function addData(_ref){var id=_ref.id,Component=_ref.Component,props=_ref.props,registeredComponent=function getComponent(Component){var name=Component[xInteractionName];return registeredComponents[name]}(Component);if(!registeredComponent)throw new Error("a Serialiser's addData was called for an unregistered ".concat(getComponentName(Component)," component with id ").concat(id,". ensure you're registering your component before attempting to output the hydration data"));if(this.destroyed)throw new Error("a ".concat(getComponentName(Component)," component was rendered after flushHydrationData was called. ensure you're outputting the hydration data after rendering every component"));this.data.push({id:id,component:getComponentName(Component),props:props})}},{key:"flushHydrationData",value:function flushHydrationData(){if(this.destroyed)throw new Error("a Serialiser's flushHydrationData was called twice. ensure you're not reusing a Serialiser between requests");return this.destroyed=!0,this.data}},{key:"outputHydrationData",value:function outputHydrationData(){return xEngine.render(xEngine.h(HydrationData,{serialiser:this}))}}]),Serialiser}(),_excluded=["id","actionsRef","serialiser"],Interaction="undefined"!=typeof window?InteractionClass:function InteractionSSR(_ref){var initialState=_ref.initialState,Component=_ref.Component,_ref$id=_ref.id,id=void 0===_ref$id?"".concat(getComponentName(Component),"-").concat(shortId()):_ref$id,actions=_ref.actions,serialiser=_ref.serialiser;return serialiser&&serialiser.addData({id:id,Component:Component,props:initialState}),xEngine.h("div",{"data-x-dash-id":id},xEngine.h(InteractionRender,{Component:Component,initialState:initialState,id:id,actions:actions}))},invoke=function invoke(fnOrObj){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return"function"==typeof fnOrObj?fnOrObj.apply(void 0,args):fnOrObj};exports.HydrationData=HydrationData,exports.Serialiser=Serialiser,exports.getComponentName=getComponentName,exports.hydrate=function hydrate(){var additionalProps=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"==typeof window)throw new Error("x-interaction hydrate should only be called in the browser");if(!("_xDashInteractionHydrationData"in window))throw new Error("x-interaction hydrate was called without hydration data available. this can happen if you call hydrate before the serialised data is available, or if you're not including the hydration data with your server-rendered markup.");var serialiserOrdering="make sure you're always outputting the serialiser's data in the same request that the serialiser was created. see https://financial-times.github.io/x-dash/components/x-interaction/#hydrating for more details.";window._xDashInteractionHydrationData.forEach((function(_ref){var id=_ref.id,component=_ref.component,props=_ref.props,wrapper=document.querySelector('[data-x-dash-id="'.concat(id,'"]'));if(!wrapper)throw new Error("component markup for ".concat(id," was not found on the page. It was expected to be an instance of ").concat(component,". it's likely that this hydration data is from another request. ").concat(serialiserOrdering));var Component=function getComponentByName(name){return registeredComponents[name]}(component),additionalComponentProps=additionalProps[component]||{};if(!Component)throw new Error("x-interaction hydrate was called using unregistered component: ".concat(component,". please verify you're registering your component using x-interaction's registerComponent function before attempting to hydrate."));for(;wrapper.firstChild;)wrapper.removeChild(wrapper.firstChild);xEngine.render(xEngine.h(HydrationWrapper,{Component:Component,id:id,wrapper:wrapper,props:_objectSpread2(_objectSpread2({},props),additionalComponentProps)}),wrapper)})),document.querySelectorAll("[data-x-dash-id]").forEach((function(element){var xDashId=element.dataset.xDashId;if(!window._xDashInteractionHydrationData.some((function(_ref2){return _ref2.id===xDashId})))throw new Error("found component markup for ".concat(xDashId," without any hydration data. it's likely that its hydration data has been output in another request, or that the component was rendered after the serialisation data was output. ").concat(serialiserOrdering))}))},exports.registerComponent=function registerComponent(Component,name){if(registeredComponents[name])throw new Error("x-interaction a component has already been registered under that name, please use another name.");if(!Component._wraps)throw new Error("only x-interaction wrapped components (i.e. the component returned from withActions) can be registered");Component[xInteractionName]=name,Component._wraps.Component[xInteractionName]=name,registeredComponents[name]=Component},exports.withActions=function withActions(getActions){var getDefaultState=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(Component){var _wraps={getActions:getActions,getDefaultState:getDefaultState,Component:Component};if(Component._wraps){var wrappedGetActions=Component._wraps.getActions,wrappedGetDefaultState=Component._wraps.getDefaultState;Component=Component._wraps.Component,getActions=function getActions(initialState){return Object.assign(invoke(wrappedGetActions,initialState),invoke(_wraps.getActions,initialState))},getDefaultState=function getDefaultState(initialState){return Object.assign(invoke(wrappedGetDefaultState,initialState),invoke(_wraps.getDefaultState,initialState))}}function Enhanced(_ref){var id=_ref.id,actionsRef=_ref.actionsRef,serialiser=_ref.serialiser,initialState=_objectWithoutProperties(_ref,_excluded),actions=invoke(getActions,initialState),defaultState=invoke(getDefaultState,initialState);return xEngine.h(Interaction,{id:id,Component:Component,initialState:Object.assign({},defaultState,initialState),actionsRef:actionsRef,serialiser:serialiser,actions:actions})}return Enhanced._wraps=_wraps,function wrapComponentName(Component,Enhanced){var originalDisplayName=Component.displayName||Component.name;Enhanced.displayName="withActions(".concat(originalDisplayName,")"),Enhanced.wrappedDisplayName=originalDisplayName}(Component,Enhanced),Enhanced}}},"./components/x-live-blog-post/dist/LiveBlogPost.es5.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),Object.defineProperty(exports,"__esModule",{value:!0});var xEngine=__webpack_require__("./packages/x-engine/src/client.js");function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function TwitterSVG(){return xEngine.h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40"},xEngine.h("path",{d:"M21.647 18.469 28.932 10h-1.726l-6.326 7.353L15.827 10H10l7.64 11.12L10 30h1.726l6.68-7.765L23.744 30h5.827l-7.924-11.531Zm-2.365 2.748-.774-1.107-6.16-8.81H15l4.971 7.11.774 1.107 6.462 9.242h-2.652l-5.273-7.541Z"}))}function FacebookSVG(){return xEngine.h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xEngine.h("path",{d:"M643.9 342h-48.2c-37.8 0-45.1 18-45.1 44.3v58.1h90.1l-11.7 91h-78.4V769h-94V535.5H378v-91h78.6v-67.1c0-77.9 47.6-120.3 117.1-120.3 33.3 0 61.9 2.5 70.2 3.6V342z"}))}function LinkedInSVG(){return xEngine.h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xEngine.h("path",{d:"M264.4 426.2h106.2v341.4H264.4V426.2zm53.2-169.7c-34.1 0-61.6 27.6-61.6 61.5 0 34 27.5 61.5 61.6 61.5 33.9 0 61.5-27.6 61.5-61.5-.1-34-27.6-61.5-61.5-61.5zm323.1 161.2c-51.6 0-86.2 28.3-100.4 55.1h-1.5v-46.7H437.2v341.4h106V598.7c0-44.5 8.4-87.7 63.6-87.7 54.5 0 55.1 50.9 55.1 90.5v166H768V580.3c0-91.9-19.9-162.6-127.3-162.6z"}))}var ShareButtons=function ShareButtons(_ref){var postId=_ref.postId,articleUrl=_ref.articleUrl,title=_ref.title,shareUrl=articleUrl?new URL(articleUrl):null;shareUrl&&(shareUrl.hash="post-".concat(postId));var twitterUrl="https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(shareUrl),"&text=").concat(encodeURIComponent(title),"&via=ft"),facebookUrl="http://www.facebook.com/sharer.php?u=".concat(encodeURIComponent(shareUrl),"&t=").concat(encodeURIComponent(title)),linkedInUrl="http://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURIComponent(shareUrl),"&title=").concat(encodeURIComponent(title),"&source=Financial+Times");return xEngine.h("div",null,xEngine.h("div",{"data-o-component":"o-share","data-o-share-location":"live-blog-post-".concat(postId),className:"o-share o-share--small"},xEngine.h("ul",{"data-toolbar":"share"},xEngine.h("li",{className:"o-share__action","data-share":"twitter"},xEngine.h("a",{className:"o-share__icon o-share__icon--x",rel:"noopener",href:twitterUrl,"data-trackable":"twitter"},xEngine.h("div",{className:"o-share__icon__image"},xEngine.h(TwitterSVG,null)),xEngine.h("span",{className:"o-share__text"},"Share $",title," on X (opens in a new window)"))),xEngine.h("li",{className:"o-share__action","data-share":"facebook"},xEngine.h("a",{className:"o-share__icon o-share__icon--facebook",rel:"noopener",href:facebookUrl,"data-trackable":"facebook"},xEngine.h("div",{className:"o-share__icon__image"},xEngine.h(FacebookSVG,null)),xEngine.h("span",{className:"o-share__text"},"Share $",title," on Facebook (opens in a new window)"))),xEngine.h("li",{className:"o-share__action","data-share":"linkedin"},xEngine.h("a",{className:"o-share__icon o-share__icon--linkedin",rel:"noopener",href:linkedInUrl,"data-trackable":"linkedin"},xEngine.h("div",{className:"o-share__icon__image"},xEngine.h(LinkedInSVG,null)),xEngine.h("span",{className:"o-share__text"},"Share $",title," on LinkedIn (opens in a new window)"))))))},Timestamp=function Timestamp(_ref){var format,showExactTime,publishedTimestamp=_ref.publishedTimestamp,now=new Date,date=new Date(publishedTimestamp),formatted=date.toLocaleString();return now.getTime()-date.getTime()<864e5?(format="time-ago-no-seconds",showExactTime=!0):(format="MMM dd, HH:mm",showExactTime=!1),xEngine.h("div",{className:"x-live-blog-post__timestamp-container"},xEngine.h("time",{"data-o-component":"o-date",className:"o-date x-live-blog-post__timestamp",dateTime:publishedTimestamp,"data-o-date-format":format,itemProp:"datePublished"},xEngine.h("span",{"data-o-date-printer":!0},formatted),showExactTime&&xEngine.h("span",{className:"o-date x-live-blog-post__timestamp-exact-time","data-o-date-printer":!0,"data-o-date-format":"HH:mm",itemProp:"exactTime"})))};function BackToTop(_ref){var backToTop=_ref.backToTop;return backToTop?"string"==typeof backToTop?xEngine.h("a",{href:backToTop.includes("#")?backToTop:"#".concat(backToTop),className:"x-live-blog-post-controls__back-to-top-link"},"Back to top"):"function"==typeof backToTop?xEngine.h("button",{onClick:backToTop,className:"x-live-blog-post-controls__back-to-top-button"},"Back to top"):void 0:null}exports.LiveBlogPost=function LiveBlogPost(_ref2){var postBody,postByline,id=_ref2.id,postId=_ref2.postId,title=_ref2.title,content=_ref2.content,bodyHTML=_ref2.bodyHTML,body=_ref2.body,RichText=_ref2.renderRichText,publishedTimestamp=_ref2.publishedTimestamp,publishedDate=_ref2.publishedDate,isBreakingNews=_ref2.isBreakingNews,_ref2$standout=_ref2.standout,standout=void 0===_ref2$standout?{}:_ref2$standout,articleUrl=_ref2.articleUrl,_ref2$showShareButton=_ref2.showShareButtons,showShareButtons=void 0!==_ref2$showShareButton&&_ref2$showShareButton,byline=_ref2.byline,ad=_ref2.ad,backToTop=_ref2.backToTop,showBreakingNewsLabel=standout.breakingNews||isBreakingNews;return postBody=body&&"structured"in body&&RichText?xEngine.h("div",{className:"x-live-blog-post__body n-content-body article--body"},xEngine.h(RichText,{structuredContent:body.structured})):xEngine.h("div",{className:"x-live-blog-post__body n-content-body article--body",dangerouslySetInnerHTML:{__html:bodyHTML||content}}),byline&&"object"===_typeof(byline)&&"tree"in byline&&RichText?postByline=xEngine.h("p",{className:"x-live-blog-post__byline"},xEngine.h(RichText,{structuredContent:byline})):"string"==typeof byline&&(postByline=xEngine.h("p",{className:"x-live-blog-post__byline"},byline)),xEngine.h("article",{className:"x-live-blog-post","data-trackable":"live-post",id:"post-".concat(id||postId),"data-x-component":"live-blog-post"},xEngine.h("div",{className:"x-live-blog-post__meta"},xEngine.h(Timestamp,{publishedTimestamp:publishedDate||publishedTimestamp})),showBreakingNewsLabel&&xEngine.h("div",{className:"x-live-blog-post__breaking-news"},"Breaking news"),title&&xEngine.h("h2",{className:"x-live-blog-post__title"},title),postByline,postBody,xEngine.h("div",{className:"x-live-blog-post__controls"},showShareButtons&&xEngine.h(ShareButtons,{postId:id||postId,articleUrl:articleUrl,title:title}),xEngine.h(BackToTop,{backToTop:backToTop})),ad)}},"./components/x-live-blog-post/src/LiveBlogPost.scss":function(module,exports,__webpack_require__){var content=__webpack_require__("./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-live-blog-post/src/LiveBlogPost.scss");"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:undefined,insertInto:void 0};__webpack_require__("./node_modules/style-loader/lib/addStyles.js")(content,options);content.locals&&(module.exports=content.locals)},"./components/x-live-blog-post/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ContentBody",(function(){return storybook_ContentBody})),__webpack_require__.d(__webpack_exports__,"ContentBodyWithBackToTopButton",(function(){return storybook_ContentBodyWithBackToTopButton}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./packages/x-engine/src/client.js"),__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js");var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js");function TwitterSVG(){return Object(jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",children:Object(jsx_runtime.jsx)("path",{d:"M21.647 18.469 28.932 10h-1.726l-6.326 7.353L15.827 10H10l7.64 11.12L10 30h1.726l6.68-7.765L23.744 30h5.827l-7.924-11.531Zm-2.365 2.748-.774-1.107-6.16-8.81H15l4.971 7.11.774 1.107 6.462 9.242h-2.652l-5.273-7.541Z"})})}function FacebookSVG(){return Object(jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",children:Object(jsx_runtime.jsx)("path",{d:"M643.9 342h-48.2c-37.8 0-45.1 18-45.1 44.3v58.1h90.1l-11.7 91h-78.4V769h-94V535.5H378v-91h78.6v-67.1c0-77.9 47.6-120.3 117.1-120.3 33.3 0 61.9 2.5 70.2 3.6V342z"})})}function LinkedInSVG(){return Object(jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",children:Object(jsx_runtime.jsx)("path",{d:"M264.4 426.2h106.2v341.4H264.4V426.2zm53.2-169.7c-34.1 0-61.6 27.6-61.6 61.5 0 34 27.5 61.5 61.6 61.5 33.9 0 61.5-27.6 61.5-61.5-.1-34-27.6-61.5-61.5-61.5zm323.1 161.2c-51.6 0-86.2 28.3-100.4 55.1h-1.5v-46.7H437.2v341.4h106V598.7c0-44.5 8.4-87.7 63.6-87.7 54.5 0 55.1 50.9 55.1 90.5v166H768V580.3c0-91.9-19.9-162.6-127.3-162.6z"})})}TwitterSVG.displayName="TwitterSVG",FacebookSVG.displayName="FacebookSVG",LinkedInSVG.displayName="LinkedInSVG",TwitterSVG.__docgenInfo={description:"",methods:[],displayName:"TwitterSVG"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-live-blog-post/src/svgIcons.jsx"]={name:"TwitterSVG",docgenInfo:TwitterSVG.__docgenInfo,path:"components/x-live-blog-post/src/svgIcons.jsx"}),FacebookSVG.__docgenInfo={description:"",methods:[],displayName:"FacebookSVG"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-live-blog-post/src/svgIcons.jsx"]={name:"FacebookSVG",docgenInfo:FacebookSVG.__docgenInfo,path:"components/x-live-blog-post/src/svgIcons.jsx"}),LinkedInSVG.__docgenInfo={description:"",methods:[],displayName:"LinkedInSVG"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-live-blog-post/src/svgIcons.jsx"]={name:"LinkedInSVG",docgenInfo:LinkedInSVG.__docgenInfo,path:"components/x-live-blog-post/src/svgIcons.jsx"});var ShareButtons=function(_ref){var postId=_ref.postId,articleUrl=_ref.articleUrl,title=_ref.title,shareUrl=articleUrl?new URL(articleUrl):null;shareUrl&&(shareUrl.hash="post-"+postId);var twitterUrl="https://twitter.com/intent/tweet?url="+encodeURIComponent(shareUrl)+"&text="+encodeURIComponent(title)+"&via=ft",facebookUrl="http://www.facebook.com/sharer.php?u="+encodeURIComponent(shareUrl)+"&t="+encodeURIComponent(title),linkedInUrl="http://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(shareUrl)+"&title="+encodeURIComponent(title)+"&source=Financial+Times";return Object(jsx_runtime.jsx)("div",{children:Object(jsx_runtime.jsx)("div",{"data-o-component":"o-share","data-o-share-location":"live-blog-post-"+postId,className:"o-share o-share--small",children:Object(jsx_runtime.jsxs)("ul",{"data-toolbar":"share",children:[Object(jsx_runtime.jsx)("li",{className:"o-share__action","data-share":"twitter",children:Object(jsx_runtime.jsxs)("a",{className:"o-share__icon o-share__icon--x",rel:"noopener",href:twitterUrl,"data-trackable":"twitter",children:[Object(jsx_runtime.jsx)("div",{className:"o-share__icon__image",children:Object(jsx_runtime.jsx)(TwitterSVG,{})}),Object(jsx_runtime.jsxs)("span",{className:"o-share__text",children:["Share $",title," on X (opens in a new window)"]})]})}),Object(jsx_runtime.jsx)("li",{className:"o-share__action","data-share":"facebook",children:Object(jsx_runtime.jsxs)("a",{className:"o-share__icon o-share__icon--facebook",rel:"noopener",href:facebookUrl,"data-trackable":"facebook",children:[Object(jsx_runtime.jsx)("div",{className:"o-share__icon__image",children:Object(jsx_runtime.jsx)(FacebookSVG,{})}),Object(jsx_runtime.jsxs)("span",{className:"o-share__text",children:["Share $",title," on Facebook (opens in a new window)"]})]})}),Object(jsx_runtime.jsx)("li",{className:"o-share__action","data-share":"linkedin",children:Object(jsx_runtime.jsxs)("a",{className:"o-share__icon o-share__icon--linkedin",rel:"noopener",href:linkedInUrl,"data-trackable":"linkedin",children:[Object(jsx_runtime.jsx)("div",{className:"o-share__icon__image",children:Object(jsx_runtime.jsx)(LinkedInSVG,{})}),Object(jsx_runtime.jsxs)("span",{className:"o-share__text",children:["Share $",title," on LinkedIn (opens in a new window)"]})]})})]})})})},Timestamp=(__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js"),function(_ref){var format,showExactTime,publishedTimestamp=_ref.publishedTimestamp,now=new Date,date=new Date(publishedTimestamp),formatted=date.toLocaleString();return now.getTime()-date.getTime()<864e5?(format="time-ago-no-seconds",showExactTime=!0):(format="MMM dd, HH:mm",showExactTime=!1),Object(jsx_runtime.jsx)("div",{className:"x-live-blog-post__timestamp-container",children:Object(jsx_runtime.jsxs)("time",{"data-o-component":"o-date",className:"o-date x-live-blog-post__timestamp",dateTime:publishedTimestamp,"data-o-date-format":format,itemProp:"datePublished",children:[Object(jsx_runtime.jsx)("span",{"data-o-date-printer":!0,children:formatted}),showExactTime&&Object(jsx_runtime.jsx)("span",{className:"o-date x-live-blog-post__timestamp-exact-time","data-o-date-printer":!0,"data-o-date-format":"HH:mm",itemProp:"exactTime"})]})})});function BackToTop(_ref){var backToTop=_ref.backToTop;return backToTop?"string"==typeof backToTop?Object(jsx_runtime.jsx)("a",{href:backToTop.includes("#")?backToTop:"#"+backToTop,className:"x-live-blog-post-controls__back-to-top-link",children:"Back to top"}):"function"==typeof backToTop?Object(jsx_runtime.jsx)("button",{onClick:backToTop,className:"x-live-blog-post-controls__back-to-top-button",children:"Back to top"}):void 0:null}var LiveBlogPost_LiveBlogPost=function LiveBlogPost(_ref2){var postBody,postByline,id=_ref2.id,postId=_ref2.postId,title=_ref2.title,content=_ref2.content,bodyHTML=_ref2.bodyHTML,body=_ref2.body,RichText=_ref2.renderRichText,publishedTimestamp=_ref2.publishedTimestamp,publishedDate=_ref2.publishedDate,isBreakingNews=_ref2.isBreakingNews,_ref2$standout=_ref2.standout,standout=void 0===_ref2$standout?{}:_ref2$standout,articleUrl=_ref2.articleUrl,_ref2$showShareButton=_ref2.showShareButtons,showShareButtons=void 0!==_ref2$showShareButton&&_ref2$showShareButton,byline=_ref2.byline,ad=_ref2.ad,backToTop=_ref2.backToTop,showBreakingNewsLabel=standout.breakingNews||isBreakingNews;return postBody=body&&"structured"in body&&RichText?Object(jsx_runtime.jsx)("div",{className:"x-live-blog-post__body n-content-body article--body",children:Object(jsx_runtime.jsx)(RichText,{structuredContent:body.structured})}):Object(jsx_runtime.jsx)("div",{className:"x-live-blog-post__body n-content-body article--body",dangerouslySetInnerHTML:{__html:bodyHTML||content}}),byline&&"object"==typeof byline&&"tree"in byline&&RichText?postByline=Object(jsx_runtime.jsx)("p",{className:"x-live-blog-post__byline",children:Object(jsx_runtime.jsx)(RichText,{structuredContent:byline})}):"string"==typeof byline&&(postByline=Object(jsx_runtime.jsx)("p",{className:"x-live-blog-post__byline",children:byline})),Object(jsx_runtime.jsxs)("article",{className:"x-live-blog-post","data-trackable":"live-post",id:"post-"+(id||postId),"data-x-component":"live-blog-post",children:[Object(jsx_runtime.jsx)("div",{className:"x-live-blog-post__meta",children:Object(jsx_runtime.jsx)(Timestamp,{publishedTimestamp:publishedDate||publishedTimestamp})}),showBreakingNewsLabel&&Object(jsx_runtime.jsx)("div",{className:"x-live-blog-post__breaking-news",children:"Breaking news"}),title&&Object(jsx_runtime.jsx)("h2",{className:"x-live-blog-post__title",children:title}),postByline,postBody,Object(jsx_runtime.jsxs)("div",{className:"x-live-blog-post__controls",children:[showShareButtons&&Object(jsx_runtime.jsx)(ShareButtons,{postId:id||postId,articleUrl:articleUrl,title:title}),Object(jsx_runtime.jsx)(BackToTop,{backToTop:backToTop})]}),ad]})};LiveBlogPost_LiveBlogPost.displayName="LiveBlogPost",LiveBlogPost_LiveBlogPost.__docgenInfo={description:"",methods:[],displayName:"LiveBlogPost",props:{standout:{defaultValue:{value:"{}",computed:!1},required:!1},showShareButtons:{defaultValue:{value:"false",computed:!1},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-live-blog-post/src/LiveBlogPost.jsx"]={name:"LiveBlogPost",docgenInfo:LiveBlogPost_LiveBlogPost.__docgenInfo,path:"components/x-live-blog-post/src/LiveBlogPost.jsx"});var build_service=__webpack_require__("./.storybook/build-service.js"),dependencies=(__webpack_require__("./components/x-live-blog-post/src/LiveBlogPost.scss"),{"o-fonts":"^5.3.0","o-share":"^10.0.0"}),storybook_ContentBody=(__webpack_exports__.default={title:"x-live-blog-post",parameters:{escapeHTML:!1}},function ContentBody(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(LiveBlogPost_LiveBlogPost,Object.assign({},args)),Object(jsx_runtime.jsx)(LiveBlogPost_LiveBlogPost,Object.assign({},args))]})});storybook_ContentBody.displayName="ContentBody",storybook_ContentBody.args={title:"Turkey’s virus deaths may be 25% higher than official figure",byline:"George Russell",isBreakingNews:!1,standout:{breakingNews:!1},bodyHTML:'

Turkey’s death toll from coronavirus could be as much as 25 per cent higher than the government’s official tally, adding the country of 83m people to the raft of nations that have struggled to accurately capture the impact of the pandemic.

\n

Ankara has previously rejected suggestions that municipal data from Istanbul, the epicentre of the country’s Covid-19 outbreak, showed that there were more deaths from the disease than reported.

\n

But an analysis of individual death records by the Financial Times raises questions about the Turkish government’s explanation for a spike in all-cause mortality in the city of almost 16m people.

\n

Read the article here

\n

',id:"12345",publishedDate:"2020-05-13T18:52:28.000Z",articleUrl:"https://www.ft.com/content/2b665ec7-a88f-3998-8f39-5371f9c791ed",showShareButtons:!0,backToTop:"#Top"};var storybook_ContentBodyWithBackToTopButton=function ContentBodyWithBackToTopButton(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(LiveBlogPost_LiveBlogPost,Object.assign({},args)),Object(jsx_runtime.jsx)(LiveBlogPost_LiveBlogPost,Object.assign({},args))]})};storybook_ContentBodyWithBackToTopButton.displayName="ContentBodyWithBackToTopButton",storybook_ContentBodyWithBackToTopButton.args={title:"Turkey’s virus deaths may be 25% higher than official figure",byline:"George Russell",isBreakingNews:!1,standout:{breakingNews:!1},bodyHTML:'

Turkey’s death toll from coronavirus could be as much as 25 per cent higher than the government’s official tally, adding the country of 83m people to the raft of nations that have struggled to accurately capture the impact of the pandemic.

\n

Ankara has previously rejected suggestions that municipal data from Istanbul, the epicentre of the country’s Covid-19 outbreak, showed that there were more deaths from the disease than reported.

\n

But an analysis of individual death records by the Financial Times raises questions about the Turkish government’s explanation for a spike in all-cause mortality in the city of almost 16m people.

\n

Read the article here

\n

',id:"12345",publishedDate:"2020-05-13T18:52:28.000Z",articleUrl:"https://www.ft.com/content/2b665ec7-a88f-3998-8f39-5371f9c791ed",showShareButtons:!0,backToTop:function backToTop(){}},storybook_ContentBody.__docgenInfo={description:"",methods:[],displayName:"ContentBody"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-live-blog-post/storybook/index.jsx"]={name:"ContentBody",docgenInfo:storybook_ContentBody.__docgenInfo,path:"components/x-live-blog-post/storybook/index.jsx"}),storybook_ContentBodyWithBackToTopButton.__docgenInfo={description:"",methods:[],displayName:"ContentBodyWithBackToTopButton"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-live-blog-post/storybook/index.jsx"]={name:"ContentBodyWithBackToTopButton",docgenInfo:storybook_ContentBodyWithBackToTopButton.__docgenInfo,path:"components/x-live-blog-post/storybook/index.jsx"})},"./components/x-live-blog-wrapper/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ContentBody",(function(){return storybook_ContentBody}));__webpack_require__("./node_modules/core-js/modules/es.string.small.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find.js"),__webpack_require__("./node_modules/core-js/modules/es.array.sort.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.set-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js");var client=__webpack_require__("./packages/x-engine/src/client.js"),LiveBlogPost_es5=__webpack_require__("./components/x-live-blog-post/dist/LiveBlogPost.es5.js"),Interaction_es5=__webpack_require__("./components/x-interaction/dist/Interaction.es5.js");__webpack_require__("./node_modules/core-js/modules/web.timers.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.is-array.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-iso-string.js");function _defineProperties(target,props){for(var i=0;i0&&this.visibleElements.forEach((function(element){if(element.dataset.visibilityData){var visibilityData=JSON.parse(element.dataset.visibilityData);if(Array.isArray(visibilityData)){var data={type:DATA_TYPES_tabVisibilityDATA,hidden:document.hidden,timestamp:timestamp,time:event.timeStamp};visibilityData.push(data),element.dataset.visibilityData=JSON.stringify(visibilityData)}}}))}},{key:"observeElements",value:function observeElements(query){var _this3=this,elements=this.wrapperElement.querySelectorAll(query);query&&elements.length?elements.forEach((function(element){_this3.isElementBeingObserved(element)||(_this3.observer.observe(element),_this3.currentlyObservedElements.add(element))})):this.triggerError(new Error("No DOM elements found with the query passed in PostTrackerConfig"))}},{key:"observeNewElements",value:function observeNewElements(){this.observeElements(this.config.query)}},{key:"stopObservation",value:function stopObservation(){this.observer&&this.config.query&&this.wrapperElement&&this.observer.disconnect()}},{key:"destroy",value:function destroy(){this.runFinalReadReport(),this.stopObservation(),this.currentlyObservedElements=new Set,this.visibleElements=new Set}},{key:"reportOnEntersViewport",value:function reportOnEntersViewport(entry){if(entry.isIntersecting&&!entry.target.dataset.seen){var element=entry.target;element.dataset.seen=!0;var eventData={timestamp:(new Date).toISOString()};this.config.returnVisibleElement&&(eventData=Object.assign({},eventData,{element:element})),this.onEntersViewport(eventData)}}},{key:"summariseAndReport",value:function summariseAndReport(entry){entry.intersectionRatio>0&&this.summariseAndStoreViewData(entry),entry.isIntersecting||this.reportRead(entry.target),this.updateVisibleElements(entry)}},{key:"summariseAndStoreViewData",value:function summariseAndStoreViewData(entry){var element=entry.target,data={type:DATA_TYPES_intersectionData,threshold:entry.intersectionRatio,xBound:entry.intersectionRect.x,yBound:entry.intersectionRect.y,visibleHeight:entry.intersectionRect.height,visibleWidth:entry.intersectionRect.width,elementHeight:element.clientHeight,elementWidth:element.clientWidth,start:new Date,time:entry.time,viewport:{height:window.innerHeight,width:window.innerWidth}};if(element.dataset.visibilityData){var currentData=JSON.parse(element.dataset.visibilityData);currentData.push(data),element.dataset.visibilityData=JSON.stringify(currentData)}else element.dataset.visibilityData=JSON.stringify([data])}},{key:"reportRead",value:function reportRead(element){var summary=element.dataset.visibilityData;if(summary){summary=JSON.parse(summary);var viewData=Object.assign({},this.processTime(summary),{element:this.config.returnVisibleElement?element:null,post:{height:element.clientHeight,width:element.clientWidth},viewport:{height:window.innerHeight,width:window.innerWidth}});viewData.duration>=this.config.minMillisecondsToReport&&this.onRead(viewData)}delete element.dataset.visibilityData}},{key:"updateVisibleElements",value:function updateVisibleElements(entry){entry.isIntersecting&&!this.visibleElements.has(entry.target)?this.visibleElements.add(entry.target):this.visibleElements.has(entry.target)&&this.visibleElements.delete(entry.target)}},{key:"processTime",value:function processTime(summary){for(var end,aggregatedSummary=[],totalTime=0,start=summary[0].start,i=0;itimestampB?-1:timestampB>timestampA?1:0}));var postElements=posts.map((function(post,index){return Object(jsx_runtime.jsx)(LiveBlogPost_es5.LiveBlogPost,Object.assign({},post,{articleUrl:articleUrl,showShareButtons:showShareButtons,ad:ads[index],renderRichText:_this.props.renderRichText,backToTop:_this.props.backToTop}),"live-blog-post-"+post.id)}));return Object(jsx_runtime.jsx)("div",{className:"x-live-blog-wrapper","data-live-blog-wrapper-id":id,ref:liveBlogWrapperElementRef,children:postElements})}}]),BaseLiveBlogWrapper}(client.Component),LiveBlogWrapper=withLiveBlogWrapperActions(LiveBlogWrapper_BaseLiveBlogWrapper);Object(Interaction_es5.registerComponent)(LiveBlogWrapper,"LiveBlogWrapper"),LiveBlogWrapper_BaseLiveBlogWrapper.__docgenInfo={description:"",methods:[{name:"setUp",docblock:null,modifiers:[],params:[],returns:null},{name:"setUpPostTracking",docblock:"@param {Object} callbacks - Callbacks to be called by PostTracker class\n@param {Function} callbacks.onEntersViewport - function to be called when the criteria for `view` in Post tracker has been fulfiled\n@param {Function} callbacks.onRead - function to be called when the criteria for `read` in Post tracker has been fulfiled\n@param {Function} callbacks.onError - function to be called when PostTracker encounters an error\n@param {string} id\n@returns {PostTracker}",modifiers:[],params:[{name:"callbacks",description:"Callbacks to be called by PostTracker class",type:{name:"Object"},optional:!1},{name:"id",description:null,type:{name:"string"},optional:!1}],returns:{description:null,type:{name:"PostTracker"}},description:null}],displayName:"BaseLiveBlogWrapper"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-live-blog-wrapper/src/LiveBlogWrapper.jsx"]={name:"BaseLiveBlogWrapper",docgenInfo:LiveBlogWrapper_BaseLiveBlogWrapper.__docgenInfo,path:"components/x-live-blog-wrapper/src/LiveBlogWrapper.jsx"});__webpack_require__("./components/x-live-blog-post/src/LiveBlogPost.scss");var build_service=__webpack_require__("./.storybook/build-service.js"),dependencies={"o-fonts":"^5.3.0"},storybook_Ad=function Ad(props){var slotName=props.slotName,targeting=props.targeting,_props$defaultFormat=props.defaultFormat,defaultFormat=void 0===_props$defaultFormat?"false":_props$defaultFormat,_props$small=props.small,small=void 0===_props$small?"false":_props$small,_props$medium=props.medium,medium=void 0===_props$medium?"false":_props$medium,_props$large=props.large,large=void 0===_props$large?"false":_props$large,_props$extra=props.extra,extra=void 0===_props$extra?"false":_props$extra,_props$alignment=props.alignment,classes="o-ads o-ads--"+(void 0===_props$alignment?"center":_props$alignment)+" o-ads--transition";return Object(jsx_runtime.jsx)("div",{"data-o-ads-name":slotName,"data-o-ads-targeting":targeting,"data-o-ads-formats-default":defaultFormat,"data-o-ads-formats-small":small,"data-o-ads-formats-medium":medium,"data-o-ads-formats-large":large,"data-o-ads-formats-extra":extra,"data-o-ads-label":"true","aria-hidden":"true",tabIndex:"-1",className:classes})};storybook_Ad.displayName="Ad";var defaultProps={message:"Test",id:"live-blog-wrapper",postTrackerConfig:{onEntersViewport:function onEntersViewport(){},onRead:function onRead(){},onError:function onError(){},usePostTracker:!0},posts:[{id:12345,title:"Title 1",bodyHTML:"

Post 1

",isBreakingNews:!1,publishedDate:"2020-05-13T18:52:28.000Z",articleUrl:"https://www.ft.com/content/2b665ec7-a88f-3998-8f39-5371f9c791ed",showShareButtons:!0},{id:12346,title:"Title 2",bodyHTML:"

Post 2

",isBreakingNews:!0,publishedDate:"2020-05-13T19:52:28.000Z",articleUrl:"https://www.ft.com/content/2b665ec7-a88f-3998-8f39-5371f9c791ed",showShareButtons:!0},{id:12347,title:"Title 3",bodyHTML:"

Post 3

",isBreakingNews:!1,publishedDate:"2020-05-13T20:52:28.000Z",articleUrl:"https://www.ft.com/content/2b665ec7-a88f-3998-8f39-5371f9c791ed",showShareButtons:!0},{id:12348,title:"Title 4",bodyHTML:"

Post 4

",isBreakingNews:!1,publishedDate:"2020-05-13T20:52:28.000Z",articleUrl:"https://www.ft.com/content/2b665ec7-a88f-3998-8f39-5371f9c791ed",showShareButtons:!0},{id:12349,title:"Title 5",bodyHTML:"

Post 5

",isBreakingNews:!1,publishedDate:"2020-05-13T20:52:28.000Z",articleUrl:"https://www.ft.com/content/2b665ec7-a88f-3998-8f39-5371f9c791ed",showShareButtons:!0}],ads:{1:Object(jsx_runtime.jsx)(storybook_Ad,{}),2:Object(jsx_runtime.jsx)(storybook_Ad,{})}},storybook_ContentBody=(__webpack_exports__.default={title:"x-live-blog-wrapper",parameters:{escapeHTML:!1}},function ContentBody(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(LiveBlogWrapper,Object.assign({},args))]})});storybook_ContentBody.displayName="ContentBody",storybook_ContentBody.args=defaultProps,storybook_ContentBody.__docgenInfo={description:"",methods:[],displayName:"ContentBody"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-live-blog-wrapper/storybook/index.jsx"]={name:"ContentBody",docgenInfo:storybook_ContentBody.__docgenInfo,path:"components/x-live-blog-wrapper/storybook/index.jsx"})},"./components/x-privacy-manager/src/privacy-manager.scss":function(module,exports,__webpack_require__){var content=__webpack_require__("./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-privacy-manager/src/privacy-manager.scss");"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:undefined,insertInto:void 0};__webpack_require__("./node_modules/style-loader/lib/addStyles.js")(content,options);content.locals&&(module.exports=content.locals)},"./components/x-privacy-manager/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"LegislationCCPA",(function(){return legislation_ccpa_LegislationCCPA})),__webpack_require__.d(__webpack_exports__,"LegislationGDPR",(function(){return legislation_gdpr_LegislationGDPR})),__webpack_require__.d(__webpack_exports__,"ConsentIndeterminate",(function(){return consent_indeterminate_ConsentIndeterminate})),__webpack_require__.d(__webpack_exports__,"ConsentAccepted",(function(){return consent_accepted_ConsentAccepted})),__webpack_require__.d(__webpack_exports__,"ConsentBlocked",(function(){return consent_blocked_ConsentBlocked})),__webpack_require__.d(__webpack_exports__,"SaveFailed",(function(){return save_failed_SaveFailed}));__webpack_require__("./components/x-privacy-manager/src/privacy-manager.scss"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js");var build_service=__webpack_require__("./.storybook/build-service.js"),jsx_runtime=(__webpack_require__("./packages/x-engine/src/client.js"),__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/react/jsx-runtime.js"));function renderRedirectLink(url){var href,pathname;try{href=(url=new URL(decodeURIComponent(url))).href,pathname=url.pathname}catch(error){href="/",pathname="/"}var label="/"===pathname?"Return to homepage":"Return to the previous page";return Object(jsx_runtime.jsx)("a",{href:href,"data-component":"redirect-link",className:"o-message__actions__secondary",children:label})}renderRedirectLink.displayName="renderRedirectLink";var messages_Message=function Message(_ref){var className=_ref.className,children=_ref.children;return Object(jsx_runtime.jsx)("div",{className:className,"data-o-component":"o-message",children:Object(jsx_runtime.jsx)("div",{className:"o-message__container",children:Object(jsx_runtime.jsx)("div",{className:"o-message__content ",children:Object(jsx_runtime.jsx)("div",{className:"o-message__content-main",children:children})})})})};function ResponseMessage(_ref2){var success=_ref2.success,redirectUrl=_ref2.redirectUrl,status={true:{cls:"o-message--success",msg:"Your settings have been saved on this device. Please apply your preferences to all of the devices you use to access our Sites."},false:{cls:"o-message--error",msg:"Your settings could not be saved. Please try again later."}}[success];return Object(jsx_runtime.jsxs)(messages_Message,{className:"o-message o-message--alert "+status.cls,children:[status.msg," ",renderRedirectLink(redirectUrl)]})}messages_Message.displayName="Message",ResponseMessage.displayName="ResponseMessage";var messages_LoadingMessage=function LoadingMessage(){return Object(jsx_runtime.jsxs)(messages_Message,{className:"o-message o-message--neutral",children:[Object(jsx_runtime.jsx)("div",{className:"o-loading o-loading--dark o-loading--small x-privacy-manager__spinner"}),Object(jsx_runtime.jsx)("span",{className:"x-privacy-manager__loading",children:"Loading..."})]})};function renderMessage(isLoading,response,redirectUrl){return isLoading?Object(jsx_runtime.jsx)(messages_LoadingMessage,{}):response?Object(jsx_runtime.jsx)(ResponseMessage,{success:response.ok,redirectUrl:redirectUrl}):null}function renderLoggedOutWarning(userId,loginUrl){if(userId)return null;var cta=loginUrl?Object(jsx_runtime.jsx)("a",{href:loginUrl,children:"sign into your account"}):"sign into your account";return Object(jsx_runtime.jsxs)("p",{className:"x-privacy-manager__consent-copy","data-component":"login-cta",children:["Please ",cta," before submitting your preferences to ensure these changes are applied across all of your devices"]})}messages_LoadingMessage.displayName="LoadingMessage",renderLoggedOutWarning.displayName="renderLoggedOutWarning",ResponseMessage.__docgenInfo={description:"@param {{\n success: boolean\n redirectUrl: string\n}} props",methods:[],displayName:"ResponseMessage"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-privacy-manager/src/components/messages.jsx"]={name:"ResponseMessage",docgenInfo:ResponseMessage.__docgenInfo,path:"components/x-privacy-manager/src/components/messages.jsx"}),messages_LoadingMessage.__docgenInfo={description:"",methods:[],displayName:"LoadingMessage"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-privacy-manager/src/components/messages.jsx"]={name:"LoadingMessage",docgenInfo:messages_LoadingMessage.__docgenInfo,path:"components/x-privacy-manager/src/components/messages.jsx"}),renderMessage.__docgenInfo={description:"@param {boolean} isLoading\n@param {XPrivacyManager._Response} response\n@param {string} redirectUrl",methods:[],displayName:"renderMessage"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-privacy-manager/src/components/messages.jsx"]={name:"renderMessage",docgenInfo:renderMessage.__docgenInfo,path:"components/x-privacy-manager/src/components/messages.jsx"}),renderLoggedOutWarning.__docgenInfo={description:"Display a warning to users\n@param {string} [userId]",methods:[],displayName:"renderLoggedOutWarning"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-privacy-manager/src/components/messages.jsx"]={name:"renderLoggedOutWarning",docgenInfo:renderLoggedOutWarning.__docgenInfo,path:"components/x-privacy-manager/src/components/messages.jsx"});var form_Form=function Form(_ref){var consent=_ref.consent,consentApiUrl=_ref.consentApiUrl,sendConsent=_ref.sendConsent,trackingKeys=_ref.trackingKeys,buttonText=_ref.buttonText,children=_ref.children,btnTrackingId=trackingKeys[consent?"consent-allow":"consent-block"],isDisabled=void 0===consent;return Object(jsx_runtime.jsxs)("form",{className:"x-privacy-manager-form",action:consentApiUrl,onSubmit:function onSubmit(event){return event&&event.preventDefault(),sendConsent()},children:[Object(jsx_runtime.jsx)("div",{className:"x-privacy-manager-form__controls",children:children}),Object(jsx_runtime.jsx)("button",{className:"x-privacy-manager-form__submit",type:"submit","data-trackable":btnTrackingId,disabled:isDisabled,children:buttonText.submit.label})]})};form_Form.displayName="Form",form_Form.__docgenInfo={description:"@param {XPrivacyManager.FormProps} args",methods:[],displayName:"Form"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-privacy-manager/src/components/form.jsx"]={name:"Form",docgenInfo:form_Form.__docgenInfo,path:"components/x-privacy-manager/src/components/form.jsx"});__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js");function RadioBtn(_ref){var name=_ref.name,type=_ref.type,checked=_ref.checked,trackingKeys=_ref.trackingKeys,buttonText=_ref.buttonText,_onChange=_ref.onChange,value="allow"===type,id=name+"-"+value,trackingId=trackingKeys["advertising-toggle-"+type];return Object(jsx_runtime.jsxs)("div",{className:"x-privacy-manager-radio-button",children:[Object(jsx_runtime.jsx)("input",{className:"x-privacy-manager-radio-button__input",id:id,type:"radio",name:name,value:value.toString(),checked:checked,"data-trackable":trackingId,onChange:function onChange(){return _onChange(value)}}),Object(jsx_runtime.jsxs)("label",{htmlFor:id,className:"x-privacy-manager-label",children:[Object(jsx_runtime.jsxs)("span",{className:"x-privacy-manager-label__text",children:[Object(jsx_runtime.jsx)("strong",{children:buttonText[type].label}),Object(jsx_runtime.jsx)("span",{children:buttonText[type].text})]}),Object(jsx_runtime.jsxs)("svg",{className:"x-privacy-manager-label__icon",viewBox:"0 0 36 36","aria-hidden":"true",focusable:"false",children:[Object(jsx_runtime.jsx)("circle",{className:"x-privacy-manager-label__icon-outer",cx:"18",cy:"18",r:"16"}),Object(jsx_runtime.jsx)("circle",{className:"x-privacy-manager-label__icon-inner",cx:"18",cy:"18",r:"8"})]})]})]})}RadioBtn.displayName="RadioBtn",RadioBtn.__docgenInfo={description:'@param {{\n name: string,\n type: "allow" | "block",\n checked: boolean,\n trackingKeys: XPrivacyManager.TrackingKeys,\n onChange: (value: boolean) => void,\n}} args\n\n@returns {JSX.Element}',methods:[],displayName:"RadioBtn"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-privacy-manager/src/components/radio-btn.jsx"]={name:"RadioBtn",docgenInfo:RadioBtn.__docgenInfo,path:"components/x-privacy-manager/src/components/radio-btn.jsx"});__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.is-array.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.async-iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.math.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.json.to-string-tag.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.set-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.array.reverse.js");var Interaction_es5=__webpack_require__("./components/x-interaction/dist/Interaction.es5.js");function _regeneratorRuntime(){_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},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 err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},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 err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function utils_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&(consentProxyApiHost=consentProxyApiHost.replace(".ft.com",cookieDomain));var endpointDefault=consentProxyApiHost+"/__consent/consent-record-cookie";if(userId&&!cookiesOnly){var endpointCore=consentProxyApiHost+"/__consent/consent-record/FTPINK/"+userId;return{core:endpointCore,enhanced:consentProxyApiHost+"/__consent/consent/FTPINK/"+userId,createOrUpdateRecord:endpointCore}}return{core:endpointDefault,enhanced:endpointDefault,createOrUpdateRecord:endpointDefault}}({userId:userId,consentProxyApiHost:consentProxyApiHost,cookiesOnly:cookiesOnly,cookieDomain:cookieDomain}),consentApiUrl=consentProxyEndpoints.createOrUpdateRecord,trackingKeys=function getTrackingKeys(legislationId){var _step,dict={},_iterator=utils_createForOfIteratorHelper(utils_trackingKeys);try{for(_iterator.s();!(_step=_iterator.n()).done;){var key=_step.value;dict[key]=legislationId+"-"+key}}catch(err){_iterator.e(err)}finally{_iterator.f()}return dict}(legislationId),_sendConsent=actions.sendConsent,onConsentChange=actions.onConsentChange,radioBtnProps=function radioBtnProps(type,checked){return{name:"consent",type:type,checked:checked,trackingKeys:trackingKeys,buttonText:buttonText,onChange:onConsentChange}},formProps={consent:consent,consentApiUrl:consentApiUrl,trackingKeys:trackingKeys,buttonText:buttonText,sendConsent:function sendConsent(){return _sendConsent({setConsentCookie:"gdpr"===legislationId,consentApiUrl:consentApiUrl,onConsentSavedCallbacks:onConsentSavedCallbacks,consentSource:consentSource,cookieDomain:cookieDomain,fow:fow})}};return Object(jsx_runtime.jsxs)("div",{className:"x-privacy-manager","data-component":"x-privacy-manager",children:[renderLoggedOutWarning(userId,loginUrl),Object(jsx_runtime.jsxs)(form_Form,Object.assign({},formProps,{children:[Object(jsx_runtime.jsx)(RadioBtn,Object.assign({},radioBtnProps("allow",!0===consent))),Object(jsx_runtime.jsx)(RadioBtn,Object.assign({},radioBtnProps("block",!1===consent),{type:"block",checked:!1===consent}))]})),Object(jsx_runtime.jsx)("div",{className:"x-privacy-manager__messages","aria-live":"polite",children:renderMessage(isLoading,_response,redirectUrl)})]})}BasePrivacyManager.displayName="BasePrivacyManager";var PrivacyManager=withCustomActions(BasePrivacyManager);BasePrivacyManager.__docgenInfo={description:"@param {XPrivacyManager.BasePrivacyManagerProps} Props",methods:[],displayName:"BasePrivacyManager",props:{onConsentSavedCallbacks:{defaultValue:{value:"[]",computed:!1},required:!1},buttonText:{defaultValue:{value:"{}",computed:!1},required:!1},_response:{defaultValue:{value:"undefined",computed:!0},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-privacy-manager/src/privacy-manager.jsx"]={name:"BasePrivacyManager",docgenInfo:BasePrivacyManager.__docgenInfo,path:"components/x-privacy-manager/src/privacy-manager.jsx"});var dependencies={"o-fonts":"^5.3.0"};function StoryContainer(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)("div",{style:{maxWidth:740,margin:"auto"},children:Object(jsx_runtime.jsx)(PrivacyManager,Object.assign({},args))})]})}StoryContainer.displayName="StoryContainer",StoryContainer.__docgenInfo={description:'@param {import("../typings/x-privacy-manager").PrivacyManagerProps} args',methods:[],displayName:"StoryContainer"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-privacy-manager/storybook/story-container.jsx"]={name:"StoryContainer",docgenInfo:StoryContainer.__docgenInfo,path:"components/x-privacy-manager/storybook/story-container.jsx"});var es5_client=__webpack_require__("./node_modules/fetch-mock/es5/client.js"),es5_client_default=__webpack_require__.n(es5_client),redirectUrls={"FT.com":"https://www.ft.com","FT.com: article":"https://www.ft.com/content/6d2655e2-7c7d-4bbc-91af-035b1a074fb1",Specialist:"https://www.exec-appointments.com","Specialist: article":"https://www.exec-appointments.com/job/1632533/director-loans-and-social-development-directorate/?LinkSource=PremiumListing",Empty:"",None:void 0},defaultArgs={userId:"fakeUserId",legislationId:"ccpa",redirectUrl:redirectUrls["FT.com"],loginUrl:"https://www.ft.com/login?location=/",fow:{id:"privacyCCPA",version:"H0IeyQBalorD.6nTqqzhNTKECSgOPJCG"},consent:!0,consentSource:"next-control-centre",consentProxyApiHost:"https://mock-consent.ft.com",buttonText:{allow:{label:"Allow",text:"See personalised adverts"},block:{label:"Block",text:"Opt out of personalised adverts"},submit:{label:"Save"}}},defaultArgTypes={userId:{name:"Authentication",control:{type:"select",options:{loggedIn:defaultArgs.userId,loggedOut:void 0}}},legislationId:{control:{type:"select",options:["gdpr","ccpa"]}},redirectUrl:{control:{type:"select",options:redirectUrls}},consent:{control:{type:"boolean"},name:"consent"},fow:{table:{disable:!0}},consentSource:{table:{disable:!0}},consentProxyApiHost:{table:{disable:!0}},buttonText:{table:{disable:!0}}},data_getFetchMock=function getFetchMock(){var status=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};es5_client_default.a.reset(),es5_client_default.a.mock("https://mock-consent.ft.com/__consent/consent-record/FTPINK/fakeUserId",status,Object.assign({delay:1e3},options))},legislation_ccpa_LegislationCCPA=function LegislationCCPA(args){return data_getFetchMock(200),StoryContainer(args)};legislation_ccpa_LegislationCCPA.storyName="Legislation: CCPA",legislation_ccpa_LegislationCCPA.args=defaultArgs,legislation_ccpa_LegislationCCPA.argTypes=defaultArgTypes;var legislation_gdpr_args=Object.assign({},defaultArgs,{legislationId:"gdpr",consent:void 0,buttonText:{allow:{label:"Allow",text:"See personalised advertising and allow measurement of advertising effectiveness"},block:{label:"Block",text:"Block personalised advertising and measurement of advertising effectiveness"}}}),legislation_gdpr_LegislationGDPR=function LegislationGDPR(args){return data_getFetchMock(200),StoryContainer(args)};legislation_gdpr_LegislationGDPR.storyName="Legislation: GDPR",legislation_gdpr_LegislationGDPR.args=legislation_gdpr_args,legislation_gdpr_LegislationGDPR.argTypes=defaultArgTypes;var consent_indeterminate_ConsentIndeterminate=function ConsentIndeterminate(args){return data_getFetchMock(200),StoryContainer(args)};consent_indeterminate_ConsentIndeterminate.storyName="Consent: indeterminate",consent_indeterminate_ConsentIndeterminate.args=Object.assign({},defaultArgs,{consent:void 0}),consent_indeterminate_ConsentIndeterminate.argTypes=defaultArgTypes;var consent_accepted_ConsentAccepted=function ConsentAccepted(args){return data_getFetchMock(200),StoryContainer(args)};consent_accepted_ConsentAccepted.storyName="Consent: accepted",consent_accepted_ConsentAccepted.args=Object.assign({},defaultArgs,{consent:!0}),consent_accepted_ConsentAccepted.argTypes=defaultArgTypes;var consent_blocked_ConsentBlocked=function ConsentBlocked(args){return data_getFetchMock(200),StoryContainer(args)};consent_blocked_ConsentBlocked.storyName="Consent: blocked",consent_blocked_ConsentBlocked.args=Object.assign({},defaultArgs,{consent:!1}),consent_blocked_ConsentBlocked.argTypes=defaultArgTypes;var save_failed_SaveFailed=function SaveFailed(args){return data_getFetchMock(500),StoryContainer(args)};save_failed_SaveFailed.storyName="Save failed",save_failed_SaveFailed.args=defaultArgs,save_failed_SaveFailed.argTypes=defaultArgTypes;__webpack_exports__.default={title:"x-privacy-manager"}},"./components/x-styling-demo/src/Button.css":function(module,exports,__webpack_require__){var api=__webpack_require__("./node_modules/@storybook/builder-webpack4/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),content=__webpack_require__("./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/dist/cjs.js?!./components/x-styling-demo/src/Button.css");"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},"./components/x-styling-demo/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Styling",(function(){return storybook_Styling}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./packages/x-engine/src/client.js");var classnames=__webpack_require__("./node_modules/classnames/index.js"),classnames_default=__webpack_require__.n(classnames),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),Button_Button=function Button(_ref){var large=_ref.large,danger=_ref.danger;return Object(jsx_runtime.jsx)("button",{className:classnames_default()("button",{"button--large":large,"button--danger":danger}),children:"Click me!"})};Button_Button.displayName="Button",Button_Button.__docgenInfo={description:"",methods:[],displayName:"Button"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-styling-demo/src/Button.jsx"]={name:"Button",docgenInfo:Button_Button.__docgenInfo,path:"components/x-styling-demo/src/Button.jsx"});__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./components/x-styling-demo/src/Button.css"),__webpack_exports__.default={title:"x-styling-demo"};var storybook_Styling=function Styling(args){return Object(jsx_runtime.jsx)("div",{className:"story-container",children:Object(jsx_runtime.jsx)(Button_Button,Object.assign({},args))})};storybook_Styling.displayName="Styling",storybook_Styling.args={danger:!1,large:!1},storybook_Styling.__docgenInfo={description:"",methods:[],displayName:"Styling"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-styling-demo/storybook/index.jsx"]={name:"Styling",docgenInfo:storybook_Styling.__docgenInfo,path:"components/x-styling-demo/storybook/index.jsx"})},"./components/x-teaser-list/src/TeaserList.scss":function(module,exports,__webpack_require__){var content=__webpack_require__("./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-teaser-list/src/TeaserList.scss");"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:undefined,insertInto:void 0};__webpack_require__("./node_modules/style-loader/lib/addStyles.js")(content,options);content.locals&&(module.exports=content.locals)},"./components/x-teaser-list/storybook/content-items.json":function(module){module.exports=JSON.parse('[{"id":"65867e26-d203-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/65867e26-d203-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/65867e26-d203-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"464cc2f2-395e-4c36-bb29-01727fc95558","predicate":"http://www.ft.com/ontology/classification/isClassifiedBy","prefLabel":"Brexit Briefing","type":"BRAND","url":"https://www.ft.com/brexit-briefing","relativeUrl":"/brexit-briefing"},"metaAltLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"title":"Is December looming as the new Brexit deadline?","standfirst":"As Theresa May prepares to meet EU leaders, the prospect looks increasingly likely","altStandfirst":null,"publishedDate":"2018-10-17T13:00:26.000Z","firstPublishedDate":"2018-10-17T13:00:26.000Z","image":{"url":"http://prod-upp-image-read.ft.com/c8a8d52e-d20a-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"93614586-d1f1-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/93614586-d1f1-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/93614586-d1f1-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"May seeks to overcome deadlock after Brexit setback","standfirst":"UK and EU consider extending transition deal to defuse dispute over Irish border backstop","altStandfirst":null,"publishedDate":"2018-10-17T12:35:36.000Z","firstPublishedDate":"2018-10-17T12:35:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/8ba50178-d216-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"d4e80114-d1ee-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/d4e80114-d1ee-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/d4e80114-d1ee-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"Midsized UK businesses turn sour on Brexit","standfirst":"Quarterly survey shows more companies now believe Brexit will damage their business than help them","altStandfirst":null,"publishedDate":"2018-10-17T12:00:33.000Z","firstPublishedDate":"2018-10-17T12:00:33.000Z","image":{"url":"http://prod-upp-image-read.ft.com/a3695666-d201-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"6582b8ce-d175-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/6582b8ce-d175-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/6582b8ce-d175-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"Barnier open to extending Brexit transition by a year","standfirst":"In return, Theresa May must accept ‘two-tier’ backstop to avoid a hard Irish border","altStandfirst":null,"publishedDate":"2018-10-17T09:06:19.000Z","firstPublishedDate":"2018-10-16T19:45:43.000Z","image":{"url":"http://prod-upp-image-read.ft.com/9be47d9e-d17a-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"7ab52d68-d11a-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/7ab52d68-d11a-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/7ab52d68-d11a-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":true,"isOpinion":true,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":"Inside Business","metaSuffixText":null,"metaLink":{"id":"3f97b34f-8fa3-43fd-8326-d8b0fde2a1f3","predicate":"http://www.ft.com/ontology/annotation/hasAuthor","prefLabel":"Sarah Gordon","type":"PERSON","attributes":[{"key":"headshot","value":"fthead-v1:sarah-gordon"}],"url":"https://www.ft.com/sarah-gordon","relativeUrl":"/sarah-gordon"},"metaAltLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"title":"UK lets down business with lack of Brexit advice","standfirst":"Governments should be more concerned about SMEs: if supply chains falter, so will economic growth","altStandfirst":null,"publishedDate":"2018-10-17T04:01:53.000Z","firstPublishedDate":"2018-10-17T04:01:53.000Z","image":{"url":"http://prod-upp-image-read.ft.com/23529cb0-d140-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":"fthead-v1:sarah-gordon","parentTheme":null},{"id":"868cedae-d18a-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/868cedae-d18a-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/868cedae-d18a-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"243243d9-de4b-4869-909b-fab711125624","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Global trade","type":"TOPIC","url":"https://www.ft.com/global-trade","relativeUrl":"/global-trade","isDisplayTag":true},"metaAltLink":null,"title":"Trump looks to start formal US-UK trade talks","standfirst":"White House makes London a priority ‘as soon as it is ready’ after Brexit","altStandfirst":null,"publishedDate":"2018-10-16T23:31:16.000Z","firstPublishedDate":"2018-10-16T23:31:16.000Z","image":{"url":"http://prod-upp-image-read.ft.com/f08f8340-d1a0-11e8-a9f2-7574db66bcd5","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"c276c8a2-d159-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/c276c8a2-d159-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/c276c8a2-d159-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"fa354fe2-b2e0-483a-9267-cffe6ef9083b","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"House of Commons UK","type":"ORGANISATION","url":"https://www.ft.com/stream/fa354fe2-b2e0-483a-9267-cffe6ef9083b","relativeUrl":"/stream/fa354fe2-b2e0-483a-9267-cffe6ef9083b","isDisplayTag":true},"metaAltLink":null,"title":"Bercow faces mounting calls to resign","standfirst":"Maria Miller says Speaker needs to step down immediately to ‘drive culture change’","altStandfirst":null,"publishedDate":"2018-10-16T18:13:59.000Z","firstPublishedDate":"2018-10-16T17:12:31.000Z","image":{"url":"http://prod-upp-image-read.ft.com/ece474ca-d151-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"a1566658-d12e-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/a1566658-d12e-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/a1566658-d12e-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":true,"isOpinion":true,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":"The FT View","metaSuffixText":null,"metaLink":{"id":"741cc381-76a8-382b-a621-fc8eca53d69f","predicate":"http://www.ft.com/ontology/annotation/hasAuthor","prefLabel":"The editorial board","type":"PERSON","url":"https://www.ft.com/ft-view","relativeUrl":"/ft-view"},"metaAltLink":{"id":"fa354fe2-b2e0-483a-9267-cffe6ef9083b","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"House of Commons UK","type":"ORGANISATION","url":"https://www.ft.com/stream/fa354fe2-b2e0-483a-9267-cffe6ef9083b","relativeUrl":"/stream/fa354fe2-b2e0-483a-9267-cffe6ef9083b","isDisplayTag":true},"title":"A culture shift to clear Westminster’s toxic air","standfirst":"Speaker John Bercow should take responsibility — and go now","altStandfirst":null,"publishedDate":"2018-10-16T17:36:20.000Z","firstPublishedDate":"2018-10-16T17:36:20.000Z","image":{"url":"http://prod-upp-image-read.ft.com/5319de7e-d12f-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"parentTheme":null},{"id":"f9f69a2c-d141-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/f9f69a2c-d141-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/f9f69a2c-d141-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"EU demands UK break Brexit impasse","standfirst":"May tells Eurosceptics acceptable deal is in sight as Barnier says ‘Brits need more time’","altStandfirst":null,"publishedDate":"2018-10-16T17:23:30.000Z","firstPublishedDate":"2018-10-16T13:07:03.000Z","image":{"url":"http://prod-upp-image-read.ft.com/62fd9e46-d14f-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"eb6062c2-d13c-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/eb6062c2-d13c-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/eb6062c2-d13c-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"464cc2f2-395e-4c36-bb29-01727fc95558","predicate":"http://www.ft.com/ontology/classification/isClassifiedBy","prefLabel":"Brexit Briefing","type":"BRAND","url":"https://www.ft.com/brexit-briefing","relativeUrl":"/brexit-briefing"},"metaAltLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"title":"Brexit, Scotland and the threat to constitutional unity","standfirst":"Scottish Tories fear that possible arrangements for Northern Ireland threaten the union itself","altStandfirst":null,"publishedDate":"2018-10-16T13:54:09.000Z","firstPublishedDate":"2018-10-16T13:54:09.000Z","image":{"url":"http://prod-upp-image-read.ft.com/cb11f55e-d140-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"d7472b20-d148-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/d7472b20-d148-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/d7472b20-d148-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"EU’s Tusk to ask UK for ‘concrete proposals’ to end Brexit impasse","altStandfirst":null,"publishedDate":"2018-10-16T13:49:36.000Z","firstPublishedDate":"2018-10-16T13:49:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/383a4ea2-d14a-11e8-a9f2-7574db66bcd5","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"10ee3a20-d13b-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/10ee3a20-d13b-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/10ee3a20-d13b-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"FIGI":"BBG000BWQFY7","id":"1120e446-6695-4e49-91e6-fd1f7698388e","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Wells Fargo","type":"ORGANISATION","url":"https://www.ft.com/stream/1120e446-6695-4e49-91e6-fd1f7698388e","relativeUrl":"/stream/1120e446-6695-4e49-91e6-fd1f7698388e","isDisplayTag":true},"metaAltLink":null,"title":"Wells Fargo applies for licence in France as part of Brexit strategy","altStandfirst":null,"publishedDate":"2018-10-16T12:16:17.000Z","firstPublishedDate":"2018-10-16T12:16:17.000Z","image":{"url":"http://prod-upp-image-read.ft.com/31d2be9e-d13d-11e8-a9f2-7574db66bcd5","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"6bd7f80e-d11d-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/6bd7f80e-d11d-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/6bd7f80e-d11d-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"c4c9204f-8335-42c3-9415-c2c8cd971125","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"UK welfare reform","type":"TOPIC","url":"https://www.ft.com/stream/c4c9204f-8335-42c3-9415-c2c8cd971125","relativeUrl":"/stream/c4c9204f-8335-42c3-9415-c2c8cd971125","isDisplayTag":true},"metaAltLink":null,"title":"Rollout of controversial UK welfare reform faces fresh delay","standfirst":"Universal credit system not expected to be fully operational until December 2023","altStandfirst":null,"publishedDate":"2018-10-16T12:03:13.000Z","firstPublishedDate":"2018-10-16T12:03:13.000Z","image":{"url":"http://prod-upp-image-read.ft.com/d7517de4-d131-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"1969887a-d11e-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/1969887a-d11e-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/1969887a-d11e-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"466a4700-307f-47cc-83f1-c5f97a172232","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Pound Sterling","type":"TOPIC","url":"https://www.ft.com/stream/466a4700-307f-47cc-83f1-c5f97a172232","relativeUrl":"/stream/466a4700-307f-47cc-83f1-c5f97a172232","isDisplayTag":true},"metaAltLink":null,"title":"Pound rallies after upbeat wage growth reading","standfirst":"Analysts remain cautious despite optimistic data","altStandfirst":null,"publishedDate":"2018-10-16T10:46:19.000Z","firstPublishedDate":"2018-10-16T09:18:12.000Z","image":{},"headshot":null,"parentTheme":null},{"id":"dab8bfd2-ce3f-11e8-9fe5-24ad351828ab","url":"https://www.ft.com/content/dab8bfd2-ce3f-11e8-9fe5-24ad351828ab","relativeUrl":"/content/dab8bfd2-ce3f-11e8-9fe5-24ad351828ab","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"9c0f3107-a34f-4319-a6a6-3101ac88b50d","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"UK politics & policy","type":"TOPIC","url":"https://www.ft.com/world/uk/politics","relativeUrl":"/world/uk/politics","isDisplayTag":true},"metaAltLink":null,"title":"Problem gambling shake-up set to be brought forward","standfirst":"Blow for bookmakers as ministers seek to speed up start of fixed-odds betting terminals limits","altStandfirst":null,"publishedDate":"2018-10-16T03:00:59.000Z","firstPublishedDate":"2018-10-16T03:00:59.000Z","image":{"url":"http://prod-upp-image-read.ft.com/a6afae18-d069-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"d5ebbb7e-d07b-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/d5ebbb7e-d07b-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/d5ebbb7e-d07b-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"6b32f2c1-da43-4e19-80b9-8aef4ab640d7","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Technology sector","type":"TOPIC","url":"https://www.ft.com/companies/technology","relativeUrl":"/companies/technology"},"metaAltLink":null,"title":"Crypto exchange Coinbase sets up Brexit contingency","standfirst":"US digital start-up to scale up EU operations with new Dublin branch","altStandfirst":null,"publishedDate":"2018-10-15T23:01:36.000Z","firstPublishedDate":"2018-10-15T23:01:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/9a6adda6-d07a-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"2e407a74-d06a-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/2e407a74-d06a-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/2e407a74-d06a-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"82645c31-4426-4ef5-99c9-9df6e0940c00","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"World","type":"TOPIC","url":"https://www.ft.com/world","relativeUrl":"/world"},"metaAltLink":null,"title":"EU gives UK 24 hour Brexit breathing space","standfirst":"Theresa May says deal achievable but Britain cannot be kept in backstop indefinitely","altStandfirst":null,"publishedDate":"2018-10-15T18:13:59.000Z","firstPublishedDate":"2018-10-15T12:08:01.000Z","image":{"url":"http://prod-upp-image-read.ft.com/ac0fd098-d075-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"434dc8e2-d09f-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/434dc8e2-d09f-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/434dc8e2-d09f-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit"},"metaAltLink":null,"title":"EC’s Tusk warns no-deal Brexit ‘is more likely than ever before’","altStandfirst":null,"publishedDate":"2018-10-15T17:30:48.000Z","firstPublishedDate":"2018-10-15T17:30:48.000Z","image":{},"headshot":null,"parentTheme":null},{"id":"fadfb212-d091-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/fadfb212-d091-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/fadfb212-d091-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit"},"metaAltLink":null,"title":"Barnier plan no solution to Irish border, says Foster","altStandfirst":null,"publishedDate":"2018-10-15T16:06:36.000Z","firstPublishedDate":"2018-10-15T16:06:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/d0cbda02-cbb7-11e8-8d0b-a6539b949662","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"79939f94-c320-11e8-8d55-54197280d3f7","url":"https://www.ft.com/content/79939f94-c320-11e8-8d55-54197280d3f7","relativeUrl":"/content/79939f94-c320-11e8-8d55-54197280d3f7","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":"Explainer","metaSuffixText":null,"metaLink":{"id":"466a4700-307f-47cc-83f1-c5f97a172232","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Pound Sterling","type":"TOPIC","url":"https://www.ft.com/stream/466a4700-307f-47cc-83f1-c5f97a172232","relativeUrl":"/stream/466a4700-307f-47cc-83f1-c5f97a172232"},"metaAltLink":null,"title":"Pound timeline: from the 1970s to Brexit crunch","standfirst":"Sterling has experienced several periods of volatility in the past 48 years","altStandfirst":null,"publishedDate":"2018-10-15T13:44:20.000Z","firstPublishedDate":"2018-10-15T13:44:20.000Z","image":{"url":"http://prod-upp-image-read.ft.com/aea311c6-c32d-11e8-95b1-d36dfef1b89a","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"bfffa642-d079-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/bfffa642-d079-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/bfffa642-d079-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit"},"metaAltLink":null,"title":"Brexit talks could drag into December warns Ireland’s Varadkar","standfirst":"Taoiseach says he always believed a deal this month was unlikely","altStandfirst":null,"publishedDate":"2018-10-15T13:05:06.000Z","firstPublishedDate":"2018-10-15T13:05:06.000Z","image":{"url":"http://prod-upp-image-read.ft.com/f87f782a-d089-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"82ae2756-d073-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/82ae2756-d073-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/82ae2756-d073-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"464cc2f2-395e-4c36-bb29-01727fc95558","predicate":"http://www.ft.com/ontology/classification/isClassifiedBy","prefLabel":"Brexit Briefing","type":"BRAND","url":"https://www.ft.com/brexit-briefing","relativeUrl":"/brexit-briefing"},"metaAltLink":{"id":"d7253b94-b248-4022-af1e-e99c15d0c1b6","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"UK trade","type":"TOPIC","url":"https://www.ft.com/uk-trade","relativeUrl":"/uk-trade"},"title":"Crisis or choreography over Brexit?","standfirst":"While ministers haggle, company bosses press the button on expensive no-deal planning","altStandfirst":null,"publishedDate":"2018-10-15T13:04:49.000Z","firstPublishedDate":"2018-10-15T13:04:49.000Z","image":{"url":"http://prod-upp-image-read.ft.com/31c1c612-d079-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"a8181102-ce1e-11e8-9fe5-24ad351828ab","url":"https://www.ft.com/content/a8181102-ce1e-11e8-9fe5-24ad351828ab","relativeUrl":"/content/a8181102-ce1e-11e8-9fe5-24ad351828ab","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"d1252624-8645-438b-b521-9244aebdc99e","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Industrials","type":"TOPIC","url":"https://www.ft.com/companies/industrials","relativeUrl":"/companies/industrials"},"metaAltLink":null,"title":"UK shipyards to submit bids to build 5 warships","standfirst":"MoD restarts competition despite industry’s concerns over budget and timing","altStandfirst":null,"publishedDate":"2018-10-15T11:02:36.000Z","firstPublishedDate":"2018-10-15T11:02:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/f1191270-ce41-11e8-8d0b-a6539b949662","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"9b3b6d2e-d064-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/9b3b6d2e-d064-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/9b3b6d2e-d064-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit"},"metaAltLink":null,"title":"May to address UK parliament on state of Brexit talks","altStandfirst":null,"publishedDate":"2018-10-15T10:41:21.000Z","firstPublishedDate":"2018-10-15T10:41:21.000Z","image":{"url":"http://prod-upp-image-read.ft.com/c77408fa-d065-11e8-a9f2-7574db66bcd5","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"ed665ed8-cdfd-11e8-9fe5-24ad351828ab","url":"https://www.ft.com/content/ed665ed8-cdfd-11e8-9fe5-24ad351828ab","relativeUrl":"/content/ed665ed8-cdfd-11e8-9fe5-24ad351828ab","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"6cc4c4ed-ef61-4c71-a5bb-f454fb5010a8","predicate":"http://www.ft.com/ontology/classification/isPrimarilyClassifiedBy","prefLabel":"UK business & economy","type":"TOPIC","url":"https://www.ft.com/uk-business-economy","relativeUrl":"/uk-business-economy"},"metaAltLink":null,"title":"Bradford hospital launches AI powered command centre","standfirst":"Collaboration with GE Healthcare to create hub monitoring patients to make better use of resources","altStandfirst":null,"publishedDate":"2018-10-15T10:01:47.000Z","firstPublishedDate":"2018-10-15T10:01:47.000Z","image":{"url":"http://prod-upp-image-read.ft.com/66d87a12-d06f-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"7c6b9fbb-ad93-34c5-b19b-ea79ffc5f426","url":"http://ftalphaville.ft.com/marketslive/2018-10-15/","relativeUrl":"http://ftalphaville.ft.com/marketslive/2018-10-15/","type":"article","indicators":{"isColumn":true,"isOpinion":true,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"registered"},"metaPrefixText":"FT Alphaville","metaSuffixText":null,"metaLink":{"id":"602c702b-31fe-4116-a203-747c7c737eb7","predicate":"http://www.ft.com/ontology/annotation/hasAuthor","prefLabel":"Bryce Elder","type":"PERSON","url":"https://www.ft.com/markets/bryce-elder","relativeUrl":"/markets/bryce-elder"},"metaAltLink":{"id":"c91b1fad-1097-468b-be82-9a8ff717d54c","predicate":"http://www.ft.com/ontology/classification/isPrimarilyClassifiedBy","prefLabel":"Markets","type":"TOPIC","url":"https://www.ft.com/markets","relativeUrl":"/markets"},"title":"Markets Live: Monday, 15th October 2018","altStandfirst":null,"publishedDate":"2018-10-15T10:01:26.000Z","firstPublishedDate":"2018-10-15T10:01:26.000Z","image":{},"parentTheme":null},{"id":"aa9b9bda-d056-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/aa9b9bda-d056-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/aa9b9bda-d056-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"d7253b94-b248-4022-af1e-e99c15d0c1b6","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"UK trade","type":"TOPIC","url":"https://www.ft.com/uk-trade","relativeUrl":"/uk-trade"},"metaAltLink":null,"title":"Irish deputy PM voices ‘frustration’ at Brexit impasse","altStandfirst":null,"publishedDate":"2018-10-15T08:50:32.000Z","firstPublishedDate":"2018-10-15T08:50:32.000Z","image":{},"headshot":null,"parentTheme":null}]')},"./components/x-teaser-list/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"_TeaserList",(function(){return storybook_TeaserList}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./packages/x-engine/src/client.js");var ArticleSaveButton_es5=__webpack_require__("./components/x-article-save-button/dist/ArticleSaveButton.es5.js"),Teaser_es5=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),TeaserList_TeaserList=function TeaserList(_ref){var _ref$items=_ref.items,items=void 0===_ref$items?[]:_ref$items,_ref$showSaveButtons=_ref.showSaveButtons,showSaveButtons=void 0===_ref$showSaveButtons||_ref$showSaveButtons,_ref$csrfToken=_ref.csrfToken,csrfToken=void 0===_ref$csrfToken?null:_ref$csrfToken;return Object(jsx_runtime.jsx)("ul",{className:"x-teaser-list",children:items.map((function(item){return Object(jsx_runtime.jsxs)("li",{className:"x-teaser-list-item",children:[Object(jsx_runtime.jsx)("div",{className:"x-teaser-list-item__article",children:Object(jsx_runtime.jsx)(Teaser_es5.Teaser,Object.assign({},item,Teaser_es5.presets.Small,{theme:"teaser-list"}))}),showSaveButtons&&Object(jsx_runtime.jsx)("div",{className:"x-teaser-list-item__actions",children:Object(jsx_runtime.jsx)(ArticleSaveButton_es5.ArticleSaveButton,{id:item.id+"-save-button",contentId:item.id,contentTitle:item.title,csrfToken:csrfToken,saved:item.saved||!1})})]},item.id)}))})};TeaserList_TeaserList.displayName="TeaserList",TeaserList_TeaserList.__docgenInfo={description:"",methods:[],displayName:"TeaserList",props:{items:{defaultValue:{value:"[]",computed:!1},required:!1},showSaveButtons:{defaultValue:{value:"true",computed:!1},required:!1},csrfToken:{defaultValue:{value:"null",computed:!1},required:!1}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser-list/src/TeaserList.jsx"]={name:"TeaserList",docgenInfo:TeaserList_TeaserList.__docgenInfo,path:"components/x-teaser-list/src/TeaserList.jsx"});var build_service=__webpack_require__("./.storybook/build-service.js"),dependencies=(__webpack_require__("./components/x-teaser-list/src/TeaserList.scss"),{"o-fonts":"^5.3.0","o-teaser":"^6.0.0"}),storybook_TeaserList=(__webpack_exports__.default={title:"x-teaser-list"},function _TeaserList(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(TeaserList_TeaserList,Object.assign({},args))]})});storybook_TeaserList.displayName="_TeaserList",storybook_TeaserList.args={showSaveButtons:!0,csrfToken:"dummy-token",items:__webpack_require__("./components/x-teaser-list/storybook/content-items.json")},storybook_TeaserList.argTypes={showSaveButtons:{name:"Show save buttons"}},storybook_TeaserList.__docgenInfo={description:"",methods:[],displayName:"_TeaserList"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser-list/storybook/index.jsx"]={name:"_TeaserList",docgenInfo:storybook_TeaserList.__docgenInfo,path:"components/x-teaser-list/storybook/index.jsx"})},"./components/x-teaser-timeline/src/TeaserTimeline.scss":function(module,exports,__webpack_require__){var content=__webpack_require__("./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-teaser-timeline/src/TeaserTimeline.scss");"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:undefined,insertInto:void 0};__webpack_require__("./node_modules/style-loader/lib/addStyles.js")(content,options);content.locals&&(module.exports=content.locals)},"./components/x-teaser-timeline/storybook/content-items.json":function(module){module.exports=JSON.parse('[{"id":"65867e26-d203-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/65867e26-d203-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/65867e26-d203-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"464cc2f2-395e-4c36-bb29-01727fc95558","predicate":"http://www.ft.com/ontology/classification/isClassifiedBy","prefLabel":"Brexit Briefing","type":"BRAND","url":"https://www.ft.com/brexit-briefing","relativeUrl":"/brexit-briefing"},"metaAltLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"title":"Is December looming as the new Brexit deadline?","standfirst":"As Theresa May prepares to meet EU leaders, the prospect looks increasingly likely","altStandfirst":null,"publishedDate":"2018-10-17T13:00:26.000Z","firstPublishedDate":"2018-10-17T13:00:26.000Z","image":{"url":"http://prod-upp-image-read.ft.com/c8a8d52e-d20a-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"93614586-d1f1-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/93614586-d1f1-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/93614586-d1f1-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"May seeks to overcome deadlock after Brexit setback","standfirst":"UK and EU consider extending transition deal to defuse dispute over Irish border backstop","altStandfirst":null,"publishedDate":"2018-10-17T12:35:36.000Z","firstPublishedDate":"2018-10-17T12:35:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/8ba50178-d216-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null,"saved":true},{"id":"d4e80114-d1ee-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/d4e80114-d1ee-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/d4e80114-d1ee-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"Midsized UK businesses turn sour on Brexit","standfirst":"Quarterly survey shows more companies now believe Brexit will damage their business than help them","altStandfirst":null,"publishedDate":"2018-10-17T12:00:33.000Z","firstPublishedDate":"2018-10-17T12:00:33.000Z","image":{"url":"http://prod-upp-image-read.ft.com/a3695666-d201-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"6582b8ce-d175-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/6582b8ce-d175-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/6582b8ce-d175-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"Barnier open to extending Brexit transition by a year","standfirst":"In return, Theresa May must accept ‘two-tier’ backstop to avoid a hard Irish border","altStandfirst":null,"publishedDate":"2018-10-17T09:06:19.000Z","firstPublishedDate":"2018-10-16T19:45:43.000Z","image":{"url":"http://prod-upp-image-read.ft.com/9be47d9e-d17a-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"7ab52d68-d11a-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/7ab52d68-d11a-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/7ab52d68-d11a-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":true,"isOpinion":true,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":"Inside Business","metaSuffixText":null,"metaLink":{"id":"3f97b34f-8fa3-43fd-8326-d8b0fde2a1f3","predicate":"http://www.ft.com/ontology/annotation/hasAuthor","prefLabel":"Sarah Gordon","type":"PERSON","attributes":[{"key":"headshot","value":"fthead-v1:sarah-gordon"}],"url":"https://www.ft.com/sarah-gordon","relativeUrl":"/sarah-gordon"},"metaAltLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"title":"UK lets down business with lack of Brexit advice","standfirst":"Governments should be more concerned about SMEs: if supply chains falter, so will economic growth","altStandfirst":null,"publishedDate":"2018-10-17T04:01:53.000Z","firstPublishedDate":"2018-10-17T04:01:53.000Z","image":{"url":"http://prod-upp-image-read.ft.com/23529cb0-d140-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":"fthead-v1:sarah-gordon","parentTheme":null},{"id":"868cedae-d18a-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/868cedae-d18a-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/868cedae-d18a-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"243243d9-de4b-4869-909b-fab711125624","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Global trade","type":"TOPIC","url":"https://www.ft.com/global-trade","relativeUrl":"/global-trade","isDisplayTag":true},"metaAltLink":null,"title":"Trump looks to start formal US-UK trade talks","standfirst":"White House makes London a priority ‘as soon as it is ready’ after Brexit","altStandfirst":null,"publishedDate":"2018-10-16T23:31:16.000Z","firstPublishedDate":"2018-10-16T23:31:16.000Z","image":{"url":"http://prod-upp-image-read.ft.com/f08f8340-d1a0-11e8-a9f2-7574db66bcd5","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"c276c8a2-d159-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/c276c8a2-d159-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/c276c8a2-d159-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"fa354fe2-b2e0-483a-9267-cffe6ef9083b","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"House of Commons UK","type":"ORGANISATION","url":"https://www.ft.com/stream/fa354fe2-b2e0-483a-9267-cffe6ef9083b","relativeUrl":"/stream/fa354fe2-b2e0-483a-9267-cffe6ef9083b","isDisplayTag":true},"metaAltLink":null,"title":"Bercow faces mounting calls to resign","standfirst":"Maria Miller says Speaker needs to step down immediately to ‘drive culture change’","altStandfirst":null,"publishedDate":"2018-10-16T18:13:59.000Z","firstPublishedDate":"2018-10-16T17:12:31.000Z","image":{"url":"http://prod-upp-image-read.ft.com/ece474ca-d151-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"a1566658-d12e-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/a1566658-d12e-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/a1566658-d12e-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":true,"isOpinion":true,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":"The FT View","metaSuffixText":null,"metaLink":{"id":"741cc381-76a8-382b-a621-fc8eca53d69f","predicate":"http://www.ft.com/ontology/annotation/hasAuthor","prefLabel":"The editorial board","type":"PERSON","url":"https://www.ft.com/ft-view","relativeUrl":"/ft-view"},"metaAltLink":{"id":"fa354fe2-b2e0-483a-9267-cffe6ef9083b","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"House of Commons UK","type":"ORGANISATION","url":"https://www.ft.com/stream/fa354fe2-b2e0-483a-9267-cffe6ef9083b","relativeUrl":"/stream/fa354fe2-b2e0-483a-9267-cffe6ef9083b","isDisplayTag":true},"title":"A culture shift to clear Westminster’s toxic air","standfirst":"Speaker John Bercow should take responsibility — and go now","altStandfirst":null,"publishedDate":"2018-10-16T17:36:20.000Z","firstPublishedDate":"2018-10-16T17:36:20.000Z","image":{"url":"http://prod-upp-image-read.ft.com/5319de7e-d12f-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"parentTheme":null},{"id":"f9f69a2c-d141-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/f9f69a2c-d141-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/f9f69a2c-d141-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"EU demands UK break Brexit impasse","standfirst":"May tells Eurosceptics acceptable deal is in sight as Barnier says ‘Brits need more time’","altStandfirst":null,"publishedDate":"2018-10-16T17:23:30.000Z","firstPublishedDate":"2018-10-16T13:07:03.000Z","image":{"url":"http://prod-upp-image-read.ft.com/62fd9e46-d14f-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"eb6062c2-d13c-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/eb6062c2-d13c-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/eb6062c2-d13c-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"464cc2f2-395e-4c36-bb29-01727fc95558","predicate":"http://www.ft.com/ontology/classification/isClassifiedBy","prefLabel":"Brexit Briefing","type":"BRAND","url":"https://www.ft.com/brexit-briefing","relativeUrl":"/brexit-briefing"},"metaAltLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"title":"Brexit, Scotland and the threat to constitutional unity","standfirst":"Scottish Tories fear that possible arrangements for Northern Ireland threaten the union itself","altStandfirst":null,"publishedDate":"2018-10-16T13:54:09.000Z","firstPublishedDate":"2018-10-16T13:54:09.000Z","image":{"url":"http://prod-upp-image-read.ft.com/cb11f55e-d140-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"d7472b20-d148-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/d7472b20-d148-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/d7472b20-d148-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit","isDisplayTag":true},"metaAltLink":null,"title":"EU’s Tusk to ask UK for ‘concrete proposals’ to end Brexit impasse","altStandfirst":null,"publishedDate":"2018-10-16T13:49:36.000Z","firstPublishedDate":"2018-10-16T13:49:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/383a4ea2-d14a-11e8-a9f2-7574db66bcd5","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"10ee3a20-d13b-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/10ee3a20-d13b-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/10ee3a20-d13b-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"FIGI":"BBG000BWQFY7","id":"1120e446-6695-4e49-91e6-fd1f7698388e","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Wells Fargo","type":"ORGANISATION","url":"https://www.ft.com/stream/1120e446-6695-4e49-91e6-fd1f7698388e","relativeUrl":"/stream/1120e446-6695-4e49-91e6-fd1f7698388e","isDisplayTag":true},"metaAltLink":null,"title":"Wells Fargo applies for licence in France as part of Brexit strategy","altStandfirst":null,"publishedDate":"2018-10-16T12:16:17.000Z","firstPublishedDate":"2018-10-16T12:16:17.000Z","image":{"url":"http://prod-upp-image-read.ft.com/31d2be9e-d13d-11e8-a9f2-7574db66bcd5","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"6bd7f80e-d11d-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/6bd7f80e-d11d-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/6bd7f80e-d11d-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"c4c9204f-8335-42c3-9415-c2c8cd971125","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"UK welfare reform","type":"TOPIC","url":"https://www.ft.com/stream/c4c9204f-8335-42c3-9415-c2c8cd971125","relativeUrl":"/stream/c4c9204f-8335-42c3-9415-c2c8cd971125","isDisplayTag":true},"metaAltLink":null,"title":"Rollout of controversial UK welfare reform faces fresh delay","standfirst":"Universal credit system not expected to be fully operational until December 2023","altStandfirst":null,"publishedDate":"2018-10-16T12:03:13.000Z","firstPublishedDate":"2018-10-16T12:03:13.000Z","image":{"url":"http://prod-upp-image-read.ft.com/d7517de4-d131-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"1969887a-d11e-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/1969887a-d11e-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/1969887a-d11e-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"466a4700-307f-47cc-83f1-c5f97a172232","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"Pound Sterling","type":"TOPIC","url":"https://www.ft.com/stream/466a4700-307f-47cc-83f1-c5f97a172232","relativeUrl":"/stream/466a4700-307f-47cc-83f1-c5f97a172232","isDisplayTag":true},"metaAltLink":null,"title":"Pound rallies after upbeat wage growth reading","standfirst":"Analysts remain cautious despite optimistic data","altStandfirst":null,"publishedDate":"2018-10-16T10:46:19.000Z","firstPublishedDate":"2018-10-16T09:18:12.000Z","image":{},"headshot":null,"parentTheme":null},{"id":"dab8bfd2-ce3f-11e8-9fe5-24ad351828ab","url":"https://www.ft.com/content/dab8bfd2-ce3f-11e8-9fe5-24ad351828ab","relativeUrl":"/content/dab8bfd2-ce3f-11e8-9fe5-24ad351828ab","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"9c0f3107-a34f-4319-a6a6-3101ac88b50d","predicate":"http://www.ft.com/ontology/hasDisplayTag","prefLabel":"UK politics & policy","type":"TOPIC","url":"https://www.ft.com/world/uk/politics","relativeUrl":"/world/uk/politics","isDisplayTag":true},"metaAltLink":null,"title":"Problem gambling shake-up set to be brought forward","standfirst":"Blow for bookmakers as ministers seek to speed up start of fixed-odds betting terminals limits","altStandfirst":null,"publishedDate":"2018-10-16T03:00:59.000Z","firstPublishedDate":"2018-10-16T03:00:59.000Z","image":{"url":"http://prod-upp-image-read.ft.com/a6afae18-d069-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"d5ebbb7e-d07b-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/d5ebbb7e-d07b-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/d5ebbb7e-d07b-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"6b32f2c1-da43-4e19-80b9-8aef4ab640d7","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Technology sector","type":"TOPIC","url":"https://www.ft.com/companies/technology","relativeUrl":"/companies/technology"},"metaAltLink":null,"title":"Crypto exchange Coinbase sets up Brexit contingency","standfirst":"US digital start-up to scale up EU operations with new Dublin branch","altStandfirst":null,"publishedDate":"2018-10-15T23:01:36.000Z","firstPublishedDate":"2018-10-15T23:01:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/9a6adda6-d07a-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"2e407a74-d06a-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/2e407a74-d06a-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/2e407a74-d06a-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"82645c31-4426-4ef5-99c9-9df6e0940c00","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"World","type":"TOPIC","url":"https://www.ft.com/world","relativeUrl":"/world"},"metaAltLink":null,"title":"EU gives UK 24 hour Brexit breathing space","standfirst":"Theresa May says deal achievable but Britain cannot be kept in backstop indefinitely","altStandfirst":null,"publishedDate":"2018-10-15T18:13:59.000Z","firstPublishedDate":"2018-10-15T12:08:01.000Z","image":{"url":"http://prod-upp-image-read.ft.com/ac0fd098-d075-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"434dc8e2-d09f-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/434dc8e2-d09f-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/434dc8e2-d09f-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit"},"metaAltLink":null,"title":"EC’s Tusk warns no-deal Brexit ‘is more likely than ever before’","altStandfirst":null,"publishedDate":"2018-10-15T17:30:48.000Z","firstPublishedDate":"2018-10-15T17:30:48.000Z","image":{},"headshot":null,"parentTheme":null},{"id":"fadfb212-d091-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/fadfb212-d091-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/fadfb212-d091-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit"},"metaAltLink":null,"title":"Barnier plan no solution to Irish border, says Foster","altStandfirst":null,"publishedDate":"2018-10-15T16:06:36.000Z","firstPublishedDate":"2018-10-15T16:06:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/d0cbda02-cbb7-11e8-8d0b-a6539b949662","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"79939f94-c320-11e8-8d55-54197280d3f7","url":"https://www.ft.com/content/79939f94-c320-11e8-8d55-54197280d3f7","relativeUrl":"/content/79939f94-c320-11e8-8d55-54197280d3f7","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":"Explainer","metaSuffixText":null,"metaLink":{"id":"466a4700-307f-47cc-83f1-c5f97a172232","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Pound Sterling","type":"TOPIC","url":"https://www.ft.com/stream/466a4700-307f-47cc-83f1-c5f97a172232","relativeUrl":"/stream/466a4700-307f-47cc-83f1-c5f97a172232"},"metaAltLink":null,"title":"Pound timeline: from the 1970s to Brexit crunch","standfirst":"Sterling has experienced several periods of volatility in the past 48 years","altStandfirst":null,"publishedDate":"2018-10-15T13:44:20.000Z","firstPublishedDate":"2018-10-15T13:44:20.000Z","image":{"url":"http://prod-upp-image-read.ft.com/aea311c6-c32d-11e8-95b1-d36dfef1b89a","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"bfffa642-d079-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/bfffa642-d079-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/bfffa642-d079-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit"},"metaAltLink":null,"title":"Brexit talks could drag into December warns Ireland’s Varadkar","standfirst":"Taoiseach says he always believed a deal this month was unlikely","altStandfirst":null,"publishedDate":"2018-10-15T13:05:06.000Z","firstPublishedDate":"2018-10-15T13:05:06.000Z","image":{"url":"http://prod-upp-image-read.ft.com/f87f782a-d089-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"82ae2756-d073-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/82ae2756-d073-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/82ae2756-d073-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"464cc2f2-395e-4c36-bb29-01727fc95558","predicate":"http://www.ft.com/ontology/classification/isClassifiedBy","prefLabel":"Brexit Briefing","type":"BRAND","url":"https://www.ft.com/brexit-briefing","relativeUrl":"/brexit-briefing"},"metaAltLink":{"id":"d7253b94-b248-4022-af1e-e99c15d0c1b6","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"UK trade","type":"TOPIC","url":"https://www.ft.com/uk-trade","relativeUrl":"/uk-trade"},"title":"Crisis or choreography over Brexit?","standfirst":"While ministers haggle, company bosses press the button on expensive no-deal planning","altStandfirst":null,"publishedDate":"2018-10-15T13:04:49.000Z","firstPublishedDate":"2018-10-15T13:04:49.000Z","image":{"url":"http://prod-upp-image-read.ft.com/31c1c612-d079-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"a8181102-ce1e-11e8-9fe5-24ad351828ab","url":"https://www.ft.com/content/a8181102-ce1e-11e8-9fe5-24ad351828ab","relativeUrl":"/content/a8181102-ce1e-11e8-9fe5-24ad351828ab","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"d1252624-8645-438b-b521-9244aebdc99e","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Industrials","type":"TOPIC","url":"https://www.ft.com/companies/industrials","relativeUrl":"/companies/industrials"},"metaAltLink":null,"title":"UK shipyards to submit bids to build 5 warships","standfirst":"MoD restarts competition despite industry’s concerns over budget and timing","altStandfirst":null,"publishedDate":"2018-10-15T11:02:36.000Z","firstPublishedDate":"2018-10-15T11:02:36.000Z","image":{"url":"http://prod-upp-image-read.ft.com/f1191270-ce41-11e8-8d0b-a6539b949662","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"9b3b6d2e-d064-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/9b3b6d2e-d064-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/9b3b6d2e-d064-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"19b95057-4614-45fb-9306-4d54049354db","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"Brexit","type":"TOPIC","url":"https://www.ft.com/brexit","relativeUrl":"/brexit"},"metaAltLink":null,"title":"May to address UK parliament on state of Brexit talks","altStandfirst":null,"publishedDate":"2018-10-15T10:41:21.000Z","firstPublishedDate":"2018-10-15T10:41:21.000Z","image":{"url":"http://prod-upp-image-read.ft.com/c77408fa-d065-11e8-a9f2-7574db66bcd5","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"ed665ed8-cdfd-11e8-9fe5-24ad351828ab","url":"https://www.ft.com/content/ed665ed8-cdfd-11e8-9fe5-24ad351828ab","relativeUrl":"/content/ed665ed8-cdfd-11e8-9fe5-24ad351828ab","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"6cc4c4ed-ef61-4c71-a5bb-f454fb5010a8","predicate":"http://www.ft.com/ontology/classification/isPrimarilyClassifiedBy","prefLabel":"UK business & economy","type":"TOPIC","url":"https://www.ft.com/uk-business-economy","relativeUrl":"/uk-business-economy"},"metaAltLink":null,"title":"Bradford hospital launches AI powered command centre","standfirst":"Collaboration with GE Healthcare to create hub monitoring patients to make better use of resources","altStandfirst":null,"publishedDate":"2018-10-15T10:01:47.000Z","firstPublishedDate":"2018-10-15T10:01:47.000Z","image":{"url":"http://prod-upp-image-read.ft.com/66d87a12-d06f-11e8-9a3c-5d5eac8f1ab4","width":2048,"height":1152},"headshot":null,"parentTheme":null},{"id":"7c6b9fbb-ad93-34c5-b19b-ea79ffc5f426","url":"http://ftalphaville.ft.com/marketslive/2018-10-15/","relativeUrl":"http://ftalphaville.ft.com/marketslive/2018-10-15/","type":"article","indicators":{"isColumn":true,"isOpinion":true,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"registered"},"metaPrefixText":"FT Alphaville","metaSuffixText":null,"metaLink":{"id":"602c702b-31fe-4116-a203-747c7c737eb7","predicate":"http://www.ft.com/ontology/annotation/hasAuthor","prefLabel":"Bryce Elder","type":"PERSON","url":"https://www.ft.com/markets/bryce-elder","relativeUrl":"/markets/bryce-elder"},"metaAltLink":{"id":"c91b1fad-1097-468b-be82-9a8ff717d54c","predicate":"http://www.ft.com/ontology/classification/isPrimarilyClassifiedBy","prefLabel":"Markets","type":"TOPIC","url":"https://www.ft.com/markets","relativeUrl":"/markets"},"title":"Markets Live: Monday, 15th October 2018","altStandfirst":null,"publishedDate":"2018-10-15T10:01:26.000Z","firstPublishedDate":"2018-10-15T10:01:26.000Z","image":{},"parentTheme":null},{"id":"aa9b9bda-d056-11e8-a9f2-7574db66bcd5","url":"https://www.ft.com/content/aa9b9bda-d056-11e8-a9f2-7574db66bcd5","relativeUrl":"/content/aa9b9bda-d056-11e8-a9f2-7574db66bcd5","type":"article","indicators":{"isColumn":false,"isOpinion":false,"isScoop":false,"isExclusive":false,"isEditorsChoice":false,"accessLevel":"subscribed"},"metaPrefixText":null,"metaSuffixText":null,"metaLink":{"id":"d7253b94-b248-4022-af1e-e99c15d0c1b6","predicate":"http://www.ft.com/ontology/annotation/about","prefLabel":"UK trade","type":"TOPIC","url":"https://www.ft.com/uk-trade","relativeUrl":"/uk-trade"},"metaAltLink":null,"title":"Irish deputy PM voices ‘frustration’ at Brexit impasse","altStandfirst":null,"publishedDate":"2018-10-15T08:50:32.000Z","firstPublishedDate":"2018-10-15T08:50:32.000Z","image":{},"headshot":null,"parentTheme":null}]')},"./components/x-teaser-timeline/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Timeline",(function(){return storybook_Timeline}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-iso-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./packages/x-engine/src/client.js");var ArticleSaveButton_es5=__webpack_require__("./components/x-article-save-button/dist/ArticleSaveButton.es5.js"),Teaser_es5=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js"),parseISO=(__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.array.is-array.js"),__webpack_require__("./node_modules/core-js/modules/es.array.sort.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find-index.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.splice.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.string.pad-start.js"),__webpack_require__("./node_modules/date-fns/esm/parseISO/index.js")),subMinutes=__webpack_require__("./node_modules/date-fns/esm/subMinutes/index.js"),differenceInCalendarDays=__webpack_require__("./node_modules/date-fns/esm/differenceInCalendarDays/index.js"),parse=__webpack_require__("./node_modules/date-fns/esm/parse/index.js"),format=__webpack_require__("./node_modules/date-fns/esm/format/index.js"),date_getDateOnly=(__webpack_require__("./node_modules/date-fns/esm/isAfter/index.js"),function getDateOnly(date){return Object(format.a)(Object(parseISO.a)(date),"yyyy-MM-dd")});function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _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.")}()}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}(arr,i)||_unsupportedIterableToArray(arr,i)||function _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.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);ib.publishedDate?-1:1})),includeLatesNewsSection=isLatestNewsSectionAllowed(localTodayDate,latestItemsTime,latestItemsAgeRange),_ref4=includeLatesNewsSection?function splitLatestItems(items,latestItemsTime){var latestNews=[],remainingItems=[];return items.forEach((function(item,index){latestItemsTime&&item.publishedDate>latestItemsTime?latestNews.push(Object.assign({articleIndex:index},item)):remainingItems.push(item)})),[latestNews,remainingItems]}(sortedItems,latestItemsTime):[[],sortedItems],_ref5=_slicedToArray(_ref4,2),latestItems=_ref5[0],remainingItems=_ref5[1],itemGroups=transform_groupItemsByLocalisedDate(latestItems.length,includeLatesNewsSection,localTodayDate,remainingItems,timezoneOffset);return latestItems.length>0&&itemGroups.unshift({date:"today-latest",items:latestItems}),transform_addItemGroupTitles(itemGroups,localTodayDate)},getGroupAndIndex=function getGroupAndIndex(groups,position){return 0===position?{group:0,index:0}:groups.map((function(group,groupIndex){var articleIndexInGroup=group.items.findIndex((function(item){return item.articleIndex===position-1}));return articleIndexInGroup>=0?{group:groupIndex,index:articleIndexInGroup+1}:null})).filter((function(a){return a})).pop()},interleaveAllSlotsWithCustomSlots=function interleaveAllSlotsWithCustomSlots(customSlotContentArray,customSlotPositionArray,itemGroups,items){var _step,interleavedItemGroups=function deepCopyGroupedItems(groupedItems){return Array.from(groupedItems,(function(v,k){return Object.assign({},groupedItems[k],{items:_toConsumableArray(groupedItems[k].items)})}))}(itemGroups),_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function F(){};return{s:F,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},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 err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}(customSlotContentArray.entries());try{for(_iterator.s();!(_step=_iterator.n()).done;){var _ref7=_slicedToArray(_step.value,2),index=_ref7[0],slotContent=_ref7[1],insertPosition=Math.min(customSlotPositionArray[index],items.length+index),insert=getGroupAndIndex(interleavedItemGroups,insertPosition);insert&&interleavedItemGroups[insert.group].items.splice(insert.index,0,slotContent)}}catch(err){_iterator.e(err)}finally{_iterator.f()}return interleavedItemGroups},jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),TeaserTimeline_TeaserTimeline=function TeaserTimeline(props){var now=new Date,_props$csrfToken=props.csrfToken,csrfToken=void 0===_props$csrfToken?null:_props$csrfToken,_props$showSaveButton=props.showSaveButtons,showSaveButtons=void 0===_props$showSaveButton||_props$showSaveButton,customSlotContent=props.customSlotContent,_props$customSlotPosi=props.customSlotPosition,customSlotPosition=void 0===_props$customSlotPosi?2:_props$customSlotPosi,items=props.items,_props$timezoneOffset=props.timezoneOffset,timezoneOffset=void 0===_props$timezoneOffset?now.getTimezoneOffset():_props$timezoneOffset,_props$localTodayDate=props.localTodayDate,itemGroups=function buildModel(_ref8){var items=_ref8.items,customSlotContent=_ref8.customSlotContent,customSlotPosition=_ref8.customSlotPosition,timezoneOffset=_ref8.timezoneOffset,localTodayDate=_ref8.localTodayDate,latestItemsTime=_ref8.latestItemsTime,latestItemsAgeHours=_ref8.latestItemsAgeHours,itemGroups=getItemGroups({items:items,timezoneOffset:timezoneOffset,localTodayDate:localTodayDate,latestItemsTime:latestItemsTime,latestItemsAgeHours:latestItemsAgeHours});if(itemGroups.length>0&&customSlotContent){var customSlotContentArray=Array.isArray(customSlotContent)?customSlotContent:[customSlotContent],customSlotPositionArray=Array.isArray(customSlotPosition)?customSlotPosition:[customSlotPosition];return interleaveAllSlotsWithCustomSlots(customSlotContentArray,customSlotPositionArray,itemGroups,items)}return itemGroups}({items:items,customSlotContent:customSlotContent,customSlotPosition:customSlotPosition,timezoneOffset:timezoneOffset,localTodayDate:void 0===_props$localTodayDate?date_getDateOnly(now.toISOString()):_props$localTodayDate,latestItemsTime:props.latestItemsTime,latestItemsAgeHours:props.latestItemsAgeHours});return itemGroups.length>0&&Object(jsx_runtime.jsx)("div",{className:"x-teaser-timeline",children:itemGroups.map((function(group){return Object(jsx_runtime.jsxs)("section",{className:"x-teaser-timeline__item-group",children:[Object(jsx_runtime.jsx)("h2",{className:"x-teaser-timeline__heading",children:group.title}),Object(jsx_runtime.jsx)("ul",{className:"x-teaser-timeline__items",children:group.items.map((function(item,index){return item.id?Object(jsx_runtime.jsxs)("li",{className:"x-teaser-timeline__item",children:[Object(jsx_runtime.jsx)(Teaser_es5.Teaser,Object.assign({},item,Teaser_es5.presets.SmallHeavy,{modifiers:"timeline-teaser"})),showSaveButtons&&Object(jsx_runtime.jsx)("div",{className:"x-teaser-timeline__item-actions",children:Object(jsx_runtime.jsx)(ArticleSaveButton_es5.ArticleSaveButton,{id:item.id+"-save-button",contentId:item.id,contentTitle:item.title,csrfToken:csrfToken,saved:item.saved||!1})})]},item.id):"string"==typeof item?Object(jsx_runtime.jsx)("li",{dangerouslySetInnerHTML:{__html:item}},"custom-slot-"+index):Object(jsx_runtime.jsx)("li",{children:item},"custom-slot-"+index)}))})]},group.date)}))})};TeaserTimeline_TeaserTimeline.__docgenInfo={description:"@typedef {Object} Props\n@property {string} csrfToken\n@property {boolean} showSaveButtons\n@property {Array | Array | Object | string} customSlotContent\n@property {Array | number} customSlotPosition\n@property {Array} items\n@property {number} timezoneOffset\n@property {string} localTodayDate\n@property {string} latestItemsTime,\n@property {number} latestItemsAgeHours\n\n@param {Props} props\n@returns",methods:[],displayName:"TeaserTimeline"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser-timeline/src/TeaserTimeline.jsx"]={name:"TeaserTimeline",docgenInfo:TeaserTimeline_TeaserTimeline.__docgenInfo,path:"components/x-teaser-timeline/src/TeaserTimeline.jsx"});var build_service=__webpack_require__("./.storybook/build-service.js"),content_items=__webpack_require__("./components/x-teaser-timeline/storybook/content-items.json"),dependencies=(__webpack_require__("./components/x-teaser-timeline/src/TeaserTimeline.scss"),{"o-typography":"^7.0.0","o-teaser":"^6.0.0"}),storybook_Timeline=(__webpack_exports__.default={title:"x-teaser-timeline"},function Timeline(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(TeaserTimeline_TeaserTimeline,Object.assign({},args))]})});storybook_Timeline.displayName="Timeline",storybook_Timeline.args={items:content_items,timezoneOffset:-60,localTodayDate:"2018-10-17",latestItemsTime:"2018-10-17T12:10:33.000Z",customSlotContent:"Custom slot content",customSlotPosition:3},storybook_Timeline.argTypes={latestItemsTime:{control:{type:"select",options:{None:"","2018-10-17T12:10:33.000Z":"2018-10-17T12:10:33.000Z"}}},customSlotContent:{control:{type:"select",options:{None:"",Something:"---Custom slot content---"}}}},storybook_Timeline.__docgenInfo={description:"",methods:[],displayName:"Timeline"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser-timeline/storybook/index.jsx"]={name:"Timeline",docgenInfo:storybook_Timeline.__docgenInfo,path:"components/x-teaser-timeline/storybook/index.jsx"})},"./components/x-teaser/__fixtures__/article.json":function(module){module.exports=JSON.parse('{"type":"article","id":"","url":"#","title":"Inside charity fundraiser where hostesses are put on show","altTitle":"Men Only, the charity fundraiser with hostesses on show","standfirst":"FT investigation finds groping and sexual harassment at secretive black-tie dinner","altStandfirst":"Groping and sexual harassment at black-tie dinner charity event","publishedDate":"2018-01-23T15:07:00.000Z","firstPublishedDate":"2018-01-23T13:53:00.000Z","metaPrefixText":"","metaSuffixText":"","metaLink":{"url":"#","prefLabel":"Sexual misconduct allegations"},"metaAltLink":{"url":"#","prefLabel":"FT Investigations"},"image":{"url":"http://prod-upp-image-read.ft.com/a25832ea-0053-11e8-9650-9c0ad2d7c5b5","width":2048,"height":1152},"indicators":{"isEditorsChoice":true},"status":"","headshotTint":"","accessLevel":"free","theme":"","parentTheme":"","modifiers":""}')},"./components/x-teaser/__fixtures__/content-package.json":function(module){module.exports=JSON.parse('{"type":"package","id":"","url":"#","title":"The royal wedding","altTitle":"","standfirst":"Prince Harry and Meghan Markle will tie the knot at Windsor Castle","altStandfirst":"","publishedDate":"2018-05-14T16:38:49.000Z","firstPublishedDate":"2018-05-14T16:38:49.000Z","metaPrefixText":"","metaSuffixText":"","metaLink":{"url":"#","prefLabel":"FT Magazine"},"metaAltLink":{"url":"#","prefLabel":"FT Series"},"image":{"url":"http://prod-upp-image-read.ft.com/7e97f5b6-578d-11e8-b8b2-d6ceb45fa9d0","width":2048,"height":1152},"status":"","headshotTint":"","accessLevel":"free","theme":"","parentTheme":"","modifiers":"centre"}')},"./components/x-teaser/__fixtures__/opinion.json":function(module){module.exports=JSON.parse('{"type":"article","id":"","url":"#","title":"Anti-Semitism and the threat of identity politics","altTitle":"","standfirst":"Today, hatred of Jews is mixed in with fights about Islam and Israel","altStandfirst":"Anti-Semitism and identity politics","publishedDate":"2018-04-02T12:22:01.000Z","firstPublishedDate":"2018-04-02T12:22:01.000Z","metaPrefixText":"","metaSuffixText":"","metaLink":{"url":"#","prefLabel":"Gideon Rachman"},"metaAltLink":{"url":"#","prefLabel":"Anti-Semitism"},"image":{"url":"http://prod-upp-image-read.ft.com/1005ca96-364b-11e8-8b98-2f31af407cc8","width":2048,"height":1152},"headshot":"fthead-v1:gideon-rachman","indicators":{"isOpinion":true,"isColumn":true},"showHeadshot":true,"status":"","headshotTint":"","accessLevel":"free","theme":"","parentTheme":"","modifiers":""}')},"./components/x-teaser/__fixtures__/package-item.json":function(module){module.exports=JSON.parse('{"type":"article","id":"","url":"#","title":"Why so little has changed since the crash","standfirst":"Martin Wolf on the power of vested interests in today’s rent-extracting economy","publishedDate":"2018-09-02T15:07:00.000Z","firstPublishedDate":"2018-09-02T13:53:00.000Z","metaPrefixText":"FT Series","metaSuffixText":"","metaLink":{"url":"#","prefLabel":"Financial crisis: Are we safer now? "},"image":{"url":"http://prod-upp-image-read.ft.com/a25832ea-0053-11e8-9650-9c0ad2d7c5b5","width":2048,"height":1152},"indicators":{"isOpinion":true},"status":"","headshotTint":"","accessLevel":"free","theme":"","parentTheme":"extra-article","modifiers":"centre"}')},"./components/x-teaser/__fixtures__/podcast.json":function(module){module.exports=JSON.parse('{"type":"audio","id":"d1246074-f7d3-4aaf-951c-80a6db495765","url":"https://www.ft.com/content/d1246074-f7d3-4aaf-951c-80a6db495765","title":"Who sets the internet standards?","standfirst":"Hannah Kuchler talks to American social scientist and cyber security expert Andrea…","altStandfirst":"","publishedDate":"2018-10-24T04:00:00.000Z","firstPublishedDate":"2018-10-24T04:00:00.000Z","metaSuffixText":"12 mins","metaLink":{"url":"#","prefLabel":"Tech Tonic podcast"},"metaAltLink":"","image":{"url":"https://www.ft.com/__origami/service/image/v2/images/raw/http%3A%2F%2Fprod-upp-image-read.ft.com%2F5d1a54aa-f49b-11e8-ae55-df4bf40f9d0d?source=next&fit=scale-down&compression=best&width=240","width":2048,"height":1152},"indicators":{"isPodcast":true},"status":"","headshotTint":"","accessLevel":"free","theme":"","parentTheme":"","modifiers":""}')},"./components/x-teaser/__fixtures__/promoted.json":function(module){module.exports=JSON.parse('{"type":"paid-post","id":"","url":"#","title":"Why eSports companies are on a winning streak","standfirst":"ESports is big business and about to get bigger: global revenues could hit $1.5bn by 2020","promotedPrefixText":"Paid post","promotedSuffixText":"UBS","image":{"url":"https://tpc.googlesyndication.com/pagead/imgad?id=CICAgKCrm_3yahABGAEyCMx3RoLss603","width":700,"height":394},"status":"","headshotTint":"","accessLevel":"free","theme":"","parentTheme":"","modifiers":""}')},"./components/x-teaser/__fixtures__/top-story.json":function(module){module.exports=JSON.parse('{"type":"article","id":"","url":"#","title":"Inside charity fundraiser where hostesses are put on show","altTitle":"Men Only, the charity fundraiser with hostesses on show","standfirst":"FT investigation finds groping and sexual harassment at secretive black-tie dinner","altStandfirst":"Groping and sexual harassment at black-tie dinner charity event","publishedDate":"2018-01-23T15:07:00.000Z","firstPublishedDate":"2018-01-23T13:53:00.000Z","dataTrackable":"slice:hero-slice-1;slicePos:1;layout:standaloneimage;listPos:1","metaPrefixText":"","metaSuffixText":"","metaLink":{"url":"#","prefLabel":"Sexual misconduct allegations"},"metaAltLink":{"url":"#","prefLabel":"FT Investigations"},"image":{"url":"http://prod-upp-image-read.ft.com/a25832ea-0053-11e8-9650-9c0ad2d7c5b5","width":2048,"height":1152},"relatedLinks":[{"id":"","relativeUrl":"#","type":"article","title":"Removing the fig leaf of charity"},{"id":"","relativeUrl":"#","type":"article","title":"A dinner that demeaned both women and men"},{"id":"","relativeUrl":"#","type":"video","title":"PM speaks out after Presidents Club dinner"}],"status":"","headshotTint":"","accessLevel":"free","theme":"","parentTheme":"","modifiers":""}')},"./components/x-teaser/__fixtures__/video.json":function(module){module.exports=JSON.parse('{"type":"video","id":"0e89d872-5711-457b-80b1-4ca0d8afea46","url":"#","title":"FT View: Donald Trump, man of steel","standfirst":"The FT\'s Rob Armstrong looks at why Donald Trump is pushing trade tariffs","publishedDate":"2018-03-26T08:12:28.137Z","firstPublishedDate":"2018-03-26T08:12:28.137Z","metaPrefixText":"","metaSuffixText":"02:51min","systemCode":"x-teaser","metaLink":{"url":"#","prefLabel":"Global Trade"},"metaAltLink":{"url":"#","prefLabel":"US"},"image":{"url":"http://com.ft.imagepublish.upp-prod-eu.s3.amazonaws.com/a27ce49b-85b8-445b-b883-db6e2f533194","width":1920,"height":1080,"altText":"Image alt text"},"video":{"url":"https://next-media-api.ft.com/renditions/15218247321960/640x360.mp4","width":640,"height":360,"mediaType":"video/mp4","codec":"h264"}}')},"./components/x-teaser/dist/Teaser.es5.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptors.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-properties.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.search.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.date.now.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-iso-string.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),Object.defineProperty(exports,"__esModule",{value:!0});var xEngine=__webpack_require__("./packages/x-engine/src/client.js"),dateformat=function _interopDefault(ex){return ex&&"object"==typeof ex&&"default"in ex?ex.default:ex}(__webpack_require__("./node_modules/dateformat/lib/dateformat.js")),dateFns=__webpack_require__("./node_modules/date-fns/esm/index.js"),rulesets={media:function media(props){return props.showVideo&&props.video&&props.video.url?"video":props.showHeadshot&&props.headshot&&props.indicators.isColumn?"headshot":props.showImage&&props.image&&props.image.url?"image":props.showPromotionalContent&&props.promotionalContent?"promotionalContent":void 0},theme:function theme(props){return props.theme?props.theme:"inprogress"===props.status?"live":props.indicators&&props.indicators.isOpinion?"opinion":props.indicators&&props.indicators.isEditorsChoice?"highlight":props.parentTheme?props.parentTheme:void 0}};function rules(rule,props){if(rulesets.hasOwnProperty(rule))return rulesets[rule](props);throw Error("No ruleset available named ".concat(rule))}var media=function media(props){return rules("media",props)},dynamicModifiers=function dynamicModifiers(props){var modifiers=[],mediaRule=media(props);mediaRule&&modifiers.push("has-".concat(mediaRule));var themeRule=function theme(props){return rules("theme",props)}(props);return themeRule&&modifiers.push(themeRule),modifiers},Container=function Container(props){var computed=dynamicModifiers(props),classNames=[props.type,props.layout].concat(props.modifiers,computed).filter(Boolean).map((function(mod){return"o-teaser--".concat(mod)})).join(" ");return xEngine.h("div",{className:"o-teaser ".concat(classNames," js-teaser"),"data-id":props.id,"data-trackable":props.dataTrackable},props.children)},Content=function Content(_ref){var _ref$children=_ref.children,children=void 0===_ref$children?[]:_ref$children;return xEngine.h("div",{className:"o-teaser__content"},children)},CustomSlot=function CustomSlot(_ref){var customSlot=_ref.customSlot;return customSlot?xEngine.h("div",{className:"o-teaser__action"},function render(action){return"string"==typeof action?xEngine.h("span",{dangerouslySetInnerHTML:{__html:action}}):action}(customSlot)):null},ImageSizes={Headshot:75,XS:180,Small:240,Medium:340,Large:420,XL:640,XXL:1180},Layouts_Small="small",Layouts_Hero="hero",Layouts_TopStory="top-story";function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var OPTIONS={source:"next",fit:"scale-down",dpr:2};function imageService(url,width,options){var imageSrc=new URL("".concat("https://www.ft.com/__origami/service/image/v2/images/raw","/").concat(encodeURIComponent(url)));return imageSrc.search=new URLSearchParams(_objectSpread2(_objectSpread2({},OPTIONS),options)),imageSrc.searchParams.set("width",width),imageSrc.href}var Headshot=function Headshot(_ref){var headshot=_ref.headshot,headshotTint=_ref.headshotTint,options={tint:"".concat(headshotTint||"054593,d6d5d3")};return headshot?xEngine.h("img",{className:"o-teaser__headshot",width:ImageSizes.Headshot,height:ImageSizes.Headshot,alt:"","aria-hidden":"true",src:imageService(headshot,ImageSizes.Headshot,options)}):null},_excluded=["customElements"],BaseLink=function BaseLink(_ref){var url=_ref.url,_ref$attrs=_ref.attrs,attrs=void 0===_ref$attrs?{}:_ref$attrs,children=_ref.children;return url?xEngine.h("a",Object.assign({href:url},attrs),children):xEngine.h("span",attrs,children)},Link=function Link(_ref2){var _ref2$customElements=_ref2.customElements,customElements=void 0===_ref2$customElements?{}:_ref2$customElements,props=_objectWithoutProperties(_ref2,_excluded),Link=customElements.Link||BaseLink;return xEngine.h(Link,props)},_excluded$1=["relativeUrl","url","image","imageSize","imageLazyLoad","imageHighestQuality"],aspectRatio=function aspectRatio(_ref){var width=_ref.width,height=_ref.height;return"number"==typeof width&&"number"==typeof height?{aspectRatio:"".concat(width,"/").concat(height)}:{}},NormalImage=function NormalImage(_ref2){var src=_ref2.src,alt=_ref2.alt;return xEngine.h("img",{className:"o-teaser__image",src:src,alt:alt})},LazyImage=function LazyImage(_ref3){var src=_ref3.src,lazyLoad=_ref3.lazyLoad,alt=_ref3.alt,lazyClassName="string"==typeof lazyLoad?lazyLoad:"";return xEngine.h("img",{className:"o-teaser__image ".concat(lazyClassName),"data-src":src,alt:alt})},Image=function Image(_ref4){var relativeUrl=_ref4.relativeUrl,url=_ref4.url,image=_ref4.image,imageSize=_ref4.imageSize,imageLazyLoad=_ref4.imageLazyLoad,imageHighestQuality=_ref4.imageHighestQuality,props=_objectWithoutProperties(_ref4,_excluded$1);if(!image||image&&!image.url)return null;var displayUrl=relativeUrl||url,options="XXL"===imageSize&&imageHighestQuality?{quality:"highest"}:{},imageSrc=!(image.url.startsWith("data:")||image.url.startsWith("blob:"))?imageService(image.url,ImageSizes[imageSize],options):image.url,alt=(image.altText||"").trim(),ImageComponent=imageLazyLoad?LazyImage:NormalImage;return xEngine.h("div",{className:"o-teaser__image-container js-teaser-image-container"},xEngine.h(Link,Object.assign({},props,{url:displayUrl,attrs:{"data-trackable":"image-link",tabIndex:"-1","aria-hidden":"true"}}),xEngine.h("div",{className:"o-teaser__image-placeholder",style:_objectSpread2({},aspectRatio(image))},xEngine.h(ImageComponent,{src:imageSrc,lazyLoad:imageLazyLoad,alt:alt}))))},sameLabel=function sameLabel(){var context=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},label=arguments.length>1?arguments[1]:void 0;return label&&context&&context.parentLabel&&label===context.parentLabel},MetaLink=function MetaLink(_ref){var metaPrefixText=_ref.metaPrefixText,metaLink=_ref.metaLink,metaAltLink=_ref.metaAltLink,metaSuffixText=_ref.metaSuffixText,context=_ref.context,showPrefixText=metaPrefixText&&!sameLabel(context,metaPrefixText),showSuffixText=metaSuffixText&&!sameLabel(context,metaSuffixText),linkId=metaLink&&metaLink.id,linkLabel=metaLink&&metaLink.prefLabel,useAltLink=function sameId(){var context=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},id=arguments.length>1?arguments[1]:void 0;return id&&context&&context.parentId&&id===context.parentId}(context,linkId)||sameLabel(context,linkLabel),displayLink=useAltLink?metaAltLink:metaLink;return xEngine.h("div",{className:"o-teaser__meta"},showPrefixText?xEngine.h("span",{className:"o-teaser__tag-prefix"},metaPrefixText):null,displayLink?xEngine.h("a",{className:"o-teaser__tag","data-trackable":"teaser-tag",href:displayLink.relativeUrl||displayLink.url,"aria-label":"Category: ".concat(displayLink.prefLabel)},displayLink.prefLabel):null,showSuffixText?xEngine.h("span",{className:"o-teaser__tag-suffix"},metaSuffixText):null)},Promoted=function Promoted(_ref){var promotedPrefixText=_ref.promotedPrefixText,promotedSuffixText=_ref.promotedSuffixText;return xEngine.h("div",{className:"o-teaser__meta"},xEngine.h("span",{className:"o-teaser__promoted-prefix"},promotedPrefixText)," by",xEngine.h("span",{className:"o-teaser__promoted-by"}," ".concat(promotedSuffixText," ")))},Meta=function Meta(props){return props.promotedPrefixText&&props.promotedSuffixText?xEngine.h(Promoted,props):xEngine.h(MetaLink,props)},renderLink=function renderLink(_ref,i){var id=_ref.id,type=_ref.type,title=_ref.title,url=_ref.url,displayUrl=_ref.relativeUrl||url;return xEngine.h("li",{key:"related-".concat(i),"data-content-id":id,className:"o-teaser__related-item o-teaser__related-item--".concat(type)},xEngine.h("a",{"data-trackable":"related",href:displayUrl},title))},RelatedLinks=function RelatedLinks(_ref2){var _ref2$relatedLinks=_ref2.relatedLinks,relatedLinks=void 0===_ref2$relatedLinks?[]:_ref2$relatedLinks;return relatedLinks&&relatedLinks.length?xEngine.h("ul",{className:"o-teaser__related"},relatedLinks.map(renderLink)):null},TimeStamp=function TimeStamp(_ref){var publishedDate=_ref.publishedDate;return xEngine.h("div",{className:"o-teaser__timestamp"},xEngine.h("time",{className:"o-teaser__timestamp-date",dateTime:dateformat(publishedDate,dateformat.masks.isoDateTime,!0)},dateformat(publishedDate,dateformat.masks.longDate,!0)))};function getRelativeDate(date){return Date.now()-function toDate(date){return"string"==typeof date||"number"==typeof date?new Date(date):date}(date).getTime()}var RelativeTime=function RelativeTime(_ref){var publishedDate=_ref.publishedDate,firstPublishedDate=_ref.firstPublishedDate,_ref$showAlways=_ref.showAlways,showAlways=void 0!==_ref$showAlways&&_ref$showAlways,relativeDate=getRelativeDate(publishedDate),status=function getStatus(publishedDate,firstPublishedDate){return getRelativeDate(publishedDate)<36e5?publishedDate===firstPublishedDate?"new":"updated":""}(publishedDate,firstPublishedDate);return!0===showAlways||function isRecent(relativeDate){return relativeDate<144e5}(relativeDate)?xEngine.h("div",{className:"o-teaser__timestamp o-teaser__timestamp--".concat(status)},status?xEngine.h("span",{className:"o-teaser__timestamp-prefix"}," ".concat(status," ")," "):null,xEngine.h("time",{className:"o-teaser__timestamp-date o-date","data-o-component":"o-date","data-o-date-format":showAlways?"time-ago-limit-24-hours":"time-ago-limit-4-hours",dateTime:dateformat(publishedDate,dateformat.masks.isoDateTime,!0)},status?"":function displayTime(date){var hours=Math.floor(Math.abs(date/36e5)),suffix=0===hours?"":"".concat(1===hours?"hour":"hours"," ago");return"".concat(hours," ").concat(suffix)}(relativeDate))):null},LiveBlogLabels={inprogress:"Live",comingsoon:"Coming Soon",closed:""},LiveBlogModifiers={inprogress:"live",comingsoon:"pending",closed:"closed"},LiveBlogStatus=function LiveBlogStatus(_ref){var status=_ref.status;return status&&"closed"!==status?xEngine.h("div",{className:"o-teaser__timestamp o-teaser__timestamp--".concat(LiveBlogModifiers[status])},xEngine.h("span",{className:"o-teaser__timestamp-prefix"}," ".concat(LiveBlogLabels[status]," "))):null},AlwaysShowTimestamp=function AlwaysShowTimestamp(props){var localTodayDate=(new Date).toISOString().substr(0,10),dateToCompare=new Date(props.publishedDate).toISOString().substr(0,10);return dateFns.differenceInCalendarDays(localTodayDate,dateToCompare)>=1?xEngine.h(TimeStamp,props):xEngine.h(RelativeTime,Object.assign({},props,{showAlways:!0}))},Status=function Status(props){return props.status?xEngine.h(LiveBlogStatus,props):props.publishedDate?props.useRelativeTimeIfToday?xEngine.h(AlwaysShowTimestamp,props):props.useRelativeTime?xEngine.h(RelativeTime,props):xEngine.h(TimeStamp,props):null},_excluded$2=["standfirst","altStandfirst","headlineTesting","relativeUrl","url"],Standfirst=function Standfirst(_ref){var standfirst=_ref.standfirst,altStandfirst=_ref.altStandfirst,headlineTesting=_ref.headlineTesting,relativeUrl=_ref.relativeUrl,url=_ref.url,props=_objectWithoutProperties(_ref,_excluded$2),displayStandfirst=headlineTesting&&altStandfirst?altStandfirst:standfirst,displayUrl=relativeUrl||url;return displayStandfirst?xEngine.h("p",{className:"o-teaser__standfirst"},xEngine.h(Link,Object.assign({},props,{url:displayUrl,attrs:{"data-trackable":"standfirst-link",tabIndex:-1,className:"js-teaser-standfirst-link"}}),displayStandfirst)):null},_excluded$3=["title","altTitle","headlineTesting","relativeUrl","url","indicators"],Title=function Title(_ref){var ariaLabel,title=_ref.title,altTitle=_ref.altTitle,headlineTesting=_ref.headlineTesting,relativeUrl=_ref.relativeUrl,url=_ref.url,indicators=_ref.indicators,props=_objectWithoutProperties(_ref,_excluded$3),displayTitle=headlineTesting&&altTitle?altTitle:title,displayUrl=relativeUrl||url;return"video"===props.type?ariaLabel="Watch video ".concat(displayTitle):"audio"===props.type&&(ariaLabel="Listen to podcast ".concat(displayTitle)),xEngine.h("div",{className:"o-teaser__heading"},xEngine.h(Link,Object.assign({},props,{url:displayUrl,attrs:{"data-trackable":"heading-link",className:"js-teaser-heading-link","aria-label":ariaLabel}}),displayTitle),indicators&&"premium"===indicators.accessLevel?xEngine.h("span",null," ",xEngine.h("span",{className:"o-labels o-labels--premium o-labels--content-premium"},"Premium"),xEngine.h("span",{className:"o-normalise-visually-hidden"}," content")):null)},formatData=function formatData(props){return JSON.stringify({renditions:[props.video],mainImageUrl:props.image?props.image.url:null})},Embed=function Embed(props){var showGuidance="boolean"==typeof props.showGuidance?props.showGuidance.toString():"true";return xEngine.h("div",{className:"o-teaser__image-container js-image-container"},xEngine.h("div",{className:"o-video","data-o-component":"o-video","data-o-video-id":props.id,"data-o-video-data":formatData(props),"data-o-video-optimumwidth":"640","data-o-video-optimumvideowidth":"640","data-o-video-autorender":"true","data-o-video-playsinline":"true","data-o-video-show-guidance":showGuidance,"data-o-video-placeholder":"true","data-o-video-placeholder-info":"[]","data-o-video-placeholder-hint":"Play video","data-o-video-systemcode":props.systemCode}))},Video=function Video(props){return xEngine.h("div",{className:"o-teaser__video"},xEngine.h("div",{className:"o--if-js"},xEngine.h(Embed,props)),xEngine.h("div",{className:"o--if-no-js"},xEngine.h(Image,props)))},PromotionalContent=function PromotionalContent(_ref){var promotionalContent=_ref.promotionalContent;return xEngine.h("div",{className:"o-teaser__image-container js-teaser-image-container"},promotionalContent)},presets={Small:{layout:Layouts_Small,useRelativeTime:!0,showMeta:!0,showTitle:!0,showStatus:!0},SmallHeavy:{layout:Layouts_Small,useRelativeTime:!0,showMeta:!0,showTitle:!0,showStandfirst:!0,showStatus:!0,showImage:!0,imageSize:"Small"},Large:{layout:"large",useRelativeTime:!0,showMeta:!0,showTitle:!0,showStandfirst:!0,showStatus:!0,showImage:!0,imageSize:"Medium"},Hero:{layout:Layouts_Hero,useRelativeTime:!0,showMeta:!0,showTitle:!0,showStatus:!0,showImage:!0,imageSize:"Medium"},HeroNarrow:{layout:Layouts_Hero,useRelativeTime:!0,showMeta:!0,showTitle:!0,showStandfirst:!0,showStatus:!0},HeroVideo:{layout:Layouts_Hero,useRelativeTime:!0,showMeta:!0,showTitle:!0,showVideo:!0,imageSize:"Large"},HeroOverlay:{layout:Layouts_Hero,useRelativeTime:!0,showMeta:!0,showTitle:!0,showStatus:!0,showImage:!0,imageSize:"XL",modifiers:["hero-image"]},TopStory:{layout:Layouts_TopStory,useRelativeTime:!0,showMeta:!0,showTitle:!0,showStandfirst:!0,showStatus:!0,showRelatedLinks:!0},TopStoryLandscape:{layout:Layouts_TopStory,useRelativeTime:!0,showMeta:!0,showTitle:!0,showStandfirst:!0,showStatus:!0,showImage:!0,imageSize:"XL",showRelatedLinks:!0,modifiers:["landscape"]}};exports.Container=Container,exports.Content=Content,exports.CustomSlot=CustomSlot,exports.Headshot=Headshot,exports.Image=Image,exports.Meta=Meta,exports.RelatedLinks=RelatedLinks,exports.Standfirst=Standfirst,exports.Status=Status,exports.Teaser=function Teaser(props){return xEngine.h(Container,props,xEngine.h(Content,null,props.showMeta?xEngine.h(Meta,props):null,"video"===media(props)?xEngine.h(Video,props):null,props.showTitle?xEngine.h(Title,props):null,props.showStandfirst?xEngine.h(Standfirst,props):null,props.showStatus?xEngine.h(Status,props):null,props.showCustomSlot?xEngine.h(CustomSlot,props):null,"headshot"===media(props)?xEngine.h(Headshot,props):null),"promotionalContent"===media(props)?xEngine.h(PromotionalContent,props):null,"image"===media(props)?xEngine.h(Image,props):null,props.showRelatedLinks?xEngine.h(RelatedLinks,props):null)},exports.Title=Title,exports.Video=Video,exports.presets=presets},"./components/x-teaser/storybook/argTypes.js":function(module,exports){exports.argTypes={status:{name:"Live Blog Status",control:{type:"select",options:{None:"","Coming soon":"comingsoon","In progress":"inprogress",Closed:"closed"}}},imageSize:{name:"Image Size",control:{type:"select",options:["XS","Small","Medium","Large","XL","XXL"]}},headshotTint:{name:"Headshot tint",control:{type:"select",options:{Default:""}}},accessLevel:{name:"Access level",control:{type:"select",options:["free","registered","subscribed","premium"]}},layout:{name:"Layout",control:{type:"select",options:["small","large","hero","top-story"]}},theme:{name:"Theme",control:{type:"select",options:{None:"",Extra:"extra-article","Special Report":"highlight"}}},parentTheme:{name:"Parent Theme",control:{type:"select",options:{None:"",Extra:"extra-article","Special Report":"highlight"}}},modifiers:{name:"Modifiers",control:{type:"select",options:{None:"","Small stacked":"stacked","Small image on right":"image-on-right","Large portrait":"large-portrait","Large landscape":"large-landscape","Hero centre":"centre","Hero image":"hero-image","Top story landscape":"landscape","Top story big":"big-story"}}},publishedDate:{name:"Published Date",control:{type:"date"}},firstPublishedDate:{name:"First Published Date",control:{type:"date"}}}},"./components/x-teaser/storybook/article.js":function(module,exports,__webpack_require__){(function(module){__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var presets=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js").presets;exports.args=Object.assign(__webpack_require__("./components/x-teaser/__fixtures__/article.json"),presets.SmallHeavy),exports.m=module}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./components/x-teaser/storybook/content-package.js":function(module,exports,__webpack_require__){(function(module){__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var presets=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js").presets;exports.args=Object.assign(__webpack_require__("./components/x-teaser/__fixtures__/content-package.json"),presets.Hero),exports.m=module}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./components/x-teaser/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Article",(function(){return storybook_Article})),__webpack_require__.d(__webpack_exports__,"Podcast",(function(){return storybook_Podcast})),__webpack_require__.d(__webpack_exports__,"Opinion",(function(){return storybook_Opinion})),__webpack_require__.d(__webpack_exports__,"ContentPackage",(function(){return storybook_ContentPackage})),__webpack_require__.d(__webpack_exports__,"PackageItem",(function(){return storybook_PackageItem})),__webpack_require__.d(__webpack_exports__,"Promoted",(function(){return storybook_Promoted})),__webpack_require__.d(__webpack_exports__,"TopStory",(function(){return storybook_TopStory})),__webpack_require__.d(__webpack_exports__,"Video",(function(){return storybook_Video}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./packages/x-engine/src/client.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js");var rulesets={media:function media(props){return props.showVideo&&props.video&&props.video.url?"video":props.showHeadshot&&props.headshot&&props.indicators.isColumn?"headshot":props.showImage&&props.image&&props.image.url?"image":props.showPromotionalContent&&props.promotionalContent?"promotionalContent":void 0},theme:function theme(props){return props.theme?props.theme:"inprogress"===props.status?"live":props.indicators&&props.indicators.isOpinion?"opinion":props.indicators&&props.indicators.isEditorsChoice?"highlight":props.parentTheme?props.parentTheme:void 0}};function rules(rule,props){if(rulesets.hasOwnProperty(rule))return rulesets[rule](props);throw Error("No ruleset available named "+rule)}var media=function media(props){return rules("media",props)},theme=function theme(props){return rules("theme",props)};rules.__docgenInfo={description:"Rules\n@param {String} rule\n@param {Props} props\n@returns {String|null}",methods:[],displayName:"rules"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/src/concerns/rules.js"]={name:"rules",docgenInfo:rules.__docgenInfo,path:"components/x-teaser/src/concerns/rules.js"}),media.__docgenInfo={description:"",methods:[],displayName:"media"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/src/concerns/rules.js"]={name:"media",docgenInfo:media.__docgenInfo,path:"components/x-teaser/src/concerns/rules.js"}),theme.__docgenInfo={description:"",methods:[],displayName:"theme"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/src/concerns/rules.js"]={name:"theme",docgenInfo:theme.__docgenInfo,path:"components/x-teaser/src/concerns/rules.js"});var jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),Container=function(props){var computed=function dynamicModifiers(props){var modifiers=[],mediaRule=media(props);mediaRule&&modifiers.push("has-"+mediaRule);var themeRule=theme(props);return themeRule&&modifiers.push(themeRule),modifiers}(props),classNames=[props.type,props.layout].concat(props.modifiers,computed).filter(Boolean).map((function(mod){return"o-teaser--"+mod})).join(" ");return Object(jsx_runtime.jsx)("div",{className:"o-teaser "+classNames+" js-teaser","data-id":props.id,"data-trackable":props.dataTrackable,children:props.children})},Content=function(_ref){var _ref$children=_ref.children,children=void 0===_ref$children?[]:_ref$children;return Object(jsx_runtime.jsx)("div",{className:"o-teaser__content",children:children})},CustomSlot_render=function render(action){return"string"==typeof action?Object(jsx_runtime.jsx)("span",{dangerouslySetInnerHTML:{__html:action}}):action},CustomSlot=function(_ref){var customSlot=_ref.customSlot;return customSlot?Object(jsx_runtime.jsx)("div",{className:"o-teaser__action",children:CustomSlot_render(customSlot)}):null},ImageSizes={Headshot:75,XS:180,Small:240,Medium:340,Large:420,XL:640,XXL:1180},OPTIONS=(__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.search.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),{source:"next",fit:"scale-down",dpr:2});function imageService(url,width,options){var imageSrc=new URL("https://www.ft.com/__origami/service/image/v2/images/raw/"+encodeURIComponent(url));return imageSrc.search=new URLSearchParams(Object.assign({},OPTIONS,options)),imageSrc.searchParams.set("width",width),imageSrc.href}var Headshot=function(_ref){var headshot=_ref.headshot,options={tint:""+(_ref.headshotTint||"054593,d6d5d3")};return headshot?Object(jsx_runtime.jsx)("img",{className:"o-teaser__headshot",width:ImageSizes.Headshot,height:ImageSizes.Headshot,alt:"","aria-hidden":"true",src:imageService(headshot,ImageSizes.Headshot,options)}):null},_excluded=(__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),["customElements"]);function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Link_BaseLink=function BaseLink(_ref){var url=_ref.url,_ref$attrs=_ref.attrs,attrs=void 0===_ref$attrs?{}:_ref$attrs,children=_ref.children;return url?Object(jsx_runtime.jsx)("a",Object.assign({href:url},attrs,{children:children})):Object(jsx_runtime.jsx)("span",Object.assign({},attrs,{children:children}))},src_Link=function(_ref2){var _ref2$customElements=_ref2.customElements,customElements=void 0===_ref2$customElements?{}:_ref2$customElements,props=_objectWithoutProperties(_ref2,_excluded),Link=customElements.Link||Link_BaseLink;return Object(jsx_runtime.jsx)(Link,Object.assign({},props))},Image_excluded=["relativeUrl","url","image","imageSize","imageLazyLoad","imageHighestQuality"];function Image_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Image_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var aspectRatio=function aspectRatio(_ref){var width=_ref.width,height=_ref.height;return"number"==typeof width&&"number"==typeof height?{aspectRatio:width+"/"+height}:{}},Image_NormalImage=function NormalImage(_ref2){var src=_ref2.src,alt=_ref2.alt;return Object(jsx_runtime.jsx)("img",{className:"o-teaser__image",src:src,alt:alt})};Image_NormalImage.displayName="NormalImage";var Image_LazyImage=function LazyImage(_ref3){var src=_ref3.src,lazyLoad=_ref3.lazyLoad,alt=_ref3.alt,lazyClassName="string"==typeof lazyLoad?lazyLoad:"";return Object(jsx_runtime.jsx)("img",{className:"o-teaser__image "+lazyClassName,"data-src":src,alt:alt})};Image_LazyImage.displayName="LazyImage";var Image=function(_ref4){var relativeUrl=_ref4.relativeUrl,url=_ref4.url,image=_ref4.image,imageSize=_ref4.imageSize,imageLazyLoad=_ref4.imageLazyLoad,imageHighestQuality=_ref4.imageHighestQuality,props=Image_objectWithoutProperties(_ref4,Image_excluded);if(!image||image&&!image.url)return null;var displayUrl=relativeUrl||url,options="XXL"===imageSize&&imageHighestQuality?{quality:"highest"}:{},imageSrc=!(image.url.startsWith("data:")||image.url.startsWith("blob:"))?imageService(image.url,ImageSizes[imageSize],options):image.url,alt=(image.altText||"").trim(),ImageComponent=imageLazyLoad?Image_LazyImage:Image_NormalImage;return Object(jsx_runtime.jsx)("div",{className:"o-teaser__image-container js-teaser-image-container",children:Object(jsx_runtime.jsx)(src_Link,Object.assign({},props,{url:displayUrl,attrs:{"data-trackable":"image-link",tabIndex:"-1","aria-hidden":"true"},children:Object(jsx_runtime.jsx)("div",{className:"o-teaser__image-placeholder",style:Object.assign({},aspectRatio(image)),children:Object(jsx_runtime.jsx)(ImageComponent,{src:imageSrc,lazyLoad:imageLazyLoad,alt:alt})})}))})},sameLabel=function sameLabel(){var context=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},label=arguments.length>1?arguments[1]:void 0;return label&&context&&context.parentLabel&&label===context.parentLabel},MetaLink=function(_ref){var metaPrefixText=_ref.metaPrefixText,metaLink=_ref.metaLink,metaAltLink=_ref.metaAltLink,metaSuffixText=_ref.metaSuffixText,context=_ref.context,showPrefixText=metaPrefixText&&!sameLabel(context,metaPrefixText),showSuffixText=metaSuffixText&&!sameLabel(context,metaSuffixText),linkId=metaLink&&metaLink.id,linkLabel=metaLink&&metaLink.prefLabel,useAltLink=function sameId(){var context=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},id=arguments.length>1?arguments[1]:void 0;return id&&context&&context.parentId&&id===context.parentId}(context,linkId)||sameLabel(context,linkLabel),displayLink=useAltLink?metaAltLink:metaLink;return Object(jsx_runtime.jsxs)("div",{className:"o-teaser__meta",children:[showPrefixText?Object(jsx_runtime.jsx)("span",{className:"o-teaser__tag-prefix",children:metaPrefixText}):null,displayLink?Object(jsx_runtime.jsx)("a",{className:"o-teaser__tag","data-trackable":"teaser-tag",href:displayLink.relativeUrl||displayLink.url,"aria-label":"Category: "+displayLink.prefLabel,children:displayLink.prefLabel}):null,showSuffixText?Object(jsx_runtime.jsx)("span",{className:"o-teaser__tag-suffix",children:metaSuffixText}):null]})},src_Promoted=function(_ref){var promotedPrefixText=_ref.promotedPrefixText,promotedSuffixText=_ref.promotedSuffixText;return Object(jsx_runtime.jsxs)("div",{className:"o-teaser__meta",children:[Object(jsx_runtime.jsx)("span",{className:"o-teaser__promoted-prefix",children:promotedPrefixText})," by",Object(jsx_runtime.jsx)("span",{className:"o-teaser__promoted-by",children:" "+promotedSuffixText+" "})]})},Meta=function(props){return props.promotedPrefixText&&props.promotedSuffixText?Object(jsx_runtime.jsx)(src_Promoted,Object.assign({},props)):Object(jsx_runtime.jsx)(MetaLink,Object.assign({},props))},RelatedLinks_renderLink=function renderLink(_ref,i){var id=_ref.id,type=_ref.type,title=_ref.title,url=_ref.url,displayUrl=_ref.relativeUrl||url;return Object(jsx_runtime.jsx)("li",{"data-content-id":id,className:"o-teaser__related-item o-teaser__related-item--"+type,children:Object(jsx_runtime.jsx)("a",{"data-trackable":"related",href:displayUrl,children:title})},"related-"+i)};RelatedLinks_renderLink.displayName="renderLink";var RelatedLinks=function(_ref2){var _ref2$relatedLinks=_ref2.relatedLinks,relatedLinks=void 0===_ref2$relatedLinks?[]:_ref2$relatedLinks;return relatedLinks&&relatedLinks.length?Object(jsx_runtime.jsx)("ul",{className:"o-teaser__related",children:relatedLinks.map(RelatedLinks_renderLink)}):null},dateformat=__webpack_require__("./node_modules/dateformat/lib/dateformat.js"),dateformat_default=__webpack_require__.n(dateformat),TimeStamp=function(_ref){var publishedDate=_ref.publishedDate;return Object(jsx_runtime.jsx)("div",{className:"o-teaser__timestamp",children:Object(jsx_runtime.jsx)("time",{className:"o-teaser__timestamp-date",dateTime:dateformat_default()(publishedDate,dateformat_default.a.masks.isoDateTime,!0),children:dateformat_default()(publishedDate,dateformat_default.a.masks.longDate,!0)})})};__webpack_require__("./node_modules/core-js/modules/es.date.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.date.now.js");function getRelativeDate(date){return Date.now()-function toDate(date){return"string"==typeof date||"number"==typeof date?new Date(date):date}(date).getTime()}var displayTime=function displayTime(date){var hours=Math.floor(Math.abs(date/36e5));return hours+" "+(0===hours?"":(1===hours?"hour":"hours")+" ago")},RelativeTime=function(_ref){var publishedDate=_ref.publishedDate,firstPublishedDate=_ref.firstPublishedDate,_ref$showAlways=_ref.showAlways,showAlways=void 0!==_ref$showAlways&&_ref$showAlways,relativeDate=getRelativeDate(publishedDate),status=function getStatus(publishedDate,firstPublishedDate){return getRelativeDate(publishedDate)<36e5?publishedDate===firstPublishedDate?"new":"updated":""}(publishedDate,firstPublishedDate);return!0===showAlways||function isRecent(relativeDate){return relativeDate<144e5}(relativeDate)?Object(jsx_runtime.jsxs)("div",{className:"o-teaser__timestamp o-teaser__timestamp--"+status,children:[status?Object(jsx_runtime.jsxs)("span",{className:"o-teaser__timestamp-prefix",children:[" "+status+" "," "]}):null,Object(jsx_runtime.jsx)("time",{className:"o-teaser__timestamp-date o-date","data-o-component":"o-date","data-o-date-format":showAlways?"time-ago-limit-24-hours":"time-ago-limit-4-hours",dateTime:dateformat_default()(publishedDate,dateformat_default.a.masks.isoDateTime,!0),children:status?"":displayTime(relativeDate)})]}):null},LiveBlogLabels={inprogress:"Live",comingsoon:"Coming Soon",closed:""},LiveBlogModifiers={inprogress:"live",comingsoon:"pending",closed:"closed"},LiveBlogStatus=function(_ref){var status=_ref.status;return status&&"closed"!==status?Object(jsx_runtime.jsx)("div",{className:"o-teaser__timestamp o-teaser__timestamp--"+LiveBlogModifiers[status],children:Object(jsx_runtime.jsx)("span",{className:"o-teaser__timestamp-prefix",children:" "+LiveBlogLabels[status]+" "})}):null},differenceInCalendarDays=(__webpack_require__("./node_modules/core-js/modules/es.date.to-iso-string.js"),__webpack_require__("./node_modules/date-fns/esm/differenceInCalendarDays/index.js")),AlwaysShowTimestamp=function(props){var localTodayDate=(new Date).toISOString().substr(0,10),dateToCompare=new Date(props.publishedDate).toISOString().substr(0,10);return Object(differenceInCalendarDays.a)(localTodayDate,dateToCompare)>=1?Object(jsx_runtime.jsx)(TimeStamp,Object.assign({},props)):Object(jsx_runtime.jsx)(RelativeTime,Object.assign({},props,{showAlways:!0}))},Status=function(props){return props.status?Object(jsx_runtime.jsx)(LiveBlogStatus,Object.assign({},props)):props.publishedDate?props.useRelativeTimeIfToday?Object(jsx_runtime.jsx)(AlwaysShowTimestamp,Object.assign({},props)):props.useRelativeTime?Object(jsx_runtime.jsx)(RelativeTime,Object.assign({},props)):Object(jsx_runtime.jsx)(TimeStamp,Object.assign({},props)):null},Standfirst_excluded=["standfirst","altStandfirst","headlineTesting","relativeUrl","url"];function Standfirst_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Standfirst_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Standfirst=function(_ref){var standfirst=_ref.standfirst,altStandfirst=_ref.altStandfirst,headlineTesting=_ref.headlineTesting,relativeUrl=_ref.relativeUrl,url=_ref.url,props=Standfirst_objectWithoutProperties(_ref,Standfirst_excluded),displayStandfirst=headlineTesting&&altStandfirst?altStandfirst:standfirst,displayUrl=relativeUrl||url;return displayStandfirst?Object(jsx_runtime.jsx)("p",{className:"o-teaser__standfirst",children:Object(jsx_runtime.jsx)(src_Link,Object.assign({},props,{url:displayUrl,attrs:{"data-trackable":"standfirst-link",tabIndex:-1,className:"js-teaser-standfirst-link"},children:displayStandfirst}))}):null},Title_excluded=["title","altTitle","headlineTesting","relativeUrl","url","indicators"];function Title_objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function Title_objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Title=function(_ref){var ariaLabel,title=_ref.title,altTitle=_ref.altTitle,headlineTesting=_ref.headlineTesting,relativeUrl=_ref.relativeUrl,url=_ref.url,indicators=_ref.indicators,props=Title_objectWithoutProperties(_ref,Title_excluded),displayTitle=headlineTesting&&altTitle?altTitle:title,displayUrl=relativeUrl||url;return"video"===props.type?ariaLabel="Watch video "+displayTitle:"audio"===props.type&&(ariaLabel="Listen to podcast "+displayTitle),Object(jsx_runtime.jsxs)("div",{className:"o-teaser__heading",children:[Object(jsx_runtime.jsx)(src_Link,Object.assign({},props,{url:displayUrl,attrs:{"data-trackable":"heading-link",className:"js-teaser-heading-link","aria-label":ariaLabel},children:displayTitle})),indicators&&"premium"===indicators.accessLevel?Object(jsx_runtime.jsxs)("span",{children:[" ",Object(jsx_runtime.jsx)("span",{className:"o-labels o-labels--premium o-labels--content-premium",children:"Premium"}),Object(jsx_runtime.jsx)("span",{className:"o-normalise-visually-hidden",children:" content"})]}):null]})},formatData=(__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),function formatData(props){return JSON.stringify({renditions:[props.video],mainImageUrl:props.image?props.image.url:null})}),Video_Embed=function Embed(props){var showGuidance="boolean"==typeof props.showGuidance?props.showGuidance.toString():"true";return Object(jsx_runtime.jsx)("div",{className:"o-teaser__image-container js-image-container",children:Object(jsx_runtime.jsx)("div",{className:"o-video","data-o-component":"o-video","data-o-video-id":props.id,"data-o-video-data":formatData(props),"data-o-video-optimumwidth":"640","data-o-video-optimumvideowidth":"640","data-o-video-autorender":"true","data-o-video-playsinline":"true","data-o-video-show-guidance":showGuidance,"data-o-video-placeholder":"true","data-o-video-placeholder-info":"[]","data-o-video-placeholder-hint":"Play video","data-o-video-systemcode":props.systemCode})})};Video_Embed.displayName="Embed";var src_Video=function(props){return Object(jsx_runtime.jsxs)("div",{className:"o-teaser__video",children:[Object(jsx_runtime.jsx)("div",{className:"o--if-js",children:Object(jsx_runtime.jsx)(Video_Embed,Object.assign({},props))}),Object(jsx_runtime.jsx)("div",{className:"o--if-no-js",children:Object(jsx_runtime.jsx)(Image,Object.assign({},props))})]})},PromotionaContent_PromotionalContent=function PromotionalContent(_ref){var promotionalContent=_ref.promotionalContent;return Object(jsx_runtime.jsx)("div",{className:"o-teaser__image-container js-teaser-image-container",children:promotionalContent})};PromotionaContent_PromotionalContent.displayName="PromotionalContent",PromotionaContent_PromotionalContent.__docgenInfo={description:"",methods:[],displayName:"PromotionalContent"};var PromotionaContent=PromotionaContent_PromotionalContent;"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/src/PromotionaContent.jsx"]={name:"PromotionalContent",docgenInfo:PromotionaContent_PromotionalContent.__docgenInfo,path:"components/x-teaser/src/PromotionaContent.jsx"});var Teaser_Teaser=function Teaser(props){return Object(jsx_runtime.jsxs)(Container,Object.assign({},props,{children:[Object(jsx_runtime.jsxs)(Content,{children:[props.showMeta?Object(jsx_runtime.jsx)(Meta,Object.assign({},props)):null,"video"===media(props)?Object(jsx_runtime.jsx)(src_Video,Object.assign({},props)):null,props.showTitle?Object(jsx_runtime.jsx)(Title,Object.assign({},props)):null,props.showStandfirst?Object(jsx_runtime.jsx)(Standfirst,Object.assign({},props)):null,props.showStatus?Object(jsx_runtime.jsx)(Status,Object.assign({},props)):null,props.showCustomSlot?Object(jsx_runtime.jsx)(CustomSlot,Object.assign({},props)):null,"headshot"===media(props)?Object(jsx_runtime.jsx)(Headshot,Object.assign({},props)):null]}),"promotionalContent"===media(props)?Object(jsx_runtime.jsx)(PromotionaContent,Object.assign({},props)):null,"image"===media(props)?Object(jsx_runtime.jsx)(Image,Object.assign({},props)):null,props.showRelatedLinks?Object(jsx_runtime.jsx)(RelatedLinks,Object.assign({},props)):null]}))};Teaser_Teaser.displayName="Teaser",Teaser_Teaser.__docgenInfo={description:"",methods:[],displayName:"Teaser"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/src/Teaser.jsx"]={name:"Teaser",docgenInfo:Teaser_Teaser.__docgenInfo,path:"components/x-teaser/src/Teaser.jsx"});__webpack_require__("./node_modules/react/index.js");var build_service=__webpack_require__("./.storybook/build-service.js"),dependencies={"o-date":"^5.0.0","o-labels":"^6.0.0","o-normalise":"^3.0.0","o-teaser":"^6.0.0","o-typography":"^7.0.0","o-video":"^7.0.0"},argTypes=__webpack_require__("./components/x-teaser/storybook/argTypes.js").argTypes,storybook_Article=(__webpack_exports__.default={title:"x-teaser"},function Article(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(Teaser_Teaser,Object.assign({},args))]})});storybook_Article.displayName="Article",storybook_Article.args=__webpack_require__("./components/x-teaser/storybook/article.js").args,storybook_Article.argTypes=argTypes;var storybook_Podcast=function Podcast(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(Teaser_Teaser,Object.assign({},args))]})};storybook_Podcast.displayName="Podcast",storybook_Podcast.args=__webpack_require__("./components/x-teaser/storybook/podcast.js").args,storybook_Podcast.argTypes=argTypes;var storybook_Opinion=function Opinion(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(Teaser_Teaser,Object.assign({},args))]})};storybook_Opinion.displayName="Opinion",storybook_Opinion.args=__webpack_require__("./components/x-teaser/storybook/opinion.js").args,storybook_Opinion.argTypes=argTypes;var storybook_ContentPackage=function ContentPackage(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(Teaser_Teaser,Object.assign({},args))]})};storybook_ContentPackage.displayName="ContentPackage",storybook_ContentPackage.storyName="ContentPackage",storybook_ContentPackage.args=__webpack_require__("./components/x-teaser/storybook/content-package.js").args,storybook_ContentPackage.argTypes=argTypes;var storybook_PackageItem=function PackageItem(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(Teaser_Teaser,Object.assign({},args))]})};storybook_PackageItem.displayName="PackageItem",storybook_PackageItem.storyName="PackageItem",storybook_PackageItem.args=__webpack_require__("./components/x-teaser/storybook/package-item.js").args,storybook_PackageItem.argTypes=argTypes;var storybook_Promoted=function Promoted(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(Teaser_Teaser,Object.assign({},args))]})};storybook_Promoted.displayName="Promoted",storybook_Promoted.args=__webpack_require__("./components/x-teaser/storybook/promoted.js").args,storybook_Promoted.argTypes=argTypes;var storybook_TopStory=function TopStory(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(Teaser_Teaser,Object.assign({},args))]})};storybook_TopStory.displayName="TopStory",storybook_TopStory.storyName="TopStory",storybook_TopStory.args=__webpack_require__("./components/x-teaser/storybook/top-story.js").args,storybook_TopStory.argTypes=argTypes;var storybook_Video=function Video(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[dependencies&&Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(Teaser_Teaser,Object.assign({},args))]})};storybook_Video.displayName="Video",storybook_Video.args=__webpack_require__("./components/x-teaser/storybook/video.js").args,storybook_Video.argTypes=argTypes,storybook_Article.__docgenInfo={description:"",methods:[],displayName:"Article"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/storybook/index.jsx"]={name:"Article",docgenInfo:storybook_Article.__docgenInfo,path:"components/x-teaser/storybook/index.jsx"}),storybook_Podcast.__docgenInfo={description:"",methods:[],displayName:"Podcast"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/storybook/index.jsx"]={name:"Podcast",docgenInfo:storybook_Podcast.__docgenInfo,path:"components/x-teaser/storybook/index.jsx"}),storybook_Opinion.__docgenInfo={description:"",methods:[],displayName:"Opinion"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/storybook/index.jsx"]={name:"Opinion",docgenInfo:storybook_Opinion.__docgenInfo,path:"components/x-teaser/storybook/index.jsx"}),storybook_ContentPackage.__docgenInfo={description:"",methods:[],displayName:"ContentPackage"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/storybook/index.jsx"]={name:"ContentPackage",docgenInfo:storybook_ContentPackage.__docgenInfo,path:"components/x-teaser/storybook/index.jsx"}),storybook_PackageItem.__docgenInfo={description:"",methods:[],displayName:"PackageItem"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/storybook/index.jsx"]={name:"PackageItem",docgenInfo:storybook_PackageItem.__docgenInfo,path:"components/x-teaser/storybook/index.jsx"}),storybook_Promoted.__docgenInfo={description:"",methods:[],displayName:"Promoted"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/storybook/index.jsx"]={name:"Promoted",docgenInfo:storybook_Promoted.__docgenInfo,path:"components/x-teaser/storybook/index.jsx"}),storybook_TopStory.__docgenInfo={description:"",methods:[],displayName:"TopStory"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/storybook/index.jsx"]={name:"TopStory",docgenInfo:storybook_TopStory.__docgenInfo,path:"components/x-teaser/storybook/index.jsx"}),storybook_Video.__docgenInfo={description:"",methods:[],displayName:"Video"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-teaser/storybook/index.jsx"]={name:"Video",docgenInfo:storybook_Video.__docgenInfo,path:"components/x-teaser/storybook/index.jsx"})},"./components/x-teaser/storybook/opinion.js":function(module,exports,__webpack_require__){(function(module){__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var presets=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js").presets;exports.args=Object.assign(__webpack_require__("./components/x-teaser/__fixtures__/opinion.json"),presets.SmallHeavy,{showHeadshot:!0}),exports.m=module}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./components/x-teaser/storybook/package-item.js":function(module,exports,__webpack_require__){(function(module){__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var presets=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js").presets;exports.args=Object.assign(__webpack_require__("./components/x-teaser/__fixtures__/package-item.json"),presets.Hero),exports.m=module}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./components/x-teaser/storybook/podcast.js":function(module,exports,__webpack_require__){(function(module){__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var presets=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js").presets;exports.args=Object.assign(__webpack_require__("./components/x-teaser/__fixtures__/podcast.json"),presets.SmallHeavy),exports.m=module}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./components/x-teaser/storybook/promoted.js":function(module,exports,__webpack_require__){(function(module){__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var presets=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js").presets;exports.args=Object.assign(__webpack_require__("./components/x-teaser/__fixtures__/promoted.json"),presets.SmallHeavy),exports.m=module}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./components/x-teaser/storybook/top-story.js":function(module,exports,__webpack_require__){(function(module){__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var presets=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js").presets;exports.args=Object.assign(__webpack_require__("./components/x-teaser/__fixtures__/top-story.json"),presets.TopStoryLandscape),exports.m=module}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./components/x-teaser/storybook/video.js":function(module,exports,__webpack_require__){(function(module){__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var presets=__webpack_require__("./components/x-teaser/dist/Teaser.es5.js").presets;exports.args=Object.assign(__webpack_require__("./components/x-teaser/__fixtures__/video.json"),presets.HeroVideo),exports.m=module}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./components/x-topic-search/src/TopicSearch.scss":function(module,exports,__webpack_require__){var content=__webpack_require__("./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-topic-search/src/TopicSearch.scss");"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:undefined,insertInto:void 0};__webpack_require__("./node_modules/style-loader/lib/addStyles.js")(content,options);content.locals&&(module.exports=content.locals)},"./components/x-topic-search/storybook/index.jsx":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"_TopicSearchBar",(function(){return storybook_TopicSearchBar}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/core-js/modules/es.function.bind.js"),__webpack_require__("./node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),__webpack_require__("./node_modules/core-js/modules/es.object.set-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.object.create.js"),__webpack_require__("./node_modules/core-js/modules/es.object.define-property.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.date.to-primitive.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js");var client=__webpack_require__("./packages/x-engine/src/client.js"),addQueryParamToUrl=(__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),function addQueryParamToUrl(name,value,url){var queryParam=name+"="+value;return!0===(!(arguments.length>3&&void 0!==arguments[3])||arguments[3])?url+"&"+queryParam:url+"?"+queryParam}),get_suggestions=function(searchTerm,maxSuggestions,apiUrl){var dataSrc=addQueryParamToUrl("count",maxSuggestions,apiUrl,!1),url=addQueryParamToUrl("partial",searchTerm.replace(" ","+"),dataSrc);return fetch(url).then((function(response){if(!response.ok)throw new Error(response.statusText);return response.json()})).then((function(suggestions){return{suggestions:suggestions}}))},dist=__webpack_require__("./node_modules/debounce-promise/dist/index.js"),dist_default=__webpack_require__.n(dist),FollowButton_es5=(__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./components/x-follow-button/dist/FollowButton.es5.js")),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),SuggestionList_defaultFollowButtonRender=function defaultFollowButtonRender(concept,csrfToken,followedTopicIds){return Object(jsx_runtime.jsx)(FollowButton_es5.FollowButton,{conceptId:concept.id,conceptName:concept.prefLabel,csrfToken:csrfToken,isFollowed:followedTopicIds.includes(concept.id)})};SuggestionList_defaultFollowButtonRender.displayName="defaultFollowButtonRender";var SuggestionList=function(_ref){var suggestions=_ref.suggestions,renderFollowButton=_ref.renderFollowButton,searchTerm=_ref.searchTerm,csrfToken=_ref.csrfToken,_ref$followedTopicIds=_ref.followedTopicIds,followedTopicIds=void 0===_ref$followedTopicIds?[]:_ref$followedTopicIds;return renderFollowButton="function"==typeof renderFollowButton?renderFollowButton:SuggestionList_defaultFollowButtonRender,Object(jsx_runtime.jsx)("ul",{className:"x-topic-search-suggestions","aria-live":"polite",children:suggestions.map((function(suggestion){return Object(jsx_runtime.jsxs)("li",{className:"x-topic-search-suggestions__suggestion","data-trackable":"myft-topic","data-concept-id":suggestion.id,"data-trackable-meta":'{"search-term":"'+searchTerm+'"}',children:[Object(jsx_runtime.jsx)("a",{"data-trackable":"topic-link",className:"x-topic-search-suggestions__suggestion-name",href:suggestion.url||"/stream/"+suggestion.id,children:suggestion.prefLabel}),renderFollowButton(suggestion,csrfToken,followedTopicIds)]},suggestion.id)}))})},NoSuggestions=function(_ref){var searchTerm=_ref.searchTerm;return Object(jsx_runtime.jsxs)("div",{className:"x-topic-search-no-suggestions","aria-live":"polite",children:[Object(jsx_runtime.jsxs)("h2",{className:"x-topic-search-no-suggestions__title",children:["No topics matching ",Object(jsx_runtime.jsx)("b",{children:searchTerm})]}),Object(jsx_runtime.jsx)("p",{children:"Suggestions:"}),Object(jsx_runtime.jsxs)("ul",{className:"x-topic-search-no-suggestions__message",children:[Object(jsx_runtime.jsx)("li",{children:"Make sure that all words are spelled correctly."}),Object(jsx_runtime.jsx)("li",{children:"Try different keywords."}),Object(jsx_runtime.jsx)("li",{children:"Try more general keywords."}),Object(jsx_runtime.jsx)("li",{children:"Try fewer keywords."})]})]})};function _defineProperties(target,props){for(var i=0;i=this.minSearchLength?this.getSuggestions(searchTerm,this.maxSuggestions,this.apiUrl).then((function(_ref){var suggestions=_ref.suggestions;_this4.setState({suggestions:suggestions,showResult:!0})})).catch((function(){_this4.setState({showResult:!1})})):this.setState({showResult:!1})}},{key:"handleInteractionOutside",value:function handleInteractionOutside(event){this.rootEl.contains(event.target)||this.setState({showResult:!1})}},{key:"handleInputClick",value:function handleInputClick(){this.state.searchTerm.length>=this.minSearchLength&&this.setState({showResult:!0})}},{key:"handleInputFocus",value:function handleInputFocus(event){event.target.select(),this.handleInputClick()}},{key:"render",value:function render(){var _this5=this,_this$props=this.props,csrfToken=_this$props.csrfToken,followedTopicIds=_this$props.followedTopicIds,renderFollowButton=_this$props.renderFollowButton,_this$state=this.state,searchTerm=_this$state.searchTerm,showResult=_this$state.showResult,suggestions=_this$state.suggestions;return Object(jsx_runtime.jsxs)("div",{className:"x-topic-search",ref:function ref(el){return _this5.rootEl=el},children:[Object(jsx_runtime.jsx)("h2",{className:"o-normalise-visually-hidden",children:"Search for topics, authors, companies, or other areas of interest"}),Object(jsx_runtime.jsx)("label",{className:"o-normalise-visually-hidden",htmlFor:"topic-search-input",children:"Search and add topics"}),Object(jsx_runtime.jsxs)("div",{className:"x-topic-search__input-wrapper",children:[Object(jsx_runtime.jsx)("i",{className:"x-topic-search__search-icon"}),Object(jsx_runtime.jsx)("input",{type:"search",id:"topic-search-input",placeholder:"Search and add topics",className:"x-topic-search__input","data-trackable":"topic-search",autoComplete:"off",onInput:this.handleInputChange,onClick:this.handleInputClick,onFocus:this.handleInputFocus})]}),showResult&&searchTerm.length>=this.minSearchLength&&Object(jsx_runtime.jsx)("div",{className:"x-topic-search__result-container",children:suggestions.length>0?Object(jsx_runtime.jsx)(SuggestionList,{csrfToken:csrfToken,followedTopicIds:followedTopicIds,searchTerm:searchTerm,suggestions:suggestions,renderFollowButton:renderFollowButton}):Object(jsx_runtime.jsx)(NoSuggestions,{searchTerm:searchTerm})})]})}}]),TopicSearch}(client.Component);TopicSearch_TopicSearch.__docgenInfo={description:"",methods:[{name:"handleInputChange",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"handleInteractionOutside",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null},{name:"handleInputClick",docblock:null,modifiers:[],params:[],returns:null},{name:"handleInputFocus",docblock:null,modifiers:[],params:[{name:"event",type:null}],returns:null}],displayName:"TopicSearch"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-topic-search/src/TopicSearch.jsx"]={name:"TopicSearch",docgenInfo:TopicSearch_TopicSearch.__docgenInfo,path:"components/x-topic-search/src/TopicSearch.jsx"});var build_service=__webpack_require__("./.storybook/build-service.js"),dependencies=(__webpack_require__("./components/x-topic-search/src/TopicSearch.scss"),{"o-fonts":"^5.3.0"}),storybook_TopicSearchBar=(__webpack_exports__.default={title:"x-topic-search"},function _TopicSearchBar(args){return Object(jsx_runtime.jsxs)("div",{className:"story-container",children:[Object(jsx_runtime.jsx)(build_service.a,{dependencies:dependencies}),Object(jsx_runtime.jsx)(TopicSearch_TopicSearch,Object.assign({},args))]})});storybook_TopicSearchBar.displayName="_TopicSearchBar",storybook_TopicSearchBar.args={minSearchLength:2,maxSuggestions:10,apiUrl:"//tag-facets-api.ft.com/annotations",followedTopicIds:["f95d1e16-2307-4feb-b3ff-6f224798aa49"],csrfToken:"csrfToken"},storybook_TopicSearchBar.argTypes={minSearchLength:{name:"Minimum search start length"},maxSuggestions:{name:"Maximum sugggestions to show"},apiUrl:{name:"URL of the API to use"},followedTopicIds:{type:"select",name:"Followed Topics",options:{None:[],"World Elephant Water Polo":["f95d1e16-2307-4feb-b3ff-6f224798aa49"],"Brexit, Britain after Brexit, Brexit Unspun Podcast":["19b95057-4614-45fb-9306-4d54049354db","464cc2f2-395e-4c36-bb29-01727fc95558","c4e899ed-157e-4446-86f0-5a65803dc07a"]}},csrfToken:{name:"CSRF Token"}},storybook_TopicSearchBar.__docgenInfo={description:"",methods:[],displayName:"_TopicSearchBar"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/x-topic-search/storybook/index.jsx"]={name:"_TopicSearchBar",docgenInfo:storybook_TopicSearchBar.__docgenInfo,path:"components/x-topic-search/storybook/index.jsx"})},"./generated-stories-entry.js":function(module,exports,__webpack_require__){"use strict";(function(module){(0,__webpack_require__("./node_modules/@storybook/react/dist/esm/client/index.js").configure)([__webpack_require__("./components sync recursive ^\\.[\\\\/](?:(?!\\.)(?=.)[^/]*?\\/storybook\\/index\\.jsx)$")],module,!1)}).call(this,__webpack_require__("./node_modules/webpack/buildin/module.js")(module))},"./node_modules/css-loader/dist/cjs.js?!./node_modules/postcss-loader/dist/cjs.js?!./components/x-styling-demo/src/Button.css":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,".button {\n\tbackground: steelblue;\n\tcolor: white;\n\tborder-radius: 0.25em;\n\tpadding: 0.5em;\n}\n\n.button--large {\n\tfont-size: 1.2em;\n}\n\n.button--danger {\n\tbackground: firebrick;\n}\n",""]),module.exports=exports},"./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-article-save-button/src/ArticleSaveButton.scss":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,'.x-article-save-button{display:inline-block}.x-article-save-button__button{font-family:MetricWeb, sans-serif;font-size:12px;line-height:16px;border:0;width:38px;padding:0;color:#000;background-color:rgba(0,0,0,0);text-align:center}.o-typography--loading-sans .x-article-save-button__button{font-size:10.44px;font-family:sans-serif}.x-article-save-button__button:focus{outline:none}body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23807973,%23807973&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23990F3D,%23990F3D&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-article-save-button__icon{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){.x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}',""]),module.exports=exports},"./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-follow-button/src/styles/main.scss":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,'a:active,a:hover{outline-width:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}optgroup{font-weight:bold}button,input,select,textarea{margin:0}button,[type=button],[type=reset],[type=submit]{cursor:pointer}[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}.x-follow-button{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#990f3d;border-color:#990f3d;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23990F3D,%23990F3D&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button[disabled],.x-follow-button[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button[disabled]::before,.x-follow-button[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button[disabled]::before,.x-follow-button[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button[disabled]::before,.x-follow-button[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button[disabled][aria-pressed=true]::before,.x-follow-button[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button[disabled][aria-pressed=true]::before,.x-follow-button[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button[disabled][aria-pressed=true]::before,.x-follow-button[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button{font-size:12.18px;font-family:sans-serif}.x-follow-button[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button:hover{background-color:rgba(153,15,61,.15);color:#990f3d;border-color:#990f3d;text-decoration:none}.x-follow-button:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(153,15,61,.15);color:#990f3d;border-color:#990f3d;z-index:1}@supports selector(:focus-visible){.x-follow-button:focus{outline:unset;box-shadow:unset}.x-follow-button:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(153,15,61,.15);color:#990f3d;border-color:#990f3d;z-index:1}}.x-follow-button[aria-selected=true],.x-follow-button[aria-current],.x-follow-button[aria-pressed=true],.x-follow-button:active{background-color:#990f3d;color:#fff;border-color:#990f3d}.x-follow-button[aria-pressed=true]{color:#fff}.x-follow-button[aria-pressed=true]:hover,.x-follow-button[aria-pressed=true]:focus{border-color:#800d33;color:#fff;background-color:#800d33}.x-follow-button[disabled]:hover,.x-follow-button[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(0,0,0,.5);color:rgba(0,0,0,.5);opacity:unset}.x-follow-button--inverse{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#fff;border-color:#fff;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--inverse::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse[disabled],.x-follow-button--inverse[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--inverse[disabled]::before,.x-follow-button--inverse[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse[disabled]::before,.x-follow-button--inverse[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse[disabled]::before,.x-follow-button--inverse[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse[disabled][aria-pressed=true]::before,.x-follow-button--inverse[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse[disabled][aria-pressed=true]::before,.x-follow-button--inverse[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse[disabled][aria-pressed=true]::before,.x-follow-button--inverse[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--inverse{font-size:12.18px;font-family:sans-serif}.x-follow-button--inverse[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--inverse:hover{background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;text-decoration:none}.x-follow-button--inverse:focus{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}@supports selector(:focus-visible){.x-follow-button--inverse:focus{outline:unset;box-shadow:unset}.x-follow-button--inverse:focus-visible{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}}.x-follow-button--inverse[aria-selected=true],.x-follow-button--inverse[aria-current],.x-follow-button--inverse[aria-pressed=true],.x-follow-button--inverse:active{background-color:#fff;color:#000;border-color:#fff}.x-follow-button--inverse[aria-pressed=true]{color:#000;mix-blend-mode:lighten}.x-follow-button--inverse[aria-pressed=true]:hover,.x-follow-button--inverse[aria-pressed=true]:focus{border-color:rgba(255,255,255,.8);color:#000;mix-blend-mode:lighten;background-color:rgba(255,255,255,.85)}.x-follow-button--inverse[disabled]:hover,.x-follow-button--inverse[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(255,255,255,.5);color:rgba(255,255,255,.5);opacity:unset}.x-follow-button--opinion{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#0a3866;border-color:#0a3866;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--opinion::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%230A3866,%230A3866&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--opinion::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--opinion::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--opinion[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--opinion[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--opinion[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--opinion[disabled],.x-follow-button--opinion[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--opinion[disabled]::before,.x-follow-button--opinion[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--opinion[disabled]::before,.x-follow-button--opinion[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--opinion[disabled]::before,.x-follow-button--opinion[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--opinion[disabled][aria-pressed=true]::before,.x-follow-button--opinion[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--opinion[disabled][aria-pressed=true]::before,.x-follow-button--opinion[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--opinion[disabled][aria-pressed=true]::before,.x-follow-button--opinion[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--opinion{font-size:12.18px;font-family:sans-serif}.x-follow-button--opinion[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--opinion:hover{background-color:rgba(10,56,102,.15);color:#0a3866;border-color:#0a3866;text-decoration:none}.x-follow-button--opinion:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(10,56,102,.15);color:#0a3866;border-color:#0a3866;z-index:1}@supports selector(:focus-visible){.x-follow-button--opinion:focus{outline:unset;box-shadow:unset}.x-follow-button--opinion:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(10,56,102,.15);color:#0a3866;border-color:#0a3866;z-index:1}}.x-follow-button--opinion[aria-selected=true],.x-follow-button--opinion[aria-current],.x-follow-button--opinion[aria-pressed=true],.x-follow-button--opinion:active{background-color:#0a3866;color:#fff;border-color:#0a3866}.x-follow-button--opinion[aria-pressed=true]{color:#fff}.x-follow-button--opinion[aria-pressed=true]:hover,.x-follow-button--opinion[aria-pressed=true]:focus{border-color:#082a4d;color:#fff;background-color:#082a4d}.x-follow-button--opinion[disabled]:hover,.x-follow-button--opinion[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(0,0,0,.5);color:rgba(0,0,0,.5);opacity:unset}.x-follow-button--monochrome{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#fff;border-color:#fff;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--monochrome::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--monochrome::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--monochrome::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--monochrome[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--monochrome[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--monochrome[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--monochrome[disabled],.x-follow-button--monochrome[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--monochrome[disabled]::before,.x-follow-button--monochrome[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--monochrome[disabled]::before,.x-follow-button--monochrome[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--monochrome[disabled]::before,.x-follow-button--monochrome[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--monochrome[disabled][aria-pressed=true]::before,.x-follow-button--monochrome[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--monochrome[disabled][aria-pressed=true]::before,.x-follow-button--monochrome[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--monochrome[disabled][aria-pressed=true]::before,.x-follow-button--monochrome[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--monochrome{font-size:12.18px;font-family:sans-serif}.x-follow-button--monochrome[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--monochrome:hover{background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;text-decoration:none}.x-follow-button--monochrome:focus{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}@supports selector(:focus-visible){.x-follow-button--monochrome:focus{outline:unset;box-shadow:unset}.x-follow-button--monochrome:focus-visible{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}}.x-follow-button--monochrome[aria-selected=true],.x-follow-button--monochrome[aria-current],.x-follow-button--monochrome[aria-pressed=true],.x-follow-button--monochrome:active{background-color:#fff;color:#000;border-color:#fff}.x-follow-button--monochrome[aria-pressed=true]{color:#000}.x-follow-button--monochrome[aria-pressed=true]:hover,.x-follow-button--monochrome[aria-pressed=true]:focus{border-color:#fffcfa;color:#000;background-color:#fffcfa}.x-follow-button--monochrome[disabled]:hover,.x-follow-button--monochrome[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(255,255,255,.5);color:rgba(255,255,255,.5);opacity:unset}.x-follow-button--inverse-monochrome{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#000;border-color:#000;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--inverse-monochrome::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse-monochrome::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse-monochrome::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse-monochrome[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse-monochrome[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse-monochrome[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse-monochrome[disabled],.x-follow-button--inverse-monochrome[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--inverse-monochrome[disabled]::before,.x-follow-button--inverse-monochrome[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse-monochrome[disabled]::before,.x-follow-button--inverse-monochrome[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse-monochrome[disabled]::before,.x-follow-button--inverse-monochrome[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse-monochrome[disabled][aria-pressed=true]::before,.x-follow-button--inverse-monochrome[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse-monochrome[disabled][aria-pressed=true]::before,.x-follow-button--inverse-monochrome[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse-monochrome[disabled][aria-pressed=true]::before,.x-follow-button--inverse-monochrome[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--inverse-monochrome{font-size:12.18px;font-family:sans-serif}.x-follow-button--inverse-monochrome[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--inverse-monochrome:hover{background-color:rgba(0,0,0,.15);color:#000;border-color:#000;text-decoration:none}.x-follow-button--inverse-monochrome:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(0,0,0,.15);color:#000;border-color:#000;z-index:1}@supports selector(:focus-visible){.x-follow-button--inverse-monochrome:focus{outline:unset;box-shadow:unset}.x-follow-button--inverse-monochrome:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(0,0,0,.15);color:#000;border-color:#000;z-index:1}}.x-follow-button--inverse-monochrome[aria-selected=true],.x-follow-button--inverse-monochrome[aria-current],.x-follow-button--inverse-monochrome[aria-pressed=true],.x-follow-button--inverse-monochrome:active{background-color:#000;color:#fff;border-color:#000}.x-follow-button--inverse-monochrome[aria-pressed=true]{color:#fff}.x-follow-button--inverse-monochrome[aria-pressed=true]:hover,.x-follow-button--inverse-monochrome[aria-pressed=true]:focus{border-color:#33302e;color:#fff;background-color:#33302e}.x-follow-button--inverse-monochrome[disabled]:hover,.x-follow-button--inverse-monochrome[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(0,0,0,.5);color:rgba(0,0,0,.5);opacity:unset}.x-follow-button--alphaville{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#fff;border-color:#fff;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--alphaville::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--alphaville::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--alphaville::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--alphaville[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23355778,%23355778&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--alphaville[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--alphaville[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--alphaville[disabled],.x-follow-button--alphaville[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--alphaville[disabled]::before,.x-follow-button--alphaville[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--alphaville[disabled]::before,.x-follow-button--alphaville[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--alphaville[disabled]::before,.x-follow-button--alphaville[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--alphaville[disabled][aria-pressed=true]::before,.x-follow-button--alphaville[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--alphaville[disabled][aria-pressed=true]::before,.x-follow-button--alphaville[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--alphaville[disabled][aria-pressed=true]::before,.x-follow-button--alphaville[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--alphaville{font-size:12.18px;font-family:sans-serif}.x-follow-button--alphaville[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--alphaville:hover{background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;text-decoration:none}.x-follow-button--alphaville:focus{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}@supports selector(:focus-visible){.x-follow-button--alphaville:focus{outline:unset;box-shadow:unset}.x-follow-button--alphaville:focus-visible{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}}.x-follow-button--alphaville[aria-selected=true],.x-follow-button--alphaville[aria-current],.x-follow-button--alphaville[aria-pressed=true],.x-follow-button--alphaville:active{background-color:#fff;color:#000;border-color:#fff}.x-follow-button--alphaville[aria-pressed=true]{color:#355778}.x-follow-button--alphaville[aria-pressed=true]:hover,.x-follow-button--alphaville[aria-pressed=true]:focus{border-color:rgba(255,255,255,.8);color:#355778;background-color:rgba(255,255,255,.8)}.x-follow-button--alphaville[disabled]:hover,.x-follow-button--alphaville[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(255,255,255,.5);color:rgba(255,255,255,.5);opacity:unset}',""]),module.exports=exports},"./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-gift-article/src/main.scss":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,'html,body{margin:0;text-rendering:optimizeLegibility;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-reduced-motion: reduce){html *,html *:before,html *:after,body *,body *:before,body *:after{animation-duration:.001s !important;transition-duration:.001s !important;animation-iteration-count:1 !important}}:focus{outline:2px solid #807973}input:focus,button:focus,textarea:focus,select:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}@supports selector(:focus-visible){input:focus,button:focus,textarea:focus,select:focus,:focus{outline:unset;box-shadow:unset}:focus-visible{outline:2px solid #807973}input:focus-visible,button:focus-visible,textarea:focus-visible,select:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}optgroup{font-weight:bold}button,input,select,textarea{margin:0}button,[type=button],[type=reset],[type=submit]{cursor:pointer}[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}.o-normalise-clearfix{zoom:1}.o-normalise-clearfix:before,.o-normalise-clearfix:after{content:"";display:table;display:flex}.o-normalise-clearfix:after{clear:both}.o-normalise-visually-hidden{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Thin&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Thin&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:100;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Light&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Light&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:300;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-LightItalic&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-LightItalic&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:300;font-style:italic;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Regular&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Regular&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:400;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-RegularItalic&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-RegularItalic&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:400;font-style:italic;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Medium&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Medium&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:500;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Semibold&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Semibold&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:600;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Bold&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Bold&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:700;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-BoldItalic&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-BoldItalic&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:700;font-style:italic;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Black&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=MetricWeb-Black&system_code=origami&font_format=woff") format("woff");font-family:"MetricWeb";font-weight:900;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Light&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Light&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:300;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-LightItalic&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-LightItalic&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:300;font-style:italic;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Regular&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Regular&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:400;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-RegularItalic&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-RegularItalic&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:400;font-style:italic;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-MediumItalic&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-MediumItalic&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:500;font-style:italic;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Medium&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Medium&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:500;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Semibold&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Semibold&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:600;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-SemiboldItalic&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-SemiboldItalic&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:600;font-style:italic;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Bold&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Bold&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:700;font-style:normal;font-display:swap}@font-face{src:url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Black&system_code=origami&font_format=woff2") format("woff2"),url("https://www.ft.com/__origami/service/build/v3/font?version=1.12&font_name=FinancierDisplayWeb-Black&system_code=origami&font_format=woff") format("woff");font-family:"FinancierDisplayWeb";font-weight:900;font-style:normal;font-display:swap}.o-typography-heading-level-1{font-family:MetricWeb, sans-serif;font-size:32px;line-height:32px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-heading-level-1{font-size:26.56px;font-family:sans-serif}.o-typography-heading-level-2{font-family:MetricWeb, sans-serif;font-size:28px;line-height:32px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-heading-level-2{font-size:23.24px;font-family:sans-serif}.o-typography-heading-level-3{font-family:MetricWeb, sans-serif;font-size:24px;line-height:28px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-heading-level-3{font-size:19.92px;font-family:sans-serif}.o-typography-heading-level-4{font-family:MetricWeb, sans-serif;font-size:20px;line-height:24px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-heading-level-4{font-size:16.6px;font-family:sans-serif}.o-typography-heading-level-5{font-family:MetricWeb, sans-serif;font-size:18px;line-height:20px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-heading-level-5{font-size:14.94px;font-family:sans-serif}.o-typography-heading-level-6{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-heading-level-6{font-size:13.28px;font-family:sans-serif}.o-typography-bold{font-weight:600}.o-typography-italic{font-style:italic}.o-typography-sup{font-family:MetricWeb, sans-serif;font-size:.666em;position:static;vertical-align:super;line-height:0;display:inline-block;margin-top:-1em}.o-typography-sub{font-family:MetricWeb, sans-serif;font-size:.666em;position:static;vertical-align:sub;line-height:0;display:inline-block;margin-bottom:-1em}.o-typography-body{font-family:MetricWeb, sans-serif;font-size:18px;line-height:20px;margin:0 0 24px;color:var(--_o-typography-body-color, )}.o-typography--loading-sans .o-typography-body{font-size:15.66px;font-family:sans-serif}.o-typography-inverse{--_o-typography-body-color: #ffffff}.o-typography-link{text-decoration:none;cursor:pointer;border-bottom:.25ex solid;color:#0d7680;color:var(--_o-typography-link-color, #0d7680);border-bottom-color:#cfd8d1;border-bottom-color:var(--_o-typography-link-decoration-color, #cfd8d1);text-decoration-color:#cfd8d1;text-decoration-color:var(--_o-typography-link-decoration-color, #cfd8d1)}.o-typography-link[target=_blank]{position:relative}.o-typography-link[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}@supports(text-decoration-thickness: 0.25ex){.o-typography-link{border-bottom:0;text-decoration-thickness:.25ex;text-decoration-line:underline}}.o-typography-link:hover{color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%));border-bottom-color:#9ec0bd;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd);text-decoration-color:#9ec0bd;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd)}.o-typography-link:focus{border-bottom-color:rgba(0,0,0,0);text-decoration-color:rgba(0,0,0,0);color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%))}.o-typography-inverse{--_o-typography-link-color: #ffffff;--_o-typography-link-decoration-color: #ffffff;--_o-typography-link-color-hover: #d4d4d6;--_o-typography-link-decoration-color-hover: #d4d4d6}.o-typography-professional{--_o-typography-link-color: #262a33;--_o-typography-link-decoration-color: hsl(150.6382978723, 28.2282282282%, 72.1338912134%);--_o-typography-link-color-hover: #262a33;--_o-typography-link-decoration-color-hover: hsl(150.6382978723, 28.2282282282%, 72.1338912134%)}.o-typography-professional.o-typography-inverse{--_o-typography-link-color: #c0efd8;--_o-typography-link-decoration-color: #c0efd8;--_o-typography-link-color-hover: hsl(150.6382978723, 18.6613726602%, 63.1171548117%);--_o-typography-link-decoration-color-hover: hsl(150.6382978723, 18.6613726602%, 63.1171548117%)}.o-typography-ft-live{--_o-typography-link-color: #fcd0b1;--_o-typography-link-decoration-color: #d1af98;--_o-typography-link-color-hover: #fcd0b1;--_o-typography-link-decoration-color-hover: #d1af98}.o-typography-list{margin:0 0 24px;padding:0;list-style:none}.o-typography-list>li{position:relative;margin:0;padding-left:calc(2ch + 4px)}.o-typography-list>li:before{font-family:MetricWeb, sans-serif;display:inline-block;position:absolute;left:0;transform-origin:center left}.o-typography-list--ordered{counter-reset:item}.o-typography-list--ordered>li:before{font-weight:600;content:counter(item);counter-increment:item;font-feature-settings:"tnum";transform:scale(0.8888888889);margin-left:-0.1422222222ch}.o-typography-list--unordered>li:before{content:"•";color:inherit;transform:scale(1.5555555556);margin-top:-0.2488888889ch}.o-typography-caption{font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;margin-top:8px;margin-bottom:0;color:#33302e}.o-typography--loading-sans .o-typography-caption{font-size:12.18px;font-family:sans-serif}.o-typography-footer{font-family:MetricWeb, sans-serif;font-size:18px;line-height:24px;color:#33302e}.o-typography--loading-sans .o-typography-footer{font-size:15.66px;font-family:sans-serif}.o-typography-wrapper>p,.o-typography-wrapper{font-family:MetricWeb, sans-serif;font-size:18px;line-height:20px;margin:0 0 24px;color:var(--_o-typography-body-color, )}.o-typography--loading-sans .o-typography-wrapper>p,.o-typography--loading-sans .o-typography-wrapper{font-size:15.66px;font-family:sans-serif}.o-typography-wrapper>p>h1,.o-typography-wrapper>h1{font-family:MetricWeb, sans-serif;font-size:32px;line-height:32px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-wrapper>p>h1,.o-typography--loading-sans-bold .o-typography-wrapper>h1{font-size:26.56px;font-family:sans-serif}.o-typography-wrapper>p>h2,.o-typography-wrapper>h2{font-family:MetricWeb, sans-serif;font-size:28px;line-height:32px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-wrapper>p>h2,.o-typography--loading-sans-bold .o-typography-wrapper>h2{font-size:23.24px;font-family:sans-serif}.o-typography-wrapper>p>h3,.o-typography-wrapper>h3{font-family:MetricWeb, sans-serif;font-size:24px;line-height:28px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-wrapper>p>h3,.o-typography--loading-sans-bold .o-typography-wrapper>h3{font-size:19.92px;font-family:sans-serif}.o-typography-wrapper>p>h4,.o-typography-wrapper>h4{font-family:MetricWeb, sans-serif;font-size:20px;line-height:24px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-wrapper>p>h4,.o-typography--loading-sans-bold .o-typography-wrapper>h4{font-size:16.6px;font-family:sans-serif}.o-typography-wrapper>p>h5,.o-typography-wrapper>h5{font-family:MetricWeb, sans-serif;font-size:18px;line-height:20px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-wrapper>p>h5,.o-typography--loading-sans-bold .o-typography-wrapper>h5{font-size:14.94px;font-family:sans-serif}.o-typography-wrapper>p>h6,.o-typography-wrapper>h6{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .o-typography-wrapper>p>h6,.o-typography--loading-sans-bold .o-typography-wrapper>h6{font-size:13.28px;font-family:sans-serif}.o-typography-wrapper>p>a,.o-typography-wrapper>a{text-decoration:none;cursor:pointer;border-bottom:.25ex solid;color:#0d7680;color:var(--_o-typography-link-color, #0d7680);border-bottom-color:#cfd8d1;border-bottom-color:var(--_o-typography-link-decoration-color, #cfd8d1);text-decoration-color:#cfd8d1;text-decoration-color:var(--_o-typography-link-decoration-color, #cfd8d1)}.o-typography-wrapper>p>a[target=_blank],.o-typography-wrapper>a[target=_blank]{position:relative}.o-typography-wrapper>p>a[target=_blank]:after,.o-typography-wrapper>a[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}@supports(text-decoration-thickness: 0.25ex){.o-typography-wrapper>p>a,.o-typography-wrapper>a{border-bottom:0;text-decoration-thickness:.25ex;text-decoration-line:underline}}.o-typography-wrapper>p>a:hover,.o-typography-wrapper>a:hover{color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%));border-bottom-color:#9ec0bd;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd);text-decoration-color:#9ec0bd;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd)}.o-typography-wrapper>p>a:focus,.o-typography-wrapper>a:focus{border-bottom-color:rgba(0,0,0,0);text-decoration-color:rgba(0,0,0,0);color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%))}.o-typography-wrapper>p>p,.o-typography-wrapper>p{font-family:MetricWeb, sans-serif;font-size:18px;line-height:20px;margin:0 0 24px;color:var(--_o-typography-body-color, )}.o-typography--loading-sans .o-typography-wrapper>p>p,.o-typography--loading-sans .o-typography-wrapper>p{font-size:15.66px;font-family:sans-serif}.o-typography-wrapper>p>ol,.o-typography-wrapper>p>ul,.o-typography-wrapper>ol,.o-typography-wrapper>ul{margin:0 0 24px;padding:0;list-style:none}.o-typography-wrapper>p>ol>li,.o-typography-wrapper>p>ul>li,.o-typography-wrapper>ol>li,.o-typography-wrapper>ul>li{position:relative;margin:0;padding-left:calc(2ch + 4px)}.o-typography-wrapper>p>ol>li:before,.o-typography-wrapper>p>ul>li:before,.o-typography-wrapper>ol>li:before,.o-typography-wrapper>ul>li:before{font-family:MetricWeb, sans-serif;display:inline-block;position:absolute;left:0;transform-origin:center left}.o-typography-wrapper>p>ol,.o-typography-wrapper>ol{counter-reset:item}.o-typography-wrapper>p>ol>li:before,.o-typography-wrapper>ol>li:before{font-weight:600;content:counter(item);counter-increment:item;font-feature-settings:"tnum";transform:scale(0.8888888889);margin-left:-0.1422222222ch}.o-typography-wrapper>p>ul>li:before,.o-typography-wrapper>ul>li:before{content:"•";color:inherit;transform:scale(1.5555555556);margin-top:-0.2488888889ch}.o-typography-wrapper>p>footer,.o-typography-wrapper>footer{font-family:MetricWeb, sans-serif;font-size:18px;line-height:24px;color:#33302e}.o-typography--loading-sans .o-typography-wrapper>p>footer,.o-typography--loading-sans .o-typography-wrapper>footer{font-size:15.66px;font-family:sans-serif}.o-typography-wrapper>p>strong,.o-typography-wrapper>strong{font-weight:600}.o-typography-wrapper>p>em,.o-typography-wrapper>em{font-style:italic}.o-typography-wrapper>p>sup,.o-typography-wrapper>sup{font-family:MetricWeb, sans-serif;font-size:.666em;position:static;vertical-align:super;line-height:0;display:inline-block;margin-top:-1em}.o-typography-wrapper>p>sub,.o-typography-wrapper>sub{font-family:MetricWeb, sans-serif;font-size:.666em;position:static;vertical-align:sub;line-height:0;display:inline-block;margin-bottom:-1em}.o-typography-wrapper>p>figcaption,.o-typography-wrapper>figcaption{font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;margin-top:8px;margin-bottom:0;color:#33302e}.o-typography--loading-sans .o-typography-wrapper>p>figcaption,.o-typography--loading-sans .o-typography-wrapper>figcaption{font-size:12.18px;font-family:sans-serif}.o-buttons{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0}.o-typography--loading-sans .o-buttons{font-size:12.18px;font-family:sans-serif}.o-buttons[disabled]{pointer-events:none;opacity:.4;cursor:default}.o-buttons--hide-disabled[disabled]{visibility:hidden}.o-buttons--big{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;line-height:16px;background-size:40px 40px;min-height:40px;min-width:80px;padding:11px 20px}.o-typography--loading-sans .o-buttons--big{font-size:13.92px;font-family:sans-serif}.o-buttons--primary{background-color:#0d7680;color:#fff;border-color:rgba(0,0,0,0)}.o-buttons--primary:hover{background-color:#0a5960;color:#fff;border-color:rgba(0,0,0,0);text-decoration:none}.o-buttons--primary:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:#0a5960;color:#fff;border-color:rgba(0,0,0,0);z-index:1}@supports selector(:focus-visible){.o-buttons--primary:focus{outline:unset;box-shadow:unset}.o-buttons--primary:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:#0a5960;color:#fff;border-color:rgba(0,0,0,0);z-index:1}}.o-buttons--primary[aria-selected=true],.o-buttons--primary[aria-current],.o-buttons--primary[aria-pressed=true],.o-buttons--primary:active{background-color:#073b40;color:#fff;border-color:rgba(0,0,0,0)}.o-buttons--primary.o-buttons--professional{background-color:#262a33;color:#fff;border-color:rgba(0,0,0,0)}.o-buttons--primary.o-buttons--professional:hover{background-color:#515257;color:#fff;border-color:rgba(0,0,0,0);text-decoration:none}.o-buttons--primary.o-buttons--professional:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:#515257;color:#fff;border-color:rgba(0,0,0,0);z-index:1}@supports selector(:focus-visible){.o-buttons--primary.o-buttons--professional:focus{outline:unset;box-shadow:unset}.o-buttons--primary.o-buttons--professional:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:#515257;color:#fff;border-color:rgba(0,0,0,0);z-index:1}}.o-buttons--primary.o-buttons--professional[aria-selected=true],.o-buttons--primary.o-buttons--professional[aria-current],.o-buttons--primary.o-buttons--professional[aria-pressed=true],.o-buttons--primary.o-buttons--professional:active{background-color:#727071;color:#fff;border-color:rgba(0,0,0,0)}.o-buttons--primary.o-buttons--b2c{background-color:#3a70af;color:#fff;border-color:rgba(0,0,0,0)}.o-buttons--primary.o-buttons--b2c:hover{background-color:#2c5483;color:#fff;border-color:rgba(0,0,0,0);text-decoration:none}.o-buttons--primary.o-buttons--b2c:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:#2c5483;color:#fff;border-color:rgba(0,0,0,0);z-index:1}@supports selector(:focus-visible){.o-buttons--primary.o-buttons--b2c:focus{outline:unset;box-shadow:unset}.o-buttons--primary.o-buttons--b2c:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:#2c5483;color:#fff;border-color:rgba(0,0,0,0);z-index:1}}.o-buttons--primary.o-buttons--b2c[aria-selected=true],.o-buttons--primary.o-buttons--b2c[aria-current],.o-buttons--primary.o-buttons--b2c[aria-pressed=true],.o-buttons--primary.o-buttons--b2c:active{background-color:#1d3858;color:#fff;border-color:rgba(0,0,0,0)}.o-buttons--secondary{background-color:rgba(0,0,0,0);color:#0d7680;border-color:#0d7680}.o-buttons--secondary:hover{background-color:rgba(13,118,128,.1);color:#0c707a;border-color:#0d7680;text-decoration:none}.o-buttons--secondary:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(13,118,128,.1);color:#0c707a;border-color:#0d7680;z-index:1}@supports selector(:focus-visible){.o-buttons--secondary:focus{outline:unset;box-shadow:unset}.o-buttons--secondary:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(13,118,128,.1);color:#0c707a;border-color:#0d7680;z-index:1}}.o-buttons--secondary[aria-selected=true],.o-buttons--secondary[aria-current],.o-buttons--secondary[aria-pressed=true],.o-buttons--secondary:active{background-color:#0d7680;color:#fff;border-color:#0d7680}.o-buttons--secondary.o-buttons--professional{background-color:rgba(0,0,0,0);color:#262a33;border-color:#262a33}.o-buttons--secondary.o-buttons--professional:hover{background-color:rgba(38,42,51,.15);color:#262a33;border-color:#262a33;text-decoration:none}.o-buttons--secondary.o-buttons--professional:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(38,42,51,.15);color:#262a33;border-color:#262a33;z-index:1}@supports selector(:focus-visible){.o-buttons--secondary.o-buttons--professional:focus{outline:unset;box-shadow:unset}.o-buttons--secondary.o-buttons--professional:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(38,42,51,.15);color:#262a33;border-color:#262a33;z-index:1}}.o-buttons--secondary.o-buttons--professional[aria-selected=true],.o-buttons--secondary.o-buttons--professional[aria-current],.o-buttons--secondary.o-buttons--professional[aria-pressed=true],.o-buttons--secondary.o-buttons--professional:active{background-color:#262a33;color:#fff;border-color:#262a33}.o-forms-input__error{display:none}.o-forms-input--invalid *:invalid:not(:disabled),.o-forms-input--invalid input:not(:disabled),.o-forms-input--invalid textarea:not(:disabled),.o-forms-input--invalid select:not(:disabled){color:#c00;border-color:#c00}.o-forms-input--invalid *:invalid:not(:disabled)+.o-forms-input__label:before,.o-forms-input--invalid *:invalid:not(:disabled)+.o-forms-input__label:after,.o-forms-input--invalid input:not(:disabled)+.o-forms-input__label:before,.o-forms-input--invalid input:not(:disabled)+.o-forms-input__label:after,.o-forms-input--invalid textarea:not(:disabled)+.o-forms-input__label:before,.o-forms-input--invalid textarea:not(:disabled)+.o-forms-input__label:after,.o-forms-input--invalid select:not(:disabled)+.o-forms-input__label:before,.o-forms-input--invalid select:not(:disabled)+.o-forms-input__label:after{border-color:#c00}.o-forms-input--invalid .o-forms-input__error{font-size:14px;line-height:16px;color:#c00;display:block;position:relative;margin-top:4px;margin-bottom:-20px}.o-typography--loading-sans .o-forms-input--invalid .o-forms-input__error{font-size:12.18px}.o-forms-field,.o-forms-title,.o-forms-input{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px}.o-typography--loading-sans .o-forms-field,.o-typography--loading-sans .o-forms-title,.o-typography--loading-sans .o-forms-input{font-size:13.92px;font-family:sans-serif}.o-forms-field{display:flex;flex-direction:column;margin-bottom:24px;position:relative}.o-forms-field label{display:block;margin:0 0 12px;position:relative}.o-forms-field label:last-of-type{margin-bottom:0}.o-forms-field--optional .o-forms-title__main:after{font-size:14px;line-height:16px;content:"(optional)";color:#66605c;font-weight:400;margin-left:4px}.o-typography--loading-sans .o-forms-field--optional .o-forms-title__main:after{font-size:12.18px}.o-forms-title__main{font-weight:600;display:block}.o-forms-input__label__main{font-weight:400;display:block}.o-forms-input__label__prompt,.o-forms-title__prompt{font-size:14px;line-height:16px;color:#66605c;display:block}.o-typography--loading-sans .o-forms-input__label__prompt,.o-typography--loading-sans .o-forms-title__prompt{font-size:12.18px}.o-forms-input__label__main+.o-forms-input__label__prompt{margin-top:4px}.o-forms-input{margin-top:12px}.o-forms-input input{border-radius:0;appearance:none}.o-forms-input--checkbox input[type=checkbox]{z-index:1;opacity:0;cursor:pointer;position:absolute;padding:0;width:24px;height:24px}.o-forms-input--checkbox input[type=checkbox]:checked~.o-forms-input__label:after{opacity:1}.o-forms-input--checkbox input[type=checkbox]:disabled{opacity:0}.o-forms-input--checkbox input[type=checkbox]:disabled~.o-forms-input__label{opacity:.4}.o-forms-input--checkbox input[type=checkbox]:focus{outline:unset;box-shadow:unset}.o-forms-input--checkbox input[type=checkbox]:focus+.o-forms-input__label:before{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}@supports selector(:focus-visible){.o-forms-input--checkbox input[type=checkbox]:focus+.o-forms-input__label:before{outline:unset;box-shadow:unset}.o-forms-input--checkbox input[type=checkbox]:focus-visible+.o-forms-input__label:before{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}}.o-forms-input--checkbox input[type=checkbox]:indeterminate+.o-forms-input__label:after{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:24px;height:24px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:minus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");background-color:#0d7680;opacity:1}@media screen and (-ms-high-contrast: active){.o-forms-input--checkbox input[type=checkbox]:indeterminate+.o-forms-input__label:after{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:minus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-forms-input--checkbox input[type=checkbox]:indeterminate+.o-forms-input__label:after{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:minus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label{display:inline-block;padding:2px 0 0 38px;vertical-align:top}.o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label:before{content:"";cursor:pointer;position:absolute;top:0;left:0;width:24px;height:24px;box-sizing:border-box;border:1px solid #807973;background-color:#fff}.o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label:after{content:"";cursor:pointer;position:absolute;top:0;left:0;width:24px;height:24px;box-sizing:border-box;display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:24px;height:24px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");background-color:#0d7680;opacity:0;transition:opacity .1s ease}@media screen and (-ms-high-contrast: active){.o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label:after{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label:after{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label+.o-forms-input__label{padding-top:12px}.o-forms-field--professional .o-forms-input--checkbox input[type=checkbox]:indeterminate+.o-forms-input__label:after{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:24px;height:24px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:minus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");background-color:#262a33}@media screen and (-ms-high-contrast: active){.o-forms-field--professional .o-forms-input--checkbox input[type=checkbox]:indeterminate+.o-forms-input__label:after{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:minus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-forms-field--professional .o-forms-input--checkbox input[type=checkbox]:indeterminate+.o-forms-input__label:after{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:minus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-forms-field--professional .o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label:before{border:1px solid #807973}.o-forms-field--professional .o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label:after{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:24px;height:24px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");background-color:#262a33}@media screen and (-ms-high-contrast: active){.o-forms-field--professional .o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label:after{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-forms-field--professional .o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label:after{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-forms-field--professional .o-forms-input--checkbox input[type=checkbox]~.o-forms-input__label .o-forms-input__label__prompt{color:#33302e}.o-forms-input--radio-round .o-forms-input__label{padding:2px 0 2px 38px;display:inline-block}.o-forms-input--radio-round .o-forms-input__label:before,.o-forms-input--radio-round .o-forms-input__label:after{content:"";cursor:pointer;position:absolute;top:0;left:0;width:24px;height:24px;box-sizing:border-box;border-radius:50%;transition:opacity .1s ease-in;background-color:rgba(0,0,0,0)}.o-forms-input--radio-round .o-forms-input__label:before{border:1px solid #807973}.o-forms-input--radio-round .o-forms-input__label:after{background-color:#0d7680;border-radius:50%;height:12px;width:12px;margin:6px;opacity:0}@media screen and (-ms-high-contrast: active){.o-forms-input--radio-round .o-forms-input__label:after{background-color:windowText}}.o-forms-input--radio-round input[type=radio]{z-index:1;opacity:0;cursor:pointer;position:absolute;padding:0;width:24px;height:24px}.o-forms-input--radio-round input[type=radio]:checked~.o-forms-input__label:after{opacity:1}.o-forms-input--radio-round input[type=radio]:disabled{opacity:0}.o-forms-input--radio-round input[type=radio]:disabled~.o-forms-input__label{opacity:.4}.o-forms-input--radio-round input[type=radio]:checked+.o-forms-input__label:before{border-color:#0d7680}.o-forms-input--radio-round input[type=radio]:focus{outline:unset;box-shadow:unset}.o-forms-input--radio-round input[type=radio]:focus+.o-forms-input__label:before{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}@supports selector(:focus-visible){.o-forms-input--radio-round input[type=radio]:focus+.o-forms-input__label:before{outline:unset;box-shadow:unset}.o-forms-input--radio-round input[type=radio]:focus-visible+.o-forms-input__label:before{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}}.o-forms-field--professional{color:#33302e}.o-forms-field--professional .o-forms-input--radio-round input[type=radio]:checked+.o-forms-input__label:before{border-color:#262a33}.o-forms-field--professional .o-forms-input--radio-round .o-forms-input__label:before{border:1px solid #807973}.o-forms-field--professional .o-forms-input--radio-round .o-forms-input__label:after{background-color:#262a33}.o-forms-input--radio-box{border-color:#807973}.o-forms-input--radio-box .o-forms-input--radio-box__container{background-color:rgba(0,0,0,0)}.o-forms-input--radio-box .o-forms-input--radio-box__container,.o-forms-input--radio-box label:not(:first-of-type){border-color:#807973}.o-forms-input--radio-box input[type=radio]+.o-forms-input__label{color:#0d7680}.o-forms-input--radio-box input[type=radio]:not(:checked):not(:disabled):hover+.o-forms-input__label{background-color:rgba(13,118,128,.15)}.o-forms-input--radio-box input[type=radio]:focus{outline:unset;box-shadow:unset}.o-forms-input--radio-box input[type=radio]:focus+.o-forms-input__label{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}@supports selector(:focus-visible){.o-forms-input--radio-box input[type=radio]:focus+.o-forms-input__label{outline:unset;box-shadow:unset}.o-forms-input--radio-box input[type=radio]:focus-visible+.o-forms-input__label{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}}.o-forms-input--radio-box input[type=radio]:checked+.o-forms-input__label{background-color:#0d7680;color:#fff}.o-forms-input--radio-box input[type=radio]:checked+.o-forms-input__label.o-forms-input__label--negative{background-color:#08474d}.o-forms-input--radio-box .o-forms-input--radio-box__container{font-size:14px;line-height:unset;font-weight:600;box-sizing:border-box;border:1px solid #807973;display:inline-flex;flex-wrap:wrap;text-align:center;padding:2px}.o-typography--loading-sans-bold .o-forms-input--radio-box .o-forms-input--radio-box__container{font-size:11.62px}.o-forms-input--radio-box.o-forms-input--invalid .o-forms-input--radio-box__container{border-color:#c00}.o-forms-input--radio-box label{display:inline-flex;flex-grow:1;cursor:pointer;margin:0;min-height:28px;min-width:8ch}.o-forms-input--radio-box label:not(:first-of-type){border-left:1px solid #807973}.o-forms-input--radio-box label .o-forms-input__label{box-sizing:border-box;padding:4px 8px;transition:.3s background-color,.15s color ease-out;width:100%;height:100%;display:inline-flex;align-items:center;justify-content:center}.o-forms-input--radio-box input[type=radio]{position:absolute;opacity:0;z-index:1;width:100%;height:100%;cursor:pointer}.o-forms-input--radio-box input[type=radio]:disabled+.o-forms-input__label{cursor:default;opacity:.4}@media(min-width: 30.625em){.o-forms-input--radio-box.o-forms-input--inline .o-forms-input__state{position:relative;margin-bottom:0}}.o-forms-input--radio-box .o-forms-input__state{position:relative;margin-bottom:-22px}.o-forms-field--professional .o-forms-input--radio-box{border-color:#807973}.o-forms-field--professional .o-forms-input--radio-box .o-forms-input--radio-box__container{background-color:rgba(0,0,0,0)}.o-forms-field--professional .o-forms-input--radio-box .o-forms-input--radio-box__container,.o-forms-field--professional .o-forms-input--radio-box label:not(:first-of-type){border-color:#807973}.o-forms-field--professional .o-forms-input--radio-box input[type=radio]+.o-forms-input__label{color:#262a33}.o-forms-field--professional .o-forms-input--radio-box input[type=radio]:not(:checked):not(:disabled):hover+.o-forms-input__label{background-color:rgba(38,42,51,.15)}.o-forms-field--professional .o-forms-input--radio-box input[type=radio]:focus{outline:unset;box-shadow:unset}.o-forms-field--professional .o-forms-input--radio-box input[type=radio]:focus+.o-forms-input__label{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}@supports selector(:focus-visible){.o-forms-field--professional .o-forms-input--radio-box input[type=radio]:focus+.o-forms-input__label{outline:unset;box-shadow:unset}.o-forms-field--professional .o-forms-input--radio-box input[type=radio]:focus-visible+.o-forms-input__label{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}}.o-forms-field--professional .o-forms-input--radio-box input[type=radio]:checked+.o-forms-input__label{background-color:#262a33;color:#fff}.o-forms-field--professional .o-forms-input--radio-box input[type=radio]:checked+.o-forms-input__label.o-forms-input__label--negative{background-color:#262a33}.o-forms-input--text.o-forms-input--suffix{display:flex;flex-wrap:wrap}.o-forms-input--text.o-forms-input--suffix input{flex:1;min-width:0;margin-right:8px}.o-forms-input--text.o-forms-input--suffix input:only-child{margin-right:0}.o-forms-input--text.o-forms-input--suffix .o-forms-input__error{width:100%}.o-forms-input--text input{font-family:inherit;font-size:inherit;background-color:#fff;border:1px solid #807973;box-sizing:border-box;min-height:40px;padding:8px;width:100%}.o-forms-input--text input:disabled{cursor:default;color:#66605c;background-color:#e6d9ce;border-color:#e6d9ce;-webkit-text-fill-color:currentColor;opacity:1}@media(min-width: 30.625em){.o-forms-field--inline{flex-direction:row;justify-content:space-between}.o-forms-field--inline .o-forms-title{flex:0 1 50%;margin-right:12px;box-sizing:border-box}.o-forms-field--inline .o-forms-title.o-forms-title--shrink{flex-basis:auto}.o-forms-field--inline .o-forms-title.o-forms-title--vertical-center{align-self:center}.o-forms-field--inline .o-forms-input{display:flex;flex-direction:column;flex:1 0 50%;align-items:flex-start;margin:0}.o-forms-input.o-forms-input--inline{display:flex;flex-flow:row wrap}.o-forms-input.o-forms-input--inline label{margin:0 16px 12px 0;max-width:75%}.o-forms-input.o-forms-input--inline.o-forms-input--date label,.o-forms-input.o-forms-input--inline.o-forms-input--radio-box label{margin:0}}.o-message{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px}.o-typography--loading-sans .o-message{font-size:13.92px;font-family:sans-serif}.o-message .o-message__container{box-sizing:border-box;margin-left:auto;margin-right:auto;min-width:240px;max-width:1220px;position:relative;padding-left:0;padding-right:0;max-width:1220px;display:flex;align-items:baseline;padding:16px 24px}@media(min-width: 46.25em){.o-grid-snappy .o-message .o-message__container,.o-message .o-message__container--snappy{max-width:740px}}@media(min-width: 61.25em){.o-grid-snappy .o-message .o-message__container,.o-message .o-message__container--snappy{max-width:980px}}@media(min-width: 76.25em){.o-grid-snappy .o-message .o-message__container,.o-message .o-message__container--snappy{max-width:1220px}}.o-message .o-message__content{margin-left:-16px;margin-bottom:-16px}.o-message .o-message__content>*{margin:0 0 16px 16px}.o-message .o-message__content-main{display:inline-block}.o-message .o-message__content-highlight{font-weight:600}.o-message .o-message__content-main a,.o-message .o-message__content-additional a{text-decoration:none;cursor:pointer;border-bottom:.25ex solid;color:#0d7680;color:var(--_o-typography-link-color, #0d7680);border-bottom-color:#cfd8d1;border-bottom-color:var(--_o-typography-link-decoration-color, #cfd8d1);text-decoration-color:#cfd8d1;text-decoration-color:var(--_o-typography-link-decoration-color, #cfd8d1);border-width:1px;text-decoration-thickness:1px}.o-message .o-message__content-main a[target=_blank],.o-message .o-message__content-additional a[target=_blank]{position:relative}.o-message .o-message__content-main a[target=_blank]:after,.o-message .o-message__content-additional a[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}@supports(text-decoration-thickness: 0.25ex){.o-message .o-message__content-main a,.o-message .o-message__content-additional a{border-bottom:0;text-decoration-thickness:.25ex;text-decoration-line:underline}}.o-message .o-message__content-main a:hover,.o-message .o-message__content-additional a:hover{color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%));border-bottom-color:#9ec0bd;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd);text-decoration-color:#9ec0bd;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd)}.o-message .o-message__content-main a:focus,.o-message .o-message__content-additional a:focus{border-bottom-color:rgba(0,0,0,0);text-decoration-color:rgba(0,0,0,0);color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%))}.o-message .o-message__actions{display:inline-block}.o-message .o-message__actions__primary{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;margin-right:16px}.o-typography--loading-sans .o-message .o-message__actions__primary{font-size:12.18px;font-family:sans-serif}.o-message .o-message__actions__primary[disabled]{pointer-events:none;opacity:.4;cursor:default}.o-message .o-message__actions__primary:only-child{margin-right:0}.o-message .o-message__actions__secondary{text-decoration:none;cursor:pointer;border-bottom:.25ex solid;color:#0d7680;color:var(--_o-typography-link-color, #0d7680);border-bottom-color:#cfd8d1;border-bottom-color:var(--_o-typography-link-decoration-color, #cfd8d1);text-decoration-color:#cfd8d1;text-decoration-color:var(--_o-typography-link-decoration-color, #cfd8d1);white-space:nowrap}.o-message .o-message__actions__secondary[target=_blank]{position:relative}.o-message .o-message__actions__secondary[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}@supports(text-decoration-thickness: 0.25ex){.o-message .o-message__actions__secondary{border-bottom:0;text-decoration-thickness:.25ex;text-decoration-line:underline}}.o-message .o-message__actions__secondary:hover{color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%));border-bottom-color:#9ec0bd;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd);text-decoration-color:#9ec0bd;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd)}.o-message .o-message__actions__secondary:focus{border-bottom-color:rgba(0,0,0,0);text-decoration-color:rgba(0,0,0,0);color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%))}.o-message[data-o-message-close=false] .o-message__close{display:none}.o-message--closed{display:none}.o-message--inner .o-message__content{max-width:48.75ch}.o-message--notice:not([data-close=false]):not([data-o-message-close=false]) .o-message__container,.o-message--alert:not([data-close=false]):not([data-o-message-close=false]) .o-message__container{padding-right:calc(0.8125rem + 32px)}.o-message--notice .o-message__close,.o-message--alert .o-message__close{appearance:none;border:0;font:inherit;outline:inherit;padding:0;content:"";position:absolute;margin:-0.40625rem;right:16px;top:calc(16px + .35rem)}.o-message--alert .o-message__container{padding-left:calc(16px + 1.25rem + 8px)}.o-message--alert .o-message__container:before{content:"";position:absolute;margin:-0.625rem;left:16px;top:calc(16px + .1rem)}.o-message.o-message--error{color:#b30000;background-color:#fad9ce}.o-message.o-message--error .o-message__content-main a,.o-message.o-message--error .o-message__content-additional a{color:#b30000;color:var(--_o-typography-link-color, #b30000);border-bottom-color:#ecaea5;border-bottom-color:var(--_o-typography-link-decoration-color, #ecaea5);text-decoration-color:#ecaea5;text-decoration-color:var(--_o-typography-link-decoration-color, #ecaea5)}.o-message.o-message--error .o-message__content-main a[target=_blank],.o-message.o-message--error .o-message__content-additional a[target=_blank]{position:relative}.o-message.o-message--error .o-message__content-main a[target=_blank]:after,.o-message.o-message--error .o-message__content-additional a[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}.o-message.o-message--error .o-message__content-main a:hover,.o-message.o-message--error .o-message__content-additional a:hover{color:#b30000;color:var(--_o-typography-link-color-hover, #b30000);border-bottom-color:#de827c;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #de827c);text-decoration-color:#de827c;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #de827c)}.o-message.o-message--error .o-message__content-main a:focus,.o-message.o-message--error .o-message__content-additional a:focus{color:#b30000;color:var(--_o-typography-link-color-hover, #b30000)}.o-message.o-message--error .o-message__actions__primary{background-color:rgba(0,0,0,0);color:#b30000;border-color:#b30000}.o-message.o-message--error .o-message__actions__primary:hover{background-color:rgba(179,0,0,.1);color:#b30000;border-color:#b30000;text-decoration:none}.o-message.o-message--error .o-message__actions__primary:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(179,0,0,.1);color:#b30000;border-color:#b30000;z-index:1}@supports selector(:focus-visible){.o-message.o-message--error .o-message__actions__primary:focus{outline:unset;box-shadow:unset}.o-message.o-message--error .o-message__actions__primary:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(179,0,0,.1);color:#b30000;border-color:#b30000;z-index:1}}.o-message.o-message--error .o-message__actions__primary[aria-selected=true],.o-message.o-message--error .o-message__actions__primary[aria-current],.o-message.o-message--error .o-message__actions__primary[aria-pressed=true],.o-message.o-message--error .o-message__actions__primary:active{background-color:#b30000;color:#fff;border-color:#b30000}.o-message.o-message--error .o-message__actions__secondary{color:#b30000;color:var(--_o-typography-link-color, #b30000);border-bottom-color:#ecaea5;border-bottom-color:var(--_o-typography-link-decoration-color, #ecaea5);text-decoration-color:#ecaea5;text-decoration-color:var(--_o-typography-link-decoration-color, #ecaea5)}.o-message.o-message--error .o-message__actions__secondary[target=_blank]{position:relative}.o-message.o-message--error .o-message__actions__secondary[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}.o-message.o-message--error .o-message__actions__secondary:hover{color:#b30000;color:var(--_o-typography-link-color-hover, #b30000);border-bottom-color:#de827c;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #de827c);text-decoration-color:#de827c;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #de827c)}.o-message.o-message--error .o-message__actions__secondary:focus{color:#b30000;color:var(--_o-typography-link-color-hover, #b30000)}.o-message.o-message--error.o-message--alert .o-message__container:before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:2.5rem;height:2.5rem;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:warning-alt?source=github:Financial-Times/x-dash&tint=%23B30000,%23B30000&format=svg");vertical-align:middle}@media screen and (-ms-high-contrast: active){.o-message.o-message--error.o-message--alert .o-message__container:before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:warning-alt?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-message.o-message--error.o-message--alert .o-message__container:before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:warning-alt?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-message.o-message--error .o-message__close{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:1.625rem;height:1.625rem;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23B30000,%23B30000&format=svg")}@media screen and (-ms-high-contrast: active){.o-message.o-message--error .o-message__close{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-message.o-message--error .o-message__close{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-message.o-message--success{color:#00572c;background-color:#ccdfc7}.o-message.o-message--success .o-message__content-main a,.o-message.o-message--success .o-message__content-additional a{color:#00572c;color:var(--_o-typography-link-color, #00572c);border-bottom-color:#a3c4a8;border-bottom-color:var(--_o-typography-link-decoration-color, #a3c4a8);text-decoration-color:#a3c4a8;text-decoration-color:var(--_o-typography-link-decoration-color, #a3c4a8)}.o-message.o-message--success .o-message__content-main a[target=_blank],.o-message.o-message--success .o-message__content-additional a[target=_blank]{position:relative}.o-message.o-message--success .o-message__content-main a[target=_blank]:after,.o-message.o-message--success .o-message__content-additional a[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}.o-message.o-message--success .o-message__content-main a:hover,.o-message.o-message--success .o-message__content-additional a:hover{color:#00572c;color:var(--_o-typography-link-color-hover, #00572c);border-bottom-color:#7aa989;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #7aa989);text-decoration-color:#7aa989;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #7aa989)}.o-message.o-message--success .o-message__content-main a:focus,.o-message.o-message--success .o-message__content-additional a:focus{color:#00572c;color:var(--_o-typography-link-color-hover, #00572c)}.o-message.o-message--success .o-message__actions__primary{background-color:rgba(0,0,0,0);color:#00572c;border-color:#00572c}.o-message.o-message--success .o-message__actions__primary:hover{background-color:rgba(0,87,44,.15);color:#00572c;border-color:#00572c;text-decoration:none}.o-message.o-message--success .o-message__actions__primary:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(0,87,44,.15);color:#00572c;border-color:#00572c;z-index:1}@supports selector(:focus-visible){.o-message.o-message--success .o-message__actions__primary:focus{outline:unset;box-shadow:unset}.o-message.o-message--success .o-message__actions__primary:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(0,87,44,.15);color:#00572c;border-color:#00572c;z-index:1}}.o-message.o-message--success .o-message__actions__primary[aria-selected=true],.o-message.o-message--success .o-message__actions__primary[aria-current],.o-message.o-message--success .o-message__actions__primary[aria-pressed=true],.o-message.o-message--success .o-message__actions__primary:active{background-color:#00572c;color:#fff;border-color:#00572c}.o-message.o-message--success .o-message__actions__secondary{color:#00572c;color:var(--_o-typography-link-color, #00572c);border-bottom-color:#a3c4a8;border-bottom-color:var(--_o-typography-link-decoration-color, #a3c4a8);text-decoration-color:#a3c4a8;text-decoration-color:var(--_o-typography-link-decoration-color, #a3c4a8)}.o-message.o-message--success .o-message__actions__secondary[target=_blank]{position:relative}.o-message.o-message--success .o-message__actions__secondary[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}.o-message.o-message--success .o-message__actions__secondary:hover{color:#00572c;color:var(--_o-typography-link-color-hover, #00572c);border-bottom-color:#7aa989;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #7aa989);text-decoration-color:#7aa989;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #7aa989)}.o-message.o-message--success .o-message__actions__secondary:focus{color:#00572c;color:var(--_o-typography-link-color-hover, #00572c)}.o-message.o-message--success.o-message--alert .o-message__container:before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:2.5rem;height:2.5rem;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%2300572C,%2300572C&format=svg");vertical-align:middle}@media screen and (-ms-high-contrast: active){.o-message.o-message--success.o-message--alert .o-message__container:before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-message.o-message--success.o-message--alert .o-message__container:before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-message.o-message--success .o-message__close{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:1.625rem;height:1.625rem;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%2300572C,%2300572C&format=svg")}@media screen and (-ms-high-contrast: active){.o-message.o-message--success .o-message__close{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-message.o-message--success .o-message__close{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-message.o-message--neutral{color:#000;background-color:#fff9f5}.o-message.o-message--neutral .o-message__content-main a,.o-message.o-message--neutral .o-message__content-additional a{color:#000;color:var(--_o-typography-link-color, #000000);border-bottom-color:#ccc7c4;border-bottom-color:var(--_o-typography-link-decoration-color, #ccc7c4);text-decoration-color:#ccc7c4;text-decoration-color:var(--_o-typography-link-decoration-color, #ccc7c4)}.o-message.o-message--neutral .o-message__content-main a[target=_blank],.o-message.o-message--neutral .o-message__content-additional a[target=_blank]{position:relative}.o-message.o-message--neutral .o-message__content-main a[target=_blank]:after,.o-message.o-message--neutral .o-message__content-additional a[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}.o-message.o-message--neutral .o-message__content-main a:hover,.o-message.o-message--neutral .o-message__content-additional a:hover{color:#000;color:var(--_o-typography-link-color-hover, #000000);border-bottom-color:#999593;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #999593);text-decoration-color:#999593;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #999593)}.o-message.o-message--neutral .o-message__content-main a:focus,.o-message.o-message--neutral .o-message__content-additional a:focus{color:#000;color:var(--_o-typography-link-color-hover, #000000)}.o-message.o-message--neutral .o-message__actions__primary{background-color:rgba(0,0,0,0);color:#000;border-color:#000}.o-message.o-message--neutral .o-message__actions__primary:hover{background-color:rgba(0,0,0,.15);color:#000;border-color:#000;text-decoration:none}.o-message.o-message--neutral .o-message__actions__primary:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(0,0,0,.15);color:#000;border-color:#000;z-index:1}@supports selector(:focus-visible){.o-message.o-message--neutral .o-message__actions__primary:focus{outline:unset;box-shadow:unset}.o-message.o-message--neutral .o-message__actions__primary:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(0,0,0,.15);color:#000;border-color:#000;z-index:1}}.o-message.o-message--neutral .o-message__actions__primary[aria-selected=true],.o-message.o-message--neutral .o-message__actions__primary[aria-current],.o-message.o-message--neutral .o-message__actions__primary[aria-pressed=true],.o-message.o-message--neutral .o-message__actions__primary:active{background-color:#000;color:#fff;border-color:#000}.o-message.o-message--neutral .o-message__actions__secondary{color:#000;color:var(--_o-typography-link-color, #000000);border-bottom-color:#ccc7c4;border-bottom-color:var(--_o-typography-link-decoration-color, #ccc7c4);text-decoration-color:#ccc7c4;text-decoration-color:var(--_o-typography-link-decoration-color, #ccc7c4)}.o-message.o-message--neutral .o-message__actions__secondary[target=_blank]{position:relative}.o-message.o-message--neutral .o-message__actions__secondary[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}.o-message.o-message--neutral .o-message__actions__secondary:hover{color:#000;color:var(--_o-typography-link-color-hover, #000000);border-bottom-color:#999593;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #999593);text-decoration-color:#999593;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #999593)}.o-message.o-message--neutral .o-message__actions__secondary:focus{color:#000;color:var(--_o-typography-link-color-hover, #000000)}.o-message.o-message--neutral.o-message--alert .o-message__container:before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:2.5rem;height:2.5rem;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:info?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");vertical-align:middle}@media screen and (-ms-high-contrast: active){.o-message.o-message--neutral.o-message--alert .o-message__container:before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:info?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-message.o-message--neutral.o-message--alert .o-message__container:before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:info?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-message.o-message--neutral .o-message__close{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:1.625rem;height:1.625rem;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}@media screen and (-ms-high-contrast: active){.o-message.o-message--neutral .o-message__close{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-message.o-message--neutral .o-message__close{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-message.o-message--received-highlights{color:#262a33;background-color:#f5f5f5}.o-message.o-message--received-highlights .o-message__content-main a,.o-message.o-message--received-highlights .o-message__content-additional a{color:#262a33;color:var(--_o-typography-link-color, #262a33);border-bottom-color:#ccccce;border-bottom-color:var(--_o-typography-link-decoration-color, #ccccce);text-decoration-color:#ccccce;text-decoration-color:var(--_o-typography-link-decoration-color, #ccccce)}.o-message.o-message--received-highlights .o-message__content-main a[target=_blank],.o-message.o-message--received-highlights .o-message__content-additional a[target=_blank]{position:relative}.o-message.o-message--received-highlights .o-message__content-main a[target=_blank]:after,.o-message.o-message--received-highlights .o-message__content-additional a[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}.o-message.o-message--received-highlights .o-message__content-main a:hover,.o-message.o-message--received-highlights .o-message__content-additional a:hover{color:#262a33;color:var(--_o-typography-link-color-hover, #262a33);border-bottom-color:#a2a4a7;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #a2a4a7);text-decoration-color:#a2a4a7;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #a2a4a7)}.o-message.o-message--received-highlights .o-message__content-main a:focus,.o-message.o-message--received-highlights .o-message__content-additional a:focus{color:#262a33;color:var(--_o-typography-link-color-hover, #262a33)}.o-message.o-message--received-highlights .o-message__actions__primary{background-color:rgba(0,0,0,0);color:#262a33;border-color:#262a33}.o-message.o-message--received-highlights .o-message__actions__primary:hover{background-color:rgba(38,42,51,.15);color:#262a33;border-color:#262a33;text-decoration:none}.o-message.o-message--received-highlights .o-message__actions__primary:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(38,42,51,.15);color:#262a33;border-color:#262a33;z-index:1}@supports selector(:focus-visible){.o-message.o-message--received-highlights .o-message__actions__primary:focus{outline:unset;box-shadow:unset}.o-message.o-message--received-highlights .o-message__actions__primary:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(38,42,51,.15);color:#262a33;border-color:#262a33;z-index:1}}.o-message.o-message--received-highlights .o-message__actions__primary[aria-selected=true],.o-message.o-message--received-highlights .o-message__actions__primary[aria-current],.o-message.o-message--received-highlights .o-message__actions__primary[aria-pressed=true],.o-message.o-message--received-highlights .o-message__actions__primary:active{background-color:#262a33;color:#fff;border-color:#262a33}.o-message.o-message--received-highlights .o-message__actions__secondary{color:#262a33;color:var(--_o-typography-link-color, #262a33);border-bottom-color:#ccccce;border-bottom-color:var(--_o-typography-link-decoration-color, #ccccce);text-decoration-color:#ccccce;text-decoration-color:var(--_o-typography-link-decoration-color, #ccccce)}.o-message.o-message--received-highlights .o-message__actions__secondary[target=_blank]{position:relative}.o-message.o-message--received-highlights .o-message__actions__secondary[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}.o-message.o-message--received-highlights .o-message__actions__secondary:hover{color:#262a33;color:var(--_o-typography-link-color-hover, #262a33);border-bottom-color:#a2a4a7;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #a2a4a7);text-decoration-color:#a2a4a7;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #a2a4a7)}.o-message.o-message--received-highlights .o-message__actions__secondary:focus{color:#262a33;color:var(--_o-typography-link-color-hover, #262a33)}.o-message.o-message--received-highlights.o-message--alert .o-message__container:before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:2.5rem;height:2.5rem;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:info?source=github:Financial-Times/x-dash&tint=%23262A33,%23262A33&format=svg");vertical-align:middle}@media screen and (-ms-high-contrast: active){.o-message.o-message--received-highlights.o-message--alert .o-message__container:before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:info?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-message.o-message--received-highlights.o-message--alert .o-message__container:before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:info?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-message.o-message--received-highlights .o-message__close{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:1.625rem;height:1.625rem;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23262A33,%23262A33&format=svg")}@media screen and (-ms-high-contrast: active){.o-message.o-message--received-highlights .o-message__close{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-message.o-message--received-highlights .o-message__close{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-share{display:inline-block}.o-share .o-share__icon{color:#000;border-color:#807973}.o-share .o-share__icon:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}@supports selector(:focus-visible){.o-share .o-share__icon:focus{outline:unset;box-shadow:unset}.o-share .o-share__icon:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845}}.o-share .o-share__icon__image>svg{fill:currentColor}.o-share .o-share__icon--x:hover,.o-share .o-share__icon--x:focus{border-color:#000;background-color:#000;color:#fff}.o-share .o-share__icon--facebook:hover,.o-share .o-share__icon--facebook:focus{border-color:#3b579d;background-color:#3b579d;color:#fff}.o-share .o-share__icon--linkedin:hover,.o-share .o-share__icon--linkedin:focus{border-color:#0077b5;background-color:#0077b5;color:#fff}.o-share .o-share__icon--mail:hover,.o-share .o-share__icon--mail:focus{border-color:#0a5e66;background-color:#0a5e66;color:#fff}.o-share .o-share__icon--whatsapp:hover,.o-share .o-share__icon--whatsapp:focus{border-color:#25d366;background-color:#25d366;color:#fff}.o-share .o-share__text{margin-right:10px}.o-share .o-share__icon__image{width:38px;height:38px;background-size:40px 40px}.o-share .o-share__icon{margin:0 -1px 0 0}.o-share .o-share__action:last-child .o-share__icon{margin:0}.o-share ul{margin:0;padding:0}.o-share__action{box-sizing:border-box;float:left;list-style-type:none;cursor:pointer;line-height:1}.o-share__icon{display:flex;align-items:center;position:relative;cursor:pointer;padding:0;background-color:rgba(0,0,0,0);background-repeat:no-repeat;border:1px solid #807973;color:#000;text-decoration:none}.o-share__icon:hover,.o-share__icon:focus{z-index:1}.o-share__icon:after{position:absolute;display:block;content:""}.o-share__text{font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;text-align:center}.o-typography--loading-sans .o-share__text{font-size:12.18px;font-family:sans-serif}.o-share__action:not(.o-share__action--labelled) .o-share__text{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap}.o-icons-icon{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline}.o-icons-icon--mail{width:128px;height:128px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:mail?source=github:Financial-Times/x-dash&format=svg")}@media screen and (-ms-high-contrast: active){.o-icons-icon--mail{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:mail?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.o-icons-icon--mail{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:mail?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.share-article-dialog__wrapper{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:10px;border:1px solid #ccc1b7;background:#fff;box-shadow:2px 2px 8px rgba(15,10,46,.09);width:352px;margin:0}.share-article-dialog__wrapper *,.share-article-dialog__wrapper *:before,.share-article-dialog__wrapper *:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}.share-article-dialog__wrapper .share-article-modal__close{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:20px;height:20px;background-image:url(https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?format=svg&source=next-article&tint=%2366605C%2C%2366605C);appearance:none;border:0;font:inherit;outline:inherit;box-sizing:content-box;float:right;position:relative;margin:12px;padding:.25em;cursor:pointer;font-size:8px;line-height:1;user-select:none}.share-article-dialog__wrapper .share-article-modal__close:after{position:absolute;content:"";top:-12px;right:-12px;left:-12px;bottom:-12px}.share-article-dialog__wrapper .share-article-dialog__main{padding:16px}.share-article-dialog__wrapper .share-article-dialog__main .o-forms-input,.share-article-dialog__wrapper .share-article-dialog__main .o-forms-field,.share-article-dialog__wrapper .share-article-dialog__main .no-margin{margin:0}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__header{margin:0;margin-bottom:16px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__header-share-article-title{display:block;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;font-weight:500;color:#000;margin-top:4px;margin-bottom:4px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__header-share-link-title{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;font-weight:600;margin-top:8px;margin-bottom:12px}.o-typography--loading-sans-bold .share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__header-share-link-title{font-size:13.28px;font-family:sans-serif}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__non-subscriber-checkbox :last-child{margin-bottom:0}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__advanced-sharing-options--element{display:flex}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__advanced-sharing-options{margin-block:16px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__advanced-sharing-options--element{flex-direction:column;gap:2px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__advanced-sharing-options--element-title{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;font-weight:600}.o-typography--loading-sans-bold .share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__advanced-sharing-options--element-title{font-size:13.28px;font-family:sans-serif}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__advanced-sharing-options--element-description{font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;font-weight:400;color:#66605c}.o-typography--loading-sans .share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__advanced-sharing-options--element-description{font-size:12.18px;font-family:sans-serif}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__include-highlights{margin-top:24px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__create-link-button{width:100%;margin-top:24px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__footer :first-child{margin-top:24px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__footer :last-child{margin-bottom:0}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__footer-message{font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;font-weight:400;color:#333;margin-bottom:0}.o-typography--loading-sans .share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__footer-message{font-size:12.18px;font-family:sans-serif}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__footer-message-shared-link{font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;font-weight:400;color:#66605c}.o-typography--loading-sans .share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__footer-message-shared-link{font-size:12.18px;font-family:sans-serif}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__copy-confirmation-alert{margin-top:8px;width:100%}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__advanced-non-subscriber--element{margin-top:16px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__share-via-socials-title{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;font-weight:600;color:#333;margin-bottom:12px;margin-top:12px}.o-typography--loading-sans-bold .share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__share-via-socials-title{font-size:13.28px;font-family:sans-serif}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__share-via-socials-wrapper{display:flex;gap:12px}.share-article-dialog__wrapper .share-article-dialog__main .o-share__icon.share-article-dialog__icon--email:hover{background-color:#262a33;border-color:#262a33;color:#fff}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__alert{margin-top:16px}.share-article-dialog__wrapper .share-article-dialog__main .share-article-dialog__alert strong{font-family:MetricWeb, sans-serif;font-weight:500}',""]),module.exports=exports},"./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-live-blog-post/src/LiveBlogPost.scss":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,'.x-live-blog-post{border-bottom:1px solid #ccc1b7;margin-top:32px;color:#1a1817;padding-bottom:32px}.x-live-blog-post__title{font-family:FinancierDisplayWeb, serif;font-size:32px;line-height:32px;margin-top:16px;margin-bottom:4px}.o-typography--loading-display .x-live-blog-post__title{font-size:28.8px;font-family:serif}.x-live-blog-post__breaking-news+.x-live-blog-post__title{margin-top:4px}.x-live-blog-post__byline{font-family:MetricWeb, sans-serif;font-size:16px;line-height:1.25;color:#33302e;margin-top:12px;margin-bottom:20px}.o-typography--loading-sans .x-live-blog-post__byline{font-size:13.92px;font-family:sans-serif}.x-live-blog-post__body{font-family:Georgia,serif;font-size:18px;line-height:1.55;margin-top:24px}.x-live-blog-post__body ul{margin:0 0 24px;padding:0;list-style:none}.x-live-blog-post__body ul>li{position:relative;margin:0;padding-left:calc(2ch + 4px)}.x-live-blog-post__body ul>li:before{font-family:MetricWeb, sans-serif;display:inline-block;position:absolute;left:0;transform-origin:center left;content:"•";color:inherit;transform:scale(1.5555555556);margin-top:-0.2488888889ch}.x-live-blog-post__timestamp{font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;font-weight:600;text-transform:uppercase}.o-typography--loading-sans-bold .x-live-blog-post__timestamp{font-size:11.62px;font-family:sans-serif}.x-live-blog-post__timestamp-exact-time{font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;font-weight:300;color:#66605c;padding-left:8px}.x-live-blog-post__timestamp-container:after{content:"";display:block;width:16px;border-bottom:4px solid #1a1817;padding-top:4px}.x-live-blog-post__breaking-news{font-family:MetricWeb, sans-serif;font-size:12px;line-height:16px;color:#c00;text-transform:uppercase;margin-top:16px}.o-typography--loading-sans .x-live-blog-post__breaking-news{font-size:10.44px;font-family:sans-serif}.x-live-blog-post__breaking-news:before{content:"";display:inline-block;width:8px;height:8px;margin-right:4px;border-radius:50%;background-color:#c00}.x-live-blog-post__controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:24px}.x-live-blog-post__controls .x-live-blog-post-controls__back-to-top-link,.x-live-blog-post__controls .x-live-blog-post-controls__back-to-top-button{font-family:MetricWeb, sans-serif;font-size:18px;line-height:20px;color:#0d7680;text-decoration:underline;margin-left:auto}.o-typography--loading-sans .x-live-blog-post__controls .x-live-blog-post-controls__back-to-top-link,.o-typography--loading-sans .x-live-blog-post__controls .x-live-blog-post-controls__back-to-top-button{font-size:15.66px;font-family:sans-serif}.x-live-blog-post__controls .x-live-blog-post-controls__back-to-top-button{background:unset;border:unset}.x-live-blog-post__controls .x-live-blog-post-controls__back-to-top-button:hover{cursor:pointer}.x-live-blog-post:first-child .x-live-blog-post-controls__back-to-top-link,.x-live-blog-post:first-child .x-live-blog-post-controls__back-to-top-button{display:none}',""]),module.exports=exports},"./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-privacy-manager/src/privacy-manager.scss":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,'.x-privacy-manager-radio-button__input{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap}.x-privacy-manager-radio-button{flex:1}.x-privacy-manager-radio-button+.x-privacy-manager-radio-button{margin-top:16px}@media(min-width: 30.625em){.x-privacy-manager-radio-button+.x-privacy-manager-radio-button{margin-top:0;margin-left:16px}}.x-privacy-manager-label{transition:background-color,color;transition-duration:.1s;display:flex;align-items:center;height:100%;padding:24px 16px;border:2px solid #0d7680;cursor:pointer;background-color:#fff}.x-privacy-manager-radio-button__input:checked+.x-privacy-manager-label{background-color:#0d7680;color:#fff}.x-privacy-manager-radio-button__input:focus+.x-privacy-manager-label{outline:2px solid #0a5e66;outline-offset:3px;background-color:#0a5e66}.x-privacy-manager-label>*{pointer-events:none}.x-privacy-manager-label__text{flex:1;margin-right:8px}.x-privacy-manager-label__text>strong{display:block;font-size:1.2rem;font-weight:600}.x-privacy-manager-label__text>span{display:block;margin-top:4px}.x-privacy-manager-label__icon{width:28px;height:28px}.x-privacy-manager-label__icon-outer{transition:stroke .1s;stroke:currentColor;stroke-width:3px;fill:rgba(0,0,0,0)}.x-privacy-manager-radio-button__input:not(:checked)+.x-privacy-manager-label:hover .x-privacy-manager-label__icon-outer{stroke:#0a5e66}.x-privacy-manager-label__icon-inner{transition:fill .1s;fill:rgba(0,0,0,0)}.x-privacy-manager-radio-button__input:not(:checked)+.x-privacy-manager-label:hover .x-privacy-manager-label__icon-inner{fill:#0a5e66}.x-privacy-manager-radio-button__input:checked+.x-privacy-manager-label .x-privacy-manager-label__icon-inner{fill:currentColor}.x-privacy-manager__loading,.x-privacy-manager__spinner{display:inline-block;vertical-align:middle}.x-privacy-manager__loading{margin-left:16px}.x-privacy-manager{font-family:MetricWeb, sans-serif;font-size:16px;line-height:1.6;display:grid;gap:32px}.o-typography--loading-sans .x-privacy-manager{font-size:13.92px;font-family:sans-serif}.x-privacy-manager *{box-sizing:border-box}.x-privacy-manager__title{font-family:MetricWeb, sans-serif;font-size:32px;line-height:32px;font-weight:600;color:#33302e;margin:0 0 16px}.o-typography--loading-sans-bold .x-privacy-manager__title{font-size:26.56px;font-family:sans-serif}.x-privacy-manager__consent-copy{padding:0 48px;font-weight:600;text-align:center}.x-privacy-manager__consent-copy a{text-decoration:none;cursor:pointer;border-bottom:.25ex solid;color:#0d7680;color:var(--_o-typography-link-color, #0d7680);border-bottom-color:#cfd8d1;border-bottom-color:var(--_o-typography-link-decoration-color, #cfd8d1);text-decoration-color:#cfd8d1;text-decoration-color:var(--_o-typography-link-decoration-color, #cfd8d1)}.x-privacy-manager__consent-copy a[target=_blank]{position:relative}.x-privacy-manager__consent-copy a[target=_blank]:after{position:absolute;clip:rect(0 0 0 0);clip-path:polygon(0 0, 0 0);margin:-1px;border:0;overflow:hidden;padding:0;width:2px;height:2px;white-space:nowrap;content:"(opens a new window)"}@supports(text-decoration-thickness: 0.25ex){.x-privacy-manager__consent-copy a{border-bottom:0;text-decoration-thickness:.25ex;text-decoration-line:underline}}.x-privacy-manager__consent-copy a:hover{color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%));border-bottom-color:#9ec0bd;border-bottom-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd);text-decoration-color:#9ec0bd;text-decoration-color:var(--_o-typography-link-decoration-color-hover, #9ec0bd)}.x-privacy-manager__consent-copy a:focus{border-bottom-color:rgba(0,0,0,0);text-decoration-color:rgba(0,0,0,0);color:#08474d;color:var(--_o-typography-link-color-hover, hsl(185.2173913043, 81.5602836879%, 16.5234375%))}.x-privacy-manager-form{display:grid;gap:32px}.x-privacy-manager-form__title{font-family:MetricWeb, sans-serif;font-size:20px;line-height:24px;font-weight:600;color:#33302e;margin:0 0 16px;margin-top:32px}.o-typography--loading-sans-bold .x-privacy-manager-form__title{font-size:16.6px;font-family:sans-serif}.x-privacy-manager-form__controls{margin-top:24px}@media(min-width: 30.625em){.x-privacy-manager-form__controls{display:flex}}.x-privacy-manager-form__submit{justify-self:center;font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;line-height:16px;background-size:40px 40px;min-height:40px;min-width:80px;padding:11px 20px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:#0d7680;color:#fff;border-color:rgba(0,0,0,0);display:block;padding:0 48px}.o-typography--loading-sans .x-privacy-manager-form__submit{font-size:13.92px;font-family:sans-serif}.x-privacy-manager-form__submit[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-privacy-manager-form__submit:hover{background-color:#0a5960;color:#fff;border-color:rgba(0,0,0,0);text-decoration:none}.x-privacy-manager-form__submit:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:#0a5960;color:#fff;border-color:rgba(0,0,0,0);z-index:1}@supports selector(:focus-visible){.x-privacy-manager-form__submit:focus{outline:unset;box-shadow:unset}.x-privacy-manager-form__submit:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:#0a5960;color:#fff;border-color:rgba(0,0,0,0);z-index:1}}.x-privacy-manager-form__submit[aria-selected=true],.x-privacy-manager-form__submit[aria-current],.x-privacy-manager-form__submit[aria-pressed=true],.x-privacy-manager-form__submit:active{background-color:#073b40;color:#fff;border-color:rgba(0,0,0,0)}.x-privacy-manager-form__submit:focus-visible{outline:2px solid #0a5e66;outline-offset:3px;background-color:#0a5e66}',""]),module.exports=exports},"./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-teaser-list/src/TeaserList.scss":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,'.x-article-save-button{display:inline-block}.x-article-save-button__button{font-family:MetricWeb, sans-serif;font-size:12px;line-height:16px;border:0;width:38px;padding:0;color:#000;background-color:rgba(0,0,0,0);text-align:center}.o-typography--loading-sans .x-article-save-button__button{font-size:10.44px;font-family:sans-serif}.x-article-save-button__button:focus{outline:none}body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23807973,%23807973&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23990F3D,%23990F3D&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-article-save-button__icon{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){.x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-teaser-list{list-style-type:none;margin:0;padding:0}.x-teaser-list-item{display:grid;grid-gap:0 20px;grid-template:"article actions" min-content/1fr min-content;margin-bottom:20px;border-bottom:1px solid #ccc1b7}.x-teaser-list-item .o-teaser--teaser-list{border-bottom:0;padding-bottom:0}.x-teaser-list-item__article{grid-area:article}.x-teaser-list-item__actions{grid-area:actions}',""]),module.exports=exports},"./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-teaser-timeline/src/TeaserTimeline.scss":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,'.x-article-save-button{display:inline-block}.x-article-save-button__button{font-family:MetricWeb, sans-serif;font-size:12px;line-height:16px;border:0;width:38px;padding:0;color:#000;background-color:rgba(0,0,0,0);text-align:center}.o-typography--loading-sans .x-article-save-button__button{font-size:10.44px;font-family:sans-serif}.x-article-save-button__button:focus{outline:none}body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23807973,%23807973&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){body:not(:global(.touch-device)) .x-article-save-button__button:not(:focus):hover .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23990F3D,%23990F3D&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-article-save-button__button[aria-pressed=true] .x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-article-save-button__icon{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:38px;height:38px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");display:block;margin-bottom:-5px}@media screen and (-ms-high-contrast: active){.x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-article-save-button__icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:bookmark-outline?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-teaser-timeline__item-group{border-top:4px solid #000}@media(min-width: 46.25em){.x-teaser-timeline__item-group{display:grid;grid-gap:0 20px;grid-template-columns:1fr 3fr;grid-template-areas:"heading articles"}}.x-teaser-timeline__heading{font-family:MetricWeb, sans-serif;font-size:18px;line-height:20px;font-weight:700;margin-top:8px;margin-bottom:8px}.o-typography--loading-sans-bold .x-teaser-timeline__heading{font-size:14.94px;font-family:sans-serif}@media(min-width: 46.25em){.x-teaser-timeline__heading{grid-area:heading;-ms-grid-row:1;-ms-grid-column:1}}.x-teaser-timeline__items{list-style-type:none;padding:0;margin-top:8px}@media(min-width: 46.25em){.x-teaser-timeline__items{grid-area:articles;-ms-grid-row:1;-ms-grid-column:3}}.x-teaser-timeline__item{display:flex;justify-content:space-between;border-bottom:1px solid #ccc1b7;margin-bottom:8px}.x-teaser-timeline__item :global .o-teaser--timeline-teaser{border-bottom:0;padding-bottom:0}.x-teaser-timeline__item-actions{flex:0 1 auto;padding-left:10px}',""]),module.exports=exports},"./node_modules/css-loader/dist/cjs.js?!./node_modules/sass-loader/dist/cjs.js?!./components/x-topic-search/src/TopicSearch.scss":function(module,exports,__webpack_require__){(exports=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(!1)).push([module.i,'a:active,a:hover{outline-width:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}optgroup{font-weight:bold}button,input,select,textarea{margin:0}button,[type=button],[type=reset],[type=submit]{cursor:pointer}[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}.x-follow-button{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#990f3d;border-color:#990f3d;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23990F3D,%23990F3D&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button[disabled],.x-follow-button[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button[disabled]::before,.x-follow-button[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button[disabled]::before,.x-follow-button[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button[disabled]::before,.x-follow-button[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button[disabled][aria-pressed=true]::before,.x-follow-button[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button[disabled][aria-pressed=true]::before,.x-follow-button[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button[disabled][aria-pressed=true]::before,.x-follow-button[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button{font-size:12.18px;font-family:sans-serif}.x-follow-button[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button:hover{background-color:rgba(153,15,61,.15);color:#990f3d;border-color:#990f3d;text-decoration:none}.x-follow-button:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(153,15,61,.15);color:#990f3d;border-color:#990f3d;z-index:1}@supports selector(:focus-visible){.x-follow-button:focus{outline:unset;box-shadow:unset}.x-follow-button:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(153,15,61,.15);color:#990f3d;border-color:#990f3d;z-index:1}}.x-follow-button[aria-selected=true],.x-follow-button[aria-current],.x-follow-button[aria-pressed=true],.x-follow-button:active{background-color:#990f3d;color:#fff;border-color:#990f3d}.x-follow-button[aria-pressed=true]{color:#fff}.x-follow-button[aria-pressed=true]:hover,.x-follow-button[aria-pressed=true]:focus{border-color:#800d33;color:#fff;background-color:#800d33}.x-follow-button[disabled]:hover,.x-follow-button[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(0,0,0,.5);color:rgba(0,0,0,.5);opacity:unset}.x-follow-button--inverse{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#fff;border-color:#fff;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--inverse::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse[disabled],.x-follow-button--inverse[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--inverse[disabled]::before,.x-follow-button--inverse[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse[disabled]::before,.x-follow-button--inverse[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse[disabled]::before,.x-follow-button--inverse[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse[disabled][aria-pressed=true]::before,.x-follow-button--inverse[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse[disabled][aria-pressed=true]::before,.x-follow-button--inverse[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse[disabled][aria-pressed=true]::before,.x-follow-button--inverse[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--inverse{font-size:12.18px;font-family:sans-serif}.x-follow-button--inverse[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--inverse:hover{background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;text-decoration:none}.x-follow-button--inverse:focus{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}@supports selector(:focus-visible){.x-follow-button--inverse:focus{outline:unset;box-shadow:unset}.x-follow-button--inverse:focus-visible{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}}.x-follow-button--inverse[aria-selected=true],.x-follow-button--inverse[aria-current],.x-follow-button--inverse[aria-pressed=true],.x-follow-button--inverse:active{background-color:#fff;color:#000;border-color:#fff}.x-follow-button--inverse[aria-pressed=true]{color:#000;mix-blend-mode:lighten}.x-follow-button--inverse[aria-pressed=true]:hover,.x-follow-button--inverse[aria-pressed=true]:focus{border-color:rgba(255,255,255,.8);color:#000;mix-blend-mode:lighten;background-color:rgba(255,255,255,.85)}.x-follow-button--inverse[disabled]:hover,.x-follow-button--inverse[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(255,255,255,.5);color:rgba(255,255,255,.5);opacity:unset}.x-follow-button--opinion{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#0a3866;border-color:#0a3866;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--opinion::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%230A3866,%230A3866&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--opinion::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--opinion::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--opinion[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--opinion[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--opinion[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--opinion[disabled],.x-follow-button--opinion[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--opinion[disabled]::before,.x-follow-button--opinion[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--opinion[disabled]::before,.x-follow-button--opinion[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--opinion[disabled]::before,.x-follow-button--opinion[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--opinion[disabled][aria-pressed=true]::before,.x-follow-button--opinion[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--opinion[disabled][aria-pressed=true]::before,.x-follow-button--opinion[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--opinion[disabled][aria-pressed=true]::before,.x-follow-button--opinion[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--opinion{font-size:12.18px;font-family:sans-serif}.x-follow-button--opinion[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--opinion:hover{background-color:rgba(10,56,102,.15);color:#0a3866;border-color:#0a3866;text-decoration:none}.x-follow-button--opinion:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(10,56,102,.15);color:#0a3866;border-color:#0a3866;z-index:1}@supports selector(:focus-visible){.x-follow-button--opinion:focus{outline:unset;box-shadow:unset}.x-follow-button--opinion:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(10,56,102,.15);color:#0a3866;border-color:#0a3866;z-index:1}}.x-follow-button--opinion[aria-selected=true],.x-follow-button--opinion[aria-current],.x-follow-button--opinion[aria-pressed=true],.x-follow-button--opinion:active{background-color:#0a3866;color:#fff;border-color:#0a3866}.x-follow-button--opinion[aria-pressed=true]{color:#fff}.x-follow-button--opinion[aria-pressed=true]:hover,.x-follow-button--opinion[aria-pressed=true]:focus{border-color:#082a4d;color:#fff;background-color:#082a4d}.x-follow-button--opinion[disabled]:hover,.x-follow-button--opinion[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(0,0,0,.5);color:rgba(0,0,0,.5);opacity:unset}.x-follow-button--monochrome{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#fff;border-color:#fff;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--monochrome::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--monochrome::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--monochrome::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--monochrome[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--monochrome[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--monochrome[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--monochrome[disabled],.x-follow-button--monochrome[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--monochrome[disabled]::before,.x-follow-button--monochrome[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--monochrome[disabled]::before,.x-follow-button--monochrome[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--monochrome[disabled]::before,.x-follow-button--monochrome[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--monochrome[disabled][aria-pressed=true]::before,.x-follow-button--monochrome[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--monochrome[disabled][aria-pressed=true]::before,.x-follow-button--monochrome[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--monochrome[disabled][aria-pressed=true]::before,.x-follow-button--monochrome[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--monochrome{font-size:12.18px;font-family:sans-serif}.x-follow-button--monochrome[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--monochrome:hover{background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;text-decoration:none}.x-follow-button--monochrome:focus{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}@supports selector(:focus-visible){.x-follow-button--monochrome:focus{outline:unset;box-shadow:unset}.x-follow-button--monochrome:focus-visible{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}}.x-follow-button--monochrome[aria-selected=true],.x-follow-button--monochrome[aria-current],.x-follow-button--monochrome[aria-pressed=true],.x-follow-button--monochrome:active{background-color:#fff;color:#000;border-color:#fff}.x-follow-button--monochrome[aria-pressed=true]{color:#000}.x-follow-button--monochrome[aria-pressed=true]:hover,.x-follow-button--monochrome[aria-pressed=true]:focus{border-color:#fffcfa;color:#000;background-color:#fffcfa}.x-follow-button--monochrome[disabled]:hover,.x-follow-button--monochrome[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(255,255,255,.5);color:rgba(255,255,255,.5);opacity:unset}.x-follow-button--inverse-monochrome{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#000;border-color:#000;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--inverse-monochrome::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse-monochrome::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse-monochrome::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse-monochrome[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse-monochrome[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse-monochrome[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse-monochrome[disabled],.x-follow-button--inverse-monochrome[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--inverse-monochrome[disabled]::before,.x-follow-button--inverse-monochrome[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse-monochrome[disabled]::before,.x-follow-button--inverse-monochrome[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse-monochrome[disabled]::before,.x-follow-button--inverse-monochrome[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--inverse-monochrome[disabled][aria-pressed=true]::before,.x-follow-button--inverse-monochrome[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--inverse-monochrome[disabled][aria-pressed=true]::before,.x-follow-button--inverse-monochrome[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--inverse-monochrome[disabled][aria-pressed=true]::before,.x-follow-button--inverse-monochrome[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--inverse-monochrome{font-size:12.18px;font-family:sans-serif}.x-follow-button--inverse-monochrome[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--inverse-monochrome:hover{background-color:rgba(0,0,0,.15);color:#000;border-color:#000;text-decoration:none}.x-follow-button--inverse-monochrome:focus{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(0,0,0,.15);color:#000;border-color:#000;z-index:1}@supports selector(:focus-visible){.x-follow-button--inverse-monochrome:focus{outline:unset;box-shadow:unset}.x-follow-button--inverse-monochrome:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 8px #4d4845;background-color:rgba(0,0,0,.15);color:#000;border-color:#000;z-index:1}}.x-follow-button--inverse-monochrome[aria-selected=true],.x-follow-button--inverse-monochrome[aria-current],.x-follow-button--inverse-monochrome[aria-pressed=true],.x-follow-button--inverse-monochrome:active{background-color:#000;color:#fff;border-color:#000}.x-follow-button--inverse-monochrome[aria-pressed=true]{color:#fff}.x-follow-button--inverse-monochrome[aria-pressed=true]:hover,.x-follow-button--inverse-monochrome[aria-pressed=true]:focus{border-color:#33302e;color:#fff;background-color:#33302e}.x-follow-button--inverse-monochrome[disabled]:hover,.x-follow-button--inverse-monochrome[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(0,0,0,.5);color:rgba(0,0,0,.5);opacity:unset}.x-follow-button--alphaville{font-family:MetricWeb, sans-serif;font-weight:600;font-family:MetricWeb, sans-serif;font-size:14px;line-height:16px;line-height:14px;background-size:21px 21px;min-height:28px;min-width:60px;padding:6px 8px;display:inline-block;box-sizing:border-box;vertical-align:middle;margin:0;border-style:solid;text-align:center;text-decoration:none;cursor:pointer;transition:.3s background-color,.15s color ease-out,.15s border-color ease-out;user-select:none;background-clip:border-box;border-width:1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-appearance:none;-webkit-appearance:none;border-radius:0;background-color:rgba(0,0,0,0);color:#fff;border-color:#fff;border-radius:100px;box-sizing:content-box;display:block;font-size:14px;margin:6px 4px 6px 2px;max-width:200px;outline-offset:2px;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:border-color,background-color .5s ease;white-space:nowrap;padding:0 12px}.x-follow-button--alphaville::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0}@media screen and (-ms-high-contrast: active){.x-follow-button--alphaville::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--alphaville::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--alphaville[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23355778,%23355778&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--alphaville[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--alphaville[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--alphaville[disabled],.x-follow-button--alphaville[disabled]:hover{background:rgba(0,0,0,0)}.x-follow-button--alphaville[disabled]::before,.x-follow-button--alphaville[disabled]:hover::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:25px;margin:0 6px -1px 0;opacity:.5}@media screen and (-ms-high-contrast: active){.x-follow-button--alphaville[disabled]::before,.x-follow-button--alphaville[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--alphaville[disabled]::before,.x-follow-button--alphaville[disabled]:hover::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:plus?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-follow-button--alphaville[disabled][aria-pressed=true]::before,.x-follow-button--alphaville[disabled]:hover[aria-pressed=true]::before{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:10px;height:10px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");content:"";background-size:21px}@media screen and (-ms-high-contrast: active){.x-follow-button--alphaville[disabled][aria-pressed=true]::before,.x-follow-button--alphaville[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-follow-button--alphaville[disabled][aria-pressed=true]::before,.x-follow-button--alphaville[disabled]:hover[aria-pressed=true]::before{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:tick?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.o-typography--loading-sans .x-follow-button--alphaville{font-size:12.18px;font-family:sans-serif}.x-follow-button--alphaville[disabled]{pointer-events:none;opacity:.4;cursor:default}.x-follow-button--alphaville:hover{background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;text-decoration:none}.x-follow-button--alphaville:focus{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}@supports selector(:focus-visible){.x-follow-button--alphaville:focus{outline:unset;box-shadow:unset}.x-follow-button--alphaville:focus-visible{box-shadow:0 0 0 4px #4d4845,0 0 0 8px #fff;background-color:rgba(255,255,255,.15);color:#fff;border-color:#fff;z-index:1}}.x-follow-button--alphaville[aria-selected=true],.x-follow-button--alphaville[aria-current],.x-follow-button--alphaville[aria-pressed=true],.x-follow-button--alphaville:active{background-color:#fff;color:#000;border-color:#fff}.x-follow-button--alphaville[aria-pressed=true]{color:#355778}.x-follow-button--alphaville[aria-pressed=true]:hover,.x-follow-button--alphaville[aria-pressed=true]:focus{border-color:rgba(255,255,255,.8);color:#355778;background-color:rgba(255,255,255,.8)}.x-follow-button--alphaville[disabled]:hover,.x-follow-button--alphaville[disabled]{background:rgba(0,0,0,0);border:1px solid rgba(255,255,255,.5);color:rgba(255,255,255,.5);opacity:unset}.x-topic-search{position:relative;text-align:center;background-color:#b31247;color:#fff;width:100%}.x-topic-search__input-wrapper{position:relative}.x-topic-search__search-icon{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:32px;height:32px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:search?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");position:absolute;top:4px;left:-7px}@media screen and (-ms-high-contrast: active){.x-topic-search__search-icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:search?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-topic-search__search-icon{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:search?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-topic-search__input{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;-webkit-appearance:none;width:100%;min-height:40px;margin:0;border:none;border-bottom:2px solid #fff;padding:0 9px 0 24px;max-width:none;color:#fff;background:rgba(0,0,0,0)}.o-typography--loading-sans .x-topic-search__input{font-size:13.92px;font-family:sans-serif}.x-topic-search__input::placeholder{color:#fff}.x-topic-search__input::-webkit-search-cancel-button{display:inline-block;background-repeat:no-repeat;background-size:contain;background-position:50%;background-color:rgba(0,0,0,0);vertical-align:baseline;width:26px;height:26px;background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23FFFFFF,%23FFFFFF&format=svg");-webkit-appearance:none}@media screen and (-ms-high-contrast: active){.x-topic-search__input::-webkit-search-cancel-button{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23ffffff,%23ffffff&format=svg")}}@media screen and (-ms-high-contrast: black-on-white){.x-topic-search__input::-webkit-search-cancel-button{background-image:url("https://www.ft.com/__origami/service/image/v2/images/raw/fticon-v1:cross?source=github:Financial-Times/x-dash&tint=%23000000,%23000000&format=svg")}}.x-topic-search__input::-webkit-search-decoration,.x-topic-search__input::-webkit-search-results-button,.x-topic-search__input::-webkit-search-results-decoration{display:none}.x-topic-search__result-container{position:absolute;background:#fff;top:48px;padding:10px;z-index:1;width:calc(100% - 20px)}.x-topic-search-suggestions{list-style:none;padding:0;text-align:left;margin:0}.x-topic-search-suggestions__suggestion{display:flex;justify-content:space-between;align-items:center;clear:right;padding:5px 0;border-bottom:1px solid #f2e5da}.x-topic-search-suggestions__suggestion:last-child{border-bottom:0;padding-bottom:0}.x-topic-search-suggestions__suggestion:first-child{padding-top:0}.x-topic-search-suggestions__suggestion-name{font-family:MetricWeb, sans-serif;font-size:16px;line-height:20px;font-weight:600;color:#33302e;font-family:MetricWeb, sans-serif;font-weight:600;padding:5px 0;max-width:50%;word-wrap:break-word;overflow-wrap:break-word}.o-typography--loading-sans-bold .x-topic-search-suggestions__suggestion-name{font-size:13.28px;font-family:sans-serif}a.x-topic-search-suggestions__suggestion-name{color:#990f3d;text-decoration:none;border-bottom:0}a.x-topic-search-suggestions__suggestion-name:hover{color:#4d081f}.x-topic-search-no-suggestions{font-family:MetricWeb, sans-serif;font-size:18px;line-height:20px;color:#4d4845;text-align:left;padding:0 0 5px 0;margin:0}.o-typography--loading-sans .x-topic-search-no-suggestions{font-size:15.66px;font-family:sans-serif}.x-topic-search-no-suggestions p{margin:0}.x-topic-search-no-suggestions__title{font-family:MetricWeb, sans-serif;font-size:24px;line-height:28px;font-weight:normal;overflow-wrap:break-word;margin:0;padding:0 0 20px}.o-typography--loading-sans .x-topic-search-no-suggestions__title{font-size:20.88px;font-family:sans-serif}.x-topic-search-no-suggestions__message{margin-top:12px;margin-bottom:0;padding-left:20px;list-style-type:disc}',""]),module.exports=exports},"./packages/x-engine/src/client.js":function(module,exports,__webpack_require__){var runtime=__webpack_require__("./node_modules/react/index.js"),render=__webpack_require__("./node_modules/react-dom/index.js");module.exports.h=runtime.createElement,module.exports.render=render.render,module.exports.Component=runtime.Component,module.exports.Fragment=runtime.Fragment},"./storybook-init-framework-entry.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__("./node_modules/@storybook/react/dist/esm/client/index.js")},0:function(module,exports,__webpack_require__){__webpack_require__("./node_modules/@storybook/core-client/dist/esm/globals/polyfills.js"),__webpack_require__("./node_modules/@storybook/core-client/dist/esm/globals/globals.js"),__webpack_require__("./storybook-init-framework-entry.js"),__webpack_require__("./node_modules/@storybook/react/dist/esm/client/docs/config-generated-config-entry.js"),__webpack_require__("./node_modules/@storybook/react/dist/esm/client/preview/config-generated-config-entry.js"),__webpack_require__("./node_modules/@storybook/addon-docs/preview.js-generated-config-entry.js"),__webpack_require__("./node_modules/@storybook/addon-actions/preview.js-generated-config-entry.js"),__webpack_require__("./node_modules/@storybook/addon-backgrounds/preview.js-generated-config-entry.js"),__webpack_require__("./node_modules/@storybook/addon-measure/preview.js-generated-config-entry.js"),__webpack_require__("./node_modules/@storybook/addon-outline/preview.js-generated-config-entry.js"),module.exports=__webpack_require__("./generated-stories-entry.js")},1:function(module,exports){}},[[0,5,6]]]); +//# sourceMappingURL=main.159fda92.iframe.bundle.js.map \ No newline at end of file diff --git a/main.159fda92.iframe.bundle.js.LICENSE.txt b/main.159fda92.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..ae386fb79 --- /dev/null +++ b/main.159fda92.iframe.bundle.js.LICENSE.txt @@ -0,0 +1 @@ +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/main.159fda92.iframe.bundle.js.map b/main.159fda92.iframe.bundle.js.map new file mode 100644 index 000000000..5482d4573 --- /dev/null +++ b/main.159fda92.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"main.159fda92.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/main.ee5399509e69147831c9.manager.bundle.js b/main.ee5399509e69147831c9.manager.bundle.js new file mode 100644 index 000000000..63dc3dcdd --- /dev/null +++ b/main.ee5399509e69147831c9.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{461:function(module,exports,__webpack_require__){__webpack_require__(462),__webpack_require__(843),__webpack_require__(847),__webpack_require__(844),__webpack_require__(839),__webpack_require__(841),__webpack_require__(842),__webpack_require__(840),__webpack_require__(845),module.exports=__webpack_require__(846)},516:function(module,exports){}},[[461,3,4]]]); \ No newline at end of file diff --git a/project.json b/project.json new file mode 100644 index 000000000..9d602c663 --- /dev/null +++ b/project.json @@ -0,0 +1 @@ +{"generatedAt":1714383106750,"builder":{"name":"webpack4"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"monorepo":"Workspaces","packageManager":{"type":"npm","version":"10.2.4"},"storybookVersion":"6.5.16","language":"typescript","storybookPackages":{"@storybook/react":{"version":"6.5.16"},"@storybook/storybook-deployer":{"version":"2.8.16"}},"framework":{"name":"react"},"addons":{"@storybook/addon-essentials":{"version":"6.5.16"}}} diff --git a/runtime~main.4f8d7fc1.iframe.bundle.js b/runtime~main.4f8d7fc1.iframe.bundle.js new file mode 100644 index 000000000..ad20443a2 --- /dev/null +++ b/runtime~main.4f8d7fc1.iframe.bundle.js @@ -0,0 +1 @@ +!function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];inew Share(rootEl)))};var share=Share;const constructAll=function(){share.init(),document.removeEventListener("o.DOMContentLoaded",constructAll)};"undefined"!=typeof document&&document.addEventListener("o.DOMContentLoaded",constructAll);__webpack_exports__.a=share},"./node_modules/@quarterto/short-id/short-id.js":function(module,exports){module.exports=function(){return Math.floor(parseInt("xxxxxxxx",36)*Math.random()).toString(36)}},"./node_modules/@storybook/addon-actions/dist/esm/constants.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return PARAM_KEY})),__webpack_require__.d(__webpack_exports__,"a",(function(){return EVENT_ID}));var PARAM_KEY="actions",EVENT_ID=("".concat("storybook/actions","/panel"),"".concat("storybook/actions","/action-event"))},"./node_modules/@storybook/addon-actions/dist/esm/index.js":function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/constants.js");var _models__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/index.js");__webpack_require__.o(_models__WEBPACK_IMPORTED_MODULE_1__,"action")&&__webpack_require__.d(__webpack_exports__,"action",(function(){return _models__WEBPACK_IMPORTED_MODULE_1__.action})),__webpack_require__.o(_models__WEBPACK_IMPORTED_MODULE_1__,"withActions")&&__webpack_require__.d(__webpack_exports__,"withActions",(function(){return _models__WEBPACK_IMPORTED_MODULE_1__.withActions}));var _preview__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/preview/index.js");__webpack_require__.d(__webpack_exports__,"action",(function(){return _preview__WEBPACK_IMPORTED_MODULE_2__.a})),__webpack_require__.d(__webpack_exports__,"withActions",(function(){return _preview__WEBPACK_IMPORTED_MODULE_2__.b})),module&&module.hot&&module.hot.decline&&module.hot.decline()}).call(this,__webpack_require__("./node_modules/webpack/buildin/harmony-module.js")(module))},"./node_modules/@storybook/addon-actions/dist/esm/models/ActionDisplay.js":function(module,__webpack_exports__,__webpack_require__){},"./node_modules/@storybook/addon-actions/dist/esm/models/ActionOptions.js":function(module,__webpack_exports__,__webpack_require__){},"./node_modules/@storybook/addon-actions/dist/esm/models/ActionsFunction.js":function(module,__webpack_exports__,__webpack_require__){},"./node_modules/@storybook/addon-actions/dist/esm/models/ActionsMap.js":function(module,__webpack_exports__,__webpack_require__){},"./node_modules/@storybook/addon-actions/dist/esm/models/DecoratorFunction.js":function(module,exports){},"./node_modules/@storybook/addon-actions/dist/esm/models/HandlerFunction.js":function(module,exports){},"./node_modules/@storybook/addon-actions/dist/esm/models/index.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/ActionDisplay.js"),__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/ActionsFunction.js"),__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/ActionOptions.js"),__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/ActionsMap.js");var _DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/DecoratorFunction.js");__webpack_require__.o(_DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__,"action")&&__webpack_require__.d(__webpack_exports__,"action",(function(){return _DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__.action})),__webpack_require__.o(_DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__,"withActions")&&__webpack_require__.d(__webpack_exports__,"withActions",(function(){return _DecoratorFunction__WEBPACK_IMPORTED_MODULE_4__.withActions}));var _HandlerFunction__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/models/HandlerFunction.js");__webpack_require__.o(_HandlerFunction__WEBPACK_IMPORTED_MODULE_5__,"action")&&__webpack_require__.d(__webpack_exports__,"action",(function(){return _HandlerFunction__WEBPACK_IMPORTED_MODULE_5__.action})),__webpack_require__.o(_HandlerFunction__WEBPACK_IMPORTED_MODULE_5__,"withActions")&&__webpack_require__.d(__webpack_exports__,"withActions",(function(){return _HandlerFunction__WEBPACK_IMPORTED_MODULE_5__.withActions}))},"./node_modules/@storybook/addon-actions/dist/esm/preview/index.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return action})),__webpack_require__.d(__webpack_exports__,"b",(function(){return withActions}));__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptors.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js");var v4=__webpack_require__("./node_modules/uuid-browser/v4.js"),v4_default=__webpack_require__.n(v4),esm=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js"),constants=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/constants.js"),config={depth:10,clearOnStoryChange:!0,limit:50};function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var findProto=function findProto(obj,callback){var proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},isReactSyntheticEvent=function isReactSyntheticEvent(e){return Boolean("object"===_typeof(e)&&e&&findProto(e,(function(proto){return/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)}))&&"function"==typeof e.persist)},serializeArg=function serializeArg(a){if(isReactSyntheticEvent(a)){var e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();var viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=null==viewDescriptor?void 0:viewDescriptor.value;return"object"===_typeof(view)&&"Window"===(null==view?void 0:view.constructor.name)&&Object.defineProperty(e,"view",Object.assign({},viewDescriptor,{value:Object.create(view.constructor.prototype)})),e}return a};function action(name){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},actionOptions=Object.assign({},config,options);return function actionHandler(){for(var channel=esm.a.getChannel(),id=v4_default()(),_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id:id,count:0,data:{name:name,args:normalizedArgs},options:Object.assign({},actionOptions,{maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1})};channel.emit(constants.a,actionDisplayToEmit)}}__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1?_len-1:0),_key=1;_key<_len;_key++)handles[_key-1]=arguments[_key];var actionsObject=actionsFn.apply(void 0,handles);return Object.entries(actionsObject).map((function(_ref){var _ref2=withActions_slicedToArray(_ref,2),key=_ref2[0],action=_ref2[1],_key$match2=withActions_slicedToArray(key.match(delegateEventSplitter),3),eventName=(_key$match2[0],_key$match2[1]),selector=_key$match2[2];return{eventName:eventName,handler:function handler(e){selector&&!hasMatchInAncestry(e.target,selector)||action(e)}}}))},applyEventHandlers=browser_default()((function(actionsFn){for(var _len2=arguments.length,handles=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)handles[_key2-1]=arguments[_key2];Object(hooks.c)((function(){if(null!=root){var handlers=createHandlers.apply(void 0,[actionsFn].concat(handles));return handlers.forEach((function(_ref3){var eventName=_ref3.eventName,handler=_ref3.handler;return root.addEventListener(eventName,handler)})),function(){return handlers.forEach((function(_ref4){var eventName=_ref4.eventName,handler=_ref4.handler;return root.removeEventListener(eventName,handler)}))}}}),[root,actionsFn,handles])}),Object(ts_dedent_esm.a)(withActions_templateObject||(withActions_templateObject=function withActions_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n withActions(options) is deprecated, please configure addon-actions using the addParameter api:\n\n addParameters({\n actions: {\n handles: options\n },\n });\n "])))),withActions=function makeDecorator(_ref){var name=_ref.name,parameterName=_ref.parameterName,wrapper=_ref.wrapper,_ref$skipIfNoParamete=_ref.skipIfNoParametersOrOptions,skipIfNoParametersOrOptions=void 0!==_ref$skipIfNoParamete&&_ref$skipIfNoParamete,decorator=function decorator(options){return function(storyFn,context){var parameters=context.parameters&&context.parameters[parameterName];return parameters&¶meters.disable?storyFn(context):!skipIfNoParametersOrOptions||options||parameters?wrapper(storyFn,context,{options:options,parameters:parameters}):storyFn(context)}};return function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return"function"==typeof args[0]?decorator().apply(void 0,args):function(){if(arguments.length>1)return args.length>1?decorator(args).apply(void 0,arguments):decorator.apply(void 0,args).apply(void 0,arguments);throw new Error("Passing stories directly into ".concat(name,"() is not allowed,\n instead use addDecorator(").concat(name,") and pass options with the '").concat(parameterName,"' parameter"))}}}({name:"withActions",parameterName:constants.b,skipIfNoParametersOrOptions:!0,wrapper:function wrapper(getStory,context,_ref5){var parameters=_ref5.parameters,options=_ref5.options;return function applyDeprecatedOptions(actionsFn,options){options&&applyEventHandlers(actionsFn,options)}(actions_actions,options),parameters&¶meters.handles&&applyEventHandlers.apply(void 0,[actions_actions].concat(_toConsumableArray(parameters.handles))),getStory(context)}})},"./node_modules/@storybook/addon-actions/preview.js-generated-config-entry.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var addon_actions_preview_namespaceObject={};__webpack_require__.r(addon_actions_preview_namespaceObject),__webpack_require__.d(addon_actions_preview_namespaceObject,"decorators",(function(){return decorators})),__webpack_require__.d(addon_actions_preview_namespaceObject,"argsEnhancers",(function(){return argsEnhancers}));var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),esm=__webpack_require__("./node_modules/@storybook/addon-actions/dist/esm/index.js"),decorators=[esm.withActions];__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:[],defaultName=arguments.length>2?arguments[2]:void 0;if("transparent"===currentSelectedValue)return"transparent";if(backgrounds.find((function(background){return background.value===currentSelectedValue})))return currentSelectedValue;var defaultBackground=backgrounds.find((function(background){return background.name===defaultName}));if(defaultBackground)return defaultBackground.value;if(defaultName){var availableColors=backgrounds.map((function(background){return background.name})).join(", ");dist_esm.a.warn(Object(esm.a)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(['\n Backgrounds Addon: could not find the default color "','".\n These are the available colors for your story based on your configuration:\n ',".\n "])),defaultName,availableColors))}return"transparent"},clearStyles=function clearStyles(selector){(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=function clearStyle(selector){var element=helpers_document.getElementById(selector);element&&element.parentElement.removeChild(element)},browser=__webpack_require__("./node_modules/util-deprecate/browser.js");var deprecatedCellSizeWarning=__webpack_require__.n(browser)()((function(){}),Object(esm.a)(withGrid_templateObject||(withGrid_templateObject=function withGrid_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Backgrounds Addon: The cell size parameter has been changed.\n\n - parameters.grid.cellSize should now be parameters.backgrounds.grid.cellSize\n See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-grid-parameter\n "])))),decorators=[function withGrid(StoryFn,context){var _globals$BACKGROUNDS_,_parameters$grid,_gridParameters$offse,_gridParameters$offse2,gridSize,globals=context.globals,parameters=context.parameters,gridParameters=parameters.backgrounds.grid,isActive=!0===(null===(_globals$BACKGROUNDS_=globals.backgrounds)||void 0===_globals$BACKGROUNDS_?void 0:_globals$BACKGROUNDS_.grid)&&!0!==gridParameters.disable,cellAmount=gridParameters.cellAmount,cellSize=gridParameters.cellSize,opacity=gridParameters.opacity,isInDocs="docs"===context.viewMode;null!==(_parameters$grid=parameters.grid)&&void 0!==_parameters$grid&&_parameters$grid.cellSize?(gridSize=parameters.grid.cellSize,deprecatedCellSizeWarning()):gridSize=cellSize;var defaultOffset=void 0===parameters.layout||"padded"===parameters.layout?16:0,offsetX=null!==(_gridParameters$offse=gridParameters.offsetX)&&void 0!==_gridParameters$offse?_gridParameters$offse:isInDocs?20:defaultOffset,offsetY=null!==(_gridParameters$offse2=gridParameters.offsetY)&&void 0!==_gridParameters$offse2?_gridParameters$offse2:isInDocs?20:defaultOffset,gridStyles=Object(hooks.d)((function(){var selector="docs"===context.viewMode?"#anchor--".concat(context.id," .docs-story"):".sb-show-main",backgroundSize=["".concat(gridSize*cellAmount,"px ").concat(gridSize*cellAmount,"px"),"".concat(gridSize*cellAmount,"px ").concat(gridSize*cellAmount,"px"),"".concat(gridSize,"px ").concat(gridSize,"px"),"".concat(gridSize,"px ").concat(gridSize,"px")].join(", ");return"\n ".concat(selector," {\n background-size: ").concat(backgroundSize," !important;\n background-position: ").concat(offsetX,"px ").concat(offsetY,"px, ").concat(offsetX,"px ").concat(offsetY,"px, ").concat(offsetX,"px ").concat(offsetY,"px, ").concat(offsetX,"px ").concat(offsetY,"px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ").concat(opacity,") 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ").concat(opacity,") 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ").concat(opacity/2,") 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ").concat(opacity/2,") 1px, transparent 1px) !important;\n }\n ")}),[gridSize]);return Object(hooks.c)((function(){var selectorId="docs"===context.viewMode?"addon-backgrounds-grid-docs-".concat(context.id):"addon-backgrounds-grid";isActive?function addGridStyle(selector,css){var existingStyle=helpers_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{var style=helpers_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,helpers_document.head.appendChild(style)}}(selectorId,gridStyles):clearStyles(selectorId)}),[isActive,gridStyles,context]),StoryFn()},function withBackground(StoryFn,context){var _globals$BACKGROUNDS_,globals=context.globals,parameters=context.parameters,globalsBackgroundColor=null===(_globals$BACKGROUNDS_=globals.backgrounds)||void 0===_globals$BACKGROUNDS_?void 0:_globals$BACKGROUNDS_.value,backgroundsConfig=parameters.backgrounds,selectedBackgroundColor=Object(hooks.d)((function(){return backgroundsConfig.disable?"transparent":helpers_getBackgroundColorByName(globalsBackgroundColor,backgroundsConfig.values,backgroundsConfig.default)}),[backgroundsConfig,globalsBackgroundColor]),isActive=Object(hooks.d)((function(){return selectedBackgroundColor&&"transparent"!==selectedBackgroundColor}),[selectedBackgroundColor]),selector="docs"===context.viewMode?"#anchor--".concat(context.id," .docs-story"):".sb-show-main",backgroundStyles=Object(hooks.d)((function(){return"\n ".concat(selector," {\n background: ").concat(selectedBackgroundColor," !important;\n ").concat(function isReduceMotionEnabled(){return helpers_window.matchMedia("(prefers-reduced-motion: reduce)").matches}()?"":"transition: background-color 0.3s;","\n }\n ")}),[selectedBackgroundColor,selector]);return Object(hooks.c)((function(){var selectorId="docs"===context.viewMode?"addon-backgrounds-docs-".concat(context.id):"addon-backgrounds-color";isActive?function addBackgroundStyle(selector,css,storyId){var existingStyle=helpers_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{var style=helpers_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css;var gridStyleSelector="addon-backgrounds-grid".concat(storyId?"-docs-".concat(storyId):""),existingGridStyle=helpers_document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement.insertBefore(style,existingGridStyle):helpers_document.head.appendChild(style)}}(selectorId,backgroundStyles,"docs"===context.viewMode?context.id:null):clearStyles(selectorId)}),[isActive,backgroundStyles,context]),StoryFn()}],preview_parameters={backgrounds:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:"light",value:"#F8F8F8"},{name:"dark",value:"#333333"}]}};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addon_backgrounds_preview_namespaceObject).forEach((function(key){var value=addon_backgrounds_preview_namespaceObject[key];switch(key){case"args":return Object(ClientApi.d)(value);case"argTypes":return Object(ClientApi.b)(value);case"decorators":return value.forEach((function(decorator){return Object(ClientApi.f)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(ClientApi.g)(loader,!1)}));case"parameters":return Object(ClientApi.h)(function _objectSpread(target){for(var i=1;i4&&void 0!==arguments[4]&&arguments[4],_positionCoordinate=function positionCoordinate(position,_ref2){var padding=_ref2.padding,border=_ref2.border,width=_ref2.width,height=_ref2.height,top=_ref2.top,left=_ref2.left,contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom,x=left+border.left+padding.left,y=top+border.top+padding.top;return"top"===position?x+=contentWidth/2:"right"===position?(x+=contentWidth,y+=contentHeight/2):"bottom"===position?(x+=contentWidth/2,y+=contentHeight):"left"===position?y+=contentHeight/2:"center"===position&&(x+=contentWidth/2,y+=contentHeight/2),{x:x,y:y}}(position,measurements),x=_positionCoordinate.x,y=_positionCoordinate.y,_offset=function offset(type,position,_ref3,labelPaddingSize,external){var margin=_ref3.margin,border=_ref3.border,padding=_ref3.padding,shift=function shift(dir){return 0},offsetX=0,offsetY=0,locationMultiplier=external?1:.5,labelPaddingShift=external?2*labelPaddingSize:0;return"padding"===type?shift=function shift(dir){return padding[dir]*locationMultiplier+labelPaddingShift}:"border"===type?shift=function shift(dir){return padding[dir]+border[dir]*locationMultiplier+labelPaddingShift}:"margin"===type&&(shift=function shift(dir){return padding[dir]+border[dir]+margin[dir]*locationMultiplier+labelPaddingShift}),"top"===position?offsetY=-shift("top"):"right"===position?offsetX=shift("right"):"bottom"===position?offsetY=shift("bottom"):"left"===position&&(offsetX=-shift("left")),{offsetX:offsetX,offsetY:offsetY}}(type,position,measurements,labelPadding+1,external);x+=_offset.offsetX,y+=_offset.offsetY;var _configureText=configureText(context,text),w=_configureText.w,h=_configureText.h;if(prevRect&&function collide(a,b){return Math.abs(a.x-b.x)arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iMath.abs(windowExtremities_right-extremities.right)?"left":"right",y:distances_top>distances_bottom?"top":"bottom"}}function drawBoxModel(element){return function(context){if(element&&context){var measurements=function measureElement(element){var style=window_default.a.getComputedStyle(element),_element$getBoundingC=element.getBoundingClientRect(),top=_element$getBoundingC.top,left=_element$getBoundingC.left,right=_element$getBoundingC.right,bottom=_element$getBoundingC.bottom,width=_element$getBoundingC.width,height=_element$getBoundingC.height,marginTop=style.marginTop,marginBottom=style.marginBottom,marginLeft=style.marginLeft,marginRight=style.marginRight,paddingTop=style.paddingTop,paddingBottom=style.paddingBottom,paddingLeft=style.paddingLeft,paddingRight=style.paddingRight,borderBottomWidth=style.borderBottomWidth,borderTopWidth=style.borderTopWidth,borderLeftWidth=style.borderLeftWidth,borderRightWidth=style.borderRightWidth;top+=window_default.a.window.scrollY,left+=window_default.a.window.scrollX,bottom+=window_default.a.window.scrollY,right+=window_default.a.window.scrollX;var margin={top:pxToNumber(marginTop),bottom:pxToNumber(marginBottom),left:pxToNumber(marginLeft),right:pxToNumber(marginRight)},padding={top:pxToNumber(paddingTop),bottom:pxToNumber(paddingBottom),left:pxToNumber(paddingLeft),right:pxToNumber(paddingRight)},border={top:pxToNumber(borderTopWidth),bottom:pxToNumber(borderBottomWidth),left:pxToNumber(borderLeftWidth),right:pxToNumber(borderRightWidth)},extremities={top:top-margin.top,bottom:bottom+margin.bottom,left:left-margin.left,right:right+margin.right};return{margin:margin,padding:padding,border:border,top:top,left:left,bottom:bottom,right:right,width:width,height:height,extremities:extremities,floatingAlignment:floatingAlignment(extremities)}}(element),marginLabels=function drawMargin(context,_ref){var margin=_ref.margin,width=_ref.width,height=_ref.height,top=_ref.top,left=_ref.left,bottom=_ref.bottom,right=_ref.right,marginHeight=height+margin.bottom+margin.top;return context.fillStyle=visualizer_colors.margin,context.fillRect(left,top-margin.top,width,margin.top),context.fillRect(right,top-margin.top,margin.right,marginHeight),context.fillRect(left,bottom,width,margin.bottom),context.fillRect(left-margin.left,top-margin.top,margin.left,marginHeight),filterZeroValues([{type:"margin",text:round(margin.top),position:"top"},{type:"margin",text:round(margin.right),position:"right"},{type:"margin",text:round(margin.bottom),position:"bottom"},{type:"margin",text:round(margin.left),position:"left"}])}(context,measurements),paddingLabels=function drawPadding(context,_ref2){var padding=_ref2.padding,border=_ref2.border,width=_ref2.width,height=_ref2.height,top=_ref2.top,left=_ref2.left,bottom=_ref2.bottom,right=_ref2.right,paddingWidth=width-border.left-border.right,paddingHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=visualizer_colors.padding,context.fillRect(left+border.left,top+border.top,paddingWidth,padding.top),context.fillRect(right-padding.right-border.right,top+padding.top+border.top,padding.right,paddingHeight),context.fillRect(left+border.left,bottom-padding.bottom-border.bottom,paddingWidth,padding.bottom),context.fillRect(left+border.left,top+padding.top+border.top,padding.left,paddingHeight),filterZeroValues([{type:"padding",text:padding.top,position:"top"},{type:"padding",text:padding.right,position:"right"},{type:"padding",text:padding.bottom,position:"bottom"},{type:"padding",text:padding.left,position:"left"}])}(context,measurements),borderLabels=function drawBorder(context,_ref3){var border=_ref3.border,width=_ref3.width,height=_ref3.height,top=_ref3.top,left=_ref3.left,bottom=_ref3.bottom,right=_ref3.right,borderHeight=height-border.top-border.bottom;return context.fillStyle=visualizer_colors.border,context.fillRect(left,top,width,border.top),context.fillRect(left,bottom-border.bottom,width,border.bottom),context.fillRect(left,top+border.top,border.left,borderHeight),context.fillRect(right-border.right,top+border.top,border.right,borderHeight),filterZeroValues([{type:"border",text:border.top,position:"top"},{type:"border",text:border.right,position:"right"},{type:"border",text:border.bottom,position:"bottom"},{type:"border",text:border.left,position:"left"}])}(context,measurements),contentLabels=function drawContent(context,_ref4){var padding=_ref4.padding,border=_ref4.border,width=_ref4.width,height=_ref4.height,top=_ref4.top,left=_ref4.left,contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=visualizer_colors.content,context.fillRect(left+border.left+padding.left,top+border.top+padding.top,contentWidth,contentHeight),[{type:"content",position:"center",text:"".concat(round(contentWidth)," x ").concat(round(contentHeight))}]}(context,measurements),externalLabels=measurements.width<=3*SMALL_NODE_SIZE||measurements.height<=SMALL_NODE_SIZE;!function labelStacks(context,measurements,labels,externalLabels){var stacks=labels.reduce((function(acc,l){return Object.prototype.hasOwnProperty.call(acc,l.position)||(acc[l.position]=[]),acc[l.position].push(l),acc}),{});stacks.top&&drawStack(context,measurements,stacks.top,externalLabels),stacks.right&&drawStack(context,measurements,stacks.right,externalLabels),stacks.bottom&&drawStack(context,measurements,stacks.bottom,externalLabels),stacks.left&&drawStack(context,measurements,stacks.left,externalLabels),stacks.center&&drawStack(context,measurements,stacks.center,externalLabels)}(context,measurements,[].concat(_toConsumableArray(contentLabels),_toConsumableArray(paddingLabels),_toConsumableArray(borderLabels),_toConsumableArray(marginLabels)),externalLabels)}}}function drawSelectedElement(element){!function draw(callback){clear(),callback(state.context)}(drawBoxModel(element))}var nodeAtPointerRef,pointer={x:0,y:0};function findAndDrawElement(x,y){nodeAtPointerRef=function deepElementFromPoint(x,y){var element=window_default.a.document.elementFromPoint(x,y),shadowElement=function crawlShadows(node){if(node&&node.shadowRoot){var nestedElement=node.shadowRoot.elementFromPoint(x,y);return node.isEqualNode(nestedElement)?node:nestedElement.shadowRoot?crawlShadows(nestedElement):nestedElement}return node}(element);return shadowElement||element}(x,y),drawSelectedElement(nodeAtPointerRef)}var ADDON_ID="storybook/measure-addon";"".concat(ADDON_ID,"/tool"),"".concat(ADDON_ID,"/result"),"".concat(ADDON_ID,"/request"),"".concat(ADDON_ID,"/clear");var decorators=[function withMeasure(StoryFn,context){var measureEnabled=context.globals.measureEnabled;return Object(hooks.c)((function(){var onMouseMove=function onMouseMove(event){window.requestAnimationFrame((function(){event.stopPropagation(),pointer.x=event.clientX,pointer.y=event.clientY}))};return document.addEventListener("mousemove",onMouseMove),function(){document.removeEventListener("mousemove",onMouseMove)}}),[]),Object(hooks.c)((function(){var onResize=function onResize(){window.requestAnimationFrame((function(){!function rescale(){setCanvasWidthAndHeight(state.canvas,state.context,{width:0,height:0});var _getDocumentWidthAndH2=getDocumentWidthAndHeight(),width=_getDocumentWidthAndH2.width,height=_getDocumentWidthAndH2.height;setCanvasWidthAndHeight(state.canvas,state.context,{width:width,height:height}),state.width=width,state.height=height}()}))};return measureEnabled&&(document.addEventListener("mouseover",(function onMouseOver(event){window.requestAnimationFrame((function(){event.stopPropagation(),findAndDrawElement(event.clientX,event.clientY)}))})),init(),window.addEventListener("resize",onResize),findAndDrawElement(pointer.x,pointer.y)),function(){window.removeEventListener("resize",onResize),function destroy(){state.canvas&&(clear(),state.canvas.parentNode.removeChild(state.canvas),state={})}()}}),[measureEnabled]),StoryFn()}],globals=function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},"measureEnabled",!1);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function preview_js_generated_config_entry_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(addon_measure_preview_namespaceObject).forEach((function(key){var value=addon_measure_preview_namespaceObject[key];switch(key){case"args":return Object(ClientApi.d)(value);case"argTypes":return Object(ClientApi.b)(value);case"decorators":return value.forEach((function(decorator){return Object(ClientApi.f)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(ClientApi.g)(loader,!1)}));case"parameters":return Object(ClientApi.h)(function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i25)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return hooks.addRenderListeners(),result}}},areDepsEqual=function areDepsEqual(deps,nextDeps){return deps.length===nextDeps.length&&deps.every((function(dep,i){return dep===nextDeps[i]}))},invalidHooksError=function invalidHooksError(){return new Error("Storybook preview hooks can only be called inside decorators and story functions.")};function getHooksContextOrNull(){return globalWindow.STORYBOOK_HOOKS_CONTEXT||null}function getHooksContextOrThrow(){var hooks=getHooksContextOrNull();if(null==hooks)throw invalidHooksError();return hooks}function useMemoLike(name,nextCreate,deps){var _useHook=function useHook(name,callback,deps){var hooks=getHooksContextOrThrow();if("MOUNT"===hooks.currentPhase){null==deps||Array.isArray(deps)||_storybook_client_logger__WEBPACK_IMPORTED_MODULE_21__.a.warn("".concat(name," received a final argument that is not an array (instead, received ").concat(deps,"). When specified, the final argument must be an array."));var _hook={name:name,deps:deps};return hooks.currentHooks.push(_hook),callback(_hook),_hook}if("UPDATE"===hooks.currentPhase){var _hook2=hooks.getNextHook();if(null==_hook2)throw new Error("Rendered more hooks than during the previous render.");return _hook2.name!==name&&_storybook_client_logger__WEBPACK_IMPORTED_MODULE_21__.a.warn("Storybook has detected a change in the order of Hooks".concat(hooks.currentDecoratorName?" called by ".concat(hooks.currentDecoratorName):"",". This will lead to bugs and errors if not fixed.")),null!=deps&&null==_hook2.deps&&_storybook_client_logger__WEBPACK_IMPORTED_MODULE_21__.a.warn("".concat(name," received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.")),null!=deps&&null!=_hook2.deps&&deps.length!==_hook2.deps.length&&_storybook_client_logger__WEBPACK_IMPORTED_MODULE_21__.a.warn("The final argument passed to ".concat(name," changed size between renders. The order and size of this array must remain constant.\nPrevious: ").concat(_hook2.deps,"\nIncoming: ").concat(deps)),null!=deps&&null!=_hook2.deps&&areDepsEqual(deps,_hook2.deps)||(callback(_hook2),_hook2.deps=deps),_hook2}throw invalidHooksError()}(name,(function(hook){hook.memoizedState=nextCreate()}),deps);return _useHook.memoizedState}function useMemo(nextCreate,deps){return useMemoLike("useMemo",nextCreate,deps)}function useEffect(create,deps){var hooks=getHooksContextOrThrow(),effect=useMemoLike("useEffect",(function(){return{create:create}}),deps);hooks.currentEffects.includes(effect)||hooks.currentEffects.push(effect)}},"./node_modules/@storybook/addons/dist/esm/index.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return addons}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js");var global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),dist_esm=__webpack_require__("./node_modules/@storybook/channels/dist/esm/index.js");var types;__webpack_require__("./node_modules/core-js/modules/es.array.find.js");function _defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},transport=_ref.transport,_ref$async=_ref.async,async=void 0!==_ref$async&&_ref$async;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Channel),this.isAsync=void 0,this.sender=function generateRandomId(){return Math.random().toString(16).slice(2)}(),this.events={},this.data={},this.transport=void 0,this.addPeerListener=util_deprecate__WEBPACK_IMPORTED_MODULE_8___default()((function(eventName,listener){_this.addListener(eventName,listener)}),Object(ts_dedent__WEBPACK_IMPORTED_MODULE_9__.a)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n channel.addPeerListener is deprecated\n "])))),this.isAsync=async,transport&&(this.transport=transport,this.transport.setHandler((function(event){return _this.handleEvent(event)})))}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(Channel,[{key:"hasTransport",get:function get(){return!!this.transport}},{key:"addListener",value:function addListener(eventName,listener){this.events[eventName]=this.events[eventName]||[],this.events[eventName].push(listener)}},{key:"emit",value:function emit(eventName){for(var _this2=this,_len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var event={type:eventName,args:args,from:this.sender},options={};args.length>=1&&args[0]&&args[0].options&&(options=args[0].options);var handler=function handler(){_this2.transport&&_this2.transport.send(event,options),_this2.handleEvent(event)};this.isAsync?setImmediate(handler):handler()}},{key:"last",value:function last(eventName){return this.data[eventName]}},{key:"eventNames",value:function eventNames(){return Object.keys(this.events)}},{key:"listenerCount",value:function listenerCount(eventName){var listeners=this.listeners(eventName);return listeners?listeners.length:0}},{key:"listeners",value:function listeners(eventName){var listeners=this.events[eventName];return listeners||void 0}},{key:"once",value:function once(eventName,listener){var onceListener=this.onceListener(eventName,listener);this.addListener(eventName,onceListener)}},{key:"removeAllListeners",value:function removeAllListeners(eventName){eventName?this.events[eventName]&&delete this.events[eventName]:this.events={}}},{key:"removeListener",value:function removeListener(eventName,listener){var listeners=this.listeners(eventName);listeners&&(this.events[eventName]=listeners.filter((function(l){return l!==listener})))}},{key:"on",value:function on(eventName,listener){this.addListener(eventName,listener)}},{key:"off",value:function off(eventName,listener){this.removeListener(eventName,listener)}},{key:"handleEvent",value:function handleEvent(event){var listeners=this.listeners(event.type);listeners&&listeners.length&&listeners.forEach((function(fn){fn.apply(event,event.args)})),this.data[event.type]=event.args}},{key:"onceListener",value:function onceListener(eventName,listener){var _this3=this,onceListener=function onceListener(){return _this3.removeListener(eventName,onceListener),listener.apply(void 0,arguments)};return onceListener}}]),Channel}();__webpack_exports__.a=Channel}).call(this,__webpack_require__("./node_modules/timers-browserify/main.js").setImmediate)},"./node_modules/@storybook/client-api/dist/esm/ClientApi.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"f",(function(){return addDecorator})),__webpack_require__.d(__webpack_exports__,"h",(function(){return addParameters})),__webpack_require__.d(__webpack_exports__,"g",(function(){return addLoader})),__webpack_require__.d(__webpack_exports__,"d",(function(){return addArgs})),__webpack_require__.d(__webpack_exports__,"b",(function(){return addArgTypes})),__webpack_require__.d(__webpack_exports__,"e",(function(){return addArgsEnhancer})),__webpack_require__.d(__webpack_exports__,"c",(function(){return addArgTypesEnhancer})),__webpack_require__.d(__webpack_exports__,"i",(function(){return setGlobalRender})),__webpack_require__.d(__webpack_exports__,"a",(function(){return ClientApi_ClientApi}));__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.values.js");var browser=__webpack_require__("./node_modules/util-deprecate/browser.js"),browser_default=__webpack_require__.n(browser),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),dist_esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),esm_parameters=__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js"),normalizeInputTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/csf/normalizeInputTypes.js"),synchronous_promise=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/synchronous-promise/index.js")),stable=__webpack_require__("./node_modules/stable/stable.js"),stable_default=__webpack_require__.n(stable),STORY_KIND_PATH_SEPARATOR=(__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.string.trim.js"),/\s*\/\s*/);var autoTitle_templateObject,sortStories_sortStoriesCommon=function sortStoriesCommon(stories,storySortParameter,fileNameOrder){var sortFn;storySortParameter?(sortFn="function"==typeof storySortParameter?storySortParameter:function storySort(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(a,b){if(a.title===b.title&&!options.includeNames)return 0;var method=options.method||"configure",order=options.order||[],storyTitleA=a.title.trim().split(STORY_KIND_PATH_SEPARATOR),storyTitleB=b.title.trim().split(STORY_KIND_PATH_SEPARATOR);options.includeNames&&(storyTitleA.push(a.name),storyTitleB.push(b.name));for(var depth=0;storyTitleA[depth]||storyTitleB[depth];){if(!storyTitleA[depth])return-1;if(!storyTitleB[depth])return 1;var nameA=storyTitleA[depth],nameB=storyTitleB[depth];if(nameA!==nameB){var indexA=order.indexOf(nameA),indexB=order.indexOf(nameB),indexWildcard=order.indexOf("*");return-1!==indexA||-1!==indexB?(-1===indexA&&(indexA=-1!==indexWildcard?indexWildcard:order.length),-1===indexB&&(indexB=-1!==indexWildcard?indexWildcard:order.length),indexA-indexB):"configure"===method?0:nameA.localeCompare(nameB,options.locales?options.locales:void 0,{numeric:!0,sensitivity:"accent"})}var index=order.indexOf(nameA);order=-1!==index&&Array.isArray(order[index+1])?order[index+1]:[],depth+=1}return 0}}(storySortParameter),stable_default.a.inplace(stories,sortFn)):stable_default.a.inplace(stories,(function(s1,s2){return fileNameOrder.indexOf(s1.importPath)-fileNameOrder.indexOf(s2.importPath)}));return stories},toIndexEntry=function toIndexEntry(story){return{id:story.id,title:story.title,name:story.name,importPath:story.parameters.fileName}},slash=(__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/slash/index.js")),slash_default=__webpack_require__.n(slash);function _toArray(arr){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||function _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.")}()}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||function _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.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?last.substr(0,dotIndex):last;parts[parts.length-1]=stripped;var _parts2=_toArray(parts),first=_parts2[0],rest=_parts2.slice(1);return""===first&&(parts=rest),parts}(path))).join("/")}return titlePrefix?slash_default()(pathJoin([titlePrefix,userTitle])):userTitle}},_excluded=["default","__namedExportsOrder"];function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _slicedToArray(arr,i){return function StoryStoreFacade_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function StoryStoreFacade_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return StoryStoreFacade_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return StoryStoreFacade_arrayLikeToArray(o,minLen)}(arr,i)||function StoryStoreFacade_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.")}()}function StoryStoreFacade_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i ","\n \n Are you using a V7-style sort function in V6 compatibility mode?\n \n More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort\n "])),storySortParameter,err.message));throw err}return{v:3,stories:sortedV7.reduce((function(acc,s){return acc[s.id]=_this2.stories[s.id],acc}),{})}}},{key:"clearFilenameExports",value:function clearFilenameExports(fileName){var _this3=this;this.csfExports[fileName]&&(Object.entries(this.stories).forEach((function(_ref3){var _ref4=_slicedToArray(_ref3,2),id=_ref4[0];_ref4[1].importPath===fileName&&delete _this3.stories[id]})),this.csfExports[fileName]={})}},{key:"addStoriesFromExports",value:function addStoriesFromExports(fileName,fileExports){var _this4=this;if(this.csfExports[fileName]!==fileExports){this.clearFilenameExports(fileName);var defaultExport=fileExports.default,__namedExportsOrder=fileExports.__namedExportsOrder,namedExports=_objectWithoutProperties(fileExports,_excluded),_ref5=defaultExport||{},componentId=_ref5.id,title=_ref5.title,specifiers=(window_default.a.STORIES||[]).map((function(specifier){return Object.assign({},specifier,{importPathMatcher:new RegExp(specifier.importPathMatcher)})}));if(title=function userOrAutoTitle(fileName,storiesEntries,userTitle){for(var i=0;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function ClientApi_defineProperties(target,props){for(var i=0;i1&&void 0!==arguments[1])||arguments[1]),singleton.addDecorator(decorator)},addParameters=function addParameters(parameters){ClientApi_checkMethod("addParameters",!(arguments.length>1&&void 0!==arguments[1])||arguments[1]),singleton.addParameters(parameters)},addLoader=function addLoader(loader){ClientApi_checkMethod("addLoader",!(arguments.length>1&&void 0!==arguments[1])||arguments[1]),singleton.addLoader(loader)},addArgs=function addArgs(args){ClientApi_checkMethod("addArgs",!1),singleton.addArgs(args)},addArgTypes=function addArgTypes(argTypes){ClientApi_checkMethod("addArgTypes",!1),singleton.addArgTypes(argTypes)},addArgsEnhancer=function addArgsEnhancer(enhancer){ClientApi_checkMethod("addArgsEnhancer",!1),singleton.addArgsEnhancer(enhancer)},addArgTypesEnhancer=function addArgTypesEnhancer(enhancer){ClientApi_checkMethod("addArgTypesEnhancer",!1),singleton.addArgTypesEnhancer(enhancer)},setGlobalRender=function setGlobalRender(render){ClientApi_checkMethod("setGlobalRender",!1),singleton.facade.projectAnnotations.render=render},invalidStoryTypes=new Set(["string","number","boolean","symbol"]),ClientApi_ClientApi=function(){function ClientApi(){var _this=this,storyStore=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).storyStore;!function ClientApi_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ClientApi),this.facade=void 0,this.storyStore=void 0,this.addons=void 0,this.onImportFnChanged=void 0,this.lastFileName=0,this.setAddon=browser_default()((function(addon){_this.addons=Object.assign({},_this.addons,addon)}),Object(esm.a)(_templateObject3||(_templateObject3=ClientApi_taggedTemplateLiteral(["\n `setAddon` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-setaddon\n "],["\n \\`setAddon\\` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-setaddon\n "])))),this.addDecorator=function(decorator){_this.facade.projectAnnotations.decorators.push(decorator)},this.clearDecorators=browser_default()((function(){_this.facade.projectAnnotations.decorators=[]}),Object(esm.a)(_templateObject4||(_templateObject4=ClientApi_taggedTemplateLiteral(["\n `clearDecorators` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-cleardecorators\n "],["\n \\`clearDecorators\\` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-cleardecorators\n "])))),this.addParameters=function(_ref2){var globals=_ref2.globals,globalTypes=_ref2.globalTypes,parameters=ClientApi_objectWithoutProperties(_ref2,ClientApi_excluded);_this.facade.projectAnnotations.parameters=Object(esm_parameters.a)(_this.facade.projectAnnotations.parameters,parameters),globals&&(_this.facade.projectAnnotations.globals=Object.assign({},_this.facade.projectAnnotations.globals,globals)),globalTypes&&(_this.facade.projectAnnotations.globalTypes=Object.assign({},_this.facade.projectAnnotations.globalTypes,Object(normalizeInputTypes.a)(globalTypes)))},this.addLoader=function(loader){_this.facade.projectAnnotations.loaders.push(loader)},this.addArgs=function(args){_this.facade.projectAnnotations.args=Object.assign({},_this.facade.projectAnnotations.args,args)},this.addArgTypes=function(argTypes){_this.facade.projectAnnotations.argTypes=Object.assign({},_this.facade.projectAnnotations.argTypes,Object(normalizeInputTypes.a)(argTypes))},this.addArgsEnhancer=function(enhancer){_this.facade.projectAnnotations.argsEnhancers.push(enhancer)},this.addArgTypesEnhancer=function(enhancer){_this.facade.projectAnnotations.argTypesEnhancers.push(enhancer)},this.storiesOf=function(kind,m){if(!kind&&"string"!=typeof kind)throw new Error("Invalid or missing kind provided for stories, should be a string");if(m||dist_esm.a.warn("Missing 'module' parameter for story with a kind of '".concat(kind,"'. It will break your HMR")),m){var proto=Object.getPrototypeOf(m);proto.exports&&proto.exports.default&&dist_esm.a.error("Illegal mix of CSF default export and storiesOf calls in a single file: ".concat(proto.i))}for(var baseFilename=m&&m.id?"".concat(m.id):(_this.lastFileName++).toString(),fileName=baseFilename,i=1;_this.facade.csfExports[fileName]&&Object.keys(_this.facade.csfExports[fileName]).length>0;)i+=1,fileName="".concat(baseFilename,"-").concat(i);m&&m.hot&&m.hot.accept&&(m.hot.accept(),m.hot.dispose((function(){_this.facade.clearFilenameExports(fileName),setTimeout((function(){var _this$onImportFnChang;null===(_this$onImportFnChang=_this.onImportFnChanged)||void 0===_this$onImportFnChang||_this$onImportFnChang.call(_this,{importFn:_this.importFn.bind(_this)})}),0)})));var hasAdded=!1,api={kind:kind.toString(),add:function add(){return api},addDecorator:function addDecorator(){return api},addLoader:function addLoader(){return api},addParameters:function addParameters(){return api}};Object.keys(_this.addons).forEach((function(name){var addon=_this.addons[name];api[name]=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return addon.apply(api,args),api}}));var meta={id:Object(dist.sanitize)(kind),title:kind,decorators:[],loaders:[],parameters:{}};_this.facade.csfExports[fileName]={default:meta};var counter=0;return api.add=function(storyName,storyFn){var parameters=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(hasAdded=!0,"string"!=typeof storyName)throw new Error('Invalid or missing storyName provided for a "'.concat(kind,'" story.'));if(!storyFn||Array.isArray(storyFn)||invalidStoryTypes.has(_typeof(storyFn)))throw new Error('Cannot load story "'.concat(storyName,'" in "').concat(kind,'" due to invalid format. Storybook expected a function/object but received ').concat(_typeof(storyFn)," instead."));var decorators=parameters.decorators,loaders=parameters.loaders,component=parameters.component,args=parameters.args,argTypes=parameters.argTypes,storyParameters=ClientApi_objectWithoutProperties(parameters,_excluded2),storyId=parameters.__id||Object(dist.toId)(kind,storyName),csfExports=_this.facade.csfExports[fileName];return csfExports["story".concat(counter)]={name:storyName,parameters:Object.assign({fileName:fileName,__id:storyId},storyParameters),decorators:decorators,loaders:loaders,args:args,argTypes:argTypes,component:component,render:storyFn},counter+=1,_this.facade.stories[storyId]={id:storyId,title:csfExports.default.title,name:storyName,importPath:fileName},api},api.addDecorator=function(decorator){if(hasAdded)throw new Error("You cannot add a decorator after the first story for a kind.\nRead more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#can-no-longer-add-decoratorsparameters-after-stories");return meta.decorators.push(decorator),api},api.addLoader=function(loader){if(hasAdded)throw new Error("You cannot add a loader after the first story for a kind.");return meta.loaders.push(loader),api},api.addParameters=function(_ref3){var component=_ref3.component,args=_ref3.args,argTypes=_ref3.argTypes,parameters=ClientApi_objectWithoutProperties(_ref3,_excluded3);if(hasAdded)throw new Error("You cannot add parameters after the first story for a kind.\nRead more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#can-no-longer-add-decoratorsparameters-after-stories");return meta.parameters=Object(esm_parameters.a)(meta.parameters,parameters),component&&(meta.component=component),args&&(meta.args=Object.assign({},meta.args,args)),argTypes&&(meta.argTypes=Object.assign({},meta.argTypes,argTypes)),api},api},this.getStorybook=function(){var stories=_this.storyStore.storyIndex.stories,kinds={};return Object.entries(stories).forEach((function(_ref4){var _ref5=ClientApi_slicedToArray(_ref4,2),storyId=_ref5[0],_ref5$=_ref5[1],title=_ref5$.title,name=_ref5$.name,importPath=_ref5$.importPath;kinds[title]||(kinds[title]={kind:title,fileName:importPath,stories:[]});var storyFn=_this.storyStore.fromId(storyId).storyFn;kinds[title].stories.push({name:name,render:storyFn})})),Object.values(kinds)},this.raw=function(){return _this.storyStore.raw()},this.facade=new StoryStoreFacade_StoryStoreFacade,this.addons={},this.storyStore=storyStore,singleton=this}return function ClientApi_createClass(Constructor,protoProps,staticProps){return protoProps&&ClientApi_defineProperties(Constructor.prototype,protoProps),staticProps&&ClientApi_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(ClientApi,[{key:"importFn",value:function importFn(path){return this.facade.importFn(path)}},{key:"getStoryIndex",value:function getStoryIndex(){if(!this.storyStore)throw new Error("Cannot get story index before setting storyStore");return this.facade.getStoryIndex(this.storyStore)}},{key:"_storyStore",get:function get(){return this.storyStore}}]),ClientApi}()},"./node_modules/@storybook/client-logger/dist/esm/index.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return logger})),__webpack_require__.d(__webpack_exports__,"b",(function(){return once})),__webpack_require__.d(__webpack_exports__,"c",(function(){return pretty}));__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js");var global__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/global/window.js"),global__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_8__),LOGLEVEL=global__WEBPACK_IMPORTED_MODULE_8___default.a.LOGLEVEL,console=global__WEBPACK_IMPORTED_MODULE_8___default.a.console,levels={trace:1,debug:2,info:3,warn:4,error:5,silent:10},currentLogLevelNumber=levels[LOGLEVEL]||levels.info,logger={trace:function trace(message){for(var _len=arguments.length,rest=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)rest[_key-1]=arguments[_key];return currentLogLevelNumber<=levels.trace&&console.trace.apply(console,[message].concat(rest))},debug:function debug(message){for(var _len2=arguments.length,rest=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)rest[_key2-1]=arguments[_key2];return currentLogLevelNumber<=levels.debug&&console.debug.apply(console,[message].concat(rest))},info:function info(message){for(var _len3=arguments.length,rest=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)rest[_key3-1]=arguments[_key3];return currentLogLevelNumber<=levels.info&&console.info.apply(console,[message].concat(rest))},warn:function warn(message){for(var _len4=arguments.length,rest=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)rest[_key4-1]=arguments[_key4];return currentLogLevelNumber<=levels.warn&&console.warn.apply(console,[message].concat(rest))},error:function error(message){for(var _len5=arguments.length,rest=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)rest[_key5-1]=arguments[_key5];return currentLogLevelNumber<=levels.error&&console.error.apply(console,[message].concat(rest))},log:function log(message){for(var _len6=arguments.length,rest=new Array(_len6>1?_len6-1:0),_key6=1;_key6<_len6;_key6++)rest[_key6-1]=arguments[_key6];return currentLogLevelNumber1?_len7-1:0),_key7=1;_key7<_len7;_key7++)rest[_key7-1]=arguments[_key7];return logger[type].apply(logger,[message].concat(rest))}}};once.clear=function(){return logged.clear()},once.trace=once("trace"),once.debug=once("debug"),once.info=once("info"),once.warn=once("warn"),once.error=once("error"),once.log=once("log");var pretty=function pretty(type){return function(){for(var argArray=[],_len8=arguments.length,args=new Array(_len8),_key8=0;_key8<_len8;_key8++)args[_key8]=arguments[_key8];if(args.length){var reResultArray,startTagRe=//gi;for(argArray.push(args[0].replace(startTagRe,"%c").replace(/<\/span>/gi,"%c"));reResultArray=startTagRe.exec(args[0]);)argArray.push(reResultArray[2]),argArray.push("");for(var j=1;j1)throw new Error("Invalid conditional test ".concat(JSON.stringify({exists:exists,eq:eq,neq:neq})));if(void 0!==eq)return(0,_isEqual.default)(value,eq);if(void 0!==neq)return!(0,_isEqual.default)(value,neq);if(void 0!==exists){var valueExists=void 0!==value;return exists?valueExists:!valueExists}return void 0===truthy||truthy?!!value:!value};exports.testValue=testValue;exports.includeConditionalArg=function includeConditionalArg(argType,args,globals){if(!argType.if)return!0;var _ref2=argType.if,arg=_ref2.arg,global=_ref2.global;if(1!==count([arg,global]))throw new Error("Invalid conditional value ".concat(JSON.stringify({arg:arg,global:global})));var value=arg?args[arg]:globals[global];return testValue(argType.if,value)}},"./node_modules/@storybook/csf/dist/index.js":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={sanitize:!0,toId:!0,storyNameFromExport:!0,isExportStory:!0,parseKind:!0,includeConditionalArg:!0};exports.isExportStory=function isExportStory(key,_ref){var includeStories=_ref.includeStories,excludeStories=_ref.excludeStories;return"__esModule"!==key&&(!includeStories||matches(key,includeStories))&&(!excludeStories||!matches(key,excludeStories))},Object.defineProperty(exports,"includeConditionalArg",{enumerable:!0,get:function get(){return _includeConditionalArg.includeConditionalArg}}),exports.parseKind=exports.storyNameFromExport=exports.toId=exports.sanitize=void 0;var _startCase=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__("./node_modules/lodash/startCase.js")),_includeConditionalArg=__webpack_require__("./node_modules/@storybook/csf/dist/includeConditionalArg.js"),_story=__webpack_require__("./node_modules/@storybook/csf/dist/story.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")};exports.sanitize=sanitize;var sanitizeSafe=function sanitizeSafe(string,part){var sanitized=sanitize(string);if(""===sanitized)throw new Error("Invalid ".concat(part," '").concat(string,"', must include alphanumeric characters"));return sanitized};exports.toId=function toId(kind,name){return"".concat(sanitizeSafe(kind,"kind")).concat(name?"--".concat(sanitizeSafe(name,"name")):"")};function matches(storyKey,arrayOrRegex){return Array.isArray(arrayOrRegex)?arrayOrRegex.includes(storyKey):storyKey.match(arrayOrRegex)}exports.storyNameFromExport=function storyNameFromExport(key){return(0,_startCase.default)(key)};exports.parseKind=function parseKind(kind,_ref2){var rootSeparator=_ref2.rootSeparator,groupSeparator=_ref2.groupSeparator,_kind$split2=_slicedToArray(kind.split(rootSeparator,2),2),root=_kind$split2[0],remainder=_kind$split2[1];return{root:remainder?root:null,groups:(remainder||kind).split(groupSeparator).filter((function(i){return!!i}))}}},"./node_modules/@storybook/csf/dist/story.js":function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _SBType=__webpack_require__("./node_modules/@storybook/csf/dist/SBType.js");Object.keys(_SBType).forEach((function(key){"default"!==key&&"__esModule"!==key&&Object.defineProperty(exports,key,{enumerable:!0,get:function get(){return _SBType[key]}})}))},"./node_modules/@storybook/docs-tools/dist/esm/argTypes/docgen/utils/string.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return str}));var str=function str(obj){if(!obj)return"";if("string"==typeof obj)return obj;throw new Error("Description: expected string, got: ".concat(JSON.stringify(obj)))}},"./node_modules/@storybook/react/dist/esm/client/docs/config-generated-config-entry.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var config_namespaceObject={};__webpack_require__.r(config_namespaceObject),__webpack_require__.d(config_namespaceObject,"parameters",(function(){return config_parameters})),__webpack_require__.d(config_namespaceObject,"decorators",(function(){return decorators})),__webpack_require__.d(config_namespaceObject,"argTypesEnhancers",(function(){return argTypesEnhancers}));var ClientApi=__webpack_require__("./node_modules/@storybook/client-api/dist/esm/ClientApi.js"),doctrine=(__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/doctrine/lib/doctrine.js")),doctrine_default=__webpack_require__.n(doctrine);var TypeSystem,DEFAULT_OPTIONS={tags:["param","arg","argument","returns","ignore"]},parseJsDoc=function parseJsDoc(value){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:DEFAULT_OPTIONS;if(!function containsJsDoc(value){return null!=value&&value.includes("@")}(value))return{includesJsDoc:!1,ignore:!1};var jsDocAst=function parse(content,tags){var ast;try{ast=doctrine_default.a.parse(content,{tags:tags,sloppy:!0})}catch(e){throw console.error(e),new Error("Cannot parse JSDoc tags.")}return ast}(value,options.tags),extractedTags=function extractJsDocTags(ast){for(var extractedTags={params:null,returns:null,ignore:!1},i=0;iMAX_TYPE_SUMMARY_LENGTH}function isTooLongForDefaultValueSummary(value){return value.length>MAX_DEFAULT_VALUE_SUMMARY_LENGTH}function createSummaryValue(summary,detail){return summary===detail?{summary:summary}:{summary:summary,detail:detail}}var FlowTypesType;function generateUnionElement(_ref){var name=_ref.name,value=_ref.value,elements=_ref.elements,raw=_ref.raw;return null!=value?value:null!=elements?elements.map(generateUnionElement).join(" | "):null!=raw?raw:name}function generateSignature(flowType){return"object"===flowType.type?function generateObjectSignature(_ref4){var type=_ref4.type,raw=_ref4.raw;return null!=raw?isTooLongForTypeSummary(raw)?createSummaryValue(type,raw):createSummaryValue(raw):createSummaryValue(type)}(flowType):function generateFuncSignature(_ref3){var type=_ref3.type,raw=_ref3.raw;return createSummaryValue(null!=raw?raw:type)}(flowType)}function createType(type){if(null==type)return null;switch(type.name){case FlowTypesType.UNION:return function generateUnion(_ref2){var name=_ref2.name,raw=_ref2.raw,elements=_ref2.elements;return createSummaryValue(null!=elements?elements.map(generateUnionElement).join(" | "):null!=raw?raw.replace(/^\|\s*/,""):name)}(type);case FlowTypesType.SIGNATURE:return generateSignature(type);default:return function generateDefault(_ref5){var name=_ref5.name,raw=_ref5.raw;return null!=raw?isTooLongForTypeSummary(raw)?createSummaryValue(name,raw):createSummaryValue(raw):createSummaryValue(name)}(type)}}!function(FlowTypesType){FlowTypesType.UNION="union",FlowTypesType.SIGNATURE="signature"}(FlowTypesType||(FlowTypesType={}));var BLACKLIST=["null","undefined"];function isDefaultValueBlacklisted(value){return BLACKLIST.some((function(x){return x===value}))}function createDefaultValue(defaultValue,type){if(null!=defaultValue){var value=defaultValue.value;if(!isDefaultValueBlacklisted(value))return isTooLongForDefaultValueSummary(value)?createSummaryValue(type.name,value):createSummaryValue(value)}return null}function createType_createType(_ref){var tsType=_ref.tsType,required=_ref.required;return null==tsType?null:createSummaryValue(required?tsType.name:tsType.name.replace(" | undefined",""))}function createDefaultValue_createDefaultValue(_ref){var defaultValue=_ref.defaultValue;if(null!=defaultValue){var value=defaultValue.value;if(!isDefaultValueBlacklisted(value))return createSummaryValue(value)}return null}__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js");var convert_convert=function convert(type){var name=type.name,raw=type.raw,base={};switch(void 0!==raw&&(base.raw=raw),type.name){case"string":case"number":case"symbol":case"boolean":return Object.assign({},base,{name:name});case"Array":return Object.assign({},base,{name:"array",value:type.elements.map(convert)});case"signature":return Object.assign({},base,function convertSig(type){switch(type.type){case"function":return{name:"function"};case"object":var values={};return type.signature.properties.forEach((function(prop){values[prop.key]=convert_convert(prop.value)})),{name:"object",value:values};default:throw new Error("Unknown: ".concat(type))}}(type));case"union":case"intersection":return Object.assign({},base,{name:name,value:type.elements.map(convert)});default:return Object.assign({},base,{name:"other",value:name})}},isLiteral=function isLiteral(type){return"literal"===type.name},toEnumOption=function toEnumOption(element){return element.value.replace(/['|"]/g,"")},flow_convert_convert=function convert(type){var name=type.name,raw=type.raw,base={};switch(void 0!==raw&&(base.raw=raw),type.name){case"literal":return Object.assign({},base,{name:"other",value:type.value});case"string":case"number":case"symbol":case"boolean":return Object.assign({},base,{name:name});case"Array":return Object.assign({},base,{name:"array",value:type.elements.map(convert)});case"signature":return Object.assign({},base,function convertSig(type){switch(type.type){case"function":return{name:"function"};case"object":var values={};return type.signature.properties.forEach((function(prop){values[prop.key]=flow_convert_convert(prop.value)})),{name:"object",value:values};default:throw new Error("Unknown: ".concat(type))}}(type));case"union":return type.elements.every(isLiteral)?Object.assign({},base,{name:"enum",value:type.elements.map(toEnumOption)}):Object.assign({},base,{name:name,value:type.elements.map(convert)});case"intersection":return Object.assign({},base,{name:name,value:type.elements.map(convert)});default:return Object.assign({},base,{name:"other",value:name})}},mapValues=(__webpack_require__("./node_modules/core-js/modules/es.number.is-nan.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/lodash/mapValues.js")),mapValues_default=__webpack_require__.n(mapValues),QUOTE_REGEX=/^['"]|['"]$/g,SIGNATURE_REGEXP=/^\(.*\) => /,proptypes_convert_convert=function convert(type){var name=type.name,raw=type.raw,computed=type.computed,value=type.value,base={};switch(void 0!==raw&&(base.raw=raw),name){case"enum":var _values=computed?value:value.map((function(v){var trimmedValue=function trimQuotes(str){return str.replace(QUOTE_REGEX,"")}(v.value);return function includesQuotes(str){return QUOTE_REGEX.test(str)}(v.value)||Number.isNaN(Number(trimmedValue))?trimmedValue:Number(trimmedValue)}));return Object.assign({},base,{name:name,value:_values});case"string":case"number":case"symbol":case"object":return Object.assign({},base,{name:name});case"func":return Object.assign({},base,{name:"function"});case"bool":case"boolean":return Object.assign({},base,{name:"boolean"});case"arrayOf":case"array":return Object.assign({},base,{name:"array",value:value&&convert(value)});case"objectOf":return Object.assign({},base,{name:name,value:convert(value)});case"shape":case"exact":var values=mapValues_default()(value,(function(field){return convert(field)}));return Object.assign({},base,{name:"object",value:values});case"union":return Object.assign({},base,{name:"union",value:value.map((function(v){return convert(v)}))});default:if((null==name?void 0:name.indexOf("|"))>0)try{var literalValues=name.split("|").map((function(v){return JSON.parse(v)}));return Object.assign({},base,{name:"enum",value:literalValues})}catch(err){}var otherVal=value?"".concat(name,"(").concat(value,")"):name,otherName=SIGNATURE_REGEXP.test(name)?"function":"other";return Object.assign({},base,{name:otherName,value:otherVal})}},argTypes_convert_convert=function convert(docgenInfo){var type=docgenInfo.type,tsType=docgenInfo.tsType,flowType=docgenInfo.flowType;return null!=type?proptypes_convert_convert(type):null!=tsType?convert_convert(tsType):null!=flowType?flow_convert_convert(flowType):null};function createPropDef_createType(type){return null!=type?createSummaryValue(type.name):null}function createPropDef_createDefaultValue(defaultValue,type){if(null!=defaultValue){var value=defaultValue.value;if(!isDefaultValueBlacklisted(value))return function isReactDocgenTypescript(defaultValue){var computed=defaultValue.computed,func=defaultValue.func;return void 0===computed&&void 0===func}(defaultValue)&&function isStringValued(type){return!!type&&("string"===type.name||"enum"===type.name&&Array.isArray(type.value)&&type.value.every((function(_ref){var tv=_ref.value;return"string"==typeof tv&&'"'===tv[0]&&'"'===tv[tv.length-1]})))}(type)?createSummaryValue(JSON.stringify(value)):createSummaryValue(value)}return null}function createBasicPropDef(name,type,docgenInfo){var description=docgenInfo.description,required=docgenInfo.required,defaultValue=docgenInfo.defaultValue;return{name:name,type:createPropDef_createType(type),required:required,description:description,defaultValue:createPropDef_createDefaultValue(defaultValue,type)}}function applyJsDocResult(propDef,jsDocParsingResult){if(jsDocParsingResult.includesJsDoc){var description=jsDocParsingResult.description,extractedTags=jsDocParsingResult.extractedTags;null!=description&&(propDef.description=jsDocParsingResult.description);var hasParams=null!=extractedTags.params,hasReturns=null!=extractedTags.returns&&null!=extractedTags.returns.type;(hasParams||hasReturns)&&(propDef.jsDocTags={params:hasParams&&extractedTags.params.map((function(x){return{name:x.getPrettyName(),description:x.description}})),returns:hasReturns&&{description:extractedTags.returns.description}})}return propDef}var createPropDef_javaScriptFactory=function javaScriptFactory(propName,docgenInfo,jsDocParsingResult){var propDef=createBasicPropDef(propName,docgenInfo.type,docgenInfo);return propDef.sbType=argTypes_convert_convert(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},createPropDef_tsFactory=function tsFactory(propName,docgenInfo,jsDocParsingResult){var propDef=function createTsPropDef(propName,docgenInfo){var description=docgenInfo.description,required=docgenInfo.required;return{name:propName,type:createType_createType(docgenInfo),required:required,description:description,defaultValue:createDefaultValue_createDefaultValue(docgenInfo)}}(propName,docgenInfo);return propDef.sbType=argTypes_convert_convert(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},createPropDef_flowFactory=function flowFactory(propName,docgenInfo,jsDocParsingResult){var propDef=function createFlowPropDef(propName,docgenInfo){var flowType=docgenInfo.flowType,description=docgenInfo.description,required=docgenInfo.required,defaultValue=docgenInfo.defaultValue;return{name:propName,type:createType(flowType),required:required,description:description,defaultValue:createDefaultValue(defaultValue,flowType)}}(propName,docgenInfo);return propDef.sbType=argTypes_convert_convert(docgenInfo),applyJsDocResult(propDef,jsDocParsingResult)},unknownFactory=function unknownFactory(propName,docgenInfo,jsDocParsingResult){return applyJsDocResult(createBasicPropDef(propName,{name:"unknown"},docgenInfo),jsDocParsingResult)},createPropDef_getPropDefFactory=function getPropDefFactory(typeSystem){switch(typeSystem){case TypeSystem.JAVASCRIPT:return createPropDef_javaScriptFactory;case TypeSystem.TYPESCRIPT:return createPropDef_tsFactory;case TypeSystem.FLOW:return createPropDef_flowFactory;default:return unknownFactory}},extractDocgenProps_getTypeSystem=function getTypeSystem(docgenInfo){return null!=docgenInfo.type?TypeSystem.JAVASCRIPT:null!=docgenInfo.flowType?TypeSystem.FLOW:null!=docgenInfo.tsType?TypeSystem.TYPESCRIPT:TypeSystem.UNKNOWN},extractDocgenProps_extractComponentProps=function extractComponentProps(component,section){var docgenSection=getDocgenSection(component,section);return function isValidDocgenSection(docgenSection){return null!=docgenSection&&Object.keys(docgenSection).length>0}(docgenSection)?Array.isArray(docgenSection)?function extractComponentSectionArray(docgenSection){var typeSystem=extractDocgenProps_getTypeSystem(docgenSection[0]),createPropDef=createPropDef_getPropDefFactory(typeSystem);return docgenSection.map((function(item){var _item$type,sanitizedItem=item;return null!==(_item$type=item.type)&&void 0!==_item$type&&_item$type.elements&&(sanitizedItem=Object.assign({},item,{type:Object.assign({},item.type,{value:item.type.elements})})),extractProp(sanitizedItem.name,sanitizedItem,typeSystem,createPropDef)}))}(docgenSection):function extractComponentSectionObject(docgenSection){var docgenPropsKeys=Object.keys(docgenSection),typeSystem=extractDocgenProps_getTypeSystem(docgenSection[docgenPropsKeys[0]]),createPropDef=createPropDef_getPropDefFactory(typeSystem);return docgenPropsKeys.map((function(propName){var docgenInfo=docgenSection[propName];return null!=docgenInfo?extractProp(propName,docgenInfo,typeSystem,createPropDef):null})).filter(Boolean)}(docgenSection):[]};function extractProp(propName,docgenInfo,typeSystem,createPropDef){var jsDocParsingResult=parseJsDoc(docgenInfo.description);return jsDocParsingResult.includesJsDoc&&jsDocParsingResult.ignore?null:{propDef:createPropDef(propName,docgenInfo,jsDocParsingResult),jsDocTags:jsDocParsingResult.extractedTags,docgenInfo:docgenInfo,typeSystem:typeSystem}}var parameters=__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js"),prop_types=(__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.map.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/prop-types/index.js")),prop_types_default=__webpack_require__.n(prop_types);function generateFuncSignature_generateFuncSignature(params,returns){var hasParams=null!=params,hasReturns=null!=returns;if(!hasParams&&!hasReturns)return"";var funcParts=[];if(hasParams){var funcParams=params.map((function(x){var prettyName=x.getPrettyName(),typeName=x.getTypeName();return null!=typeName?"".concat(prettyName,": ").concat(typeName):prettyName}));funcParts.push("(".concat(funcParams.join(", "),")"))}else funcParts.push("()");return hasReturns&&funcParts.push("=> ".concat(returns.getTypeName())),funcParts.join(" ")}function generateShortFuncSignature(params,returns){var hasParams=null!=params,hasReturns=null!=returns;if(!hasParams&&!hasReturns)return"";var funcParts=[];return hasParams?funcParts.push("( ... )"):funcParts.push("()"),hasReturns&&funcParts.push("=> ".concat(returns.getTypeName())),funcParts.join(" ")}var CUSTOM_CAPTION="custom",OBJECT_CAPTION="object",ARRAY_CAPTION="array",CLASS_CAPTION="class",FUNCTION_CAPTION="func",ELEMENT_CAPTION="element",html_tags=__webpack_require__("./node_modules/html-tags/index.js"),html_tags_default=__webpack_require__.n(html_tags);function isHtmlTag(tagName){return html_tags_default.a.includes(tagName.toLowerCase())}__webpack_require__("./node_modules/core-js/modules/es.string.ends-with.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js");var escodegen=__webpack_require__("./node_modules/escodegen/escodegen.js"),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),BASIC_OPTIONS={format:{indent:{style:" "},semicolons:!1}},COMPACT_OPTIONS=Object.assign({},BASIC_OPTIONS,{format:{newline:""}}),PRETTY_OPTIONS=Object.assign({},BASIC_OPTIONS);function generateCode(ast){var compact=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(escodegen.generate)(ast,compact?COMPACT_OPTIONS:PRETTY_OPTIONS)}function generateObjectCode(ast){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?function generateCompactObjectCode(ast){var result=generateCode(ast,!0);result.endsWith(" }")||(result="".concat(result.slice(0,-1)," }"));return result}(ast):generateCode(ast)}function generateArrayCode(ast){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?function generateCompactArrayCode(ast){var result=generateCode(ast,!0);result.startsWith("[ ")&&(result=result.replace("[ ","["));return result}(ast):function generateMultilineArrayCode(ast){var result=generateCode(ast);result.endsWith(" }]")&&(result=Object(esm.a)(result));return result}(ast)}var InspectionType,isMemo=function isMemo(component){return component.$$typeof===Symbol.for("react.memo")};!function(InspectionType){InspectionType.IDENTIFIER="Identifier",InspectionType.LITERAL="Literal",InspectionType.OBJECT="Object",InspectionType.ARRAY="Array",InspectionType.FUNCTION="Function",InspectionType.CLASS="Class",InspectionType.ELEMENT="Element",InspectionType.UNKNOWN="Unknown"}(InspectionType||(InspectionType={}));var acorn=__webpack_require__("./node_modules/acorn/dist/acorn.mjs"),acorn_jsx=__webpack_require__("./node_modules/acorn-jsx/index.js"),acorn_jsx_default=__webpack_require__.n(acorn_jsx);function simple(node,visitors,baseVisitor,state,override){baseVisitor||(baseVisitor=walk_base),function c(node,st,override){var type=override||node.type,found=visitors[type];baseVisitor[type](node,st,c),found&&found(node,st)}(node,state,override)}Object.create;function skipThrough(node,st,c){c(node,st)}function ignore(_node,_st,_c){}var walk_base={};walk_base.Program=walk_base.BlockStatement=function(node,st,c){for(var i=0,list=node.body;i1&&void 0!==arguments[1]&&arguments[1]))}function prettyArray(ast){return cleanPropTypes(generateCode(ast,arguments.length>1&&void 0!==arguments[1]&&arguments[1]))}function generateTypeFromString(value,originalTypeName){var short,compact,full,_inspectValue=inspectValue(value),inferredType=_inspectValue.inferredType,ast=_inspectValue.ast,type=inferredType.type;switch(type){case InspectionType.IDENTIFIER:case InspectionType.LITERAL:short=value,compact=value;break;case InspectionType.OBJECT:var depth=inferredType.depth;short=OBJECT_CAPTION,compact=1===depth?prettyObject(ast,!0):null,full=prettyObject(ast);break;case InspectionType.ELEMENT:var identifier=inferredType.identifier;short=null==identifier||isHtmlTag(identifier)?ELEMENT_CAPTION:identifier,compact=1===splitIntoLines(value).length?value:null,full=value;break;case InspectionType.ARRAY:var _depth=inferredType.depth;short=ARRAY_CAPTION,compact=_depth<=2?prettyArray(ast,!0):null,full=prettyArray(ast);break;default:short=function getCaptionForInspectionType(type){switch(type){case InspectionType.OBJECT:return OBJECT_CAPTION;case InspectionType.ARRAY:return ARRAY_CAPTION;case InspectionType.CLASS:return CLASS_CAPTION;case InspectionType.FUNCTION:return FUNCTION_CAPTION;case InspectionType.ELEMENT:return ELEMENT_CAPTION;default:return CUSTOM_CAPTION}}(type),compact=1===splitIntoLines(value).length?value:null,full=value}return createTypeDef({name:originalTypeName,short:short,compact:compact,full:full,inferredType:type})}function objectOf(of){return"objectOf(".concat(of,")")}function generateEnum(type){if(Array.isArray(type.value)){var values=type.value.reduce((function(acc,v){var _generateEnumValue=function generateEnumValue(_ref7){var value=_ref7.value;return _ref7.computed?generateTypeFromString(value,"enumvalue"):createTypeDef({name:"enumvalue",short:value,compact:value})}(v),short=_generateEnumValue.short,compact=_generateEnumValue.compact,full=_generateEnumValue.full;return acc.short.push(short),acc.compact.push(compact),acc.full.push(full),acc}),{short:[],compact:[],full:[]});return createTypeDef({name:PropTypesType.ENUM,short:values.short.join(" | "),compact:values.compact.every((function(x){return null!=x}))?values.compact.join(" | "):null,full:values.full.join(" | ")})}return createTypeDef({name:PropTypesType.ENUM,short:type.value,compact:type.value})}function braceAfter(of){return"".concat(of,"[]")}function braceAround(of){return"[".concat(of,"]")}function createArrayOfObjectTypeDef(short,compact,full){return createTypeDef({name:PropTypesType.ARRAYOF,short:braceAfter(short),compact:null!=compact?braceAround(compact):null,full:braceAround(full)})}function generateType(type,extractedProp){try{switch(type.name){case PropTypesType.CUSTOM:return function generateCustom(_ref5){var raw=_ref5.raw;return null!=raw?generateTypeFromString(raw,PropTypesType.CUSTOM):createTypeDef({name:PropTypesType.CUSTOM,short:CUSTOM_CAPTION,compact:CUSTOM_CAPTION})}(type);case PropTypesType.FUNC:return function generateFunc(extractedProp){var jsDocTags=extractedProp.jsDocTags;return null==jsDocTags||null==jsDocTags.params&&null==jsDocTags.returns?createTypeDef({name:PropTypesType.FUNC,short:FUNCTION_CAPTION,compact:FUNCTION_CAPTION}):createTypeDef({name:PropTypesType.FUNC,short:generateShortFuncSignature(jsDocTags.params,jsDocTags.returns),compact:null,full:generateFuncSignature_generateFuncSignature(jsDocTags.params,jsDocTags.returns)})}(extractedProp);case PropTypesType.SHAPE:return function generateShape(type,extractedProp){var fields=Object.keys(type.value).map((function(key){return"".concat(key,": ").concat(generateType(type.value[key],extractedProp).full)})).join(", "),_inspectValue2=inspectValue("{ ".concat(fields," }")),inferredType=_inspectValue2.inferredType,ast=_inspectValue2.ast,depth=inferredType.depth;return createTypeDef({name:PropTypesType.SHAPE,short:OBJECT_CAPTION,compact:1===depth&&ast?prettyObject(ast,!0):null,full:ast?prettyObject(ast):null})}(type,extractedProp);case PropTypesType.INSTANCEOF:return createTypeDef({name:PropTypesType.INSTANCEOF,short:type.value,compact:type.value});case PropTypesType.OBJECTOF:return function generateObjectOf(type,extractedProp){var _generateType=generateType(type.value,extractedProp),short=_generateType.short,compact=_generateType.compact,full=_generateType.full;return createTypeDef({name:PropTypesType.OBJECTOF,short:objectOf(short),compact:null!=compact?objectOf(compact):null,full:objectOf(full)})}(type,extractedProp);case PropTypesType.UNION:return function createType_generateUnion(type,extractedProp){if(Array.isArray(type.value)){var values=type.value.reduce((function(acc,v){var _generateType2=generateType(v,extractedProp),short=_generateType2.short,compact=_generateType2.compact,full=_generateType2.full;return acc.short.push(short),acc.compact.push(compact),acc.full.push(full),acc}),{short:[],compact:[],full:[]});return createTypeDef({name:PropTypesType.UNION,short:values.short.join(" | "),compact:values.compact.every((function(x){return null!=x}))?values.compact.join(" | "):null,full:values.full.join(" | ")})}return createTypeDef({name:PropTypesType.UNION,short:type.value,compact:null})}(type,extractedProp);case PropTypesType.ENUM:return generateEnum(type);case PropTypesType.ARRAYOF:return function generateArray(type,extractedProp){var _generateType3=generateType(type.value,extractedProp),name=_generateType3.name,short=_generateType3.short,compact=_generateType3.compact,full=_generateType3.full,inferredType=_generateType3.inferredType;if(name===PropTypesType.CUSTOM){if(inferredType===InspectionType.OBJECT)return createArrayOfObjectTypeDef(short,compact,full)}else if(name===PropTypesType.SHAPE)return createArrayOfObjectTypeDef(short,compact,full);return createTypeDef({name:PropTypesType.ARRAYOF,short:braceAfter(short),compact:braceAfter(short)})}(type,extractedProp);default:return createTypeDef({name:type.name,short:type.name,compact:type.name})}}catch(e){console.error(e)}return createTypeDef({name:"unknown",short:"unknown",compact:"unknown"})}function generateObject(_ref){var inferredType=_ref.inferredType,ast=_ref.ast;if(1===inferredType.depth){var compactObject=generateObjectCode(ast,!0);if(!isTooLongForDefaultValueSummary(compactObject))return createSummaryValue(compactObject)}return createSummaryValue(OBJECT_CAPTION,generateObjectCode(ast))}function generateArray_generateArray(_ref){var inferredType=_ref.inferredType,ast=_ref.ast;if(inferredType.depth<=2){var compactArray=generateArrayCode(ast,!0);if(!isTooLongForDefaultValueSummary(compactArray))return createSummaryValue(compactArray)}return createSummaryValue(ARRAY_CAPTION,generateArrayCode(ast))}function getPrettyIdentifier(inferredType){var type=inferredType.type,identifier=inferredType.identifier;switch(type){case InspectionType.FUNCTION:return getPrettyFuncIdentifier(identifier,inferredType.hasParams);case InspectionType.ELEMENT:return getPrettyElementIdentifier(identifier);default:return identifier}}function getPrettyFuncIdentifier(identifier,hasArguments){return"".concat(identifier,hasArguments?"( ... )":"()")}function getPrettyElementIdentifier(identifier){return"<".concat(identifier," />")}function defaultValues_createDefaultValue_createDefaultValue(defaultValue){try{var inspectionResult=inspectValue(defaultValue);switch(inspectionResult.inferredType.type){case InspectionType.OBJECT:return generateObject(inspectionResult);case InspectionType.FUNCTION:return function createDefaultValue_generateFunc(_ref){var inferredType=_ref.inferredType,ast=_ref.ast;if(null!=inferredType.identifier)return createSummaryValue(getPrettyIdentifier(inferredType),generateCode(ast));var prettyCaption=generateCode(ast,!0);return isTooLongForDefaultValueSummary(prettyCaption)?createSummaryValue(FUNCTION_CAPTION,generateCode(ast)):createSummaryValue(prettyCaption)}(inspectionResult);case InspectionType.ELEMENT:return function generateElement(defaultValue,inspectionResult){var inferredType=inspectionResult.inferredType,identifier=inferredType.identifier;return null==identifier||isHtmlTag(identifier)?isTooLongForDefaultValueSummary(defaultValue)?createSummaryValue(ELEMENT_CAPTION,defaultValue):createSummaryValue(defaultValue):createSummaryValue(getPrettyIdentifier(inferredType),defaultValue)}(defaultValue,inspectionResult);case InspectionType.ARRAY:return generateArray_generateArray(inspectionResult);default:return null}}catch(e){console.error(e)}return null}!function(PropTypesType){PropTypesType.CUSTOM="custom",PropTypesType.ANY="any",PropTypesType.FUNC="func",PropTypesType.SHAPE="shape",PropTypesType.OBJECT="object",PropTypesType.INSTANCEOF="instanceOf",PropTypesType.OBJECTOF="objectOf",PropTypesType.UNION="union",PropTypesType.ENUM="enum",PropTypesType.ARRAYOF="arrayOf",PropTypesType.ELEMENT="element",PropTypesType.ELEMENTTYPE="elementType",PropTypesType.NODE="node"}(PropTypesType||(PropTypesType={}));__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js");var isPlainObject=__webpack_require__("./node_modules/lodash/isPlainObject.js"),isPlainObject_default=__webpack_require__.n(isPlainObject),isFunction=__webpack_require__("./node_modules/lodash/isFunction.js"),isFunction_default=__webpack_require__.n(isFunction),isString=__webpack_require__("./node_modules/lodash/isString.js"),isString_default=__webpack_require__.n(isString),cjs=__webpack_require__("./node_modules/react-element-to-jsx-string/dist/cjs/index.js"),cjs_default=__webpack_require__.n(cjs);function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function isReactElement(element){return null!=element.$$typeof}function extractFunctionName(func,propName){var name=func.name;return""!==name&&"anonymous"!==name&&name!==propName?name:null}var DEFAULT_TYPE_RESOLVERS={string:function stringResolver(rawDefaultProp){return createSummaryValue(JSON.stringify(rawDefaultProp))},object:function objectResolver(rawDefaultProp){return isReactElement(rawDefaultProp)&&null!=rawDefaultProp.type?function generateReactObject(rawDefaultProp){var type=rawDefaultProp.type,displayName=type.displayName,jsx=cjs_default()(rawDefaultProp,{});if(null!=displayName)return createSummaryValue(getPrettyElementIdentifier(displayName),jsx);if(isString_default()(type)&&isHtmlTag(type)){var jsxSummary=cjs_default()(rawDefaultProp,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!isTooLongForDefaultValueSummary(jsxSummary))return createSummaryValue(jsxSummary)}return createSummaryValue(ELEMENT_CAPTION,jsx)}(rawDefaultProp):isPlainObject_default()(rawDefaultProp)?generateObject(inspectValue(JSON.stringify(rawDefaultProp))):Array.isArray(rawDefaultProp)?generateArray_generateArray(inspectValue(JSON.stringify(rawDefaultProp))):createSummaryValue(OBJECT_CAPTION)},function:function functionResolver(rawDefaultProp,propDef){var inspectionResult,isElement=!1;if(isFunction_default()(rawDefaultProp.render))isElement=!0;else if(null!=rawDefaultProp.prototype&&isFunction_default()(rawDefaultProp.prototype.render))isElement=!0;else{var innerElement;try{var _ref=(inspectionResult=inspectValue(rawDefaultProp.toString())).inferredType,hasParams=_ref.hasParams,params=_ref.params;hasParams?1===params.length&&"ObjectPattern"===params[0].type&&(innerElement=rawDefaultProp({})):innerElement=rawDefaultProp(),null!=innerElement&&isReactElement(innerElement)&&(isElement=!0)}catch(e){}}var funcName=extractFunctionName(rawDefaultProp,propDef.name);return null!=funcName?isElement?createSummaryValue(getPrettyElementIdentifier(funcName)):(null!=inspectionResult&&(inspectionResult=inspectValue(rawDefaultProp.toString())),createSummaryValue(getPrettyFuncIdentifier(funcName,inspectionResult.inferredType.hasParams))):createSummaryValue(isElement?ELEMENT_CAPTION:FUNCTION_CAPTION)},default:function defaultResolver(rawDefaultProp){return createSummaryValue(rawDefaultProp.toString())}};function createDefaultValueFromRawDefaultProp(rawDefaultProp,propDef){var typeResolvers=arguments.length>2&&void 0!==arguments[2]?arguments[2]:DEFAULT_TYPE_RESOLVERS;try{switch(_typeof(rawDefaultProp)){case"string":return typeResolvers.string(rawDefaultProp,propDef);case"object":return typeResolvers.object(rawDefaultProp,propDef);case"function":return typeResolvers.function(rawDefaultProp,propDef);default:return typeResolvers.default(rawDefaultProp,propDef)}}catch(e){console.error(e)}return null}__webpack_require__("./node_modules/core-js/modules/es.array.find.js");var rawDefaultPropTypeResolvers=function createTypeResolvers(){var customResolvers=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},DEFAULT_TYPE_RESOLVERS,customResolvers)}({function:function funcResolver(rawDefaultProp,_ref){var name=_ref.name,type=_ref.type,isElement="element"===type.summary||"elementType"===type.summary,funcName=extractFunctionName(rawDefaultProp,name);return createSummaryValue(null!=funcName?isElement?getPrettyElementIdentifier(funcName):getPrettyFuncIdentifier(funcName,inspectValue(rawDefaultProp.toString()).inferredType.hasParams):isElement?ELEMENT_CAPTION:FUNCTION_CAPTION)}});function enhancePropTypesProp(extractedProp,rawDefaultProp){var propDef=extractedProp.propDef,newtype=function propTypes_createType_createType(extractedProp){var type=extractedProp.docgenInfo.type;if(null==type)return null;try{switch(type.name){case PropTypesType.CUSTOM:case PropTypesType.SHAPE:case PropTypesType.INSTANCEOF:case PropTypesType.OBJECTOF:case PropTypesType.UNION:case PropTypesType.ENUM:case PropTypesType.ARRAYOF:var _generateType4=generateType(type,extractedProp),short=_generateType4.short,compact=_generateType4.compact,full=_generateType4.full;return null==compact||isTooLongForTypeSummary(compact)?createSummaryValue(short,full):createSummaryValue(compact);case PropTypesType.FUNC:var detail,_generateType5=generateType(type,extractedProp),_short=_generateType5.short,_full=_generateType5.full,summary=_short;return _full.lengtharr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var jsxDecorator_applyBeforeRender=function applyBeforeRender(domString,options){return"function"!=typeof options.onBeforeRender?domString:browser_default()(options.onBeforeRender,Object(esm.a)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n StoryFn.parameters.jsx.onBeforeRender was deprecated.\n Prefer StoryFn.parameters.jsx.transformSource instead.\n See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-onbeforerender for details.\n "]))))(domString)},jsxDecorator_renderJsx=function renderJsx(code,options){if(void 0===code)return client_logger_dist_esm.a.warn("Too many skip or undefined component"),null;for(var renderedJSX=code,Type=renderedJSX.type,i=0;i1)return client_logger_dist_esm.a.warn("Trying to skip an array of elements"),null;void 0===renderedJSX.props.children?(client_logger_dist_esm.a.warn("Not enough children to skip elements."),"function"==typeof renderedJSX.type&&""===renderedJSX.type.name&&(renderedJSX=react_default.a.createElement(Type,renderedJSX.props))):renderedJSX="function"==typeof renderedJSX.props.children?renderedJSX.props.children():renderedJSX.props.children}var displayNameDefaults="string"==typeof options.displayName?{showFunctions:!0,displayName:function displayName(){return options.displayName}}:{displayName:function displayName(el){return el.type.displayName||getDocgenSection(el.type,"displayName")||("_default"!==el.type.name?el.type.name:null)||("function"==typeof el.type?"No Display Name":null)||(function isForwardRef(component){return component.$$typeof===Symbol.for("react.forward_ref")}(el.type)?el.type.render.name:null)||(isMemo(el.type)?el.type.type.name:null)||el.type}},filterDefaults={filterProps:function filterProps(value,key){return void 0!==value}},opts=Object.assign({},displayNameDefaults,filterDefaults,options);return react_default.a.Children.map(code,(function(c){var child="number"==typeof c?c.toString():c,string=jsxDecorator_applyBeforeRender(cjs_default()(child,opts),options);if(string.indexOf(""")>-1){var matches=string.match(/\S+=\\"([^"]*)\\"/g);matches&&matches.forEach((function(match){string=string.replace(match,match.replace(/"/g,"'"))}))}return string})).join("\n").replace(/function\s+noRefCheck\(\)\s+\{\}/,"() => {}")},defaultOpts={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},jsxDecorator_mdxToJsx=function mdxToJsx(node){if(!function isMdx(node){var _node$type,_node$props;return"MDXCreateElement"===(null===(_node$type=node.type)||void 0===_node$type?void 0:_node$type.displayName)&&!(null===(_node$props=node.props)||void 0===_node$props||!_node$props.mdxType)}(node))return node;var _node$props2=node.props,originalType=(_node$props2.mdxType,_node$props2.originalType),children=_node$props2.children,rest=_objectWithoutProperties(_node$props2,_excluded),jsxChildren=[];children&&(jsxChildren=(Array.isArray(children)?children:[children]).map(mdxToJsx));return react.createElement.apply(void 0,[originalType,rest].concat(_toConsumableArray(jsxChildren)))},config_parameters={docs:{inlineStories:!0,prepareForInline:function prepareForInline(storyFn){return storyFn()},extractArgTypes:function extractArgTypes(component){if(component){var _extractProps=function extractProps(component){return{rows:getPropDefs(component,"props")}}(component),rows=_extractProps.rows;if(rows)return rows.reduce((function(acc,row){var name=row.name,description=row.description,type=row.type,sbType=row.sbType,defaultSummary=row.defaultValue,jsDocTags=row.jsDocTags,required=row.required;return acc[name]={name:name,description:description,type:Object.assign({required:required},sbType),table:{type:type,jsDocTags:jsDocTags,defaultValue:defaultSummary}},acc}),{})}return null},extractComponentDescription:function extractComponentDescription(component){return null!=component&&function getDocgenDescription(component){return hasDocgen(component)&&Object(utils_string.a)(component.__docgenInfo.description)}(component)}}},decorators=[function jsxDecorator(storyFn,context){var _context$parameters$d2,_context$parameters$d3,channel=dist_esm.a.getChannel(),skip=function skipJsxRender(context){var _context$parameters$d,sourceParams=null==context||null===(_context$parameters$d=context.parameters.docs)||void 0===_context$parameters$d?void 0:_context$parameters$d.source,isArgsStory=null==context?void 0:context.parameters.__isArgsStory;return(null==sourceParams?void 0:sourceParams.type)!==SourceType.DYNAMIC&&(!isArgsStory||(null==sourceParams?void 0:sourceParams.code)||(null==sourceParams?void 0:sourceParams.type)===SourceType.CODE)}(context),story=storyFn(),jsx="";if(Object(hooks.c)((function(){skip||channel.emit(SNIPPET_RENDERED,(context||{}).id,jsx)})),skip)return story;var options=Object.assign({},defaultOpts,(null==context?void 0:context.parameters.jsx)||{}),storyJsx=null!=context&&null!==(_context$parameters$d2=context.parameters.docs)&&void 0!==_context$parameters$d2&&null!==(_context$parameters$d3=_context$parameters$d2.source)&&void 0!==_context$parameters$d3&&_context$parameters$d3.excludeDecorators?context.originalStoryFn(context.args,context):story,sourceJsx=jsxDecorator_mdxToJsx(storyJsx),rendered=jsxDecorator_renderJsx(sourceJsx,options);return rendered&&(jsx=function applyTransformSource(domString,options,context){return"function"!=typeof options.transformSource?domString:options.transformSource(domString,context)}(rendered,options,context)),story}],argTypesEnhancers=[function enhanceArgTypes(context){var component=context.component,userArgTypes=context.argTypes,_context$parameters$d=context.parameters.docs,extractArgTypes=(void 0===_context$parameters$d?{}:_context$parameters$d).extractArgTypes,extractedArgTypes=extractArgTypes&&component?extractArgTypes(component):{};return extractedArgTypes?Object(parameters.a)(extractedArgTypes,userArgTypes):userArgTypes}];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(config_namespaceObject).forEach((function(key){var value=config_namespaceObject[key];switch(key){case"args":return Object(ClientApi.d)(value);case"argTypes":return Object(ClientApi.b)(value);case"decorators":return value.forEach((function(decorator){return Object(ClientApi.f)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(ClientApi.g)(loader,!1)}));case"parameters":return Object(ClientApi.h)(function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:{v:3,stories:{}}).stories;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,StoryIndexStore),this.channel=void 0,this.stories=void 0,this.stories=stories}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(StoryIndexStore,[{key:"storyIdFromSpecifier",value:function storyIdFromSpecifier(specifier){var storyIds=Object.keys(this.stories);if("*"===specifier)return storyIds[0];if("string"==typeof specifier)return storyIds.indexOf(specifier)>=0?specifier:storyIds.find((function(storyId){return storyId.startsWith(specifier)}));var name=specifier.name,title=specifier.title,match=Object.entries(this.stories).find((function(_ref2){var _ref3=_slicedToArray(_ref2,2),story=(_ref3[0],_ref3[1]);return story.name===name&&story.title===title}));return match&&match[0]}},{key:"storyIdToEntry",value:function storyIdToEntry(storyId){var storyEntry=this.stories[storyId];if(!storyEntry)throw new Error(Object(esm.a)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["Couldn't find story matching '","' after HMR.\n - Did you remove it from your CSF file?\n - Are you sure a story with that id exists?\n - Please check your stories field of your main.js config.\n - Also check the browser console and terminal for error messages."])),storyId));return storyEntry}}]),StoryIndexStore}(),esm_args=__webpack_require__("./node_modules/@storybook/store/dist/esm/args.js");function ArgsStore_defineProperties(target,props){for(var i=0;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var checkDisallowedParameters=function checkDisallowedParameters(parameters){parameters&&(function checkGlobals(parameters){var globals=parameters.globals,globalTypes=parameters.globalTypes;(globals||globalTypes)&&dist_esm.a.error("Global args/argTypes can only be set globally",JSON.stringify({globals:globals,globalTypes:globalTypes}))}(parameters),function checkStorySort(parameters){var options=parameters.options;null!=options&&options.storySort&&dist_esm.a.error("The storySort option parameter can only be set globally")}(parameters))};function processCSFFile(moduleExports,importPath,title){var defaultExport=moduleExports.default,namedExports=(moduleExports.__namedExportsOrder,_objectWithoutProperties(moduleExports,_excluded)),meta=Object(normalizeComponentAnnotations.a)(defaultExport,title,importPath);checkDisallowedParameters(meta.parameters);var csfFile={meta:meta,stories:{}};return Object.keys(namedExports).forEach((function(key){if(Object(dist.isExportStory)(key,meta)){var storyMeta=Object(normalizeStory.a)(key,namedExports[key],meta);checkDisallowedParameters(storyMeta.parameters),csfFile.stories[storyMeta.id]=storyMeta}})),csfFile}var prepareStory=__webpack_require__("./node_modules/@storybook/store/dist/esm/csf/prepareStory.js"),normalizeProjectAnnotations=__webpack_require__("./node_modules/@storybook/store/dist/esm/csf/normalizeProjectAnnotations.js"),hooks=__webpack_require__("./node_modules/@storybook/addons/dist/esm/hooks.js");function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function StoryStore_slicedToArray(arr,i){return function StoryStore_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function StoryStore_iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function StoryStore_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return StoryStore_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return StoryStore_arrayLikeToArray(o,minLen)}(arr,i)||function StoryStore_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.")}()}function StoryStore_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:{includeDocsOnly:!1};if(!this.cachedCSFFiles)throw new Error("Cannot call extract() unless you call cacheAllCSFFiles() first.");return Object.entries(this.storyIndex.stories).reduce((function(acc,_ref11){var _ref12=StoryStore_slicedToArray(_ref11,2),storyId=_ref12[0],importPath=_ref12[1].importPath,csfFile=_this6.cachedCSFFiles[importPath],story=_this6.storyFromCSFFile({storyId:storyId,csfFile:csfFile});return!options.includeDocsOnly&&story.parameters.docsOnly||(acc[storyId]=Object.entries(story).reduce((function(storyAcc,_ref13){var _ref14=StoryStore_slicedToArray(_ref13,2),key=_ref14[0],value=_ref14[1];return"function"==typeof value?storyAcc:Array.isArray(value)?Object.assign(storyAcc,_defineProperty({},key,value.slice().sort())):Object.assign(storyAcc,_defineProperty({},key,value))}),{args:story.initialArgs})),acc}),{})}},{key:"getSetStoriesPayload",value:function getSetStoriesPayload(){var stories=this.extract({includeDocsOnly:!0}),kindParameters=Object.values(stories).reduce((function(acc,_ref15){return acc[_ref15.title]={},acc}),{});return{v:2,globals:this.globals.get(),globalParameters:{},kindParameters:kindParameters,stories:stories}}},{key:"raw",value:function raw(){var _this7=this;return Object.values(this.extract()).map((function(_ref16){var id=_ref16.id;return _this7.fromId(id)}))}},{key:"fromId",value:function fromId(storyId){var importPath,_this8=this;if(!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");try{importPath=this.storyIndex.storyIdToEntry(storyId).importPath}catch(err){return null}var csfFile=this.cachedCSFFiles[importPath],story=this.storyFromCSFFile({storyId:storyId,csfFile:csfFile});return Object.assign({},story,{storyFn:function storyFn(update){var context=Object.assign({},_this8.getStoryContext(story),{viewMode:"story"});return story.unboundStoryFn(Object.assign({},context,update))}})}}]),StoryStore}(),core_events_dist_esm=(__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.get.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("./node_modules/@storybook/core-events/dist/esm/index.js")),addons_dist_esm=__webpack_require__("./node_modules/@storybook/addons/dist/esm/index.js");__webpack_require__("./node_modules/core-js/modules/es.array.includes.js");function StoryRender_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function StoryRender_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){StoryRender_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){StoryRender_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function StoryRender_defineProperties(target,props){for(var i=0;i0&&void 0!==_args9[0]?_args9[0]:{}).initial,initial=void 0!==_ref2$initial&&_ref2$initial,_ref2$forceRemount=_ref2.forceRemount,forceRemount=void 0!==_ref2$forceRemount&&_ref2$forceRemount,this.story){_context9.next=3;break}throw new Error("cannot render when not prepared");case 3:return _this$story=this.story,id=_this$story.id,componentId=_this$story.componentId,title=_this$story.title,name=_this$story.name,applyLoaders=_this$story.applyLoaders,unboundStoryFn=_this$story.unboundStoryFn,playFunction=_this$story.playFunction,forceRemount&&!initial&&(this.cancelRender(),this.abortController=createController()),abortSignal=this.abortController.signal,_context9.prev=6,_context9.next=9,this.runPhase(abortSignal,"loading",StoryRender_asyncToGenerator(regeneratorRuntime.mark((function _callee5(){return regeneratorRuntime.wrap((function _callee5$(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:return _context5.next=2,applyLoaders(Object.assign({},_this2.context(),{viewMode:_this2.viewMode}));case 2:loadedContext=_context5.sent;case 3:case"end":return _context5.stop()}}),_callee5)}))));case 9:if(!abortSignal.aborted){_context9.next=11;break}return _context9.abrupt("return");case 11:return renderStoryContext=Object.assign({},loadedContext,this.context(),{abortSignal:abortSignal,canvasElement:this.canvasElement}),_renderContext=Object.assign({componentId:componentId,title:title,kind:title,id:id,name:name,story:name},this.callbacks,{forceRemount:forceRemount||this.notYetRendered,storyContext:renderStoryContext,storyFn:function storyFn(){return unboundStoryFn(renderStoryContext)},unboundStoryFn:unboundStoryFn}),_context9.next=15,this.runPhase(abortSignal,"rendering",StoryRender_asyncToGenerator(regeneratorRuntime.mark((function _callee6(){return regeneratorRuntime.wrap((function _callee6$(_context6){for(;;)switch(_context6.prev=_context6.next){case 0:return _context6.abrupt("return",_this2.renderToScreen(_renderContext,_this2.canvasElement));case 1:case"end":return _context6.stop()}}),_callee6)}))));case 15:if(this.notYetRendered=!1,!abortSignal.aborted){_context9.next=18;break}return _context9.abrupt("return");case 18:if(!forceRemount||!playFunction){_context9.next=27;break}return this.disableKeyListeners=!0,_context9.next=22,this.runPhase(abortSignal,"playing",StoryRender_asyncToGenerator(regeneratorRuntime.mark((function _callee7(){return regeneratorRuntime.wrap((function _callee7$(_context7){for(;;)switch(_context7.prev=_context7.next){case 0:return _context7.abrupt("return",playFunction(_renderContext.storyContext));case 1:case"end":return _context7.stop()}}),_callee7)}))));case 22:return _context9.next=24,this.runPhase(abortSignal,"played");case 24:if(this.disableKeyListeners=!1,!abortSignal.aborted){_context9.next=27;break}return _context9.abrupt("return");case 27:return _context9.next=29,this.runPhase(abortSignal,"completed",StoryRender_asyncToGenerator(regeneratorRuntime.mark((function _callee8(){return regeneratorRuntime.wrap((function _callee8$(_context8){for(;;)switch(_context8.prev=_context8.next){case 0:return _context8.abrupt("return",_this2.channel.emit(core_events_dist_esm.STORY_RENDERED,id));case 1:case"end":return _context8.stop()}}),_callee8)}))));case 29:_context9.next=34;break;case 31:_context9.prev=31,_context9.t0=_context9.catch(6),this.callbacks.showException(_context9.t0);case 34:case"end":return _context9.stop()}}),_callee9,this,[[6,31]])}))),function render(){return _render.apply(this,arguments)})},{key:"rerender",value:(_rerender=StoryRender_asyncToGenerator(regeneratorRuntime.mark((function _callee10(){return regeneratorRuntime.wrap((function _callee10$(_context10){for(;;)switch(_context10.prev=_context10.next){case 0:return _context10.abrupt("return",this.render());case 1:case"end":return _context10.stop()}}),_callee10,this)}))),function rerender(){return _rerender.apply(this,arguments)})},{key:"remount",value:(_remount=StoryRender_asyncToGenerator(regeneratorRuntime.mark((function _callee11(){return regeneratorRuntime.wrap((function _callee11$(_context11){for(;;)switch(_context11.prev=_context11.next){case 0:return _context11.abrupt("return",this.render({forceRemount:!0}));case 1:case"end":return _context11.stop()}}),_callee11,this)}))),function remount(){return _remount.apply(this,arguments)})},{key:"cancelRender",value:function cancelRender(){this.abortController.abort()}},{key:"teardown",value:(_teardown=StoryRender_asyncToGenerator(regeneratorRuntime.mark((function _callee12(){var i;return regeneratorRuntime.wrap((function _callee12$(_context12){for(;;)switch(_context12.prev=_context12.next){case 0:this.cancelRender(),this.story&&this.store.cleanupStory(this.story),i=0;case 4:if(!(i<3)){_context12.next=12;break}if(this.isPending()){_context12.next=7;break}return _context12.abrupt("return");case 7:return _context12.next=9,new Promise((function(resolve){return setTimeout(resolve,0)}));case 9:i+=1,_context12.next=4;break;case 12:return window_default.a.window.location.reload(),_context12.next=15,new Promise((function(){}));case 15:case"end":return _context12.stop()}}),_callee12,this)}))),function teardown(){return _teardown.apply(this,arguments)})}]),StoryRender}();function Preview_toConsumableArray(arr){return function Preview_arrayWithoutHoles(arr){if(Array.isArray(arr))return Preview_arrayLikeToArray(arr)}(arr)||function Preview_iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||function Preview_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return Preview_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Preview_arrayLikeToArray(o,minLen)}(arr)||function Preview_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.")}()}function Preview_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==_args12[1]?_args12[1]:{}).viewModeChanged,this.storyRenders=this.storyRenders.filter((function(r){return r!==render})),_context12.next=4,null==render?void 0:render.teardown({viewModeChanged:viewModeChanged});case 4:case"end":return _context12.stop()}}),_callee12,this)}))),function teardownRender(_x7){return _teardownRender.apply(this,arguments)})},{key:"extract",value:(_extract=Preview_asyncToGenerator(regeneratorRuntime.mark((function _callee13(options){var _global$FEATURES4;return regeneratorRuntime.wrap((function _callee13$(_context13){for(;;)switch(_context13.prev=_context13.next){case 0:if(!this.previewEntryError){_context13.next=2;break}throw this.previewEntryError;case 2:if(this.storyStore.projectAnnotations){_context13.next=4;break}throw new Error(Object(esm.a)(_templateObject2||(_templateObject2=Preview_taggedTemplateLiteral(["Failed to initialize Storybook.\n \n Do you have an error in your `preview.js`? Check your Storybook's browser console for errors."],["Failed to initialize Storybook.\n \n Do you have an error in your \\`preview.js\\`? Check your Storybook's browser console for errors."]))));case 4:if(null===(_global$FEATURES4=window_default.a.FEATURES)||void 0===_global$FEATURES4||!_global$FEATURES4.storyStoreV7){_context13.next=7;break}return _context13.next=7,this.storyStore.cacheAllCSFFiles();case 7:return _context13.abrupt("return",this.storyStore.extract(options));case 8:case"end":return _context13.stop()}}),_callee13,this)}))),function extract(_x8){return _extract.apply(this,arguments)})},{key:"inlineStoryCallbacks",value:function inlineStoryCallbacks(storyId){return{showMain:function showMain(){},showError:function showError(err){return dist_esm.a.error("Error rendering docs story (".concat(storyId,")"),err)},showException:function showException(err){return dist_esm.a.error("Error rendering docs story (".concat(storyId,")"),err)}}}},{key:"renderPreviewEntryError",value:function renderPreviewEntryError(reason,err){this.previewEntryError=err,dist_esm.a.error(reason),dist_esm.a.error(err),this.channel.emit(core_events_dist_esm.CONFIG_ERROR,err)}}]),Preview}(),lib=(__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.string.search.js"),__webpack_require__("./node_modules/qs/lib/index.js")),lib_default=__webpack_require__.n(lib),isPlainObject=(__webpack_require__("./node_modules/core-js/modules/es.regexp.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.ends-with.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.string.split.js"),__webpack_require__("./node_modules/core-js/modules/es.string.replace.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/lodash/isPlainObject.js")),isPlainObject_default=__webpack_require__.n(isPlainObject);function parseArgsParam_slicedToArray(arr,i){return function parseArgsParam_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function parseArgsParam_iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function parseArgsParam_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return parseArgsParam_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return parseArgsParam_arrayLikeToArray(o,minLen)}(arr,i)||function parseArgsParam_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.")}()}function parseArgsParam_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:"",value=arguments.length>1?arguments[1]:void 0;return null!==key&&(!(""===key||!VALIDATION_REGEXP.test(key))&&(null==value||(value instanceof Date||("number"==typeof value||"boolean"==typeof value||("string"==typeof value?VALIDATION_REGEXP.test(value)||NUMBER_REGEXP.test(value)||HEX_REGEXP.test(value)||COLOR_REGEXP.test(value):Array.isArray(value)?value.every((function(v){return validateArgs(key,v)})):!!isPlainObject_default()(value)&&Object.entries(value).every((function(_ref){var _ref2=parseArgsParam_slicedToArray(_ref,2),k=_ref2[0],v=_ref2[1];return validateArgs(k,v)})))))))},QS_OPTIONS={delimiter:";",allowDots:!0,allowSparse:!0,decoder:function(_decoder){function decoder(_x,_x2,_x3,_x4){return _decoder.apply(this,arguments)}return decoder.toString=function(){return _decoder.toString()},decoder}((function(str,defaultDecoder,charset,type){if("value"===type&&str.startsWith("!")){if("!undefined"===str)return;if("!null"===str)return null;if(str.startsWith("!date(")&&str.endsWith(")"))return new Date(str.slice(6,-1));if(str.startsWith("!hex(")&&str.endsWith(")"))return"#".concat(str.slice(5,-1));var color=str.slice(1).match(COLOR_REGEXP);if(color)return str.startsWith("!rgba")?"".concat(color[1],"(").concat(color[2],", ").concat(color[3],", ").concat(color[4],", ").concat(color[5],")"):str.startsWith("!hsla")?"".concat(color[1],"(").concat(color[2],", ").concat(color[3],"%, ").concat(color[4],"%, ").concat(color[5],")"):str.startsWith("!rgb")?"".concat(color[1],"(").concat(color[2],", ").concat(color[3],", ").concat(color[4],")"):"".concat(color[1],"(").concat(color[2],", ").concat(color[3],"%, ").concat(color[4],"%)")}return"value"===type&&NUMBER_REGEXP.test(str)?Number(str):defaultDecoder(str,defaultDecoder,charset)}))},parseArgsParam_parseArgsParam=function parseArgsParam(argsString){var parts=argsString.split(";").map((function(part){return part.replace("=","~").replace(":","=")}));return Object.entries(lib_default.a.parse(parts.join(";"),QS_OPTIONS)).reduce((function(acc,_ref3){var _ref4=parseArgsParam_slicedToArray(_ref3,2),key=_ref4[0],value=_ref4[1];return parseArgsParam_validateArgs(key,value)?Object.assign(acc,function parseArgsParam_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},key,value)):(dist_esm.b.warn(Object(esm.a)(parseArgsParam_templateObject||(parseArgsParam_templateObject=function parseArgsParam_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n Omitted potentially unsafe URL args.\n\n More info: https://storybook.js.org/docs/react/writing-stories/args#setting-args-through-the-url\n "])))),acc)}),{})},UrlStore_excluded=["path","selectedKind","selectedStory"];function UrlStore_defineProperties(target,props){for(var i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var UrlStore_history=window_default.a.history,UrlStore_document=window_default.a.document;var WebView_templateObject,UrlStore_getQueryString=function getQueryString(_ref){var selection=_ref.selection,extraParams=_ref.extraParams,_document$location$se=UrlStore_document.location.search,search=void 0===_document$location$se?"":_document$location$se,_qs$parse=lib_default.a.parse(search,{ignoreQueryPrefix:!0}),rest=(_qs$parse.path,_qs$parse.selectedKind,_qs$parse.selectedStory,UrlStore_objectWithoutProperties(_qs$parse,UrlStore_excluded));return lib_default.a.stringify(Object.assign({},rest,extraParams,selection&&{id:selection.storyId,viewMode:selection.viewMode}),{encode:!1,addQueryPrefix:!0})},getFirstString=function getFirstString(v){return"string"==typeof v?v:Array.isArray(v)?getFirstString(v[0]):function isObject(val){return null!=val&&"object"===_typeof(val)&&!1===Array.isArray(val)}(v)?getFirstString(Object.values(v)):void 0},deprecatedLegacyQuery=browser_default()((function(){return 0}),"URL formats with `selectedKind` and `selectedName` query parameters are deprecated.\nUse `id=$storyId` instead.\nSee https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-url-structure"),UrlStore_getSelectionSpecifierFromPath=function getSelectionSpecifierFromPath(){var query=lib_default.a.parse(UrlStore_document.location.search,{ignoreQueryPrefix:!0}),args="string"==typeof query.args?parseArgsParam_parseArgsParam(query.args):void 0,globals="string"==typeof query.globals?parseArgsParam_parseArgsParam(query.globals):void 0,viewMode=getFirstString(query.viewMode);"string"==typeof viewMode&&viewMode.match(/docs|story/)||(viewMode="story");var path=getFirstString(query.path),storyId=path?function pathToId(path){var match=(path||"").match(/^\/story\/(.+)/);if(!match)throw new Error("Invalid path '".concat(path,"', must start with '/story/'"));return match[1]}(path):getFirstString(query.id);if(storyId)return{storySpecifier:storyId,args:args,globals:globals,viewMode:viewMode};var title=getFirstString(query.selectedKind),name=getFirstString(query.selectedStory);return title&&name?(deprecatedLegacyQuery(),{storySpecifier:{title:title,name:name},args:args,globals:globals,viewMode:viewMode}):null},UrlStore=function(){function UrlStore(){!function UrlStore_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,UrlStore),this.selectionSpecifier=void 0,this.selection=void 0,this.selectionSpecifier=UrlStore_getSelectionSpecifierFromPath()}return function UrlStore_createClass(Constructor,protoProps,staticProps){return protoProps&&UrlStore_defineProperties(Constructor.prototype,protoProps),staticProps&&UrlStore_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(UrlStore,[{key:"setSelection",value:function setSelection(selection){this.selection=selection,function setPath(selection){if(selection){var query=UrlStore_getQueryString({selection:selection}),_document$location$ha=UrlStore_document.location.hash,hash=void 0===_document$location$ha?"":_document$location$ha;UrlStore_document.title=selection.storyId,UrlStore_history.replaceState({},"","".concat(UrlStore_document.location.pathname).concat(query).concat(hash))}}(this.selection)}},{key:"setQueryParams",value:function setQueryParams(queryParams){var query=UrlStore_getQueryString({extraParams:queryParams}),_document$location$ha2=UrlStore_document.location.hash,hash=void 0===_document$location$ha2?"":_document$location$ha2;UrlStore_history.replaceState({},"","".concat(UrlStore_document.location.pathname).concat(query).concat(hash))}}]),UrlStore}(),ansi_to_html=__webpack_require__("./node_modules/ansi-to-html/lib/ansi_to_html.js"),ansi_to_html_default=__webpack_require__.n(ansi_to_html);function WebView_slicedToArray(arr,i){return function WebView_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function WebView_iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function WebView_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return WebView_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WebView_arrayLikeToArray(o,minLen)}(arr,i)||function WebView_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.")}()}function WebView_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:"padded";if("none"===layout)return WebView_document.body.classList.remove(this.currentLayoutClass),void(this.currentLayoutClass=null);this.checkIfLayoutExists(layout);var layoutClass=layoutClassMap[layout];WebView_document.body.classList.remove(this.currentLayoutClass),WebView_document.body.classList.add(layoutClass),this.currentLayoutClass=layoutClass}},{key:"checkIfLayoutExists",value:function checkIfLayoutExists(layout){layoutClassMap[layout]||dist_esm.a.warn(Object(esm.a)(WebView_templateObject||(WebView_templateObject=function WebView_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["The desired layout: "," is not a valid option.\n The possible options are: ",", none."])),layout,Object.keys(layoutClassMap).join(", ")))}},{key:"showMode",value:function showMode(mode){clearTimeout(this.preparingTimeout),Object.keys(Mode).forEach((function(otherMode){otherMode===mode?WebView_document.body.classList.add(classes[otherMode]):WebView_document.body.classList.remove(classes[otherMode])}))}},{key:"showErrorDisplay",value:function showErrorDisplay(_ref){var _ref$message=_ref.message,message=void 0===_ref$message?"":_ref$message,_ref$stack=_ref.stack,header=message,detail=void 0===_ref$stack?"":_ref$stack,parts=message.split("\n");parts.length>1&&(header=WebView_slicedToArray(parts,1)[0],detail=parts.slice(1).join("\n"));WebView_document.getElementById("error-message").innerHTML=ansiConverter.toHtml(header),WebView_document.getElementById("error-stack").innerHTML=ansiConverter.toHtml(detail),this.showMode(Mode.ERROR)}},{key:"showNoPreview",value:function showNoPreview(){var _this$storyRoot,_this$docsRoot;this.testing||(this.showMode(Mode.NOPREVIEW),null===(_this$storyRoot=this.storyRoot())||void 0===_this$storyRoot||_this$storyRoot.setAttribute("hidden","true"),null===(_this$docsRoot=this.docsRoot())||void 0===_this$docsRoot||_this$docsRoot.setAttribute("hidden","true"))}},{key:"showPreparingStory",value:function showPreparingStory(){var _this=this,_ref2$immediate=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).immediate,immediate=void 0!==_ref2$immediate&&_ref2$immediate;clearTimeout(this.preparingTimeout),immediate?this.showMode(Mode.PREPARING_STORY):this.preparingTimeout=setTimeout((function(){return _this.showMode(Mode.PREPARING_STORY)}),100)}},{key:"showPreparingDocs",value:function showPreparingDocs(){var _this2=this;clearTimeout(this.preparingTimeout),this.preparingTimeout=setTimeout((function(){return _this2.showMode(Mode.PREPARING_DOCS)}),100)}},{key:"showMain",value:function showMain(){this.showMode(Mode.MAIN)}},{key:"showDocs",value:function showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}},{key:"showStory",value:function showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}},{key:"showStoryDuringRender",value:function showStoryDuringRender(){WebView_document.body.classList.add(classes.MAIN)}}]),WebView}();function DocsRender_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function DocsRender_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){DocsRender_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){DocsRender_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function DocsRender_defineProperties(target,props){for(var i=0;i0&&void 0!==_args4[0]?_args4[0]:{}).viewModeChanged&&this.canvasElement){_context4.next=3;break}return _context4.abrupt("return");case 3:return _context4.next=5,__webpack_require__.e(3).then(__webpack_require__.bind(null,"./node_modules/@storybook/preview-web/dist/esm/renderDocs.js"));case 5:_context4.sent.unmountDocs(this.canvasElement);case 7:case"end":return _context4.stop()}}),_callee4,this)}))),function teardown(){return _teardown.apply(this,arguments)})}],[{key:"fromStoryRender",value:function fromStoryRender(storyRender){return new DocsRender(storyRender.channel,storyRender.store,storyRender.id,storyRender.story)}}]),DocsRender}();function PreviewWeb_typeof(obj){return PreviewWeb_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},PreviewWeb_typeof(obj)}function PreviewWeb_asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function PreviewWeb_asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){PreviewWeb_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){PreviewWeb_asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function PreviewWeb_taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}function PreviewWeb_defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:new UrlStore,webview=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WebView_WebView;return function PreviewWeb_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,PreviewWeb),(_this=_super.call(this)).urlStore=void 0,_this.view=void 0,_this.previewEntryError=void 0,_this.currentSelection=void 0,_this.currentRender=void 0,_this.view=webview,_this.urlStore=urlStore,_this.storyStore.getSelection=browser_default()((function(){return _this.urlStore.selection}),Object(esm.a)(PreviewWeb_templateObject||(PreviewWeb_templateObject=PreviewWeb_taggedTemplateLiteral(["\n `__STORYBOOK_STORY_STORE__.getSelection()` is deprecated and will be removed in 7.0.\n \n To get the current selection, use the `useStoryContext()` hook from `@storybook/addons`.\n "],["\n \\`__STORYBOOK_STORY_STORE__.getSelection()\\` is deprecated and will be removed in 7.0.\n \n To get the current selection, use the \\`useStoryContext()\\` hook from \\`@storybook/addons\\`.\n "])))),_this}return function PreviewWeb_createClass(Constructor,protoProps,staticProps){return protoProps&&PreviewWeb_defineProperties(Constructor.prototype,protoProps),staticProps&&PreviewWeb_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(PreviewWeb,[{key:"setupListeners",value:function setupListeners(){_get(_getPrototypeOf(PreviewWeb.prototype),"setupListeners",this).call(this),globalWindow.onkeydown=this.onKeydown.bind(this),this.channel.on(core_events_dist_esm.SET_CURRENT_STORY,this.onSetCurrentStory.bind(this)),this.channel.on(core_events_dist_esm.UPDATE_QUERY_PARAMS,this.onUpdateQueryParams.bind(this)),this.channel.on(core_events_dist_esm.PRELOAD_STORIES,this.onPreloadStories.bind(this))}},{key:"initializeWithProjectAnnotations",value:function initializeWithProjectAnnotations(projectAnnotations){var _this2=this;return _get(_getPrototypeOf(PreviewWeb.prototype),"initializeWithProjectAnnotations",this).call(this,projectAnnotations).then((function(){return _this2.setInitialGlobals()}))}},{key:"setInitialGlobals",value:(_setInitialGlobals=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee(){var _ref,globals;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:_ref=this.urlStore.selectionSpecifier||{},(globals=_ref.globals)&&this.storyStore.globals.updateFromPersisted(globals),this.emitGlobals();case 3:case"end":return _context.stop()}}),_callee,this)}))),function setInitialGlobals(){return _setInitialGlobals.apply(this,arguments)})},{key:"initializeWithStoryIndex",value:function initializeWithStoryIndex(storyIndex){var _this3=this;return _get(_getPrototypeOf(PreviewWeb.prototype),"initializeWithStoryIndex",this).call(this,storyIndex).then((function(){var _global$FEATURES;return null!==(_global$FEATURES=window_default.a.FEATURES)&&void 0!==_global$FEATURES&&_global$FEATURES.storyStoreV7||_this3.channel.emit(core_events_dist_esm.SET_STORIES,_this3.storyStore.getSetStoriesPayload()),_this3.selectSpecifiedStory()}))}},{key:"selectSpecifiedStory",value:(_selectSpecifiedStory=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee2(){var _this$urlStore$select,storySpecifier,viewMode,args,storyId;return regeneratorRuntime.wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(this.urlStore.selectionSpecifier){_context2.next=3;break}return this.renderMissingStory(),_context2.abrupt("return");case 3:if(_this$urlStore$select=this.urlStore.selectionSpecifier,storySpecifier=_this$urlStore$select.storySpecifier,viewMode=_this$urlStore$select.viewMode,args=_this$urlStore$select.args,storyId=this.storyStore.storyIndex.storyIdFromSpecifier(storySpecifier)){_context2.next=8;break}return"*"===storySpecifier?this.renderStoryLoadingException(storySpecifier,new Error(Object(esm.a)(PreviewWeb_templateObject2||(PreviewWeb_templateObject2=PreviewWeb_taggedTemplateLiteral(["\n Couldn't find any stories in your Storybook.\n - Please check your stories field of your main.js config.\n - Also check the browser console and terminal for error messages.\n "]))))):this.renderStoryLoadingException(storySpecifier,new Error(Object(esm.a)(_templateObject3||(_templateObject3=PreviewWeb_taggedTemplateLiteral(["\n Couldn't find story matching '","'.\n - Are you sure a story with that id exists?\n - Please check your stories field of your main.js config.\n - Also check the browser console and terminal for error messages.\n "])),storySpecifier))),_context2.abrupt("return");case 8:return this.urlStore.setSelection({storyId:storyId,viewMode:viewMode}),this.channel.emit(core_events_dist_esm.STORY_SPECIFIED,this.urlStore.selection),this.channel.emit(core_events_dist_esm.CURRENT_STORY_WAS_SET,this.urlStore.selection),_context2.next=13,this.renderSelection({persistedArgs:args});case 13:case"end":return _context2.stop()}}),_callee2,this)}))),function selectSpecifiedStory(){return _selectSpecifiedStory.apply(this,arguments)})},{key:"onGetProjectAnnotationsChanged",value:(_onGetProjectAnnotationsChanged=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee3(_ref2){var getProjectAnnotations;return regeneratorRuntime.wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:return getProjectAnnotations=_ref2.getProjectAnnotations,_context3.next=3,_get(_getPrototypeOf(PreviewWeb.prototype),"onGetProjectAnnotationsChanged",this).call(this,{getProjectAnnotations:getProjectAnnotations});case 3:this.renderSelection();case 4:case"end":return _context3.stop()}}),_callee3,this)}))),function onGetProjectAnnotationsChanged(_x){return _onGetProjectAnnotationsChanged.apply(this,arguments)})},{key:"onStoriesChanged",value:(_onStoriesChanged=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee4(_ref3){var _global$FEATURES2,importFn,storyIndex;return regeneratorRuntime.wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:if(importFn=_ref3.importFn,storyIndex=_ref3.storyIndex,_get(_getPrototypeOf(PreviewWeb.prototype),"onStoriesChanged",this).call(this,{importFn:importFn,storyIndex:storyIndex}),null!==(_global$FEATURES2=window_default.a.FEATURES)&&void 0!==_global$FEATURES2&&_global$FEATURES2.storyStoreV7){_context4.next=9;break}return _context4.t0=this.channel,_context4.t1=core_events_dist_esm.SET_STORIES,_context4.next=7,this.storyStore.getSetStoriesPayload();case 7:_context4.t2=_context4.sent,_context4.t0.emit.call(_context4.t0,_context4.t1,_context4.t2);case 9:if(!this.urlStore.selection){_context4.next=14;break}return _context4.next=12,this.renderSelection();case 12:_context4.next=16;break;case 14:return _context4.next=16,this.selectSpecifiedStory();case 16:case"end":return _context4.stop()}}),_callee4,this)}))),function onStoriesChanged(_x2){return _onStoriesChanged.apply(this,arguments)})},{key:"onKeydown",value:function onKeydown(event){var _this$currentRender;if(!(null!==(_this$currentRender=this.currentRender)&&void 0!==_this$currentRender&&_this$currentRender.disableKeyListeners||function focusInInput(event){var target=event.target;return/input|textarea/i.test(target.tagName)||null!==target.getAttribute("contenteditable")}(event))){var altKey=event.altKey,ctrlKey=event.ctrlKey,metaKey=event.metaKey,shiftKey=event.shiftKey,key=event.key,code=event.code,keyCode=event.keyCode;this.channel.emit(core_events_dist_esm.PREVIEW_KEYDOWN,{event:{altKey:altKey,ctrlKey:ctrlKey,metaKey:metaKey,shiftKey:shiftKey,key:key,code:code,keyCode:keyCode}})}}},{key:"onSetCurrentStory",value:function onSetCurrentStory(selection){this.urlStore.setSelection(Object.assign({viewMode:"story"},selection)),this.channel.emit(core_events_dist_esm.CURRENT_STORY_WAS_SET,this.urlStore.selection),this.renderSelection()}},{key:"onUpdateQueryParams",value:function onUpdateQueryParams(queryParams){this.urlStore.setQueryParams(queryParams)}},{key:"onUpdateGlobals",value:(_onUpdateGlobals=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee5(_ref4){var globals;return regeneratorRuntime.wrap((function _callee5$(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:if(globals=_ref4.globals,_get(_getPrototypeOf(PreviewWeb.prototype),"onUpdateGlobals",this).call(this,{globals:globals}),!(this.currentRender instanceof DocsRender_DocsRender)){_context5.next=5;break}return _context5.next=5,this.currentRender.rerender(!0);case 5:case"end":return _context5.stop()}}),_callee5,this)}))),function onUpdateGlobals(_x3){return _onUpdateGlobals.apply(this,arguments)})},{key:"onUpdateArgs",value:(_onUpdateArgs=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee6(_ref5){var storyId,updatedArgs;return regeneratorRuntime.wrap((function _callee6$(_context6){for(;;)switch(_context6.prev=_context6.next){case 0:if(storyId=_ref5.storyId,updatedArgs=_ref5.updatedArgs,_get(_getPrototypeOf(PreviewWeb.prototype),"onUpdateArgs",this).call(this,{storyId:storyId,updatedArgs:updatedArgs}),!(this.currentRender instanceof DocsRender_DocsRender)){_context6.next=5;break}return _context6.next=5,this.currentRender.rerender(!1);case 5:case"end":return _context6.stop()}}),_callee6,this)}))),function onUpdateArgs(_x4){return _onUpdateArgs.apply(this,arguments)})},{key:"onPreloadStories",value:(_onPreloadStories=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee7(ids){var _this4=this;return regeneratorRuntime.wrap((function _callee7$(_context7){for(;;)switch(_context7.prev=_context7.next){case 0:return _context7.next=2,Promise.all(ids.map((function(id){return _this4.storyStore.loadStory({storyId:id})})));case 2:case"end":return _context7.stop()}}),_callee7)}))),function onPreloadStories(_x5){return _onPreloadStories.apply(this,arguments)})},{key:"renderSelection",value:(_renderSelection=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee8(){var _this$currentSelectio,_this$currentSelectio2,_lastRender,_global$FEATURES3,persistedArgs,selection,storyId,storyIdChanged,viewModeChanged,lastSelection,lastRender,storyRender,implementationChanged,_storyRender$context,parameters,initialArgs,argTypes,args,_this5=this,_args8=arguments;return regeneratorRuntime.wrap((function _callee8$(_context8){for(;;)switch(_context8.prev=_context8.next){case 0:if(persistedArgs=(_args8.length>0&&void 0!==_args8[0]?_args8[0]:{}).persistedArgs,selection=this.urlStore.selection){_context8.next=4;break}throw new Error("Cannot render story as no selection was made");case 4:if(storyId=selection.storyId,storyIdChanged=(null===(_this$currentSelectio=this.currentSelection)||void 0===_this$currentSelectio?void 0:_this$currentSelectio.storyId)!==storyId,viewModeChanged=(null===(_this$currentSelectio2=this.currentSelection)||void 0===_this$currentSelectio2?void 0:_this$currentSelectio2.viewMode)!==selection.viewMode,"story"===selection.viewMode?this.view.showPreparingStory({immediate:viewModeChanged}):this.view.showPreparingDocs(),lastSelection=this.currentSelection,lastRender=this.currentRender,null===(_lastRender=lastRender)||void 0===_lastRender||!_lastRender.isPreparing()){_context8.next=14;break}return _context8.next=13,this.teardownRender(lastRender);case 13:lastRender=null;case 14:return storyRender=new StoryRender_StoryRender(this.channel,this.storyStore,(function(){return _this5.view.showStoryDuringRender(),_this5.renderToDOM.apply(_this5,arguments)}),this.mainStoryCallbacks(storyId),storyId,"story"),this.currentSelection=selection,this.currentRender=storyRender,_context8.prev=17,_context8.next=20,storyRender.prepare();case 20:_context8.next=29;break;case 22:if(_context8.prev=22,_context8.t0=_context8.catch(17),_context8.t0===PREPARE_ABORTED){_context8.next=28;break}return _context8.next=27,this.teardownRender(lastRender);case 27:this.renderStoryLoadingException(storyId,_context8.t0);case 28:return _context8.abrupt("return");case 29:if(implementationChanged=!storyIdChanged&&!storyRender.isEqual(lastRender),persistedArgs&&this.storyStore.args.updateFromPersisted(storyRender.story,persistedArgs),_storyRender$context=storyRender.context(),parameters=_storyRender$context.parameters,initialArgs=_storyRender$context.initialArgs,argTypes=_storyRender$context.argTypes,args=_storyRender$context.args,!lastRender||storyIdChanged||implementationChanged||viewModeChanged){_context8.next=37;break}return this.currentRender=lastRender,this.channel.emit(core_events_dist_esm.STORY_UNCHANGED,storyId),this.view.showMain(),_context8.abrupt("return");case 37:return _context8.next=39,this.teardownRender(lastRender,{viewModeChanged:viewModeChanged});case 39:lastSelection&&(storyIdChanged||viewModeChanged)&&this.channel.emit(core_events_dist_esm.STORY_CHANGED,storyId),null!==(_global$FEATURES3=window_default.a.FEATURES)&&void 0!==_global$FEATURES3&&_global$FEATURES3.storyStoreV7&&this.channel.emit(core_events_dist_esm.STORY_PREPARED,{id:storyId,parameters:parameters,initialArgs:initialArgs,argTypes:argTypes,args:args}),(implementationChanged||persistedArgs)&&this.channel.emit(core_events_dist_esm.STORY_ARGS_UPDATED,{storyId:storyId,args:args}),"docs"===selection.viewMode||parameters.docsOnly?(this.currentRender=DocsRender_DocsRender.fromStoryRender(storyRender),this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))):(this.storyRenders.push(storyRender),this.currentRender.renderToElement(this.view.prepareForStory(storyRender.story)));case 43:case"end":return _context8.stop()}}),_callee8,this,[[17,22]])}))),function renderSelection(){return _renderSelection.apply(this,arguments)})},{key:"renderStoryToElement",value:function renderStoryToElement(story,element){var _this6=this,render=new StoryRender_StoryRender(this.channel,this.storyStore,this.renderToDOM,this.inlineStoryCallbacks(story.id),story.id,"docs",story);return render.renderToElement(element),this.storyRenders.push(render),PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee9(){return regeneratorRuntime.wrap((function _callee9$(_context9){for(;;)switch(_context9.prev=_context9.next){case 0:return _context9.next=2,_this6.teardownRender(render);case 2:case"end":return _context9.stop()}}),_callee9)})))}},{key:"teardownRender",value:(_teardownRender=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee10(render){var viewModeChanged,_args10=arguments;return regeneratorRuntime.wrap((function _callee10$(_context10){for(;;)switch(_context10.prev=_context10.next){case 0:return viewModeChanged=(_args10.length>1&&void 0!==_args10[1]?_args10[1]:{}).viewModeChanged,this.storyRenders=this.storyRenders.filter((function(r){return r!==render})),_context10.next=4,null==render?void 0:render.teardown({viewModeChanged:viewModeChanged});case 4:case"end":return _context10.stop()}}),_callee10,this)}))),function teardownRender(_x6){return _teardownRender.apply(this,arguments)})},{key:"extract",value:(_extract=PreviewWeb_asyncToGenerator(regeneratorRuntime.mark((function _callee11(options){var _global$FEATURES4;return regeneratorRuntime.wrap((function _callee11$(_context11){for(;;)switch(_context11.prev=_context11.next){case 0:if(!this.previewEntryError){_context11.next=2;break}throw this.previewEntryError;case 2:if(this.storyStore.projectAnnotations){_context11.next=4;break}throw new Error(Object(esm.a)(_templateObject4||(_templateObject4=PreviewWeb_taggedTemplateLiteral(["Failed to initialize Storybook.\n \n Do you have an error in your `preview.js`? Check your Storybook's browser console for errors."],["Failed to initialize Storybook.\n \n Do you have an error in your \\`preview.js\\`? Check your Storybook's browser console for errors."]))));case 4:if(null===(_global$FEATURES4=window_default.a.FEATURES)||void 0===_global$FEATURES4||!_global$FEATURES4.storyStoreV7){_context11.next=7;break}return _context11.next=7,this.storyStore.cacheAllCSFFiles();case 7:return _context11.abrupt("return",this.storyStore.extract(options));case 8:case"end":return _context11.stop()}}),_callee11,this)}))),function extract(_x7){return _extract.apply(this,arguments)})},{key:"mainStoryCallbacks",value:function mainStoryCallbacks(storyId){var _this7=this;return{showMain:function showMain(){return _this7.view.showMain()},showError:function showError(err){return _this7.renderError(storyId,err)},showException:function showException(err){return _this7.renderException(storyId,err)}}}},{key:"inlineStoryCallbacks",value:function inlineStoryCallbacks(storyId){return{showMain:function showMain(){},showError:function showError(err){return dist_esm.a.error("Error rendering docs story (".concat(storyId,")"),err)},showException:function showException(err){return dist_esm.a.error("Error rendering docs story (".concat(storyId,")"),err)}}}},{key:"renderPreviewEntryError",value:function renderPreviewEntryError(reason,err){_get(_getPrototypeOf(PreviewWeb.prototype),"renderPreviewEntryError",this).call(this,reason,err),this.view.showErrorDisplay(err)}},{key:"renderMissingStory",value:function renderMissingStory(){this.view.showNoPreview(),this.channel.emit(core_events_dist_esm.STORY_MISSING)}},{key:"renderStoryLoadingException",value:function renderStoryLoadingException(storySpecifier,err){dist_esm.a.error("Unable to load story '".concat(storySpecifier,"':")),dist_esm.a.error(err),this.view.showErrorDisplay(err),this.channel.emit(core_events_dist_esm.STORY_MISSING,storySpecifier)}},{key:"renderException",value:function renderException(storyId,err){this.channel.emit(core_events_dist_esm.STORY_THREW_EXCEPTION,err),this.channel.emit(core_events_dist_esm.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:storyId}),err!==core_events_dist_esm.IGNORED_EXCEPTION&&(this.view.showErrorDisplay(err),dist_esm.a.error("Error rendering story '".concat(storyId,"':")),dist_esm.a.error(err))}},{key:"renderError",value:function renderError(storyId,_ref9){var title=_ref9.title,description=_ref9.description;dist_esm.a.error("Error rendering story ".concat(title,": ").concat(description)),this.channel.emit(core_events_dist_esm.STORY_ERRORED,{title:title,description:description}),this.channel.emit(core_events_dist_esm.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:storyId}),this.view.showErrorDisplay({message:title,stack:description})}}]),PreviewWeb}(Preview_Preview),channels_dist_esm=(__webpack_require__("./node_modules/core-js/modules/es.object.from-entries.js"),__webpack_require__("./node_modules/core-js/modules/es.number.is-integer.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/web.url.js"),__webpack_require__("./node_modules/core-js/modules/web.url-search-params.js"),__webpack_require__("./node_modules/@storybook/channels/dist/esm/index.js")),telejson_dist_esm=__webpack_require__("./node_modules/telejson/dist/esm/index.js");function esm_toConsumableArray(arr){return function esm_arrayWithoutHoles(arr){if(Array.isArray(arr))return esm_arrayLikeToArray(arr)}(arr)||esm_iterableToArray(arr)||esm_unsupportedIterableToArray(arr)||function esm_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.")}()}function esm_iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function esm_slicedToArray(arr,i){return esm_arrayWithHoles(arr)||function esm_iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||esm_unsupportedIterableToArray(arr,i)||esm_nonIterableRest()}function esm_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.")}function esm_unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return esm_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?esm_arrayLikeToArray(o,minLen):void 0}}function esm_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i manager ':' preview ',eventString=Object.values(core_events_dist_esm).includes(event.type)?''.concat(event.type,""):''.concat(event.type,"");if(refId&&(event.refId=refId),event.source="preview"===this.config.page?rawEvent.origin:esm_getEventSourceUrl(rawEvent),!event.source)return void dist_esm.c.error("".concat(pageString," received ").concat(eventString," but was unable to determine the source of the event"));var message="".concat(pageString," received ").concat(eventString," (").concat(data.length,")");dist_esm.c.debug.apply(dist_esm.c,[esm_location.origin!==event.source?message:"".concat(message,' (on ').concat(esm_location.origin," from ").concat(event.source,")")].concat(esm_toConsumableArray(event.args))),this.handler(event)}}catch(error){dist_esm.a.error(error)}}}]),PostmsgTransport}(),esm_getEventSourceUrl=function getEventSourceUrl(event){var _frames$filter=esm_toConsumableArray(esm_document.querySelectorAll("iframe[data-is-storybook]")).filter((function(element){try{return element.contentWindow===event.source}catch(err){}var origin,src=element.getAttribute("src");try{origin=new URL(src,esm_document.location).origin}catch(err){return!1}return origin===event.origin})),_frames$filter2=function _toArray(arr){return esm_arrayWithHoles(arr)||esm_iterableToArray(arr)||esm_unsupportedIterableToArray(arr)||esm_nonIterableRest()}(_frames$filter),frame=_frames$filter2[0],remainder=_frames$filter2.slice(1);if(frame&&0===remainder.length){var src=frame.getAttribute("src"),_URL2=new URL(src,esm_document.location),protocol=_URL2.protocol,host=_URL2.host,pathname=_URL2.pathname;return"".concat(protocol,"//").concat(host).concat(pathname)}return remainder.length>0&&dist_esm.a.error("found multiple candidates for event source"),null};__webpack_require__("./node_modules/core-js/modules/es.map.js");function executeLoadable_slicedToArray(arr,i){return function executeLoadable_arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function executeLoadable_iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function executeLoadable_unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return executeLoadable_arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return executeLoadable_arrayLikeToArray(o,minLen)}(arr,i)||function executeLoadable_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.")}()}function executeLoadable_arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:{},decorateStory=_ref.decorateStory,render=_ref.render;if(start_globalWindow&&(start_globalWindow.IS_STORYBOOK=!0),null!=FEATURES&&FEATURES.storyStoreV7)return{forceReRender:removedApi("forceReRender"),getStorybook:removedApi("getStorybook"),configure:removedApi("configure"),clientApi:{addDecorator:removedApi("clientApi.addDecorator"),addParameters:removedApi("clientApi.addParameters"),clearDecorators:removedApi("clientApi.clearDecorators"),addLoader:removedApi("clientApi.addLoader"),setAddon:removedApi("clientApi.setAddon"),getStorybook:removedApi("clientApi.getStorybook"),storiesOf:removedApi("clientApi.storiesOf"),raw:removedApi("raw")}};var channel=function createChannel(_ref5){var page=_ref5.page,transport=new esm_PostmsgTransport({page:page});return new channels_dist_esm.a({transport:transport})}({page:"preview"});addons_dist_esm.a.setChannel(channel);var clientApi=new ClientApi.a,preview=new PreviewWeb_PreviewWeb,initialized=!1,importFn=function importFn(path){return clientApi.importFn(path)};function onStoriesChanged(){var storyIndex=clientApi.getStoryIndex();preview.onStoriesChanged({storyIndex:storyIndex,importFn:importFn})}return clientApi.onImportFnChanged=onStoriesChanged,clientApi.storyStore=preview.storyStore,start_globalWindow&&(start_globalWindow.__STORYBOOK_CLIENT_API__=clientApi,start_globalWindow.__STORYBOOK_ADDONS_CHANNEL__=channel,start_globalWindow.__STORYBOOK_PREVIEW__=preview,start_globalWindow.__STORYBOOK_STORY_STORE__=preview.storyStore),{forceReRender:function forceReRender(){return channel.emit(core_events_dist_esm.default.FORCE_RE_RENDER)},getStorybook:function getStorybook(){return[]},raw:function raw(){},clientApi:clientApi,configure:function configure(framework,loadable,m){(!(arguments.length>3&&void 0!==arguments[3])||arguments[3])&&configureDeprecationWarning(),clientApi.addParameters({framework:framework});var getProjectAnnotations=function getProjectAnnotations(){var _executeLoadableForCh=executeLoadableForChanges(loadable,m),added=_executeLoadableForCh.added,removed=_executeLoadableForCh.removed;return Array.from(added.entries()).forEach((function(_ref2){var _ref3=start_slicedToArray(_ref2,2),fileName=_ref3[0],fileExports=_ref3[1];return clientApi.facade.addStoriesFromExports(fileName,fileExports)})),Array.from(removed.entries()).forEach((function(_ref4){var fileName=start_slicedToArray(_ref4,1)[0];return clientApi.facade.clearFilenameExports(fileName)})),Object.assign({render:render},clientApi.facade.projectAnnotations,{renderToDOM:renderToDOM,applyDecorators:decorateStory})};initialized?(getProjectAnnotations(),onStoriesChanged()):(preview.initialize({getStoryIndex:function getStoryIndex(){return clientApi.getStoryIndex()},importFn:importFn,getProjectAnnotations:getProjectAnnotations}),initialized=!0)}}}dist.toId,ClientApi.a;var globals_globalWindow=window_default.a.window;globals_globalWindow&&(globals_globalWindow.STORYBOOK_ENV="react");var preview_render=__webpack_require__("./node_modules/@storybook/react/dist/esm/client/preview/render.js"),preview_framework="react",api=start(preview_render.b,{render:preview_render.a}),storiesOf=function storiesOf(kind,m){return api.clientApi.storiesOf(kind,m).addParameters({framework:preview_framework})},preview_configure=function configure(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return api.configure.apply(api,[preview_framework].concat(args))},addDecorator=api.clientApi.addDecorator,addParameters=api.clientApi.addParameters,setAddon=(api.clientApi.clearDecorators,api.clientApi.setAddon),preview_forceReRender=api.forceReRender,getStorybook=api.clientApi.getStorybook,raw=api.clientApi.raw},"./node_modules/@storybook/react/dist/esm/client/preview/render.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return render})),__webpack_require__.d(__webpack_exports__,"b",(function(){return renderToDOM}));__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.string.starts-with.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.get-prototype-of.js"),__webpack_require__("./node_modules/core-js/modules/es.reflect.construct.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js");var global__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/global/window.js"),global__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(global__WEBPACK_IMPORTED_MODULE_14__),react__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/react/index.js"),react__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_15__),react_dom__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/react-dom/index.js"),react_dom__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_16__);function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _defineProperties(target,props){for(var i=0;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var GLOBAL_STORYBOOK_PROJECT_ANNOTATIONS={};function setProjectAnnotations(projectAnnotations){var annotations=Array.isArray(projectAnnotations)?projectAnnotations:[projectAnnotations];GLOBAL_STORYBOOK_PROJECT_ANNOTATIONS=function composeConfigs(moduleExportList){var allArgTypeEnhancers=getArrayField(moduleExportList,"argTypesEnhancers");return{parameters:parameters.a.apply(void 0,_toConsumableArray(getField(moduleExportList,"parameters"))),decorators:getArrayField(moduleExportList,"decorators"),args:getObjectField(moduleExportList,"args"),argsEnhancers:getArrayField(moduleExportList,"argsEnhancers"),argTypes:getObjectField(moduleExportList,"argTypes"),argTypesEnhancers:[].concat(_toConsumableArray(allArgTypeEnhancers.filter((function(e){return!e.secondPass}))),_toConsumableArray(allArgTypeEnhancers.filter((function(e){return e.secondPass})))),globals:getObjectField(moduleExportList,"globals"),globalTypes:getObjectField(moduleExportList,"globalTypes"),loaders:getArrayField(moduleExportList,"loaders"),render:getSingletonField(moduleExportList,"render"),renderToDOM:getSingletonField(moduleExportList,"renderToDOM"),applyDecorators:getSingletonField(moduleExportList,"applyDecorators")}}(annotations)}function composeStories(storiesImport,globalConfig,composeStoryFn){var meta=storiesImport.default,stories=(storiesImport.__esModule,storiesImport.__namedExportsOrder,_objectWithoutProperties(storiesImport,_excluded));return Object.entries(stories).reduce((function(storiesMap,_ref){var _ref2=_slicedToArray(_ref,2),exportsName=_ref2[0],story=_ref2[1];return Object(dist.isExportStory)(exportsName,meta)?Object.assign(storiesMap,function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},exportsName,composeStoryFn(story,meta,globalConfig,exportsName))):storiesMap}),{})}var esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js");function testing_setProjectAnnotations(projectAnnotations){setProjectAnnotations(projectAnnotations)}function setGlobalConfig(projectAnnotations){esm.b.warn("setGlobalConfig is deprecated. Use setProjectAnnotations instead."),testing_setProjectAnnotations(projectAnnotations)}var defaultProjectAnnotations={render:__webpack_require__("./node_modules/@storybook/react/dist/esm/client/preview/render.js").a};function testing_composeStory(story,componentAnnotations,projectAnnotations,exportsName){return function composeStory(storyAnnotations,componentAnnotations){var _componentAnnotations,_storyAnnotations$sto,projectAnnotations=arguments.length>2&&void 0!==arguments[2]?arguments[2]:GLOBAL_STORYBOOK_PROJECT_ANNOTATIONS,defaultConfig=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},exportsName=arguments.length>4?arguments[4]:void 0;if(void 0===storyAnnotations)throw new Error("Expected a story but received undefined.");componentAnnotations.title=null!==(_componentAnnotations=componentAnnotations.title)&&void 0!==_componentAnnotations?_componentAnnotations:"ComposedStory";var normalizedComponentAnnotations=Object(normalizeComponentAnnotations.a)(componentAnnotations),storyName=exportsName||storyAnnotations.storyName||(null===(_storyAnnotations$sto=storyAnnotations.story)||void 0===_storyAnnotations$sto?void 0:_storyAnnotations$sto.name)||storyAnnotations.name,normalizedStory=Object(normalizeStory.a)(storyName,storyAnnotations,normalizedComponentAnnotations),normalizedProjectAnnotations=Object(normalizeProjectAnnotations.a)(Object.assign({},projectAnnotations,defaultConfig)),story=Object(prepareStory.a)(normalizedStory,normalizedComponentAnnotations,normalizedProjectAnnotations),defaultGlobals=Object(getValuesFromArgTypes.a)(projectAnnotations.globalTypes),composedStory=function composedStory(extraArgs){var context=Object.assign({},story,{hooks:new hooks.a,globals:defaultGlobals,args:Object.assign({},story.initialArgs,extraArgs)});return story.unboundStoryFn(context)};return composedStory.storyName=storyName,composedStory.args=story.initialArgs,composedStory.play=story.playFunction,composedStory.parameters=story.parameters,composedStory}(story,componentAnnotations,projectAnnotations,defaultProjectAnnotations,exportsName)}function testing_composeStories(csfExports,projectAnnotations){return composeStories(csfExports,projectAnnotations,testing_composeStory)}},"./node_modules/@storybook/store/dist/esm/args.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"f",(function(){return mapArgsToTypes})),__webpack_require__.d(__webpack_exports__,"c",(function(){return combineArgs})),__webpack_require__.d(__webpack_exports__,"g",(function(){return validateOptions})),__webpack_require__.d(__webpack_exports__,"a",(function(){return DEEPLY_EQUAL})),__webpack_require__.d(__webpack_exports__,"d",(function(){return deepDiff})),__webpack_require__.d(__webpack_exports__,"b",(function(){return NO_TARGET_NAME})),__webpack_require__.d(__webpack_exports__,"e",(function(){return groupArgsByTarget}));__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.number.constructor.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.array.find-index.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.array.join.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.array.fill.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js");var _templateObject,_templateObject2,fast_deep_equal__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__("./node_modules/fast-deep-equal/index.js"),fast_deep_equal__WEBPACK_IMPORTED_MODULE_25___default=__webpack_require__.n(fast_deep_equal__WEBPACK_IMPORTED_MODULE_25__),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("./node_modules/lodash/isPlainObject.js"),lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_27___default=__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_27__),ts_dedent__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("./node_modules/ts-dedent/esm/index.js");function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _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.")}()}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _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.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=value.length?res:res.concat(new Array(value.length-update.length).fill(void 0))}return lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_27___default()(value)&&lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_27___default()(update)?Object.keys(Object.assign({},value,update)).reduce((function(acc,key){var diff=deepDiff(null==value?void 0:value[key],null==update?void 0:update[key]);return diff===DEEPLY_EQUAL?acc:Object.assign(acc,_defineProperty({},key,diff))}),{}):update},NO_TARGET_NAME="";function groupArgsByTarget(_ref7){var args=_ref7.args,argTypes=_ref7.argTypes,groupedArgs={};return Object.entries(args).forEach((function(_ref8){var _ref9=_slicedToArray(_ref8,2),name=_ref9[0],value=_ref9[1],_ref10$target=(argTypes[name]||{}).target,target=void 0===_ref10$target?NO_TARGET_NAME:_ref10$target;groupedArgs[target]=groupedArgs[target]||{},groupedArgs[target][name]=value})),groupedArgs}},"./node_modules/@storybook/store/dist/esm/csf/getValuesFromArgTypes.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return getValuesFromArgTypes}));__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:{};return Object.entries(argTypes).reduce((function(acc,_ref){var _ref2=_slicedToArray(_ref,2),arg=_ref2[0],defaultValue=_ref2[1].defaultValue;return void 0!==defaultValue&&(acc[arg]=defaultValue),acc}),{})}},"./node_modules/@storybook/store/dist/esm/csf/normalizeComponentAnnotations.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return normalizeComponentAnnotations}));__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var _storybook_csf__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),_normalizeInputTypes__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@storybook/store/dist/esm/csf/normalizeInputTypes.js");function normalizeComponentAnnotations(defaultExport){var title=arguments.length>1&&void 0!==arguments[1]?arguments[1]:defaultExport.title,importPath=arguments.length>2?arguments[2]:void 0,id=defaultExport.id,argTypes=defaultExport.argTypes;return Object.assign({id:Object(_storybook_csf__WEBPACK_IMPORTED_MODULE_1__.sanitize)(id||title)},defaultExport,{title:title},argTypes&&{argTypes:Object(_normalizeInputTypes__WEBPACK_IMPORTED_MODULE_2__.a)(argTypes)},{parameters:Object.assign({fileName:importPath},defaultExport.parameters)})}},"./node_modules/@storybook/store/dist/esm/csf/normalizeInputTypes.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return normalizeInputTypes}));__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var lodash_mapValues__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/lodash/mapValues.js"),lodash_mapValues__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(lodash_mapValues__WEBPACK_IMPORTED_MODULE_3__),_excluded=["type","control"];function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var normalizeInputType=function normalizeInputType(inputType,key){var type=inputType.type,control=inputType.control,rest=_objectWithoutProperties(inputType,_excluded),normalized=Object.assign({name:key},rest);return type&&(normalized.type=function normalizeType(type){return"string"==typeof type?{name:type}:type}(type)),control?normalized.control=function normalizeControl(control){return"string"==typeof control?{type:control}:control}(control):!1===control&&(normalized.control={disable:!0}),normalized},normalizeInputTypes=function normalizeInputTypes(inputTypes){return lodash_mapValues__WEBPACK_IMPORTED_MODULE_3___default()(inputTypes,normalizeInputType)}},"./node_modules/@storybook/store/dist/esm/csf/normalizeProjectAnnotations.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return normalizeProjectAnnotations}));__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.set.js");var _templateObject,mapValues=__webpack_require__("./node_modules/lodash/mapValues.js"),mapValues_default=__webpack_require__.n(mapValues),esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),dist_esm=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),parameters=__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js");function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var inferArgTypes_inferType=function inferType(value,name,visited){var type=_typeof(value);switch(type){case"boolean":case"string":case"number":case"function":case"symbol":return{name:type}}return value?visited.has(value)?(dist_esm.a.warn(Object(esm.a)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["\n We've detected a cycle in arg '","'. Args should be JSON-serializable.\n\n Consider using the mapping feature or fully custom args:\n - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values\n - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args\n "])),name)),{name:"other",value:"cyclic object"}):(visited.add(value),Array.isArray(value)?{name:"array",value:value.length>0?inferType(value[0],name,new Set(visited)):{name:"other",value:"unknown"}}:{name:"object",value:mapValues_default()(value,(function(field){return inferType(field,name,new Set(visited))}))}):{name:"object",value:{}}},inferArgTypes_inferArgTypes=function inferArgTypes(context){var id=context.id,_context$argTypes=context.argTypes,userArgTypes=void 0===_context$argTypes?{}:_context$argTypes,_context$initialArgs=context.initialArgs,initialArgs=void 0===_context$initialArgs?{}:_context$initialArgs,argTypes=mapValues_default()(initialArgs,(function(arg,key){return{name:key,type:inferArgTypes_inferType(arg,"".concat(id,".").concat(key),new Set)}})),userArgTypesNames=mapValues_default()(userArgTypes,(function(argType,key){return{name:key}}));return Object(parameters.a)(argTypes,userArgTypesNames,userArgTypes)};inferArgTypes_inferArgTypes.secondPass=!0;var filterArgTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/filterArgTypes.js"),inferControls_inferControls=function inferControls(context){var argTypes=context.argTypes,_context$parameters=context.parameters,__isArgsStory=_context$parameters.__isArgsStory,_context$parameters$c=_context$parameters.controls,_context$parameters$c2=(_context$parameters$c=void 0===_context$parameters$c?{}:_context$parameters$c).include,include=void 0===_context$parameters$c2?null:_context$parameters$c2,_context$parameters$c3=_context$parameters$c.exclude,exclude=void 0===_context$parameters$c3?null:_context$parameters$c3,_context$parameters$c4=_context$parameters$c.matchers,matchers=void 0===_context$parameters$c4?{}:_context$parameters$c4;if(!__isArgsStory)return argTypes;var filteredArgTypes=Object(filterArgTypes.a)(argTypes,include,exclude),withControls=mapValues_default()(filteredArgTypes,(function(argType,name){return(null==argType?void 0:argType.type)&&function inferControl(argType,name,matchers){var type=argType.type,options=argType.options;if(type||options){if(matchers.color&&matchers.color.test(name)){var controlType=argType.type.name;if("string"===controlType)return{control:{type:"color"}};dist_esm.a.warn('Addon controls: Control of type color only supports string, received "'.concat(controlType,'" instead'))}if(matchers.date&&matchers.date.test(name))return{control:{type:"date"}};switch(type.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":var value=type.value;return{control:{type:(null==value?void 0:value.length)<=5?"radio":"select"},options:value};case"function":case"symbol":return null;default:return{control:{type:options?"select":"object"}}}}}(argType,name,matchers)}));return Object(parameters.a)(withControls,filteredArgTypes)};inferControls_inferControls.secondPass=!0;var normalizeInputTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/csf/normalizeInputTypes.js"),_excluded=["argTypes","globalTypes","argTypesEnhancers"];function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function normalizeProjectAnnotations(_ref){var argTypes=_ref.argTypes,globalTypes=_ref.globalTypes,argTypesEnhancers=_ref.argTypesEnhancers,annotations=_objectWithoutProperties(_ref,_excluded);return Object.assign({},argTypes&&{argTypes:Object(normalizeInputTypes.a)(argTypes)},globalTypes&&{globalTypes:Object(normalizeInputTypes.a)(globalTypes)},{argTypesEnhancers:[].concat(_toConsumableArray(argTypesEnhancers||[]),[inferArgTypes_inferArgTypes,inferControls_inferControls])},annotations)}},"./node_modules/@storybook/store/dist/esm/csf/normalizeStory.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return normalizeStory}));__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js");var _templateObject,_storybook_csf__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),ts_dedent__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/@storybook/client-logger/dist/esm/index.js"),util_deprecate__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./node_modules/util-deprecate/browser.js"),util_deprecate__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(util_deprecate__WEBPACK_IMPORTED_MODULE_17__),_normalizeInputTypes__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./node_modules/@storybook/store/dist/esm/csf/normalizeInputTypes.js");function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr)||function _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.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i StoryFn.storyName\n- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)\nSee https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.\n"]))),deprecatedStoryAnnotationWarning=util_deprecate__WEBPACK_IMPORTED_MODULE_17___default()((function(){}),deprecatedStoryAnnotation);function normalizeStory(key,storyAnnotations,meta){var userStoryFn,storyObject;"function"==typeof storyAnnotations?(userStoryFn=storyAnnotations,storyObject=storyAnnotations):storyObject=storyAnnotations;var story=storyObject.story;story&&(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_16__.a.debug("deprecated story",story),deprecatedStoryAnnotationWarning());var exportName=Object(_storybook_csf__WEBPACK_IMPORTED_MODULE_14__.storyNameFromExport)(key),name="function"!=typeof storyObject&&storyObject.name||storyObject.storyName||(null==story?void 0:story.name)||exportName,decorators=[].concat(_toConsumableArray(storyObject.decorators||[]),_toConsumableArray((null==story?void 0:story.decorators)||[])),parameters=Object.assign({},null==story?void 0:story.parameters,storyObject.parameters),args=Object.assign({},null==story?void 0:story.args,storyObject.args),argTypes=Object.assign({},null==story?void 0:story.argTypes,storyObject.argTypes),loaders=[].concat(_toConsumableArray(storyObject.loaders||[]),_toConsumableArray((null==story?void 0:story.loaders)||[])),_storyObject2=storyObject,render=_storyObject2.render,play=_storyObject2.play,id=parameters.__id||Object(_storybook_csf__WEBPACK_IMPORTED_MODULE_14__.toId)(meta.id||meta.title,exportName);return Object.assign({id:id,name:name,decorators:decorators,parameters:parameters,args:args,argTypes:Object(_normalizeInputTypes__WEBPACK_IMPORTED_MODULE_18__.a)(argTypes),loaders:loaders},render&&{render:render},userStoryFn&&{userStoryFn:userStoryFn},play&&{play:play})}},"./node_modules/@storybook/store/dist/esm/csf/prepareStory.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return prepareStory}));__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/regenerator-runtime/runtime.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.concat.js"),__webpack_require__("./node_modules/core-js/modules/es.object.assign.js"),__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.promise.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.object.freeze.js");var esm=__webpack_require__("./node_modules/ts-dedent/esm/index.js"),browser=__webpack_require__("./node_modules/util-deprecate/browser.js"),browser_default=__webpack_require__.n(browser),global_window=__webpack_require__("./node_modules/global/window.js"),window_default=__webpack_require__.n(global_window),dist=__webpack_require__("./node_modules/@storybook/csf/dist/index.js"),esm_parameters=__webpack_require__("./node_modules/@storybook/store/dist/esm/parameters.js"),hooks=__webpack_require__("./node_modules/@storybook/addons/dist/esm/hooks.js"),_excluded=["componentId","title","kind","id","name","story","parameters","initialArgs","argTypes"];function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function defaultDecorateStory(storyFn,decorators){var contextStore={},bindWithContext=function bindWithContext(decoratedStoryFn){return function(update){return contextStore.value=Object.assign({},contextStore.value,function sanitizeStoryContextUpdate(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _ref.componentId,_ref.title,_ref.kind,_ref.id,_ref.name,_ref.story,_ref.parameters,_ref.initialArgs,_ref.argTypes,_objectWithoutProperties(_ref,_excluded)}(update)),decoratedStoryFn(contextStore.value)}},decoratedWithContextStore=decorators.reduce((function(story,decorator){return function decorateStory(storyFn,decorator,bindWithContext){var boundStoryFunction=bindWithContext(storyFn);return function(context){return decorator(boundStoryFunction,context)}}(story,decorator,bindWithContext)}),storyFn);return function(context){return contextStore.value=context,decoratedWithContextStore(context)}}var _templateObject,args=__webpack_require__("./node_modules/@storybook/store/dist/esm/args.js"),getValuesFromArgTypes=__webpack_require__("./node_modules/@storybook/store/dist/esm/csf/getValuesFromArgTypes.js");function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _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.")}()}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _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.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0;var passedArgs=Object.assign({},projectAnnotations.args,componentAnnotations.args,storyAnnotations.args),contextForEnhancers={componentId:componentAnnotations.id,title:title,kind:title,id:id,name:name,story:name,component:componentAnnotations.component,subcomponents:componentAnnotations.subcomponents,parameters:parameters,initialArgs:passedArgs,argTypes:passedArgTypes};contextForEnhancers.argTypes=argTypesEnhancers.reduce((function(accumulatedArgTypes,enhancer){return enhancer(Object.assign({},contextForEnhancers,{argTypes:accumulatedArgTypes}))}),contextForEnhancers.argTypes);var defaultArgs=Object(getValuesFromArgTypes.a)(contextForEnhancers.argTypes);Object.keys(defaultArgs).length>0&&argTypeDefaultValueWarning();var initialArgsBeforeEnhancers=Object.assign({},defaultArgs,passedArgs);contextForEnhancers.initialArgs=argsEnhancers.reduce((function(accumulatedArgs,enhancer){return Object.assign({},accumulatedArgs,enhancer(Object.assign({},contextForEnhancers,{initialArgs:accumulatedArgs})))}),initialArgsBeforeEnhancers),null!==(_global$FEATURES=window_default.a.FEATURES)&&void 0!==_global$FEATURES&&_global$FEATURES.breakingChangesV7||(contextForEnhancers.parameters=Object.assign({},contextForEnhancers.parameters,{__id:id,globals:projectAnnotations.globals,globalTypes:projectAnnotations.globalTypes,args:contextForEnhancers.initialArgs,argTypes:contextForEnhancers.argTypes}));var applyLoaders=function(){var _ref=function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(regeneratorRuntime.mark((function _callee(context){var loadResults,loaded;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,Promise.all(loaders.map((function(loader){return loader(context)})));case 2:return loadResults=_context.sent,loaded=Object.assign.apply(Object,[{}].concat(_toConsumableArray(loadResults))),_context.abrupt("return",Object.assign({},context,{loaded:loaded}));case 5:case"end":return _context.stop()}}),_callee)})));return function applyLoaders(_x){return _ref.apply(this,arguments)}}(),undecoratedStoryFn=function undecoratedStoryFn(context){var mappedArgs=Object.entries(context.args).reduce((function(acc,_ref2){var _context$argTypes$key,_ref3=_slicedToArray(_ref2,2),key=_ref3[0],val=_ref3[1],mapping=null===(_context$argTypes$key=context.argTypes[key])||void 0===_context$argTypes$key?void 0:_context$argTypes$key.mapping;return acc[key]=mapping&&val in mapping?mapping[val]:val,acc}),{}),includedArgs=Object.entries(mappedArgs).reduce((function(acc,_ref4){var _ref5=_slicedToArray(_ref4,2),key=_ref5[0],val=_ref5[1],argType=context.argTypes[key]||{};return Object(dist.includeConditionalArg)(argType,mappedArgs,context.globals)&&(acc[key]=val),acc}),{}),includedContext=Object.assign({},context,{args:includedArgs}),_context$parameters$p=context.parameters.passArgsFirst;return void 0===_context$parameters$p||_context$parameters$p?render(includedContext.args,includedContext):render(includedContext)},decoratedStoryFn=Object(hooks.b)(applyDecorators)(undecoratedStoryFn,decorators),playFunction=storyAnnotations.play;return Object.freeze(Object.assign({},contextForEnhancers,{originalStoryFn:render,undecoratedStoryFn:undecoratedStoryFn,unboundStoryFn:function unboundStoryFn(context){var _global$FEATURES2,finalContext=context;if(null!==(_global$FEATURES2=window_default.a.FEATURES)&&void 0!==_global$FEATURES2&&_global$FEATURES2.argTypeTargetsV7){var argsByTarget=Object(args.e)(Object.assign({args:context.args},context));finalContext=Object.assign({},context,{allArgs:context.args,argsByTarget:argsByTarget,args:argsByTarget[args.b]||{}})}return decoratedStoryFn(finalContext)},applyLoaders:applyLoaders,playFunction:playFunction}))}},"./node_modules/@storybook/store/dist/esm/filterArgTypes.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return filterArgTypes}));__webpack_require__("./node_modules/core-js/modules/es.array.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.string.includes.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js"),__webpack_require__("./node_modules/core-js/modules/es.string.match.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js");var lodash_pickBy__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/lodash/pickBy.js"),lodash_pickBy__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(lodash_pickBy__WEBPACK_IMPORTED_MODULE_5__),matches=function matches(name,descriptor){return Array.isArray(descriptor)?descriptor.includes(name):name.match(descriptor)},filterArgTypes=function filterArgTypes(argTypes,include,exclude){return include||exclude?argTypes&&lodash_pickBy__WEBPACK_IMPORTED_MODULE_5___default()(argTypes,(function(argType,key){var name=argType.name||key;return(!include||matches(name,include))&&(!exclude||!matches(name,exclude))})):argTypes}},"./node_modules/@storybook/store/dist/esm/parameters.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return combineParameters}));__webpack_require__("./node_modules/core-js/modules/es.object.to-string.js"),__webpack_require__("./node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("./node_modules/core-js/modules/es.object.entries.js"),__webpack_require__("./node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("./node_modules/core-js/modules/es.array.map.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.description.js"),__webpack_require__("./node_modules/core-js/modules/es.symbol.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.string.iterator.js"),__webpack_require__("./node_modules/core-js/modules/web.dom-collections.iterator.js"),__webpack_require__("./node_modules/core-js/modules/es.array.slice.js"),__webpack_require__("./node_modules/core-js/modules/es.function.name.js"),__webpack_require__("./node_modules/core-js/modules/es.array.from.js"),__webpack_require__("./node_modules/core-js/modules/es.regexp.exec.js");var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/lodash/isPlainObject.js"),lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_16__);function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _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.")}()}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _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.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i...",!0,!0),tokContexts={tc_oTag:tc_oTag,tc_cTag:tc_cTag,tc_expr:tc_expr},tokTypes={jsxName:new TokenType("jsxName"),jsxText:new TokenType("jsxText",{beforeExpr:!0}),jsxTagStart:new TokenType("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new TokenType("jsxTagEnd")};tokTypes.jsxTagStart.updateContext=function(){this.context.push(tc_expr),this.context.push(tc_oTag),this.exprAllowed=!1},tokTypes.jsxTagEnd.updateContext=function(prevType){var out=this.context.pop();out===tc_oTag&&prevType===tt.slash||out===tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===tc_expr):this.exprAllowed=!0},acornJsx={tokContexts:tokContexts,tokTypes:tokTypes},acornJsxMap.set(acorn,acornJsx)}return acornJsx}function getQualifiedJSXName(object){return object?"JSXIdentifier"===object.type?object.name:"JSXNamespacedName"===object.type?object.namespace.name+":"+object.name.name:"JSXMemberExpression"===object.type?getQualifiedJSXName(object.object)+"."+getQualifiedJSXName(object.property):void 0:object}module.exports=function(options){return options=options||{},function(Parser){return function plugin(options,Parser){var acorn=Parser.acorn||__webpack_require__("./node_modules/acorn/dist/acorn.mjs"),acornJsx=getJsxTokens(acorn),tt=acorn.tokTypes,tok=acornJsx.tokTypes,tokContexts=acorn.tokContexts,tc_oTag=acornJsx.tokContexts.tc_oTag,tc_cTag=acornJsx.tokContexts.tc_cTag,tc_expr=acornJsx.tokContexts.tc_expr,isNewLine=acorn.isNewLine,isIdentifierStart=acorn.isIdentifierStart,isIdentifierChar=acorn.isIdentifierChar;return function(_Parser){!function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}(_class,_Parser);var _super=_createSuper(_class);function _class(){return function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,_class),_super.apply(this,arguments)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(_class,[{key:"jsx_readToken",value:function jsx_readToken(){for(var out="",chunkStart=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var ch=this.input.charCodeAt(this.pos);switch(ch){case 60:case 123:return this.pos===this.start?60===ch&&this.exprAllowed?(++this.pos,this.finishToken(tok.jsxTagStart)):this.getTokenFromCode(ch):(out+=this.input.slice(chunkStart,this.pos),this.finishToken(tok.jsxText,out));case 38:out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readEntity(),chunkStart=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===ch?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:isNewLine(ch)?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readNewLine(!0),chunkStart=this.pos):++this.pos}}}},{key:"jsx_readNewLine",value:function jsx_readNewLine(normalizeCRLF){var out,ch=this.input.charCodeAt(this.pos);return++this.pos,13===ch&&10===this.input.charCodeAt(this.pos)?(++this.pos,out=normalizeCRLF?"\n":"\r\n"):out=String.fromCharCode(ch),this.options.locations&&(++this.curLine,this.lineStart=this.pos),out}},{key:"jsx_readString",value:function jsx_readString(quote){for(var out="",chunkStart=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ch=this.input.charCodeAt(this.pos);if(ch===quote)break;38===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readEntity(),chunkStart=this.pos):isNewLine(ch)?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readNewLine(!1),chunkStart=this.pos):++this.pos}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(tt.string,out)}},{key:"jsx_readEntity",value:function jsx_readEntity(){var entity,str="",count=0,ch=this.input[this.pos];"&"!==ch&&this.raise(this.pos,"Entity must start with an ampersand");for(var startPos=++this.pos;this.pos")}var fragmentOrElement=openingElement.name?"Element":"Fragment";return node["opening"+fragmentOrElement]=openingElement,node["closing"+fragmentOrElement]=closingElement,node.children=children,this.type===tt.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(node,"JSX"+fragmentOrElement)}},{key:"jsx_parseText",value:function jsx_parseText(){var node=this.parseLiteral(this.value);return node.type="JSXText",node}},{key:"jsx_parseElement",value:function jsx_parseElement(){var startPos=this.start,startLoc=this.startLoc;return this.next(),this.jsx_parseElementAt(startPos,startLoc)}},{key:"parseExprAtom",value:function parseExprAtom(refShortHandDefaultPos){return this.type===tok.jsxText?this.jsx_parseText():this.type===tok.jsxTagStart?this.jsx_parseElement():_get(_getPrototypeOf(_class.prototype),"parseExprAtom",this).call(this,refShortHandDefaultPos)}},{key:"readToken",value:function readToken(code){var context=this.curContext();if(context===tc_expr)return this.jsx_readToken();if(context===tc_oTag||context===tc_cTag){if(isIdentifierStart(code))return this.jsx_readWord();if(62==code)return++this.pos,this.finishToken(tok.jsxTagEnd);if((34===code||39===code)&&context==tc_oTag)return this.jsx_readString(code)}return 60===code&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(tok.jsxTagStart)):_get(_getPrototypeOf(_class.prototype),"readToken",this).call(this,code)}},{key:"updateContext",value:function updateContext(prevType){if(this.type==tt.braceL){var curContext=this.curContext();curContext==tc_oTag?this.context.push(tokContexts.b_expr):curContext==tc_expr?this.context.push(tokContexts.b_tmpl):_get(_getPrototypeOf(_class.prototype),"updateContext",this).call(this,prevType),this.exprAllowed=!0}else{if(this.type!==tt.slash||prevType!==tok.jsxTagStart)return _get(_getPrototypeOf(_class.prototype),"updateContext",this).call(this,prevType);this.context.length-=2,this.context.push(tc_cTag),this.exprAllowed=!1}}}],[{key:"acornJsx",get:function get(){return acornJsx}}]),_class}(Parser)}({allowNamespaces:!1!==options.allowNamespaces,allowNamespacedObjects:!!options.allowNamespacedObjects},Parser)}},Object.defineProperty(module.exports,"tokTypes",{get:function get_tokTypes(){return getJsxTokens(__webpack_require__("./node_modules/acorn/dist/acorn.mjs")).tokTypes},configurable:!0,enumerable:!0})},"./node_modules/acorn-jsx/xhtml.js":function(module,exports,__webpack_require__){"use strict";module.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},"./node_modules/acorn/dist/acorn.mjs":function(__webpack_module__,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Node",(function(){return Node})),__webpack_require__.d(__webpack_exports__,"Parser",(function(){return Parser})),__webpack_require__.d(__webpack_exports__,"Position",(function(){return Position})),__webpack_require__.d(__webpack_exports__,"SourceLocation",(function(){return SourceLocation})),__webpack_require__.d(__webpack_exports__,"TokContext",(function(){return TokContext})),__webpack_require__.d(__webpack_exports__,"Token",(function(){return Token})),__webpack_require__.d(__webpack_exports__,"TokenType",(function(){return TokenType})),__webpack_require__.d(__webpack_exports__,"defaultOptions",(function(){return defaultOptions})),__webpack_require__.d(__webpack_exports__,"getLineInfo",(function(){return getLineInfo})),__webpack_require__.d(__webpack_exports__,"isIdentifierChar",(function(){return isIdentifierChar})),__webpack_require__.d(__webpack_exports__,"isIdentifierStart",(function(){return isIdentifierStart})),__webpack_require__.d(__webpack_exports__,"isNewLine",(function(){return isNewLine})),__webpack_require__.d(__webpack_exports__,"keywordTypes",(function(){return keywords$1})),__webpack_require__.d(__webpack_exports__,"lineBreak",(function(){return lineBreak})),__webpack_require__.d(__webpack_exports__,"lineBreakG",(function(){return lineBreakG})),__webpack_require__.d(__webpack_exports__,"nonASCIIwhitespace",(function(){return nonASCIIwhitespace})),__webpack_require__.d(__webpack_exports__,"parse",(function(){return parse})),__webpack_require__.d(__webpack_exports__,"parseExpressionAt",(function(){return parseExpressionAt})),__webpack_require__.d(__webpack_exports__,"tokContexts",(function(){return types$1})),__webpack_require__.d(__webpack_exports__,"tokTypes",(function(){return types})),__webpack_require__.d(__webpack_exports__,"tokenizer",(function(){return tokenizer})),__webpack_require__.d(__webpack_exports__,"version",(function(){return version}));var reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",keywords={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",nonASCIIidentifierChars="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");nonASCIIidentifierStartChars=nonASCIIidentifierChars=null;var astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(code,set){for(var pos=65536,i=0;icode)return!1;if((pos+=set[i+1])>=code)return!0}}function isIdentifierStart(code,astral){return code<65?36===code:code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifierStart.test(String.fromCharCode(code)):!1!==astral&&isInAstralSet(code,astralIdentifierStartCodes)))}function isIdentifierChar(code,astral){return code<48?36===code:code<58||!(code<65)&&(code<91||(code<97?95===code:code<123||(code<=65535?code>=170&&nonASCIIidentifier.test(String.fromCharCode(code)):!1!==astral&&(isInAstralSet(code,astralIdentifierStartCodes)||isInAstralSet(code,astralIdentifierCodes)))))}var TokenType=function TokenType(label,conf){void 0===conf&&(conf={}),this.label=label,this.keyword=conf.keyword,this.beforeExpr=!!conf.beforeExpr,this.startsExpr=!!conf.startsExpr,this.isLoop=!!conf.isLoop,this.isAssign=!!conf.isAssign,this.prefix=!!conf.prefix,this.postfix=!!conf.postfix,this.binop=conf.binop||null,this.updateContext=null};function binop(name,prec){return new TokenType(name,{beforeExpr:!0,binop:prec})}var beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords$1={};function kw(name,options){return void 0===options&&(options={}),options.keyword=name,keywords$1[name]=new TokenType(name,options)}var types={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(code,ecma2019String){return 10===code||13===code||!ecma2019String&&(8232===code||8233===code)}var nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ref=Object.prototype,hasOwnProperty=ref.hasOwnProperty,toString=ref.toString;function has(obj,propName){return hasOwnProperty.call(obj,propName)}var isArray=Array.isArray||function(obj){return"[object Array]"===toString.call(obj)};function wordsRegexp(words){return new RegExp("^(?:"+words.replace(/ /g,"|")+")$")}var Position=function Position(line,col){this.line=line,this.column=col};Position.prototype.offset=function offset(n){return new Position(this.line,this.column+n)};var SourceLocation=function SourceLocation(p,start,end){this.start=start,this.end=end,null!==p.sourceFile&&(this.source=p.sourceFile)};function getLineInfo(input,offset){for(var line=1,cur=0;;){lineBreakG.lastIndex=cur;var match=lineBreakG.exec(input);if(!(match&&match.index=2015&&(options.ecmaVersion-=2009),null==options.allowReserved&&(options.allowReserved=options.ecmaVersion<5),isArray(options.onToken)){var tokens=options.onToken;options.onToken=function(token){return tokens.push(token)}}return isArray(options.onComment)&&(options.onComment=function pushComment(options,array){return function(block,text,start,end,startLoc,endLoc){var comment={type:block?"Block":"Line",value:text,start:start,end:end};options.locations&&(comment.loc=new SourceLocation(this,startLoc,endLoc)),options.ranges&&(comment.range=[start,end]),array.push(comment)}}(options,options.onComment)),options}function functionFlags(async,generator){return 2|(async?4:0)|(generator?8:0)}var Parser=function Parser(options,input,startPos){this.options=options=getOptions(options),this.sourceFile=options.sourceFile,this.keywords=wordsRegexp(keywords[options.ecmaVersion>=6?6:"module"===options.sourceType?"5module":5]);var reserved="";if(!0!==options.allowReserved){for(var v=options.ecmaVersion;!(reserved=reservedWords[v]);v--);"module"===options.sourceType&&(reserved+=" await")}this.reservedWords=wordsRegexp(reserved);var reservedStrict=(reserved?reserved+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(reservedStrict),this.reservedWordsStrictBind=wordsRegexp(reservedStrict+" "+reservedWords.strictBind),this.input=String(input),this.containsEsc=!1,startPos?(this.pos=startPos,this.lineStart=this.input.lastIndexOf("\n",startPos-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=types.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===options.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&options.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},prototypeAccessors={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Parser.prototype.parse=function parse(){var node=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(node)},prototypeAccessors.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},prototypeAccessors.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},prototypeAccessors.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},prototypeAccessors.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},prototypeAccessors.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Parser.prototype.inNonArrowFunction=function inNonArrowFunction(){return(2&this.currentThisScope().flags)>0},Parser.extend=function extend(){for(var plugins=[],len=arguments.length;len--;)plugins[len]=arguments[len];for(var cls=this,i=0;i=,?^&]/.test(next)||"!"===next&&"="===this.input.charAt(end+1))}start+=match[0].length,skipWhiteSpace.lastIndex=start,start+=skipWhiteSpace.exec(this.input)[0].length,";"===this.input[start]&&start++}},pp.eat=function(type){return this.type===type&&(this.next(),!0)},pp.isContextual=function(name){return this.type===types.name&&this.value===name&&!this.containsEsc},pp.eatContextual=function(name){return!!this.isContextual(name)&&(this.next(),!0)},pp.expectContextual=function(name){this.eatContextual(name)||this.unexpected()},pp.canInsertSemicolon=function(){return this.type===types.eof||this.type===types.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},pp.semicolon=function(){this.eat(types.semi)||this.insertSemicolon()||this.unexpected()},pp.afterTrailingComma=function(tokType,notNext){if(this.type===tokType)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),notNext||this.next(),!0},pp.expect=function(type){this.eat(type)||this.unexpected()},pp.unexpected=function(pos){this.raise(null!=pos?pos:this.start,"Unexpected token")},pp.checkPatternErrors=function(refDestructuringErrors,isAssign){if(refDestructuringErrors){refDestructuringErrors.trailingComma>-1&&this.raiseRecoverable(refDestructuringErrors.trailingComma,"Comma is not permitted after the rest element");var parens=isAssign?refDestructuringErrors.parenthesizedAssign:refDestructuringErrors.parenthesizedBind;parens>-1&&this.raiseRecoverable(parens,"Parenthesized pattern")}},pp.checkExpressionErrors=function(refDestructuringErrors,andThrow){if(!refDestructuringErrors)return!1;var shorthandAssign=refDestructuringErrors.shorthandAssign,doubleProto=refDestructuringErrors.doubleProto;if(!andThrow)return shorthandAssign>=0||doubleProto>=0;shorthandAssign>=0&&this.raise(shorthandAssign,"Shorthand property assignments are valid only in destructuring patterns"),doubleProto>=0&&this.raiseRecoverable(doubleProto,"Redefinition of __proto__ property")},pp.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(node,!1,!context);case types._class:return context&&this.unexpected(),this.parseClass(node,!0);case types._if:return this.parseIfStatement(node);case types._return:return this.parseReturnStatement(node);case types._switch:return this.parseSwitchStatement(node);case types._throw:return this.parseThrowStatement(node);case types._try:return this.parseTryStatement(node);case types._const:case types._var:return kind=kind||this.value,context&&"var"!==kind&&this.unexpected(),this.parseVarStatement(node,kind);case types._while:return this.parseWhileStatement(node);case types._with:return this.parseWithStatement(node);case types.braceL:return this.parseBlock(!0,node);case types.semi:return this.parseEmptyStatement(node);case types._export:case types._import:if(this.options.ecmaVersion>10&&starttype===types._import){skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input),next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(40===nextCh||46===nextCh)return this.parseExpressionStatement(node,this.parseExpression())}return this.options.allowImportExportEverywhere||(topLevel||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),starttype===types._import?this.parseImport(node):this.parseExport(node,exports);default:if(this.isAsyncFunction())return context&&this.unexpected(),this.next(),this.parseFunctionStatement(node,!0,!context);var maybeName=this.value,expr=this.parseExpression();return starttype===types.name&&"Identifier"===expr.type&&this.eat(types.colon)?this.parseLabeledStatement(node,maybeName,expr,context):this.parseExpressionStatement(node,expr)}},pp$1.parseBreakContinueStatement=function(node,keyword){var isBreak="break"===keyword;this.next(),this.eat(types.semi)||this.insertSemicolon()?node.label=null:this.type!==types.name?this.unexpected():(node.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(types.semi):this.semicolon(),this.finishNode(node,"DoWhileStatement")},pp$1.parseForStatement=function(node){this.next();var awaitAt=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(loopLabel),this.enterScope(0),this.expect(types.parenL),this.type===types.semi)return awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,null);var isLet=this.isLet();if(this.type===types._var||this.type===types._const||isLet){var init$1=this.startNode(),kind=isLet?"let":this.value;return this.next(),this.parseVar(init$1,!0,kind),this.finishNode(init$1,"VariableDeclaration"),(this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===init$1.declarations.length?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.parseForIn(node,init$1)):(awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init$1))}var refDestructuringErrors=new DestructuringErrors,init=this.parseExpression(!0,refDestructuringErrors);return this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===types._in?awaitAt>-1&&this.unexpected(awaitAt):node.await=awaitAt>-1),this.toAssignable(init,!1,refDestructuringErrors),this.checkLVal(init),this.parseForIn(node,init)):(this.checkExpressionErrors(refDestructuringErrors,!0),awaitAt>-1&&this.unexpected(awaitAt),this.parseFor(node,init))},pp$1.parseFunctionStatement=function(node,isAsync,declarationPosition){return this.next(),this.parseFunction(node,FUNC_STATEMENT|(declarationPosition?0:FUNC_HANGING_STATEMENT),!1,isAsync)},pp$1.parseIfStatement=function(node){return this.next(),node.test=this.parseParenExpression(),node.consequent=this.parseStatement("if"),node.alternate=this.eat(types._else)?this.parseStatement("if"):null,this.finishNode(node,"IfStatement")},pp$1.parseReturnStatement=function(node){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(types.semi)||this.insertSemicolon()?node.argument=null:(node.argument=this.parseExpression(),this.semicolon()),this.finishNode(node,"ReturnStatement")},pp$1.parseSwitchStatement=function(node){var cur;this.next(),node.discriminant=this.parseParenExpression(),node.cases=[],this.expect(types.braceL),this.labels.push(switchLabel),this.enterScope(0);for(var sawDefault=!1;this.type!==types.braceR;)if(this.type===types._case||this.type===types._default){var isCase=this.type===types._case;cur&&this.finishNode(cur,"SwitchCase"),node.cases.push(cur=this.startNode()),cur.consequent=[],this.next(),isCase?cur.test=this.parseExpression():(sawDefault&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),sawDefault=!0,cur.test=null),this.expect(types.colon)}else cur||this.unexpected(),cur.consequent.push(this.parseStatement(null));return this.exitScope(),cur&&this.finishNode(cur,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(node,"SwitchStatement")},pp$1.parseThrowStatement=function(node){return this.next(),lineBreak.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),node.argument=this.parseExpression(),this.semicolon(),this.finishNode(node,"ThrowStatement")};var empty=[];pp$1.parseTryStatement=function(node){if(this.next(),node.block=this.parseBlock(),node.handler=null,this.type===types._catch){var clause=this.startNode();if(this.next(),this.eat(types.parenL)){clause.param=this.parseBindingAtom();var simple="Identifier"===clause.param.type;this.enterScope(simple?32:0),this.checkLVal(clause.param,simple?4:2),this.expect(types.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),clause.param=null,this.enterScope(0);clause.body=this.parseBlock(!1),this.exitScope(),node.handler=this.finishNode(clause,"CatchClause")}return node.finalizer=this.eat(types._finally)?this.parseBlock():null,node.handler||node.finalizer||this.raise(node.start,"Missing catch or finally clause"),this.finishNode(node,"TryStatement")},pp$1.parseVarStatement=function(node,kind){return this.next(),this.parseVar(node,!1,kind),this.semicolon(),this.finishNode(node,"VariableDeclaration")},pp$1.parseWhileStatement=function(node){return this.next(),node.test=this.parseParenExpression(),this.labels.push(loopLabel),node.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(node,"WhileStatement")},pp$1.parseWithStatement=function(node){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),node.object=this.parseParenExpression(),node.body=this.parseStatement("with"),this.finishNode(node,"WithStatement")},pp$1.parseEmptyStatement=function(node){return this.next(),this.finishNode(node,"EmptyStatement")},pp$1.parseLabeledStatement=function(node,maybeName,expr,context){for(var i$1=0,list=this.labels;i$1=0;i--){var label$1=this.labels[i];if(label$1.statementStart!==node.start)break;label$1.statementStart=this.start,label$1.kind=kind}return this.labels.push({name:maybeName,kind:kind,statementStart:this.start}),node.body=this.parseStatement(context?-1===context.indexOf("label")?context+"label":context:"label"),this.labels.pop(),node.label=expr,this.finishNode(node,"LabeledStatement")},pp$1.parseExpressionStatement=function(node,expr){return node.expression=expr,this.semicolon(),this.finishNode(node,"ExpressionStatement")},pp$1.parseBlock=function(createNewLexicalScope,node,exitStrict){for(void 0===createNewLexicalScope&&(createNewLexicalScope=!0),void 0===node&&(node=this.startNode()),node.body=[],this.expect(types.braceL),createNewLexicalScope&&this.enterScope(0);this.type!==types.braceR;){var stmt=this.parseStatement(null);node.body.push(stmt)}return exitStrict&&(this.strict=!1),this.next(),createNewLexicalScope&&this.exitScope(),this.finishNode(node,"BlockStatement")},pp$1.parseFor=function(node,init){return node.init=init,this.expect(types.semi),node.test=this.type===types.semi?null:this.parseExpression(),this.expect(types.semi),node.update=this.type===types.parenR?null:this.parseExpression(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,"ForStatement")},pp$1.parseForIn=function(node,init){var isForIn=this.type===types._in;return this.next(),"VariableDeclaration"===init.type&&null!=init.declarations[0].init&&(!isForIn||this.options.ecmaVersion<8||this.strict||"var"!==init.kind||"Identifier"!==init.declarations[0].id.type)?this.raise(init.start,(isForIn?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===init.type&&this.raise(init.start,"Invalid left-hand side in for-loop"),node.left=init,node.right=isForIn?this.parseExpression():this.parseMaybeAssign(),this.expect(types.parenR),node.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(node,isForIn?"ForInStatement":"ForOfStatement")},pp$1.parseVar=function(node,isFor,kind){for(node.declarations=[],node.kind=kind;;){var decl=this.startNode();if(this.parseVarId(decl,kind),this.eat(types.eq)?decl.init=this.parseMaybeAssign(isFor):"const"!==kind||this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===decl.id.type||isFor&&(this.type===types._in||this.isContextual("of"))?decl.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),node.declarations.push(this.finishNode(decl,"VariableDeclarator")),!this.eat(types.comma))break}return node},pp$1.parseVarId=function(decl,kind){decl.id=this.parseBindingAtom(),this.checkLVal(decl.id,"var"===kind?1:2,!1)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2;pp$1.parseFunction=function(node,statement,allowExpressionBody,isAsync){this.initFunction(node),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!isAsync)&&(this.type===types.star&&statement&FUNC_HANGING_STATEMENT&&this.unexpected(),node.generator=this.eat(types.star)),this.options.ecmaVersion>=8&&(node.async=!!isAsync),statement&FUNC_STATEMENT&&(node.id=4&statement&&this.type!==types.name?null:this.parseIdent(),!node.id||statement&FUNC_HANGING_STATEMENT||this.checkLVal(node.id,this.strict||node.generator||node.async?this.treatFunctionsAsVar?1:2:3));var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(node.async,node.generator)),statement&FUNC_STATEMENT||(node.id=this.type===types.name?this.parseIdent():null),this.parseFunctionParams(node),this.parseFunctionBody(node,allowExpressionBody,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,statement&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")},pp$1.parseFunctionParams=function(node){this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},pp$1.parseClass=function(node,isStatement){this.next();var oldStrict=this.strict;this.strict=!0,this.parseClassId(node,isStatement),this.parseClassSuper(node);var classBody=this.startNode(),hadConstructor=!1;for(classBody.body=[],this.expect(types.braceL);this.type!==types.braceR;){var element=this.parseClassElement(null!==node.superClass);element&&(classBody.body.push(element),"MethodDefinition"===element.type&&"constructor"===element.kind&&(hadConstructor&&this.raise(element.start,"Duplicate constructor in the same class"),hadConstructor=!0))}return this.strict=oldStrict,this.next(),node.body=this.finishNode(classBody,"ClassBody"),this.finishNode(node,isStatement?"ClassDeclaration":"ClassExpression")},pp$1.parseClassElement=function(constructorAllowsSuper){var this$1=this;if(this.eat(types.semi))return null;var method=this.startNode(),tryContextual=function(k,noLineBreak){void 0===noLineBreak&&(noLineBreak=!1);var start=this$1.start,startLoc=this$1.startLoc;return!!this$1.eatContextual(k)&&(!(this$1.type===types.parenL||noLineBreak&&this$1.canInsertSemicolon())||(method.key&&this$1.unexpected(),method.computed=!1,method.key=this$1.startNodeAt(start,startLoc),method.key.name=k,this$1.finishNode(method.key,"Identifier"),!1))};method.kind="method",method.static=tryContextual("static");var isGenerator=this.eat(types.star),isAsync=!1;isGenerator||(this.options.ecmaVersion>=8&&tryContextual("async",!0)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star)):tryContextual("get")?method.kind="get":tryContextual("set")&&(method.kind="set")),method.key||this.parsePropertyName(method);var key=method.key,allowsDirectSuper=!1;return method.computed||method.static||!("Identifier"===key.type&&"constructor"===key.name||"Literal"===key.type&&"constructor"===key.value)?method.static&&"Identifier"===key.type&&"prototype"===key.name&&this.raise(key.start,"Classes may not have a static property named prototype"):("method"!==method.kind&&this.raise(key.start,"Constructor can't have get/set modifier"),isGenerator&&this.raise(key.start,"Constructor can't be a generator"),isAsync&&this.raise(key.start,"Constructor can't be an async method"),method.kind="constructor",allowsDirectSuper=constructorAllowsSuper),this.parseClassMethod(method,isGenerator,isAsync,allowsDirectSuper),"get"===method.kind&&0!==method.value.params.length&&this.raiseRecoverable(method.value.start,"getter should have no params"),"set"===method.kind&&1!==method.value.params.length&&this.raiseRecoverable(method.value.start,"setter should have exactly one param"),"set"===method.kind&&"RestElement"===method.value.params[0].type&&this.raiseRecoverable(method.value.params[0].start,"Setter cannot use rest params"),method},pp$1.parseClassMethod=function(method,isGenerator,isAsync,allowsDirectSuper){return method.value=this.parseMethod(isGenerator,isAsync,allowsDirectSuper),this.finishNode(method,"MethodDefinition")},pp$1.parseClassId=function(node,isStatement){this.type===types.name?(node.id=this.parseIdent(),isStatement&&this.checkLVal(node.id,2,!1)):(!0===isStatement&&this.unexpected(),node.id=null)},pp$1.parseClassSuper=function(node){node.superClass=this.eat(types._extends)?this.parseExprSubscripts():null},pp$1.parseExport=function(node,exports){if(this.next(),this.eat(types.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(node.exported=this.parseIdent(!0),this.checkExport(exports,node.exported.name,this.lastTokStart)):node.exported=null),this.expectContextual("from"),this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom(),this.semicolon(),this.finishNode(node,"ExportAllDeclaration");if(this.eat(types._default)){var isAsync;if(this.checkExport(exports,"default",this.lastTokStart),this.type===types._function||(isAsync=this.isAsyncFunction())){var fNode=this.startNode();this.next(),isAsync&&this.next(),node.declaration=this.parseFunction(fNode,4|FUNC_STATEMENT,!1,isAsync)}else if(this.type===types._class){var cNode=this.startNode();node.declaration=this.parseClass(cNode,"nullableID")}else node.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(node,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())node.declaration=this.parseStatement(null),"VariableDeclaration"===node.declaration.type?this.checkVariableExport(exports,node.declaration.declarations):this.checkExport(exports,node.declaration.id.name,node.declaration.id.start),node.specifiers=[],node.source=null;else{if(node.declaration=null,node.specifiers=this.parseExportSpecifiers(exports),this.eatContextual("from"))this.type!==types.string&&this.unexpected(),node.source=this.parseExprAtom();else{for(var i=0,list=node.specifiers;i=6&&node)switch(node.type){case"Identifier":this.inAsync&&"await"===node.name&&this.raise(node.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":node.type="ObjectPattern",refDestructuringErrors&&this.checkPatternErrors(refDestructuringErrors,!0);for(var i=0,list=node.properties;i=8&&!containsEsc&&"async"===id.name&&!this.canInsertSemicolon()&&this.eat(types._function))return this.parseFunction(this.startNodeAt(startPos,startLoc),0,!1,!0);if(canBeArrow&&!this.canInsertSemicolon()){if(this.eat(types.arrow))return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!1);if(this.options.ecmaVersion>=8&&"async"===id.name&&this.type===types.name&&!containsEsc)return id=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(types.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],!0)}return id;case types.regexp:var value=this.value;return(node=this.parseLiteral(value.value)).regex={pattern:value.pattern,flags:value.flags},node;case types.num:case types.string:return this.parseLiteral(this.value);case types._null:case types._true:case types._false:return(node=this.startNode()).value=this.type===types._null?null:this.type===types._true,node.raw=this.type.keyword,this.next(),this.finishNode(node,"Literal");case types.parenL:var start=this.start,expr=this.parseParenAndDistinguishExpression(canBeArrow);return refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&!this.isSimpleAssignTarget(expr)&&(refDestructuringErrors.parenthesizedAssign=start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=start)),expr;case types.bracketL:return node=this.startNode(),this.next(),node.elements=this.parseExprList(types.bracketR,!0,!0,refDestructuringErrors),this.finishNode(node,"ArrayExpression");case types.braceL:return this.parseObj(!1,refDestructuringErrors);case types._function:return node=this.startNode(),this.next(),this.parseFunction(node,0);case types._class:return this.parseClass(this.startNode(),!1);case types._new:return this.parseNew();case types.backQuote:return this.parseTemplate();case types._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},pp$3.parseExprImport=function(){var node=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var meta=this.parseIdent(!0);switch(this.type){case types.parenL:return this.parseDynamicImport(node);case types.dot:return node.meta=meta,this.parseImportMeta(node);default:this.unexpected()}},pp$3.parseDynamicImport=function(node){if(this.next(),node.source=this.parseMaybeAssign(),!this.eat(types.parenR)){var errorPos=this.start;this.eat(types.comma)&&this.eat(types.parenR)?this.raiseRecoverable(errorPos,"Trailing comma is not allowed in import()"):this.unexpected(errorPos)}return this.finishNode(node,"ImportExpression")},pp$3.parseImportMeta=function(node){this.next();var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"meta"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for import is 'import.meta'"),containsEsc&&this.raiseRecoverable(node.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(node.start,"Cannot use 'import.meta' outside a module"),this.finishNode(node,"MetaProperty")},pp$3.parseLiteral=function(value){var node=this.startNode();return node.value=value,node.raw=this.input.slice(this.start,this.end),110===node.raw.charCodeAt(node.raw.length-1)&&(node.bigint=node.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(node,"Literal")},pp$3.parseParenExpression=function(){this.expect(types.parenL);var val=this.parseExpression();return this.expect(types.parenR),val},pp$3.parseParenAndDistinguishExpression=function(canBeArrow){var val,startPos=this.start,startLoc=this.startLoc,allowTrailingComma=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var spreadStart,innerStartPos=this.start,innerStartLoc=this.startLoc,exprList=[],first=!0,lastIsComma=!1,refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==types.parenR;){if(first?first=!1:this.expect(types.comma),allowTrailingComma&&this.afterTrailingComma(types.parenR,!0)){lastIsComma=!0;break}if(this.type===types.ellipsis){spreadStart=this.start,exprList.push(this.parseParenItem(this.parseRestBinding())),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}exprList.push(this.parseMaybeAssign(!1,refDestructuringErrors,this.parseParenItem))}var innerEndPos=this.start,innerEndLoc=this.startLoc;if(this.expect(types.parenR),canBeArrow&&!this.canInsertSemicolon()&&this.eat(types.arrow))return this.checkPatternErrors(refDestructuringErrors,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.parseParenArrowList(startPos,startLoc,exprList);exprList.length&&!lastIsComma||this.unexpected(this.lastTokStart),spreadStart&&this.unexpected(spreadStart),this.checkExpressionErrors(refDestructuringErrors,!0),this.yieldPos=oldYieldPos||this.yieldPos,this.awaitPos=oldAwaitPos||this.awaitPos,exprList.length>1?((val=this.startNodeAt(innerStartPos,innerStartLoc)).expressions=exprList,this.finishNodeAt(val,"SequenceExpression",innerEndPos,innerEndLoc)):val=exprList[0]}else val=this.parseParenExpression();if(this.options.preserveParens){var par=this.startNodeAt(startPos,startLoc);return par.expression=val,this.finishNode(par,"ParenthesizedExpression")}return val},pp$3.parseParenItem=function(item){return item},pp$3.parseParenArrowList=function(startPos,startLoc,exprList){return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList)};var empty$1=[];pp$3.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var node=this.startNode(),meta=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(types.dot)){node.meta=meta;var containsEsc=this.containsEsc;return node.property=this.parseIdent(!0),"target"!==node.property.name&&this.raiseRecoverable(node.property.start,"The only valid meta property for new is 'new.target'"),containsEsc&&this.raiseRecoverable(node.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(node.start,"'new.target' can only be used in functions"),this.finishNode(node,"MetaProperty")}var startPos=this.start,startLoc=this.startLoc,isImport=this.type===types._import;return node.callee=this.parseSubscripts(this.parseExprAtom(),startPos,startLoc,!0),isImport&&"ImportExpression"===node.callee.type&&this.raise(startPos,"Cannot use new with import()"),this.eat(types.parenL)?node.arguments=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,!1):node.arguments=empty$1,this.finishNode(node,"NewExpression")},pp$3.parseTemplateElement=function(ref){var isTagged=ref.isTagged,elem=this.startNode();return this.type===types.invalidTemplate?(isTagged||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),elem.value={raw:this.value,cooked:null}):elem.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),elem.tail=this.type===types.backQuote,this.finishNode(elem,"TemplateElement")},pp$3.parseTemplate=function(ref){void 0===ref&&(ref={});var isTagged=ref.isTagged;void 0===isTagged&&(isTagged=!1);var node=this.startNode();this.next(),node.expressions=[];var curElt=this.parseTemplateElement({isTagged:isTagged});for(node.quasis=[curElt];!curElt.tail;)this.type===types.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(types.dollarBraceL),node.expressions.push(this.parseExpression()),this.expect(types.braceR),node.quasis.push(curElt=this.parseTemplateElement({isTagged:isTagged}));return this.next(),this.finishNode(node,"TemplateLiteral")},pp$3.isAsyncProp=function(prop){return!prop.computed&&"Identifier"===prop.key.type&&"async"===prop.key.name&&(this.type===types.name||this.type===types.num||this.type===types.string||this.type===types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))},pp$3.parseObj=function(isPattern,refDestructuringErrors){var node=this.startNode(),first=!0,propHash={};for(node.properties=[],this.next();!this.eat(types.braceR);){if(first)first=!1;else if(this.expect(types.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(types.braceR))break;var prop=this.parseProperty(isPattern,refDestructuringErrors);isPattern||this.checkPropClash(prop,propHash,refDestructuringErrors),node.properties.push(prop)}return this.finishNode(node,isPattern?"ObjectPattern":"ObjectExpression")},pp$3.parseProperty=function(isPattern,refDestructuringErrors){var isGenerator,isAsync,startPos,startLoc,prop=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(types.ellipsis))return isPattern?(prop.argument=this.parseIdent(!1),this.type===types.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(prop,"RestElement")):(this.type===types.parenL&&refDestructuringErrors&&(refDestructuringErrors.parenthesizedAssign<0&&(refDestructuringErrors.parenthesizedAssign=this.start),refDestructuringErrors.parenthesizedBind<0&&(refDestructuringErrors.parenthesizedBind=this.start)),prop.argument=this.parseMaybeAssign(!1,refDestructuringErrors),this.type===types.comma&&refDestructuringErrors&&refDestructuringErrors.trailingComma<0&&(refDestructuringErrors.trailingComma=this.start),this.finishNode(prop,"SpreadElement"));this.options.ecmaVersion>=6&&(prop.method=!1,prop.shorthand=!1,(isPattern||refDestructuringErrors)&&(startPos=this.start,startLoc=this.startLoc),isPattern||(isGenerator=this.eat(types.star)));var containsEsc=this.containsEsc;return this.parsePropertyName(prop),!isPattern&&!containsEsc&&this.options.ecmaVersion>=8&&!isGenerator&&this.isAsyncProp(prop)?(isAsync=!0,isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star),this.parsePropertyName(prop,refDestructuringErrors)):isAsync=!1,this.parsePropertyValue(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc),this.finishNode(prop,"Property")},pp$3.parsePropertyValue=function(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc){if((isGenerator||isAsync)&&this.type===types.colon&&this.unexpected(),this.eat(types.colon))prop.value=isPattern?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,refDestructuringErrors),prop.kind="init";else if(this.options.ecmaVersion>=6&&this.type===types.parenL)isPattern&&this.unexpected(),prop.kind="init",prop.method=!0,prop.value=this.parseMethod(isGenerator,isAsync);else if(isPattern||containsEsc||!(this.options.ecmaVersion>=5)||prop.computed||"Identifier"!==prop.key.type||"get"!==prop.key.name&&"set"!==prop.key.name||this.type===types.comma||this.type===types.braceR||this.type===types.eq)this.options.ecmaVersion>=6&&!prop.computed&&"Identifier"===prop.key.type?((isGenerator||isAsync)&&this.unexpected(),this.checkUnreserved(prop.key),"await"!==prop.key.name||this.awaitIdentPos||(this.awaitIdentPos=startPos),prop.kind="init",isPattern?prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key):this.type===types.eq&&refDestructuringErrors?(refDestructuringErrors.shorthandAssign<0&&(refDestructuringErrors.shorthandAssign=this.start),prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key)):prop.value=prop.key,prop.shorthand=!0):this.unexpected();else{(isGenerator||isAsync)&&this.unexpected(),prop.kind=prop.key.name,this.parsePropertyName(prop),prop.value=this.parseMethod(!1);var paramCount="get"===prop.kind?0:1;if(prop.value.params.length!==paramCount){var start=prop.value.start;"get"===prop.kind?this.raiseRecoverable(start,"getter should have no params"):this.raiseRecoverable(start,"setter should have exactly one param")}else"set"===prop.kind&&"RestElement"===prop.value.params[0].type&&this.raiseRecoverable(prop.value.params[0].start,"Setter cannot use rest params")}},pp$3.parsePropertyName=function(prop){if(this.options.ecmaVersion>=6){if(this.eat(types.bracketL))return prop.computed=!0,prop.key=this.parseMaybeAssign(),this.expect(types.bracketR),prop.key;prop.computed=!1}return prop.key=this.type===types.num||this.type===types.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},pp$3.initFunction=function(node){node.id=null,this.options.ecmaVersion>=6&&(node.generator=node.expression=!1),this.options.ecmaVersion>=8&&(node.async=!1)},pp$3.parseMethod=function(isGenerator,isAsync,allowDirectSuper){var node=this.startNode(),oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.initFunction(node),this.options.ecmaVersion>=6&&(node.generator=isGenerator),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|functionFlags(isAsync,node.generator)|(allowDirectSuper?128:0)),this.expect(types.parenL),node.params=this.parseBindingList(types.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(node,!1,!0),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"FunctionExpression")},pp$3.parseArrowExpression=function(node,params,isAsync){var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;return this.enterScope(16|functionFlags(isAsync,!1)),this.initFunction(node),this.options.ecmaVersion>=8&&(node.async=!!isAsync),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,node.params=this.toAssignableList(params,!0),this.parseFunctionBody(node,!0,!1),this.yieldPos=oldYieldPos,this.awaitPos=oldAwaitPos,this.awaitIdentPos=oldAwaitIdentPos,this.finishNode(node,"ArrowFunctionExpression")},pp$3.parseFunctionBody=function(node,isArrowFunction,isMethod){var isExpression=isArrowFunction&&this.type!==types.braceL,oldStrict=this.strict,useStrict=!1;if(isExpression)node.body=this.parseMaybeAssign(),node.expression=!0,this.checkParams(node,!1);else{var nonSimple=this.options.ecmaVersion>=7&&!this.isSimpleParamList(node.params);oldStrict&&!nonSimple||(useStrict=this.strictDirective(this.end))&&nonSimple&&this.raiseRecoverable(node.start,"Illegal 'use strict' directive in function with non-simple parameter list");var oldLabels=this.labels;this.labels=[],useStrict&&(this.strict=!0),this.checkParams(node,!oldStrict&&!useStrict&&!isArrowFunction&&!isMethod&&this.isSimpleParamList(node.params)),this.strict&&node.id&&this.checkLVal(node.id,5),node.body=this.parseBlock(!1,void 0,useStrict&&!oldStrict),node.expression=!1,this.adaptDirectivePrologue(node.body.body),this.labels=oldLabels}this.exitScope()},pp$3.isSimpleParamList=function(params){for(var i=0,list=params;i-1||scope.functions.indexOf(name)>-1||scope.var.indexOf(name)>-1,scope.lexical.push(name),this.inModule&&1&scope.flags&&delete this.undefinedExports[name]}else if(4===bindingType){this.currentScope().lexical.push(name)}else if(3===bindingType){var scope$2=this.currentScope();redeclared=this.treatFunctionsAsVar?scope$2.lexical.indexOf(name)>-1:scope$2.lexical.indexOf(name)>-1||scope$2.var.indexOf(name)>-1,scope$2.functions.push(name)}else for(var i=this.scopeStack.length-1;i>=0;--i){var scope$3=this.scopeStack[i];if(scope$3.lexical.indexOf(name)>-1&&!(32&scope$3.flags&&scope$3.lexical[0]===name)||!this.treatFunctionsAsVarInScope(scope$3)&&scope$3.functions.indexOf(name)>-1){redeclared=!0;break}if(scope$3.var.push(name),this.inModule&&1&scope$3.flags&&delete this.undefinedExports[name],3&scope$3.flags)break}redeclared&&this.raiseRecoverable(pos,"Identifier '"+name+"' has already been declared")},pp$5.checkLocalExport=function(id){-1===this.scopeStack[0].lexical.indexOf(id.name)&&-1===this.scopeStack[0].var.indexOf(id.name)&&(this.undefinedExports[id.name]=id)},pp$5.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pp$5.currentVarScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(3&scope.flags)return scope}},pp$5.currentThisScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(3&scope.flags&&!(16&scope.flags))return scope}};var Node=function Node(parser,pos,loc){this.type="",this.start=pos,this.end=0,parser.options.locations&&(this.loc=new SourceLocation(parser,loc)),parser.options.directSourceFile&&(this.sourceFile=parser.options.directSourceFile),parser.options.ranges&&(this.range=[pos,0])},pp$6=Parser.prototype;function finishNodeAt(node,type,pos,loc){return node.type=type,node.end=pos,this.options.locations&&(node.loc.end=loc),this.options.ranges&&(node.range[1]=pos),node}pp$6.startNode=function(){return new Node(this,this.start,this.startLoc)},pp$6.startNodeAt=function(pos,loc){return new Node(this,pos,loc)},pp$6.finishNode=function(node,type){return finishNodeAt.call(this,node,type,this.lastTokEnd,this.lastTokEndLoc)},pp$6.finishNodeAt=function(node,type,pos,loc){return finishNodeAt.call(this,node,type,pos,loc)};var TokContext=function TokContext(token,isExpr,preserveSpace,override,generator){this.token=token,this.isExpr=!!isExpr,this.preserveSpace=!!preserveSpace,this.override=override,this.generator=!!generator},types$1={b_stat:new TokContext("{",!1),b_expr:new TokContext("{",!0),b_tmpl:new TokContext("${",!1),p_stat:new TokContext("(",!1),p_expr:new TokContext("(",!0),q_tmpl:new TokContext("`",!0,!0,(function(p){return p.tryReadTemplateToken()})),f_stat:new TokContext("function",!1),f_expr:new TokContext("function",!0),f_expr_gen:new TokContext("function",!0,!1,null,!0),f_gen:new TokContext("function",!1,!1,null,!0)},pp$7=Parser.prototype;pp$7.initialContext=function(){return[types$1.b_stat]},pp$7.braceIsBlock=function(prevType){var parent=this.curContext();return parent===types$1.f_expr||parent===types$1.f_stat||(prevType!==types.colon||parent!==types$1.b_stat&&parent!==types$1.b_expr?prevType===types._return||prevType===types.name&&this.exprAllowed?lineBreak.test(this.input.slice(this.lastTokEnd,this.start)):prevType===types._else||prevType===types.semi||prevType===types.eof||prevType===types.parenR||prevType===types.arrow||(prevType===types.braceL?parent===types$1.b_stat:prevType!==types._var&&prevType!==types._const&&prevType!==types.name&&!this.exprAllowed):!parent.isExpr)},pp$7.inGeneratorContext=function(){for(var i=this.context.length-1;i>=1;i--){var context=this.context[i];if("function"===context.token)return context.generator}return!1},pp$7.updateContext=function(prevType){var update,type=this.type;type.keyword&&prevType===types.dot?this.exprAllowed=!1:(update=type.updateContext)?update.call(this,prevType):this.exprAllowed=type.beforeExpr},types.parenR.updateContext=types.braceR.updateContext=function(){if(1!==this.context.length){var out=this.context.pop();out===types$1.b_stat&&"function"===this.curContext().token&&(out=this.context.pop()),this.exprAllowed=!out.isExpr}else this.exprAllowed=!0},types.braceL.updateContext=function(prevType){this.context.push(this.braceIsBlock(prevType)?types$1.b_stat:types$1.b_expr),this.exprAllowed=!0},types.dollarBraceL.updateContext=function(){this.context.push(types$1.b_tmpl),this.exprAllowed=!0},types.parenL.updateContext=function(prevType){var statementParens=prevType===types._if||prevType===types._for||prevType===types._with||prevType===types._while;this.context.push(statementParens?types$1.p_stat:types$1.p_expr),this.exprAllowed=!0},types.incDec.updateContext=function(){},types._function.updateContext=types._class.updateContext=function(prevType){!prevType.beforeExpr||prevType===types.semi||prevType===types._else||prevType===types._return&&lineBreak.test(this.input.slice(this.lastTokEnd,this.start))||(prevType===types.colon||prevType===types.braceL)&&this.curContext()===types$1.b_stat?this.context.push(types$1.f_stat):this.context.push(types$1.f_expr),this.exprAllowed=!1},types.backQuote.updateContext=function(){this.curContext()===types$1.q_tmpl?this.context.pop():this.context.push(types$1.q_tmpl),this.exprAllowed=!1},types.star.updateContext=function(prevType){if(prevType===types._function){var index=this.context.length-1;this.context[index]===types$1.f_expr?this.context[index]=types$1.f_expr_gen:this.context[index]=types$1.f_gen}this.exprAllowed=!0},types.name.updateContext=function(prevType){var allowed=!1;this.options.ecmaVersion>=6&&prevType!==types.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(allowed=!0),this.exprAllowed=allowed};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic",unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:ecma10BinaryProperties},unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ecma9ScriptValues="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:ecma10ScriptValues+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},data={};function buildUnicodeData(ecmaVersion){var d=data[ecmaVersion]={binary:wordsRegexp(unicodeBinaryProperties[ecmaVersion]+" "+unicodeGeneralCategoryValues),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[ecmaVersion])}};d.nonBinary.Script_Extensions=d.nonBinary.Script,d.nonBinary.gc=d.nonBinary.General_Category,d.nonBinary.sc=d.nonBinary.Script,d.nonBinary.scx=d.nonBinary.Script_Extensions}buildUnicodeData(9),buildUnicodeData(10),buildUnicodeData(11);var pp$8=Parser.prototype,RegExpValidationState=function RegExpValidationState(parser){this.parser=parser,this.validFlags="gim"+(parser.options.ecmaVersion>=6?"uy":"")+(parser.options.ecmaVersion>=9?"s":""),this.unicodeProperties=data[parser.options.ecmaVersion>=11?11:parser.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString(ch){return ch<=65535?String.fromCharCode(ch):(ch-=65536,String.fromCharCode(55296+(ch>>10),56320+(1023&ch)))}function isSyntaxCharacter(ch){return 36===ch||ch>=40&&ch<=43||46===ch||63===ch||ch>=91&&ch<=94||ch>=123&&ch<=125}function isControlLetter(ch){return ch>=65&&ch<=90||ch>=97&&ch<=122}function isUnicodePropertyNameCharacter(ch){return isControlLetter(ch)||95===ch}function isUnicodePropertyValueCharacter(ch){return isUnicodePropertyNameCharacter(ch)||isDecimalDigit(ch)}function isDecimalDigit(ch){return ch>=48&&ch<=57}function isHexDigit(ch){return ch>=48&&ch<=57||ch>=65&&ch<=70||ch>=97&&ch<=102}function hexToInt(ch){return ch>=65&&ch<=70?ch-65+10:ch>=97&&ch<=102?ch-97+10:ch-48}function isOctalDigit(ch){return ch>=48&&ch<=55}RegExpValidationState.prototype.reset=function reset(start,pattern,flags){var unicode=-1!==flags.indexOf("u");this.start=0|start,this.source=pattern+"",this.flags=flags,this.switchU=unicode&&this.parser.options.ecmaVersion>=6,this.switchN=unicode&&this.parser.options.ecmaVersion>=9},RegExpValidationState.prototype.raise=function raise(message){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+message)},RegExpValidationState.prototype.at=function at(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return-1;var c=s.charCodeAt(i);if(!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l)return c;var next=s.charCodeAt(i+1);return next>=56320&&next<=57343?(c<<10)+next-56613888:c},RegExpValidationState.prototype.nextIndex=function nextIndex(i,forceU){void 0===forceU&&(forceU=!1);var s=this.source,l=s.length;if(i>=l)return l;var next,c=s.charCodeAt(i);return!forceU&&!this.switchU||c<=55295||c>=57344||i+1>=l||(next=s.charCodeAt(i+1))<56320||next>57343?i+1:i+2},RegExpValidationState.prototype.current=function current(forceU){return void 0===forceU&&(forceU=!1),this.at(this.pos,forceU)},RegExpValidationState.prototype.lookahead=function lookahead(forceU){return void 0===forceU&&(forceU=!1),this.at(this.nextIndex(this.pos,forceU),forceU)},RegExpValidationState.prototype.advance=function advance(forceU){void 0===forceU&&(forceU=!1),this.pos=this.nextIndex(this.pos,forceU)},RegExpValidationState.prototype.eat=function eat(ch,forceU){return void 0===forceU&&(forceU=!1),this.current(forceU)===ch&&(this.advance(forceU),!0)},pp$8.validateRegExpFlags=function(state){for(var validFlags=state.validFlags,flags=state.flags,i=0;i-1&&this.raise(state.start,"Duplicate regular expression flag")}},pp$8.validateRegExpPattern=function(state){this.regexp_pattern(state),!state.switchN&&this.options.ecmaVersion>=9&&state.groupNames.length>0&&(state.switchN=!0,this.regexp_pattern(state))},pp$8.regexp_pattern=function(state){state.pos=0,state.lastIntValue=0,state.lastStringValue="",state.lastAssertionIsQuantifiable=!1,state.numCapturingParens=0,state.maxBackReference=0,state.groupNames.length=0,state.backReferenceNames.length=0,this.regexp_disjunction(state),state.pos!==state.source.length&&(state.eat(41)&&state.raise("Unmatched ')'"),(state.eat(93)||state.eat(125))&&state.raise("Lone quantifier brackets")),state.maxBackReference>state.numCapturingParens&&state.raise("Invalid escape");for(var i=0,list=state.backReferenceNames;i=9&&(lookbehind=state.eat(60)),state.eat(61)||state.eat(33))return this.regexp_disjunction(state),state.eat(41)||state.raise("Unterminated group"),state.lastAssertionIsQuantifiable=!lookbehind,!0}return state.pos=start,!1},pp$8.regexp_eatQuantifier=function(state,noError){return void 0===noError&&(noError=!1),!!this.regexp_eatQuantifierPrefix(state,noError)&&(state.eat(63),!0)},pp$8.regexp_eatQuantifierPrefix=function(state,noError){return state.eat(42)||state.eat(43)||state.eat(63)||this.regexp_eatBracedQuantifier(state,noError)},pp$8.regexp_eatBracedQuantifier=function(state,noError){var start=state.pos;if(state.eat(123)){var min=0,max=-1;if(this.regexp_eatDecimalDigits(state)&&(min=state.lastIntValue,state.eat(44)&&this.regexp_eatDecimalDigits(state)&&(max=state.lastIntValue),state.eat(125)))return-1!==max&&max=9?this.regexp_groupSpecifier(state):63===state.current()&&state.raise("Invalid group"),this.regexp_disjunction(state),state.eat(41))return state.numCapturingParens+=1,!0;state.raise("Unterminated group")}return!1},pp$8.regexp_eatExtendedAtom=function(state){return state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)||this.regexp_eatInvalidBracedQuantifier(state)||this.regexp_eatExtendedPatternCharacter(state)},pp$8.regexp_eatInvalidBracedQuantifier=function(state){return this.regexp_eatBracedQuantifier(state,!0)&&state.raise("Nothing to repeat"),!1},pp$8.regexp_eatSyntaxCharacter=function(state){var ch=state.current();return!!isSyntaxCharacter(ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatPatternCharacters=function(state){for(var start=state.pos,ch=0;-1!==(ch=state.current())&&!isSyntaxCharacter(ch);)state.advance();return state.pos!==start},pp$8.regexp_eatExtendedPatternCharacter=function(state){var ch=state.current();return!(-1===ch||36===ch||ch>=40&&ch<=43||46===ch||63===ch||91===ch||94===ch||124===ch)&&(state.advance(),!0)},pp$8.regexp_groupSpecifier=function(state){if(state.eat(63)){if(this.regexp_eatGroupName(state))return-1!==state.groupNames.indexOf(state.lastStringValue)&&state.raise("Duplicate capture group name"),void state.groupNames.push(state.lastStringValue);state.raise("Invalid group")}},pp$8.regexp_eatGroupName=function(state){if(state.lastStringValue="",state.eat(60)){if(this.regexp_eatRegExpIdentifierName(state)&&state.eat(62))return!0;state.raise("Invalid capture group name")}return!1},pp$8.regexp_eatRegExpIdentifierName=function(state){if(state.lastStringValue="",this.regexp_eatRegExpIdentifierStart(state)){for(state.lastStringValue+=codePointToString(state.lastIntValue);this.regexp_eatRegExpIdentifierPart(state);)state.lastStringValue+=codePointToString(state.lastIntValue);return!0}return!1},pp$8.regexp_eatRegExpIdentifierStart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),function isRegExpIdentifierStart(ch){return isIdentifierStart(ch,!0)||36===ch||95===ch}(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatRegExpIdentifierPart=function(state){var start=state.pos,forceU=this.options.ecmaVersion>=11,ch=state.current(forceU);return state.advance(forceU),92===ch&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)&&(ch=state.lastIntValue),function isRegExpIdentifierPart(ch){return isIdentifierChar(ch,!0)||36===ch||95===ch||8204===ch||8205===ch}(ch)?(state.lastIntValue=ch,!0):(state.pos=start,!1)},pp$8.regexp_eatAtomEscape=function(state){return!!(this.regexp_eatBackReference(state)||this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)||state.switchN&&this.regexp_eatKGroupName(state))||(state.switchU&&(99===state.current()&&state.raise("Invalid unicode escape"),state.raise("Invalid escape")),!1)},pp$8.regexp_eatBackReference=function(state){var start=state.pos;if(this.regexp_eatDecimalEscape(state)){var n=state.lastIntValue;if(state.switchU)return n>state.maxBackReference&&(state.maxBackReference=n),!0;if(n<=state.numCapturingParens)return!0;state.pos=start}return!1},pp$8.regexp_eatKGroupName=function(state){if(state.eat(107)){if(this.regexp_eatGroupName(state))return state.backReferenceNames.push(state.lastStringValue),!0;state.raise("Invalid named reference")}return!1},pp$8.regexp_eatCharacterEscape=function(state){return this.regexp_eatControlEscape(state)||this.regexp_eatCControlLetter(state)||this.regexp_eatZero(state)||this.regexp_eatHexEscapeSequence(state)||this.regexp_eatRegExpUnicodeEscapeSequence(state,!1)||!state.switchU&&this.regexp_eatLegacyOctalEscapeSequence(state)||this.regexp_eatIdentityEscape(state)},pp$8.regexp_eatCControlLetter=function(state){var start=state.pos;if(state.eat(99)){if(this.regexp_eatControlLetter(state))return!0;state.pos=start}return!1},pp$8.regexp_eatZero=function(state){return 48===state.current()&&!isDecimalDigit(state.lookahead())&&(state.lastIntValue=0,state.advance(),!0)},pp$8.regexp_eatControlEscape=function(state){var ch=state.current();return 116===ch?(state.lastIntValue=9,state.advance(),!0):110===ch?(state.lastIntValue=10,state.advance(),!0):118===ch?(state.lastIntValue=11,state.advance(),!0):102===ch?(state.lastIntValue=12,state.advance(),!0):114===ch&&(state.lastIntValue=13,state.advance(),!0)},pp$8.regexp_eatControlLetter=function(state){var ch=state.current();return!!isControlLetter(ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatRegExpUnicodeEscapeSequence=function(state,forceU){void 0===forceU&&(forceU=!1);var start=state.pos,switchU=forceU||state.switchU;if(state.eat(117)){if(this.regexp_eatFixedHexDigits(state,4)){var lead=state.lastIntValue;if(switchU&&lead>=55296&&lead<=56319){var leadSurrogateEnd=state.pos;if(state.eat(92)&&state.eat(117)&&this.regexp_eatFixedHexDigits(state,4)){var trail=state.lastIntValue;if(trail>=56320&&trail<=57343)return state.lastIntValue=1024*(lead-55296)+(trail-56320)+65536,!0}state.pos=leadSurrogateEnd,state.lastIntValue=lead}return!0}if(switchU&&state.eat(123)&&this.regexp_eatHexDigits(state)&&state.eat(125)&&function isValidUnicode(ch){return ch>=0&&ch<=1114111}(state.lastIntValue))return!0;switchU&&state.raise("Invalid unicode escape"),state.pos=start}return!1},pp$8.regexp_eatIdentityEscape=function(state){if(state.switchU)return!!this.regexp_eatSyntaxCharacter(state)||!!state.eat(47)&&(state.lastIntValue=47,!0);var ch=state.current();return!(99===ch||state.switchN&&107===ch)&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatDecimalEscape=function(state){state.lastIntValue=0;var ch=state.current();if(ch>=49&&ch<=57){do{state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance()}while((ch=state.current())>=48&&ch<=57);return!0}return!1},pp$8.regexp_eatCharacterClassEscape=function(state){var ch=state.current();if(function isCharacterClassEscape(ch){return 100===ch||68===ch||115===ch||83===ch||119===ch||87===ch}(ch))return state.lastIntValue=-1,state.advance(),!0;if(state.switchU&&this.options.ecmaVersion>=9&&(80===ch||112===ch)){if(state.lastIntValue=-1,state.advance(),state.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(state)&&state.eat(125))return!0;state.raise("Invalid property name")}return!1},pp$8.regexp_eatUnicodePropertyValueExpression=function(state){var start=state.pos;if(this.regexp_eatUnicodePropertyName(state)&&state.eat(61)){var name=state.lastStringValue;if(this.regexp_eatUnicodePropertyValue(state)){var value=state.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(state,name,value),!0}}if(state.pos=start,this.regexp_eatLoneUnicodePropertyNameOrValue(state)){var nameOrValue=state.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(state,nameOrValue),!0}return!1},pp$8.regexp_validateUnicodePropertyNameAndValue=function(state,name,value){has(state.unicodeProperties.nonBinary,name)||state.raise("Invalid property name"),state.unicodeProperties.nonBinary[name].test(value)||state.raise("Invalid property value")},pp$8.regexp_validateUnicodePropertyNameOrValue=function(state,nameOrValue){state.unicodeProperties.binary.test(nameOrValue)||state.raise("Invalid property name")},pp$8.regexp_eatUnicodePropertyName=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyNameCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatUnicodePropertyValue=function(state){var ch=0;for(state.lastStringValue="";isUnicodePropertyValueCharacter(ch=state.current());)state.lastStringValue+=codePointToString(ch),state.advance();return""!==state.lastStringValue},pp$8.regexp_eatLoneUnicodePropertyNameOrValue=function(state){return this.regexp_eatUnicodePropertyValue(state)},pp$8.regexp_eatCharacterClass=function(state){if(state.eat(91)){if(state.eat(94),this.regexp_classRanges(state),state.eat(93))return!0;state.raise("Unterminated character class")}return!1},pp$8.regexp_classRanges=function(state){for(;this.regexp_eatClassAtom(state);){var left=state.lastIntValue;if(state.eat(45)&&this.regexp_eatClassAtom(state)){var right=state.lastIntValue;!state.switchU||-1!==left&&-1!==right||state.raise("Invalid character class"),-1!==left&&-1!==right&&left>right&&state.raise("Range out of order in character class")}}},pp$8.regexp_eatClassAtom=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatClassEscape(state))return!0;if(state.switchU){var ch$1=state.current();(99===ch$1||isOctalDigit(ch$1))&&state.raise("Invalid class escape"),state.raise("Invalid escape")}state.pos=start}var ch=state.current();return 93!==ch&&(state.lastIntValue=ch,state.advance(),!0)},pp$8.regexp_eatClassEscape=function(state){var start=state.pos;if(state.eat(98))return state.lastIntValue=8,!0;if(state.switchU&&state.eat(45))return state.lastIntValue=45,!0;if(!state.switchU&&state.eat(99)){if(this.regexp_eatClassControlLetter(state))return!0;state.pos=start}return this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)},pp$8.regexp_eatClassControlLetter=function(state){var ch=state.current();return!(!isDecimalDigit(ch)&&95!==ch)&&(state.lastIntValue=ch%32,state.advance(),!0)},pp$8.regexp_eatHexEscapeSequence=function(state){var start=state.pos;if(state.eat(120)){if(this.regexp_eatFixedHexDigits(state,2))return!0;state.switchU&&state.raise("Invalid escape"),state.pos=start}return!1},pp$8.regexp_eatDecimalDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isDecimalDigit(ch=state.current());)state.lastIntValue=10*state.lastIntValue+(ch-48),state.advance();return state.pos!==start},pp$8.regexp_eatHexDigits=function(state){var start=state.pos,ch=0;for(state.lastIntValue=0;isHexDigit(ch=state.current());)state.lastIntValue=16*state.lastIntValue+hexToInt(ch),state.advance();return state.pos!==start},pp$8.regexp_eatLegacyOctalEscapeSequence=function(state){if(this.regexp_eatOctalDigit(state)){var n1=state.lastIntValue;if(this.regexp_eatOctalDigit(state)){var n2=state.lastIntValue;n1<=3&&this.regexp_eatOctalDigit(state)?state.lastIntValue=64*n1+8*n2+state.lastIntValue:state.lastIntValue=8*n1+n2}else state.lastIntValue=n1;return!0}return!1},pp$8.regexp_eatOctalDigit=function(state){var ch=state.current();return isOctalDigit(ch)?(state.lastIntValue=ch-48,state.advance(),!0):(state.lastIntValue=0,!1)},pp$8.regexp_eatFixedHexDigits=function(state,length){var start=state.pos;state.lastIntValue=0;for(var i=0;i>10),56320+(1023&code)))}pp$9.next=function(ignoreEscapeSequenceInKeyword){!ignoreEscapeSequenceInKeyword&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Token(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},pp$9.getToken=function(){return this.next(),new Token(this)},"undefined"!=typeof Symbol&&(pp$9[Symbol.iterator]=function(){var this$1=this;return{next:function(){var token=this$1.getToken();return{done:token.type===types.eof,value:token}}}}),pp$9.curContext=function(){return this.context[this.context.length-1]},pp$9.nextToken=function(){var curContext=this.curContext();return curContext&&curContext.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(types.eof):curContext.override?curContext.override(this):void this.readToken(this.fullCharCodeAtPos())},pp$9.readToken=function(code){return isIdentifierStart(code,this.options.ecmaVersion>=6)||92===code?this.readWord():this.getTokenFromCode(code)},pp$9.fullCharCodeAtPos=function(){var code=this.input.charCodeAt(this.pos);return code<=55295||code>=57344?code:(code<<10)+this.input.charCodeAt(this.pos+1)-56613888},pp$9.skipBlockComment=function(){var match,startLoc=this.options.onComment&&this.curPosition(),start=this.pos,end=this.input.indexOf("*/",this.pos+=2);if(-1===end&&this.raise(this.pos-2,"Unterminated comment"),this.pos=end+2,this.options.locations)for(lineBreakG.lastIndex=start;(match=lineBreakG.exec(this.input))&&match.index8&&ch<14||ch>=5760&&nonASCIIwhitespace.test(String.fromCharCode(ch))))break loop;++this.pos}}},pp$9.finishToken=function(type,val){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var prevType=this.type;this.type=type,this.value=val,this.updateContext(prevType)},pp$9.readToken_dot=function(){var next=this.input.charCodeAt(this.pos+1);if(next>=48&&next<=57)return this.readNumber(!0);var next2=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===next&&46===next2?(this.pos+=3,this.finishToken(types.ellipsis)):(++this.pos,this.finishToken(types.dot))},pp$9.readToken_slash=function(){var next=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===next?this.finishOp(types.assign,2):this.finishOp(types.slash,1)},pp$9.readToken_mult_modulo_exp=function(code){var next=this.input.charCodeAt(this.pos+1),size=1,tokentype=42===code?types.star:types.modulo;return this.options.ecmaVersion>=7&&42===code&&42===next&&(++size,tokentype=types.starstar,next=this.input.charCodeAt(this.pos+2)),61===next?this.finishOp(types.assign,size+1):this.finishOp(tokentype,size)},pp$9.readToken_pipe_amp=function(code){var next=this.input.charCodeAt(this.pos+1);if(next===code){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(types.assign,3);return this.finishOp(124===code?types.logicalOR:types.logicalAND,2)}return 61===next?this.finishOp(types.assign,2):this.finishOp(124===code?types.bitwiseOR:types.bitwiseAND,1)},pp$9.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(types.assign,2):this.finishOp(types.bitwiseXOR,1)},pp$9.readToken_plus_min=function(code){var next=this.input.charCodeAt(this.pos+1);return next===code?45!==next||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(types.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===next?this.finishOp(types.assign,2):this.finishOp(types.plusMin,1)},pp$9.readToken_lt_gt=function(code){var next=this.input.charCodeAt(this.pos+1),size=1;return next===code?(size=62===code&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+size)?this.finishOp(types.assign,size+1):this.finishOp(types.bitShift,size)):33!==next||60!==code||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===next&&(size=2),this.finishOp(types.relational,size)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},pp$9.readToken_eq_excl=function(code){var next=this.input.charCodeAt(this.pos+1);return 61===next?this.finishOp(types.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===code&&62===next&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(types.arrow)):this.finishOp(61===code?types.eq:types.prefix,1)},pp$9.readToken_question=function(){var ecmaVersion=this.options.ecmaVersion;if(ecmaVersion>=11){var next=this.input.charCodeAt(this.pos+1);if(46===next){var next2=this.input.charCodeAt(this.pos+2);if(next2<48||next2>57)return this.finishOp(types.questionDot,2)}if(63===next){if(ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(types.assign,3);return this.finishOp(types.coalesce,2)}}return this.finishOp(types.question,1)},pp$9.getTokenFromCode=function(code){switch(code){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(types.parenL);case 41:return++this.pos,this.finishToken(types.parenR);case 59:return++this.pos,this.finishToken(types.semi);case 44:return++this.pos,this.finishToken(types.comma);case 91:return++this.pos,this.finishToken(types.bracketL);case 93:return++this.pos,this.finishToken(types.bracketR);case 123:return++this.pos,this.finishToken(types.braceL);case 125:return++this.pos,this.finishToken(types.braceR);case 58:return++this.pos,this.finishToken(types.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(types.backQuote);case 48:var next=this.input.charCodeAt(this.pos+1);if(120===next||88===next)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===next||79===next)return this.readRadixNumber(8);if(98===next||66===next)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(code);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(code);case 124:case 38:return this.readToken_pipe_amp(code);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(code);case 60:case 62:return this.readToken_lt_gt(code);case 61:case 33:return this.readToken_eq_excl(code);case 63:return this.readToken_question();case 126:return this.finishOp(types.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(code)+"'")},pp$9.finishOp=function(type,size){var str=this.input.slice(this.pos,this.pos+size);return this.pos+=size,this.finishToken(type,str)},pp$9.readRegexp=function(){for(var escaped,inClass,start=this.pos;;){this.pos>=this.input.length&&this.raise(start,"Unterminated regular expression");var ch=this.input.charAt(this.pos);if(lineBreak.test(ch)&&this.raise(start,"Unterminated regular expression"),escaped)escaped=!1;else{if("["===ch)inClass=!0;else if("]"===ch&&inClass)inClass=!1;else if("/"===ch&&!inClass)break;escaped="\\"===ch}++this.pos}var pattern=this.input.slice(start,this.pos);++this.pos;var flagsStart=this.pos,flags=this.readWord1();this.containsEsc&&this.unexpected(flagsStart);var state=this.regexpState||(this.regexpState=new RegExpValidationState(this));state.reset(start,pattern,flags),this.validateRegExpFlags(state),this.validateRegExpPattern(state);var value=null;try{value=new RegExp(pattern,flags)}catch(e){}return this.finishToken(types.regexp,{pattern:pattern,flags:flags,value:value})},pp$9.readInt=function(radix,len,maybeLegacyOctalNumericLiteral){for(var allowSeparators=this.options.ecmaVersion>=12&&void 0===len,isLegacyOctalNumericLiteral=maybeLegacyOctalNumericLiteral&&48===this.input.charCodeAt(this.pos),start=this.pos,total=0,lastCode=0,i=0,e=null==len?1/0:len;i=97?code-97+10:code>=65?code-65+10:code>=48&&code<=57?code-48:1/0)>=radix)break;lastCode=code,total=total*radix+val}}return allowSeparators&&95===lastCode&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===start||null!=len&&this.pos-start!==len?null:total},pp$9.readRadixNumber=function(radix){var start=this.pos;this.pos+=2;var val=this.readInt(radix);return null==val&&this.raise(this.start+2,"Expected number in radix "+radix),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(val=stringToBigInt(this.input.slice(start,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val)},pp$9.readNumber=function(startsWithDot){var start=this.pos;startsWithDot||null!==this.readInt(10,void 0,!0)||this.raise(start,"Invalid number");var octal=this.pos-start>=2&&48===this.input.charCodeAt(start);octal&&this.strict&&this.raise(start,"Invalid number");var next=this.input.charCodeAt(this.pos);if(!octal&&!startsWithDot&&this.options.ecmaVersion>=11&&110===next){var val$1=stringToBigInt(this.input.slice(start,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(types.num,val$1)}octal&&/[89]/.test(this.input.slice(start,this.pos))&&(octal=!1),46!==next||octal||(++this.pos,this.readInt(10),next=this.input.charCodeAt(this.pos)),69!==next&&101!==next||octal||(43!==(next=this.input.charCodeAt(++this.pos))&&45!==next||++this.pos,null===this.readInt(10)&&this.raise(start,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var val=function stringToNumber(str,isLegacyOctalNumericLiteral){return isLegacyOctalNumericLiteral?parseInt(str,8):parseFloat(str.replace(/_/g,""))}(this.input.slice(start,this.pos),octal);return this.finishToken(types.num,val)},pp$9.readCodePoint=function(){var code;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var codePos=++this.pos;code=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,code>1114111&&this.invalidStringToken(codePos,"Code point out of bounds")}else code=this.readHexChar(4);return code},pp$9.readString=function(quote){for(var out="",chunkStart=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var ch=this.input.charCodeAt(this.pos);if(ch===quote)break;92===ch?(out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!1),chunkStart=this.pos):(isNewLine(ch,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(types.string,out)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp$9.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(err){if(err!==INVALID_TEMPLATE_ESCAPE_ERROR)throw err;this.readInvalidTemplateToken()}this.inTemplateElement=!1},pp$9.invalidStringToken=function(position,message){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw INVALID_TEMPLATE_ESCAPE_ERROR;this.raise(position,message)},pp$9.readTmplToken=function(){for(var out="",chunkStart=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var ch=this.input.charCodeAt(this.pos);if(96===ch||36===ch&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==types.template&&this.type!==types.invalidTemplate?(out+=this.input.slice(chunkStart,this.pos),this.finishToken(types.template,out)):36===ch?(this.pos+=2,this.finishToken(types.dollarBraceL)):(++this.pos,this.finishToken(types.backQuote));if(92===ch)out+=this.input.slice(chunkStart,this.pos),out+=this.readEscapedChar(!0),chunkStart=this.pos;else if(isNewLine(ch)){switch(out+=this.input.slice(chunkStart,this.pos),++this.pos,ch){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:out+="\n";break;default:out+=String.fromCharCode(ch)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),chunkStart=this.pos}else++this.pos}},pp$9.readInvalidTemplateToken=function(){for(;this.pos=48&&ch<=55){var octalStr=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],octal=parseInt(octalStr,8);return octal>255&&(octalStr=octalStr.slice(0,-1),octal=parseInt(octalStr,8)),this.pos+=octalStr.length-1,ch=this.input.charCodeAt(this.pos),"0"===octalStr&&56!==ch&&57!==ch||!this.strict&&!inTemplate||this.invalidStringToken(this.pos-1-octalStr.length,inTemplate?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(octal)}return isNewLine(ch)?"":String.fromCharCode(ch)}},pp$9.readHexChar=function(len){var codePos=this.pos,n=this.readInt(16,len);return null===n&&this.invalidStringToken(codePos,"Bad character escape sequence"),n},pp$9.readWord1=function(){this.containsEsc=!1;for(var word="",first=!0,chunkStart=this.pos,astral=this.options.ecmaVersion>=6;this.pos=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e){throw _e},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 it,err,normalCompletion=!0,didErr=!1;return{s:function s(){it=o[Symbol.iterator]()},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e2){didErr=!0,err=_e2},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?40*red+55:0,g=green>0?40*green+55:0,b=blue>0?40*blue+55:0;colors[c]=function toColorHexString(ref){var _step,results=[],_iterator=_createForOfIteratorHelper(ref);try{for(_iterator.s();!(_step=_iterator.n()).done;){var r=_step.value;results.push(toHexString(r))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return"#"+results.join("")}([r,g,b])}(red,green,blue,colors)}))}))})),range(0,23).forEach((function(gray){var c=gray+232,l=toHexString(10*gray+8);colors[c]="#"+l+l+l})),colors}()};function toHexString(num){for(var str=num.toString(16);str.length<2;)str="0"+str;return str}function generateOutput(stack,token,data,options){var result;return"text"===token?result=function pushText(text,options){if(options.escapeXML)return entities.encodeXML(text);return text}(data,options):"display"===token?result=function handleDisplay(stack,code,options){code=parseInt(code,10);var result,codeMap={"-1":function _(){return"
"},0:function _(){return stack.length&&resetStyles(stack)},1:function _(){return pushTag(stack,"b")},3:function _(){return pushTag(stack,"i")},4:function _(){return pushTag(stack,"u")},8:function _(){return pushStyle(stack,"display:none")},9:function _(){return pushTag(stack,"strike")},22:function _(){return pushStyle(stack,"font-weight:normal;text-decoration:none;font-style:normal")},23:function _(){return closeTag(stack,"i")},24:function _(){return closeTag(stack,"u")},39:function _(){return pushForegroundColor(stack,options.fg)},49:function _(){return pushBackgroundColor(stack,options.bg)},53:function _(){return pushStyle(stack,"text-decoration:overline")}};codeMap[code]?result=codeMap[code]():4"})).join("")}function range(low,high){for(var results=[],j=low;j<=high;j++)results.push(j);return results}function categoryForCode(code){var result=null;return 0===(code=parseInt(code,10))?result="all":1===code?result="bold":2")}function pushStyle(stack,style){return pushTag(stack,"span",style)}function pushForegroundColor(stack,color){return pushTag(stack,"span","color:"+color)}function pushBackgroundColor(stack,color){return pushTag(stack,"span","background-color:"+color)}function closeTag(stack,style){var last;if(stack.slice(-1)[0]===style&&(last=stack.pop()),last)return""}var Filter=function(){function Filter(options){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Filter),(options=options||{}).colors&&(options.colors=Object.assign({},defaults.colors,options.colors)),this.options=Object.assign({},defaults,options),this.stack=[],this.stickyStack=[]}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}(Filter,[{key:"toHtml",value:function toHtml(input){var _this=this;input="string"==typeof input?[input]:input;var stack=this.stack,options=this.options,buf=[];return this.stickyStack.forEach((function(element){var output=generateOutput(stack,element.token,element.data,options);output&&buf.push(output)})),function tokenize(text,options,callback){var ansiMatch=!1;function remove(){return""}function newline(m){return options.newline?callback("display",-1):callback("text",m),""}var tokens=[{pattern:/^\x08+/,sub:remove},{pattern:/^\x1b\[[012]?K/,sub:remove},{pattern:/^\x1b\[\(B/,sub:remove},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:function rgb(m){return callback("rgb",m),""}},{pattern:/^\x1b\[38;5;(\d+)m/,sub:function removeXterm256(m,g1){return callback("xterm256",g1),""}},{pattern:/^\n/,sub:newline},{pattern:/^\r+\n/,sub:newline},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:function ansiMess(m,g1){ansiMatch=!0,0===g1.trim().length&&(g1="0");var _step2,_iterator2=_createForOfIteratorHelper(g1=g1.trimRight(";").split(";"));try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var g=_step2.value;callback("display",g)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}return""}},{pattern:/^\x1b\[\d?J/,sub:remove},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:remove},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:remove},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:function realText(m){return callback("text",m),""}}];function process(handler,i){i>3&&ansiMatch||(ansiMatch=!1,text=text.replace(handler.pattern,handler.sub))}var results1=[],length=text.length;outer:for(;length>0;){for(var i=0,o=0,len=tokens.length;o1?ToIntegerOrInfinity(arguments[1]):0;if($indexOf&&!$isNaN(searchElement)&&$isFinite(fromIndex)&&void 0!==searchElement)return $indexOf.apply(this,arguments)>-1;var O=ToObject(this),length=ToLength(O.length);if(0===length)return!1;for(var k=fromIndex>=0?fromIndex:$max(0,length+fromIndex);k0&&void 0!==arguments[0]&&(depthNum=ToIntegerOrInfinity(arguments[0]));var A=ArraySpeciesCreate(O,0);return FlattenIntoArray(A,O,sourceLen,0,depthNum),A}},"./node_modules/array.prototype.flat/polyfill.js":function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__("./node_modules/array.prototype.flat/implementation.js");module.exports=function getPolyfill(){return Array.prototype.flat||implementation}},"./node_modules/array.prototype.flat/shim.js":function(module,exports,__webpack_require__){"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),shimUnscopables=__webpack_require__("./node_modules/es-shim-unscopables/index.js"),getPolyfill=__webpack_require__("./node_modules/array.prototype.flat/polyfill.js");module.exports=function shimFlat(){var polyfill=getPolyfill();return define(Array.prototype,{flat:polyfill},{flat:function(){return Array.prototype.flat!==polyfill}}),shimUnscopables("flat"),polyfill}},"./node_modules/array.prototype.flatmap/auto.js":function(module,exports,__webpack_require__){"use strict";__webpack_require__("./node_modules/array.prototype.flatmap/shim.js")()},"./node_modules/array.prototype.flatmap/implementation.js":function(module,exports,__webpack_require__){"use strict";var ArraySpeciesCreate=__webpack_require__("./node_modules/es-abstract/2023/ArraySpeciesCreate.js"),FlattenIntoArray=__webpack_require__("./node_modules/es-abstract/2023/FlattenIntoArray.js"),Get=__webpack_require__("./node_modules/es-abstract/2023/Get.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2023/IsCallable.js"),ToLength=__webpack_require__("./node_modules/es-abstract/2023/ToLength.js"),ToObject=__webpack_require__("./node_modules/es-abstract/2023/ToObject.js");module.exports=function flatMap(mapperFunction){var T,O=ToObject(this),sourceLen=ToLength(Get(O,"length"));if(!IsCallable(mapperFunction))throw new TypeError("mapperFunction must be a function");arguments.length>1&&(T=arguments[1]);var A=ArraySpeciesCreate(O,0);return FlattenIntoArray(A,O,sourceLen,0,1,mapperFunction,T),A}},"./node_modules/array.prototype.flatmap/polyfill.js":function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__("./node_modules/array.prototype.flatmap/implementation.js");module.exports=function getPolyfill(){return Array.prototype.flatMap||implementation}},"./node_modules/array.prototype.flatmap/shim.js":function(module,exports,__webpack_require__){"use strict";var define=__webpack_require__("./node_modules/define-properties/index.js"),shimUnscopables=__webpack_require__("./node_modules/es-shim-unscopables/index.js"),getPolyfill=__webpack_require__("./node_modules/array.prototype.flatmap/polyfill.js");module.exports=function shimFlatMap(){var polyfill=getPolyfill();return define(Array.prototype,{flatMap:polyfill},{flatMap:function(){return Array.prototype.flatMap!==polyfill}}),shimUnscopables("flatMap"),polyfill}},"./node_modules/array.prototype.map/implementation.js":function(module,exports,__webpack_require__){"use strict";var ArraySpeciesCreate=__webpack_require__("./node_modules/es-abstract/2023/ArraySpeciesCreate.js"),Call=__webpack_require__("./node_modules/es-abstract/2023/Call.js"),CreateDataPropertyOrThrow=__webpack_require__("./node_modules/es-abstract/2023/CreateDataPropertyOrThrow.js"),Get=__webpack_require__("./node_modules/es-abstract/2023/Get.js"),HasProperty=__webpack_require__("./node_modules/es-abstract/2023/HasProperty.js"),IsCallable=__webpack_require__("./node_modules/es-abstract/2023/IsCallable.js"),ToUint32=__webpack_require__("./node_modules/es-abstract/2023/ToUint32.js"),ToObject=__webpack_require__("./node_modules/es-abstract/2023/ToObject.js"),ToString=__webpack_require__("./node_modules/es-abstract/2023/ToString.js"),callBound=__webpack_require__("./node_modules/call-bind/callBound.js"),isString=__webpack_require__("./node_modules/is-string/index.js"),boxedString=Object("a"),splitString="a"!==boxedString[0]||!(0 in boxedString),strSplit=callBound("String.prototype.split");module.exports=function map(callbackfn){var T,O=ToObject(this),self=splitString&&isString(O)?strSplit(O,""):O,len=ToUint32(self.length);if(!IsCallable(callbackfn))throw new TypeError("Array.prototype.map callback must be a function");arguments.length>1&&(T=arguments[1]);for(var A=ArraySpeciesCreate(O,len),k=0;k1)accumulator=arguments[1];else{for(kPresent=!1;!kPresent&&k=0;i--)if(ka[i]!==kb[i])return!1;for(i=ka.length-1;i>=0;i--)if(!_deepEqual(a[key=ka[i]],b[key],strict,actualVisitedObjects))return!1;return!0}(actual,expected,strict,memos))}return strict?actual===expected:actual==expected}function isArguments(object){return"[object Arguments]"==Object.prototype.toString.call(object)}function expectedException(actual,expected){if(!actual||!expected)return!1;if("[object RegExp]"==Object.prototype.toString.call(expected))return expected.test(actual);try{if(actual instanceof expected)return!0}catch(e){}return!Error.isPrototypeOf(expected)&&!0===expected.call({},actual)}function _throws(shouldThrow,block,expected,message){var actual;if("function"!=typeof block)throw new TypeError('"block" argument must be a function');"string"==typeof expected&&(message=expected,expected=null),actual=function _tryBlock(block){var error;try{block()}catch(e){error=e}return error}(block),message=(expected&&expected.name?" ("+expected.name+").":".")+(message?" "+message:"."),shouldThrow&&!actual&&fail(actual,expected,"Missing expected exception"+message);var userProvidedMessage="string"==typeof message,isUnexpectedException=!shouldThrow&&actual&&!expected;if((!shouldThrow&&util.isError(actual)&&userProvidedMessage&&expectedException(actual,expected)||isUnexpectedException)&&fail(actual,expected,"Got unwanted exception"+message),shouldThrow&&actual&&expected&&!expectedException(actual,expected)||!shouldThrow&&actual)throw actual}assert.AssertionError=function AssertionError(options){this.name="AssertionError",this.actual=options.actual,this.expected=options.expected,this.operator=options.operator,options.message?(this.message=options.message,this.generatedMessage=!1):(this.message=function getMessage(self){return truncate(inspect(self.actual),128)+" "+self.operator+" "+truncate(inspect(self.expected),128)}(this),this.generatedMessage=!0);var stackStartFunction=options.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,stackStartFunction);else{var err=new Error;if(err.stack){var out=err.stack,fn_name=getName(stackStartFunction),idx=out.indexOf("\n"+fn_name);if(idx>=0){var next_line=out.indexOf("\n",idx+1);out=out.substring(next_line+1)}this.stack=out}}},util.inherits(assert.AssertionError,Error),assert.fail=fail,assert.ok=ok,assert.equal=function equal(actual,expected,message){actual!=expected&&fail(actual,expected,message,"==",assert.equal)},assert.notEqual=function notEqual(actual,expected,message){actual==expected&&fail(actual,expected,message,"!=",assert.notEqual)},assert.deepEqual=function deepEqual(actual,expected,message){_deepEqual(actual,expected,!1)||fail(actual,expected,message,"deepEqual",assert.deepEqual)},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){_deepEqual(actual,expected,!0)||fail(actual,expected,message,"deepStrictEqual",assert.deepStrictEqual)},assert.notDeepEqual=function notDeepEqual(actual,expected,message){_deepEqual(actual,expected,!1)&&fail(actual,expected,message,"notDeepEqual",assert.notDeepEqual)},assert.notDeepStrictEqual=function notDeepStrictEqual(actual,expected,message){_deepEqual(actual,expected,!0)&&fail(actual,expected,message,"notDeepStrictEqual",notDeepStrictEqual)},assert.strictEqual=function strictEqual(actual,expected,message){actual!==expected&&fail(actual,expected,message,"===",assert.strictEqual)},assert.notStrictEqual=function notStrictEqual(actual,expected,message){actual===expected&&fail(actual,expected,message,"!==",assert.notStrictEqual)},assert.throws=function(block,error,message){_throws(!0,block,error,message)},assert.doesNotThrow=function(block,error,message){_throws(!1,block,error,message)},assert.ifError=function(err){if(err)throw err},assert.strict=objectAssign((function strict(value,message){value||fail(value,!0,message,"==",strict)}),assert,{equal:assert.strictEqual,deepEqual:assert.deepStrictEqual,notEqual:assert.notStrictEqual,notDeepEqual:assert.notDeepStrictEqual}),assert.strict.strict=assert.strict;var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj)hasOwn.call(obj,key)&&keys.push(key);return keys}}).call(this,__webpack_require__("./node_modules/webpack/buildin/global.js"))},"./node_modules/babel-runtime/core-js/array/from.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/array/from.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/get-iterator.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/get-iterator.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/is-iterable.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/is-iterable.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/json/stringify.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/json/stringify.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/assign.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/object/assign.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/create.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/object/create.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/define-property.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/object/define-property.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/entries.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/object/entries.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/get-prototype-of.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/object/get-prototype-of.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/keys.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/object/keys.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/set-prototype-of.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/object/set-prototype-of.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/promise.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/promise.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/symbol.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/symbol/index.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/symbol/iterator.js":function(module,exports,__webpack_require__){module.exports={default:__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/fn/symbol/iterator.js"),__esModule:!0}},"./node_modules/babel-runtime/helpers/asyncToGenerator.js":function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _promise2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__("./node_modules/babel-runtime/core-js/promise.js"));exports.default=function(fn){return function(){var gen=fn.apply(this,arguments);return new _promise2.default((function(resolve,reject){return function step(key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}if(!info.done)return _promise2.default.resolve(value).then((function(value){step("next",value)}),(function(err){step("throw",err)}));resolve(value)}("next")}))}}},"./node_modules/babel-runtime/helpers/classCallCheck.js":function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0,exports.default=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}},"./node_modules/babel-runtime/helpers/createClass.js":function(module,exports,__webpack_require__){"use strict";exports.__esModule=!0;var _defineProperty2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__("./node_modules/babel-runtime/core-js/object/define-property.js"));exports.default=function(){function defineProperties(target,props){for(var i=0;iindex;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_classof.js":function(module,exports,__webpack_require__){var cof=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_cof.js"),TAG=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks.js")("toStringTag"),ARG="Arguments"==cof(function(){return arguments}());module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=function(it,key){try{return it[key]}catch(e){}}(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_cof.js":function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_core.js":function(module,exports){var core=module.exports={version:"2.6.12"};"number"==typeof __e&&(__e=core)},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_create-property.js":function(module,exports,__webpack_require__){"use strict";var $defineProperty=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-dp.js"),createDesc=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_property-desc.js");module.exports=function(object,index,value){index in object?$defineProperty.f(object,index,createDesc(0,value)):object[index]=value}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_ctx.js":function(module,exports,__webpack_require__){var aFunction=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_a-function.js");module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_defined.js":function(module,exports){module.exports=function(it){if(null==it)throw TypeError("Can't call method on "+it);return it}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_descriptors.js":function(module,exports,__webpack_require__){module.exports=!__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_fails.js")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_dom-create.js":function(module,exports,__webpack_require__){var isObject=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-object.js"),document=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_global.js").document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_enum-bug-keys.js":function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_enum-keys.js":function(module,exports,__webpack_require__){var getKeys=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-keys.js"),gOPS=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gops.js"),pIE=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-pie.js");module.exports=function(it){var result=getKeys(it),getSymbols=gOPS.f;if(getSymbols)for(var key,symbols=getSymbols(it),isEnum=pIE.f,i=0;symbols.length>i;)isEnum.call(it,key=symbols[i++])&&result.push(key);return result}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_export.js":function(module,exports,__webpack_require__){var global=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_global.js"),core=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_core.js"),ctx=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_ctx.js"),hide=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_hide.js"),has=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_has.js"),$export=function(type,name,source){var key,own,out,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_STATIC=type&$export.S,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,IS_WRAP=type&$export.W,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype,target=IS_GLOBAL?global:IS_STATIC?global[name]:(global[name]||{}).prototype;for(key in IS_GLOBAL&&(source=name),source)(own=!IS_FORCED&&target&&void 0!==target[key])&&has(exports,key)||(out=own?target[key]:source[key],exports[key]=IS_GLOBAL&&"function"!=typeof target[key]?source[key]:IS_BIND&&own?ctx(out,global):IS_WRAP&&target[key]==out?function(C){var F=function(a,b,c){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(a);case 2:return new C(a,b)}return new C(a,b,c)}return C.apply(this,arguments)};return F.prototype=C.prototype,F}(out):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,IS_PROTO&&((exports.virtual||(exports.virtual={}))[key]=out,type&$export.R&&expProto&&!expProto[key]&&hide(expProto,key,out)))};$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_fails.js":function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_for-of.js":function(module,exports,__webpack_require__){var ctx=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_ctx.js"),call=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-call.js"),isArrayIter=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-array-iter.js"),anObject=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_an-object.js"),toLength=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-length.js"),getIterFn=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/core.get-iterator-method.js"),BREAK={},RETURN={};(exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var length,step,iterator,result,iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable),f=ctx(fn,that,entries?2:1),index=0;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn)){for(length=toLength(iterable.length);length>index;index++)if((result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]))===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;)if((result=call(iterator,f,step.value,entries))===BREAK||result===RETURN)return result}).BREAK=BREAK,exports.RETURN=RETURN},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_global.js":function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_has.js":function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_hide.js":function(module,exports,__webpack_require__){var dP=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-dp.js"),createDesc=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_property-desc.js");module.exports=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_descriptors.js")?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_html.js":function(module,exports,__webpack_require__){var document=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_global.js").document;module.exports=document&&document.documentElement},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_ie8-dom-define.js":function(module,exports,__webpack_require__){module.exports=!__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_descriptors.js")&&!__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_fails.js")((function(){return 7!=Object.defineProperty(__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_invoke.js":function(module,exports){module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_iobject.js":function(module,exports,__webpack_require__){var cof=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_cof.js");module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-array-iter.js":function(module,exports,__webpack_require__){var Iterators=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_iterators.js"),ITERATOR=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks.js")("iterator"),ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-array.js":function(module,exports,__webpack_require__){var cof=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_cof.js");module.exports=Array.isArray||function isArray(arg){return"Array"==cof(arg)}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-object.js":function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-call.js":function(module,exports,__webpack_require__){var anObject=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_an-object.js");module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator.return;throw void 0!==ret&&anObject(ret.call(iterator)),e}}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-create.js":function(module,exports,__webpack_require__){"use strict";var create=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-create.js"),descriptor=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_property-desc.js"),setToStringTag=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_set-to-string-tag.js"),IteratorPrototype={};__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_hide.js")(IteratorPrototype,__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks.js")("iterator"),(function(){return this})),module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)}),setToStringTag(Constructor,NAME+" Iterator")}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-define.js":function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_library.js"),$export=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_export.js"),redefine=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_redefine.js"),hide=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_hide.js"),Iterators=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_iterators.js"),$iterCreate=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-create.js"),setToStringTag=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_set-to-string-tag.js"),getPrototypeOf=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gpo.js"),ITERATOR=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks.js")("iterator"),BUGGY=!([].keys&&"next"in[].keys()),returnThis=function(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var methods,key,IteratorPrototype,getMethod=function(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case"keys":return function keys(){return new Constructor(this,kind)};case"values":return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}},TAG=NAME+" Iterator",DEF_VALUES="values"==DEFAULT,VALUES_BUG=!1,proto=Base.prototype,$native=proto[ITERATOR]||proto["@@iterator"]||DEFAULT&&proto[DEFAULT],$default=$native||getMethod(DEFAULT),$entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0,$anyNative="Array"==NAME&&proto.entries||$native;if($anyNative&&(IteratorPrototype=getPrototypeOf($anyNative.call(new Base)))!==Object.prototype&&IteratorPrototype.next&&(setToStringTag(IteratorPrototype,TAG,!0),LIBRARY||"function"==typeof IteratorPrototype[ITERATOR]||hide(IteratorPrototype,ITERATOR,returnThis)),DEF_VALUES&&$native&&"values"!==$native.name&&(VALUES_BUG=!0,$default=function values(){return $native.call(this)}),LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default),Iterators[NAME]=$default,Iterators[TAG]=returnThis,DEFAULT)if(methods={values:DEF_VALUES?$default:getMethod("values"),keys:IS_SET?$default:getMethod("keys"),entries:$entries},FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods);return methods}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-detect.js":function(module,exports,__webpack_require__){var ITERATOR=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks.js")("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR]();riter.return=function(){SAFE_CLOSING=!0},Array.from(riter,(function(){throw 2}))}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return!1;var safe=!1;try{var arr=[7],iter=arr[ITERATOR]();iter.next=function(){return{done:safe=!0}},arr[ITERATOR]=function(){return iter},exec(arr)}catch(e){}return safe}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-step.js":function(module,exports){module.exports=function(done,value){return{value:value,done:!!done}}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_iterators.js":function(module,exports){module.exports={}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_library.js":function(module,exports){module.exports=!0},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_meta.js":function(module,exports,__webpack_require__){var META=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_uid.js")("meta"),isObject=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-object.js"),has=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_has.js"),setDesc=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-dp.js").f,id=0,isExtensible=Object.isExtensible||function(){return!0},FREEZE=!__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_fails.js")((function(){return isExtensible(Object.preventExtensions({}))})),setMeta=function(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})},meta=module.exports={KEY:META,NEED:!1,fastKey:function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i},getWeak:function(it,create){if(!has(it,META)){if(!isExtensible(it))return!0;if(!create)return!1;setMeta(it)}return it[META].w},onFreeze:function(it){return FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it),it}}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_microtask.js":function(module,exports,__webpack_require__){var global=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_global.js"),macrotask=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_task.js").set,Observer=global.MutationObserver||global.WebKitMutationObserver,process=global.process,Promise=global.Promise,isNode="process"==__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_cof.js")(process);module.exports=function(){var head,last,notify,flush=function(){var parent,fn;for(isNode&&(parent=process.domain)&&parent.exit();head;){fn=head.fn,head=head.next;try{fn()}catch(e){throw head?notify():last=void 0,e}}last=void 0,parent&&parent.enter()};if(isNode)notify=function(){process.nextTick(flush)};else if(!Observer||global.navigator&&global.navigator.standalone)if(Promise&&Promise.resolve){var promise=Promise.resolve(void 0);notify=function(){promise.then(flush)}}else notify=function(){macrotask.call(global,flush)};else{var toggle=!0,node=document.createTextNode("");new Observer(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle}}return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task),head||(head=task,notify()),last=task}}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_new-promise-capability.js":function(module,exports,__webpack_require__){"use strict";var aFunction=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_a-function.js");function PromiseCapability(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aFunction(resolve),this.reject=aFunction(reject)}module.exports.f=function(C){return new PromiseCapability(C)}},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-assign.js":function(module,exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_descriptors.js"),getKeys=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-keys.js"),gOPS=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gops.js"),pIE=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-pie.js"),toObject=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-object.js"),IObject=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_iobject.js"),$assign=Object.assign;module.exports=!$assign||__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_fails.js")((function(){var A={},B={},S=Symbol(),K="abcdefghijklmnopqrst";return A[S]=7,K.split("").forEach((function(k){B[k]=k})),7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K}))?function assign(target,source){for(var T=toObject(target),aLen=arguments.length,index=1,getSymbols=gOPS.f,isEnum=pIE.f;aLen>index;)for(var key,S=IObject(arguments[index++]),keys=getSymbols?getKeys(S).concat(getSymbols(S)):getKeys(S),length=keys.length,j=0;length>j;)key=keys[j++],DESCRIPTORS&&!isEnum.call(S,key)||(T[key]=S[key]);return T}:$assign},"./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-create.js":function(module,exports,__webpack_require__){var anObject=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_an-object.js"),dPs=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-dps.js"),enumBugKeys=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_enum-bug-keys.js"),IE_PROTO=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO"),Empty=function(){},createDict=function(){var iframeDocument,iframe=__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_dom-create.js")("iframe"),i=enumBugKeys.length;for(iframe.style.display="none",__webpack_require__("./node_modules/babel-runtime/node_modules/core-js/library/modules/_html.js").appendChild(iframe),iframe.src="javascript:",(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write("