@teambit/env 1.0.269 → 1.0.270

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
34
34
  `))})}function AllLineNumbers(_ref2){var codeString=_ref2.codeString,codeStyle=_ref2.codeStyle,_ref2$containerStyle=_ref2.containerStyle,containerStyle=_ref2$containerStyle===void 0?{float:"left",paddingRight:"10px"}:_ref2$containerStyle,_ref2$numberStyle=_ref2.numberStyle,numberStyle=_ref2$numberStyle===void 0?{}:_ref2$numberStyle,startingLineNumber=_ref2.startingLineNumber;return react.createElement("code",{style:Object.assign({},codeStyle,containerStyle)},getAllLineNumbers({lines:codeString.replace(/\n$/,"").split(`
35
35
  `),style:numberStyle,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){var defaultLineNumberStyle={display:"inline-block",minWidth:getEmWidthOfNumber(largestLineNumber),paddingRight:"1em",textAlign:"right",userSelect:"none"},customLineNumberStyle=typeof lineNumberStyle=="function"?lineNumberStyle(lineNumber):lineNumberStyle,assembledStyle=(0,objectSpread.Z)({},defaultLineNumberStyle,customLineNumberStyle);return assembledStyle}function createLineElement(_ref3){var children=_ref3.children,lineNumber=_ref3.lineNumber,lineNumberStyle=_ref3.lineNumberStyle,largestLineNumber=_ref3.largestLineNumber,showInlineLineNumbers=_ref3.showInlineLineNumbers,_ref3$lineProps=_ref3.lineProps,lineProps=_ref3$lineProps===void 0?{}:_ref3$lineProps,_ref3$className=_ref3.className,className=_ref3$className===void 0?[]:_ref3$className,showLineNumbers=_ref3.showLineNumbers,wrapLongLines=_ref3.wrapLongLines,properties=typeof lineProps=="function"?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=(0,objectSpread.Z)({},properties.style,{display:"flex"})),{type:"element",tagName:"span",properties,children}}function flattenCodeTree(tree){for(var className=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],newTree=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=0;i<tree.length;i++){var node=tree[i];if(node.type==="text")newTree.push(createLineElement({children:[node],className:_toConsumableArray(new Set(className))}));else if(node.children){var classNames=className.concat(node.properties.className);newTree=newTree.concat(flattenCodeTree(node.children,classNames))}}return newTree}function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle,wrapLongLines){var _ref4,tree=flattenCodeTree(codeTree.value),newTree=[],lastLineBreakIndex=-1,index=0;function createWrappedLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return createLineElement({children:children2,lineNumber:lineNumber2,lineNumberStyle,largestLineNumber,showInlineLineNumbers,lineProps,className,showLineNumbers,wrapLongLines})}function createUnwrappedLine(children2,lineNumber2){if(showLineNumbers&&lineNumber2&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber2,largestLineNumber);children2.unshift(getInlineLineNumber(lineNumber2,inlineLineNumberStyle))}return children2}function createLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children2,lineNumber2,className):createUnwrappedLine(children2,lineNumber2)}for(var _loop=function(){var node=tree[index],value=node.children[0].value,newLines=getNewLines(value);if(newLines){var splitValue=value.split(`
36
36
  `);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,`
37
- `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}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 language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:(0,objectSpread.Z)({},style['code[class*="language-"]'],style['code[class*="language-'.concat(language,'"]')])}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!0:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$wrapLongLines=_ref7.wrapLongLines,wrapLongLines=_ref7$wrapLongLines===void 0?!1:_ref7$wrapLongLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_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.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,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.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));(wrapLines===void 0&&renderer||wrapLongLines)&&(wrapLines=!0),renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle,wrapLongLines);return wrapLongLines?codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre-wrap"}):codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre"}),react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}const default_style={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var lowlight=__webpack_require__(23387),lowlight_default=__webpack_require__.n(lowlight);const supported_languages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","node-repl","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var highlighter=highlight(lowlight_default(),default_style);highlighter.supportedLanguages=supported_languages;const default_highlight=highlighter,xcode={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},table_row_module={propRow:"table-row_propRow__3in9b",singleColumn:"table-row_singleColumn__2EowM",mobileTitle:"table-row_mobileTitle__Kr51h",show:"table-row_show__EbJqY",column:"table-row_column__1sVpC",columnContent:"table-row_columnContent__H74AP",title:"table-row_title__WZ4lb",required:"table-row_required__YTKPP",name:"table-row_name__1_lKU",type:"table-row_type__3IyDE",typeColumn:"table-row_typeColumn__34a0R",highlighted:"table-row_highlighted__2b9my",default:"table-row_default__zw6HX",breakWord:"table-row_breakWord__3xe6h"};function TableRow({row,customRow,colNumber=4,headings,isListView,className,...rest}){return(0,jsx_runtime.jsx)(dist.r,{col:colNumber,className:classnames_default()(table_row_module.propRow,{[table_row_module.singleColumn]:isListView},className),...rest,children:headings.map(title=>{const keyString=`${title}-${row[title]}`;return title==="required"?null:title==="name"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),(0,jsx_runtime.jsxs)("div",{className:table_row_module.columnContent,children:[(0,jsx_runtime.jsx)("div",{className:table_row_module.name,children:customRow?.name||row[title]}),!customRow?.required&&row.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:"(Required)"}),customRow?.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:customRow.required})]})]},keyString):title==="type"?(0,jsx_runtime.jsxs)(TableColumn,{className:classnames_default()(table_row_module.breakWord,table_row_module.typeColumn),children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.type&&(0,jsx_runtime.jsx)(default_highlight,{theme:xcode,language:"javascript",className:table_row_module.highlighted,children:row[title]}),customRow?.type]},keyString):title==="default"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:row[title]&&row[title]?.value||"-"}),customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:customRow.default})]},keyString):title==="description"?(0,jsx_runtime.jsx)(TableColumn,{className:table_row_module.breakWord,children:customRow?.description||row[title]},keyString):(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),customRow?.[title]||row[title]]},keyString)})})}const table_module={table:"table_table__2JGw5"};function Table({headings,rows,colNumber,isListView,className,...rest}){const cols=colNumber||4;return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(table_module.table,className),children:[(0,jsx_runtime.jsx)(HeadingRow,{isListView,colNumber:cols,headings}),rows.map(row=>(0,jsx_runtime.jsx)(TableRow,{isListView,headings,row,colNumber:cols},`tableRow-${row.name}`))]})}Table.defaultProps={colNumber:4};function PropTable({rows,listViewResolution,showListView,...rest}){const[ref,{width}]=(0,es.default)(),debouncedSize=useDebounce(width,300,{leading:!0}),isListView=showListView||+debouncedSize[0]<=(listViewResolution||0);return width?(0,jsx_runtime.jsx)("div",{ref,children:(0,jsx_runtime.jsx)(Table,{...rest,headings:["name","type","default","description"],rows,isListView})}):(0,jsx_runtime.jsx)("div",{ref})}PropTable.defaultProps={listViewResolution:768}},1105:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(46845),exports)},46845:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Section=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),section_module_scss_1=__importDefault(__webpack_require__(74482));function Section(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);return react_1.default.createElement("div",Object.assign({className:classnames_1.default(section_module_scss_1.default.spacer,section_module_scss_1.default.sectionMargin,className)},rest),children)}exports.Section=Section},53589:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(69317);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},69317:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(89257));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:classnames_1.default(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},62479:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(54800);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},54800:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(21104));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:(0,classnames_1.default)(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},80391:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(42086),exports)},42086:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Subtitle=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_muted_text_1=__webpack_require__(62391),documenter_ui_paragraph_1=__webpack_require__(18808),sub_title_module_scss_1=__importDefault(__webpack_require__(78385));function Subtitle(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(documenter_ui_paragraph_1.Paragraph,Object.assign({element:"p",className:classnames_1.default(base_ui_text_muted_text_1.mutedText,sub_title_module_scss_1.default.subTitle,className),size:"xl"},rest),children)}exports.Subtitle=Subtitle},45651:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;var sup_1=__webpack_require__(59986);Object.defineProperty(exports,"Sup",{enumerable:!0,get:function(){return sup_1.Sup}})},59986:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),sup_module_scss_1=__importDefault(__webpack_require__(82595));function Sup(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("sup",Object.assign({},rest,{className:(0,classnames_1.default)(sup_module_scss_1.default.sup,className)}),children)}exports.Sup=Sup},21806:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_table_module_scss_1=__importDefault(__webpack_require__(3647));function Table(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("table",Object.assign({},rest,{className:(0,classnames_1.default)(base_table_module_scss_1.default.table,className)}),children)}exports.Table=Table},3909:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(21806);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},45337:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;var td_1=__webpack_require__(43784);Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return td_1.Td}})},43784:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),td_module_scss_1=__importDefault(__webpack_require__(81099));function Td(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("td",Object.assign({},rest,{className:(0,classnames_1.default)(td_module_scss_1.default.td,className)}),children)}exports.Td=Td},12158:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;var tr_1=__webpack_require__(37945);Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return tr_1.Tr}})},37945:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tr_module_scss_1=__importDefault(__webpack_require__(8527));function Tr(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("tr",Object.assign({},rest,{className:(0,classnames_1.default)(tr_module_scss_1.default.tr,className)}),children)}exports.Tr=Tr},96157:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(28863);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},28863:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ul_module_scss_1=__importDefault(__webpack_require__(28839));function Ul(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ul",Object.assign({},rest,{className:(0,classnames_1.default)(ul_module_scss_1.default.ul,className)}),children)}exports.Ul=Ul},51072:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.fadeInOutClass=void 0;const fade_in_out_module_scss_1=__importDefault(__webpack_require__(41155));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},84770:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(49998),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},6281:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(84770),exports)},38946:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(49998),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},83327:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(38946),exports)},26:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Dropdown=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_drawer_1=__webpack_require__(92356),base_ui_surfaces_abs_container_1=__webpack_require__(8428),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),base_ui_surfaces_background_1=__webpack_require__(41755),dropdown_module_scss_1=__importDefault(__webpack_require__(83919)),evangelist_css_components_fade_in_out_1=__webpack_require__(51072);function Dropdown(_a){var{children,position="bottom",dropClass}=_a,rest=__rest(_a,["children","position","dropClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({},rest),react_1.default.createElement(DropdownMenu,{position,className:dropClass},children))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="medium",roundness="sharp"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:classnames_1.default(dropdown_module_scss_1.default.dropdown,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],evangelist_css_components_fade_in_out_1.fadeInOutClass,className)}))}Dropdown.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},47676:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(26),exports)},78057:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(88311),exports),__exportStar(__webpack_require__(54802),exports),__exportStar(__webpack_require__(76329),exports)},76329:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(1096),exports)},1096:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Arrow=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(8428),arrow_module_scss_1=__importDefault(__webpack_require__(41949)),arrow_position_module_scss_1=__importDefault(__webpack_require__(63604)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(20742));function Arrow(props){const{position="none",className}=props;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},props,{className:classnames_1.default(arrow_module_scss_1.default.arrow,arrow_shadow_module_scss_1.default[position],arrow_position_module_scss_1.default[position],className)}))}exports.Arrow=Arrow},54802:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(21326),exports)},21326:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipMenu=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(8428),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),tooltip_card_module_scss_1=__importDefault(__webpack_require__(40606)),TooltipMenu=_a=>{var{position,children,elevation="medium",roundness="sharp",className}=_a,rest=__rest(_a,["position","children","elevation","roundness","className"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({position,className:classnames_1.default(tooltip_card_module_scss_1.default.menu,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest),children)};exports.TooltipMenu=TooltipMenu,exports.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},88311:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipDrawer=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_drawer_1=__webpack_require__(92356),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_css_components_fade_in_out_1=__webpack_require__(51072),tooltip_card_1=__webpack_require__(54802),tooltip_arrow_1=__webpack_require__(76329),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(3069));function TooltipDrawer(_a){var{children,className,position="bottom",elevation,tooltipClass,arrowClass}=_a,rest=__rest(_a,["children","className","position","elevation","tooltipClass","arrowClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({className:classnames_1.default(tooltip_drawer_module_scss_1.default.drawer,className)},rest),react_1.default.createElement(tooltip_card_1.TooltipMenu,{position,elevation,className:classnames_1.default(tooltipClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.tooltip)},children),react_1.default.createElement(tooltip_arrow_1.Arrow,{position,className:classnames_1.default(arrowClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.arrow)}))}exports.TooltipDrawer=TooltipDrawer,TooltipDrawer.defaultProps={hoverToOpen:!1,position:"bottom"}},55521:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=exports.gql=exports.useQuery=void 0;var use_query_light_1=__webpack_require__(12410);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_light_1.useQuery}}),Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return use_query_light_1.gql}});var server_context_1=__webpack_require__(68947);Object.defineProperty(exports,"QueryServerProvider",{enumerable:!0,get:function(){return server_context_1.QueryServerProvider}}),Object.defineProperty(exports,"useQueryServer",{enumerable:!0,get:function(){return server_context_1.useQueryServer}})},68947:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=void 0;const react_1=__webpack_require__(59496),QueryServerCtx=(0,react_1.createContext)("/graphql");exports.QueryServerProvider=QueryServerCtx.Provider;const useQueryServer=()=>(0,react_1.useContext)(QueryServerCtx);exports.useQueryServer=useQueryServer},12410:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=exports.gql=void 0;const react_1=__webpack_require__(59496),graphql_request_1=__webpack_require__(2672),use_deep_compare_1=__webpack_require__(14605),server_context_1=__webpack_require__(68947);var graphql_request_2=__webpack_require__(2672);Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return graphql_request_2.gql}});function useQuery(query,{variables,server,headers}={}){const mountedRef=(0,react_1.useRef)(!0),[state,setState]=(0,react_1.useState)({loading:!1}),stableVariables=(0,use_deep_compare_1.useDeepCompareMemo)(()=>variables,[variables]),ctxServer=(0,server_context_1.useQueryServer)();return(0,react_1.useEffect)(()=>()=>{mountedRef.current=!1},[]),(0,react_1.useEffect)(()=>{const controller=createAborter();return setState(obj=>Object.assign(Object.assign({},obj),{loading:!0,error:void 0})),(0,graphql_request_1.request)({url:server||ctxServer,document:query,variables:stableVariables,requestHeaders:headers,signal:controller?.signal}).then(result=>{mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{data:result,loading:!1}))}).catch(e=>{var _a,_b,_c,_d;const isAborted=e&&(e.type==="aborted"||((_b=(_a=e.message).toLowerCase)===null||_b===void 0?void 0:_b.call(_a))==="aborted"||((_d=(_c=e.name).toLowerCase)===null||_d===void 0?void 0:_d.call(_c))==="aborterror");mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{error:isAborted?void 0:e,loading:!1}))}),()=>{controller?.abort()}},[query,stableVariables]),state}exports.useQuery=useQuery;function createAborter(){if(!(typeof AbortController>"u"))return new AbortController}},2538:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=exports.LaneId=void 0;var lane_id_1=__webpack_require__(55431);Object.defineProperty(exports,"LaneId",{enumerable:!0,get:function(){return lane_id_1.LaneId}}),Object.defineProperty(exports,"DEFAULT_LANE",{enumerable:!0,get:function(){return lane_id_1.DEFAULT_LANE}}),Object.defineProperty(exports,"LANE_REMOTE_DELIMITER",{enumerable:!0,get:function(){return lane_id_1.LANE_REMOTE_DELIMITER}})},55431:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneId=exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=void 0;const bit_error_1=__webpack_require__(74155);exports.DEFAULT_LANE="main",exports.LANE_REMOTE_DELIMITER="/";class LaneId{constructor({name,scope}){this.name=name,this.scope=scope,Object.freeze(this)}hasSameName(id){return this.name===id.name}hasSameScope(id){return!id.scope&&!this.scope?!0:this.scope===id.scope}isEqual(laneId){return this.hasSameName(laneId)&&this.hasSameScope(laneId)}isDefault(){return this.name===exports.DEFAULT_LANE}toString(){return this.scope?this.scope+exports.LANE_REMOTE_DELIMITER+this.name:this.name}toObject(){return{scope:this.scope,name:this.name}}static from(name,scope){return new LaneId({scope,name})}static parse(id){if(!id.includes(exports.LANE_REMOTE_DELIMITER))throw new bit_error_1.BitError(`invalid lane-id, "${id}" is missing a delimiter "(${exports.LANE_REMOTE_DELIMITER})"`);const split=id.split(exports.LANE_REMOTE_DELIMITER);if(split.length>2)throw new bit_error_1.BitError(`invalid lane-id "${id}". a lane id can have only one "${exports.LANE_REMOTE_DELIMITER}"`);return LaneId.from(split[1],split[0])}}exports.LaneId=LaneId},33406:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(12904),exports)},12904:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;const react_1=__importStar(__webpack_require__(59496)),mdx_ui_mdx_scope_context_1=__webpack_require__(81846),react_2=__webpack_require__(49613),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56750);function Snippet(_a){var{scope}=_a,rest=__rest(_a,["scope"]);const components=(0,react_1.useContext)(mdx_ui_mdx_scope_context_1.MDXScopeContext),_scope=(0,react_1.useMemo)(()=>Object.assign(Object.assign(Object.assign({},components),{mdx:react_2.mdx}),scope),[components,scope,react_2.mdx]);return react_1.default.createElement(documenter_markdown_hybrid_live_code_snippet_1.Snippet,Object.assign({scope:_scope},rest))}exports.Snippet=Snippet},47975:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MDXLayout:()=>MDXLayout});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),dist=__webpack_require__(42699),mdx_ui_docs_snippet_dist=__webpack_require__(33406),base_react_navigation_link_dist=__webpack_require__(67108);const link_module={link:"link_link__3ervK"};function Link(props){return(0,jsx_runtime.jsx)(base_react_navigation_link_dist.Link,{...props,className:link_module.link,external:!0})}const mdxComponents={code:mdx_ui_docs_snippet_dist.Snippet,a:Link};function MDXLayout({components,...rest}){const memoizedComponents=(0,react.useMemo)(()=>({...mdxComponents,...components}),[mdxComponents,components]);return(0,jsx_runtime.jsx)(dist.f,{components:memoizedComponents,...rest})}},26381:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(89140),base_ui_styles_flex_center_1=__webpack_require__(10981),error_fallback_module_scss_1=__importDefault(__webpack_require__(86899));function ErrorFallback({resetErrorBoundary,className,children="Failed to render",cta="try again"}){const handleClick=()=>__awaiter(this,void 0,void 0,function*(){yield new Promise(resolve=>setTimeout(resolve,480)),resetErrorBoundary()});return react_1.default.createElement("div",{className:(0,classnames_1.default)(error_fallback_module_scss_1.default.errorFallback,base_ui_styles_flex_center_1.flexCenter,className)},react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.icon}),react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.message},children),react_1.default.createElement(design_ui_icon_button_1.IconButton,{onClick:handleClick,className:error_fallback_module_scss_1.default.retryButton},cta))}exports.ErrorFallback=ErrorFallback},73783:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(26381);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},55239:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(14827),exports),__exportStar(__webpack_require__(71418),exports),__exportStar(__webpack_require__(17970),exports)},14827:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoaderContext=void 0;const react_1=__webpack_require__(59496),defaultLoaderApi={isActive:()=>!1,update:()=>!1,remove:()=>!1};exports.LoaderContext=(0,react_1.createContext)(defaultLoaderApi)},71418:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoaderApi=void 0;const react_1=__webpack_require__(59496);function useLoaderApi(){const{current:loaders}=(0,react_1.useRef)(new Set),[isLoading,setIsLoading]=(0,react_1.useState)(!1),reevaluate=(0,react_1.useCallback)(()=>{setIsLoading(loaders.size>0)},[loaders]);return[(0,react_1.useMemo)(()=>({isActive:id=>loaders.has(id),update:(id,value)=>{const res=value?!!loaders.add(id):loaders.delete(id);return reevaluate(),res},remove:id=>{const res=loaders.delete(id);return reevaluate(),res}}),[loaders,reevaluate]),isLoading]}exports.useLoaderApi=useLoaderApi},17970:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoader=void 0;const react_1=__webpack_require__(59496),uuid_1=__webpack_require__(37196),loader_context_1=__webpack_require__(14827);function useLoader(loading){const[id]=(0,react_1.useState)(()=>(0,uuid_1.v1)()),ctx=(0,react_1.useContext)(loader_context_1.LoaderContext);(0,react_1.useEffect)(()=>(ctx.update(id,loading),()=>{ctx.remove(id)}),[loading,ctx,id])}exports.useLoader=useLoader},25338:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;var use_data_query_1=__webpack_require__(45383);Object.defineProperty(exports,"useDataQuery",{enumerable:!0,get:function(){return use_data_query_1.useDataQuery}})},45383:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;const react_1=__webpack_require__(59496),client_1=__webpack_require__(97299),ui_foundation_ui_notifications_notification_context_1=__webpack_require__(44758),ui_foundation_ui_global_loader_1=__webpack_require__(55239);function useDataQuery(query,options){const res=(0,client_1.useQuery)(query,options),notifications=(0,react_1.useContext)(ui_foundation_ui_notifications_notification_context_1.NotificationContext),{loading,error}=res;return(0,ui_foundation_ui_global_loader_1.useLoader)(loading),error&&notifications.error(apolloErrorToString(error)),res}exports.useDataQuery=useDataQuery;function apolloErrorToString(error){return error.toString()}},84214:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;var use_is_mobile_1=__webpack_require__(57761);Object.defineProperty(exports,"useIsMobile",{enumerable:!0,get:function(){return use_is_mobile_1.useIsMobile}})},57761:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;const ui_foundation_ui_hooks_use_user_agent_1=__webpack_require__(20918);function useIsMobile(){var _a;const deviceType=(_a=(0,ui_foundation_ui_hooks_use_user_agent_1.useUserAgent)())===null||_a===void 0?void 0:_a.getDevice().type;return deviceType==="tablet"||deviceType==="mobile"}exports.useIsMobile=useIsMobile},20918:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.UserAgentProvider=exports.userAgentContext=exports.ssrBrowserContext=exports.SSRBrowserProvider=void 0;var use_user_agent_1=__webpack_require__(74175);Object.defineProperty(exports,"SSRBrowserProvider",{enumerable:!0,get:function(){return use_user_agent_1.SSRBrowserProvider}}),Object.defineProperty(exports,"ssrBrowserContext",{enumerable:!0,get:function(){return use_user_agent_1.ssrBrowserContext}}),Object.defineProperty(exports,"userAgentContext",{enumerable:!0,get:function(){return use_user_agent_1.userAgentContext}}),Object.defineProperty(exports,"UserAgentProvider",{enumerable:!0,get:function(){return use_user_agent_1.UserAgentProvider}}),Object.defineProperty(exports,"useUserAgent",{enumerable:!0,get:function(){return use_user_agent_1.useUserAgent}})},74175:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.SSRBrowserProvider=exports.ssrBrowserContext=exports.UserAgentProvider=exports.userAgentContext=void 0;const react_1=__webpack_require__(59496),ua_parser_js_1=__importDefault(__webpack_require__(35202));exports.userAgentContext=(0,react_1.createContext)(void 0),exports.UserAgentProvider=exports.userAgentContext.Provider,exports.ssrBrowserContext=(0,react_1.createContext)(void 0),exports.SSRBrowserProvider=exports.ssrBrowserContext.Provider;function useUserAgent(){const browser=(0,react_1.useContext)(exports.ssrBrowserContext);return browser?new ua_parser_js_1.default(browser.headers["user-agent"]):new ua_parser_js_1.default(window.navigator.userAgent)}exports.useUserAgent=useUserAgent},69497:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;var keycap_1=__webpack_require__(16617);Object.defineProperty(exports,"KeySequence",{enumerable:!0,get:function(){return keycap_1.KeySequence}}),Object.defineProperty(exports,"KeyCombo",{enumerable:!0,get:function(){return keycap_1.KeyCombo}}),Object.defineProperty(exports,"Keycap",{enumerable:!0,get:function(){return keycap_1.Keycap}})},91205:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prettifyKey=void 0;const ui_foundation_ui_is_browser_1=__webpack_require__(48843),macKeySymbols={shift:"\u21E7",ctrl:"\u2303",alt:"\u2325",command:"\u2318",meta:"\u2318",mod:"\u2318",backspace:"\u232B",tab:"\u21E5",enter:"\u21A9",return:"\u21A9",capslock:"\u21EA",esc:"\u238B",escape:"\u238B",space:"\u2423",pageup:"\u21DE",pagedown:"\u21DF",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"\u2326",ins:"insert",plus:"+"},winKeySymbols={shift:"shift",ctrl:"ctrl",alt:"alt",meta:"win",mod:"ctrl",backspace:"backspace",tab:"tab",enter:"enter",return:"enter",capslock:"caps lock",esc:"Esc",escape:"Esc",space:"\u2423",pageup:"pgUp",pagedown:"pgDown",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"del",ins:"insert",plus:"+"},macRegex=/Mac|iPod|iPhone|iPad/;function prettifyKey(key){if(typeof key!="string")return key;const lib=!ui_foundation_ui_is_browser_1.isBrowser||macRegex.test(window.navigator.platform)?macKeySymbols:winKeySymbols;return key in lib?lib[key]:key}exports.prettifyKey=prettifyKey},16617:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),key_module_scss_1=__importDefault(__webpack_require__(90372)),key_characters_1=__webpack_require__(91205);function KeySequence(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const content=(0,react_1.useMemo)(()=>{const mapped=children.split(" ").map(x=>x.trim()).filter(x=>!!x).map((combo,idx)=>react_1.default.createElement(KeyCombo,{key:idx},combo));return insertBetween(mapped,idx=>react_1.default.createElement(Then,{key:`then-sep_${idx}`}))},[children]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(key_module_scss_1.default.keySequence,className)}),content)}exports.KeySequence=KeySequence;function KeyCombo(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const split=children.split("+").map(x=>x.trim());return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keyCombo)}),split.map((x,idx)=>react_1.default.createElement(Keycap,{key:idx},x)))}exports.KeyCombo=KeyCombo;function Keycap(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);const prettyKey=(0,key_characters_1.prettifyKey)(children);return react_1.default.createElement("kbd",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keycap)}),prettyKey)}exports.Keycap=Keycap;function insertBetween(arr,toInsert){const res=[];return arr.forEach((item,idx)=>{res.push(item),res.push(toInsert(idx))}),res.pop(),res}function Then(){return react_1.default.createElement("span",{className:key_module_scss_1.default.thenSep},"then")}},76285:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;var main_dropdown_1=__webpack_require__(71135);Object.defineProperty(exports,"MainDropdown",{enumerable:!0,get:function(){return main_dropdown_1.MainDropdown}})},71135:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;const evangelist_elements_icon_1=__webpack_require__(6281),evangelist_surfaces_tooltip_1=__webpack_require__(78057),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),lodash_1=__webpack_require__(32699),ui_foundation_ui_keycap_1=__webpack_require__(69497),main_dropdown_module_scss_1=__importDefault(__webpack_require__(47402));function MainDropdown(_a){var{menuItems,className}=_a,rest=__rest(_a,["menuItems","className"]);return!menuItems||(0,lodash_1.isEmpty)(menuItems)?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.mainDropdown,className)}),react_1.default.createElement(evangelist_surfaces_tooltip_1.TooltipDrawer,{className:main_dropdown_module_scss_1.default.dropdown,tooltipClass:main_dropdown_module_scss_1.default.menu,placeholder:"",clickOutside:!0,PlaceholderComponent:()=>react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.iconAnchor},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.overlay}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.icon),of:"more"}))},react_1.default.createElement("div",null,Object.keys(menuItems).map((category,index)=>react_1.default.createElement(MenuBlock,{key:index,title:category},menuItems[category].map(item=>item&&react_1.default.createElement(Line,{key:item.keyChar,lineTitle:item.title,keyChar:item.keyChar,onClick:item.handler})))))))}exports.MainDropdown=MainDropdown;function Line(_a){var{lineTitle,keyChar,onClick}=_a,rest=__rest(_a,["lineTitle","keyChar","onClick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.line),onClick}),react_1.default.createElement("div",null,lineTitle),keyChar&&react_1.default.createElement("pre",null,react_1.default.createElement(ui_foundation_ui_keycap_1.KeySequence,null,keyChar)))}function MenuBlock({title,children}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.menuBlock)},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.title},title),children)}},43492:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;var menu_widget_icon_1=__webpack_require__(80548);Object.defineProperty(exports,"MenuWidgetIcon",{enumerable:!0,get:function(){return menu_widget_icon_1.MenuWidgetIcon}})},80548:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),design_ui_tooltip_1=__webpack_require__(49142),menu_widget_icon_module_scss_1=__importDefault(__webpack_require__(4909));function MenuWidgetIcon(_a){var{tooltipContent,icon,className}=_a,rest=__rest(_a,["tooltipContent","icon","className"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{placement:"bottom",offset:[0,15],content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(menu_widget_icon_module_scss_1.default.widgetMenuIcon,className)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:menu_widget_icon_module_scss_1.default.icon})))}exports.MenuWidgetIcon=MenuWidgetIcon},44758:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(55236),exports)},55236:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNotifications=exports.NotificationContext=void 0;const react_1=__webpack_require__(59496),DefaultNotificationApi={add:()=>"",log:()=>"",error:()=>"",dismiss:()=>{},clear:()=>{}};exports.NotificationContext=(0,react_1.createContext)(DefaultNotificationApi);const useNotifications=()=>(0,react_1.useContext)(exports.NotificationContext);exports.useNotifications=useNotifications},44514:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;var use_query_1=__webpack_require__(92887);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_1.useQuery}})},92887:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;const base_react_navigation_link_1=__webpack_require__(97667);function useQuery(){const{search}=(0,base_react_navigation_link_1.useLocation)()||{search:"/"};return new URLSearchParams(search)}exports.useQuery=useQuery},94706:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitInfo=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_content_documentation_links_1=__webpack_require__(2681),documenter_ui_copy_box_1=__webpack_require__(66377),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),base_react_navigation_link_1=__webpack_require__(97667),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),bit_info_module_scss_1=__importDefault(__webpack_require__(91814));function BitInfo(_a){var rest=__rest(_a,[]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,{className:bit_info_module_scss_1.default.moreInfo,bottom:react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,href:documenter_content_documentation_links_1.links.installBit,className:ui_foundation_ui_use_box_bottom_link_1.linkStyles},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"information-sign"}),react_1.default.createElement("span",null,"Learn more"))},react_1.default.createElement("div",null,"Install bit"),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,"npx @teambit/bvm install")))}exports.BitInfo=BitInfo},19912:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitInfo=void 0;var bit_info_1=__webpack_require__(94706);Object.defineProperty(exports,"BitInfo",{enumerable:!0,get:function(){return bit_info_1.BitInfo}})},27268:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkStyles=void 0;const bottom_link_module_scss_1=__importDefault(__webpack_require__(51001));exports.linkStyles=bottom_link_module_scss_1.default.link},37500:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_surfaces_dropdown_1=__webpack_require__(47676),evangelist_elements_icon_1=__webpack_require__(6281),dropdown_module_scss_1=__importDefault(__webpack_require__(42485));function UseBoxDropdown(_a){var{className,Menu,actionName,actionIcon}=_a,rest=__rest(_a,["className","Menu","actionName","actionIcon"]);const[key,setKey]=(0,react_1.useState)(0),DropdownMenu=react_1.default.cloneElement(Menu,{key});return react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,Object.assign({className:(0,classnames_1.default)(className)},rest,{onChange:(_e,open)=>open&&setKey(x=>x+1),dropClass:dropdown_module_scss_1.default.menu,placeholder:react_1.default.createElement(Placeholder,{actionName,actionIcon}),clickToggles:!1,clickPlaceholderToggles:!0}),DropdownMenu)}exports.UseBoxDropdown=UseBoxDropdown;function Placeholder(_a){var{actionName="Use",actionIcon="package"}=_a,rest=__rest(_a,["actionName","actionIcon"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.placeholder)},rest),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:actionIcon}),react_1.default.createElement("div",{className:dropdown_module_scss_1.default.content},actionName),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:dropdown_module_scss_1.default.content,of:"fat-arrow-down"}))}},87514:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;var dropdown_1=__webpack_require__(37500);Object.defineProperty(exports,"UseBoxDropdown",{enumerable:!0,get:function(){return dropdown_1.UseBoxDropdown}})},94110:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Import=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),classnames_1=__importDefault(__webpack_require__(97754)),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bit_info_1=__webpack_require__(19912),tooltip_copybox_1=__webpack_require__(89211),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Import(_a){var{componentId,packageName,componentName,showInstallMethod=!0}=_a,rest=__rest(_a,["componentId","packageName","componentName","showInstallMethod"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.ExpandableTabContent,Object.assign({},rest,{content:react_1.default.createElement("div",{className:menu_module_scss_1.default.importContent},react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(!showInstallMethod&&menu_module_scss_1.default.disabled)},!showInstallMethod&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:menu_module_scss_1.default.warnIcon,of:"warn-circle"}),showInstallMethod&&`Add ${componentName} as a dependency`,!showInstallMethod&&"Installation unavailable: This component has not been built yet"),showInstallMethod&&react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit install ${packageName??""}`,disabled:!showInstallMethod})),react_1.default.createElement("div",null,`Import ${componentName} to your workspace`),react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit import ${componentId}`}),react_1.default.createElement("div",null,`Fork ${componentName} to your workspace`),react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit fork ${componentId}`})),drawerTitle:react_1.default.createElement("div",{className:menu_module_scss_1.default.bottom},react_1.default.createElement(evangelist_elements_icon_1.Icon,{color:"yellow",of:"download"}),react_1.default.createElement("span",null,"Install Bit on your computer")),drawerContent:react_1.default.createElement(ui_foundation_ui_use_box_bit_info_1.BitInfo,null)}))}exports.Import=Import},68094:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Registry=exports.Install=exports.Import=exports.Menu=void 0;var menu_1=__webpack_require__(74896);Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return menu_1.Menu}});var import_1=__webpack_require__(94110);Object.defineProperty(exports,"Import",{enumerable:!0,get:function(){return import_1.Import}});var install_1=__webpack_require__(55965);Object.defineProperty(exports,"Install",{enumerable:!0,get:function(){return install_1.Install}});var registry_1=__webpack_require__(51324);Object.defineProperty(exports,"Registry",{enumerable:!0,get:function(){return registry_1.Registry}})},55965:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Install=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_ui_highlighted_text_1=__webpack_require__(34712),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),tooltip_copybox_1=__webpack_require__(89211),registry_1=__webpack_require__(51324),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Install(_a){var{componentName,copyString,registryName,packageManager,config,isInstallable}=_a,rest=__rest(_a,["componentName","copyString","registryName","packageManager","config","isInstallable"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.ExpandableTabContent,Object.assign({},rest,{content:react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(!isInstallable&&menu_module_scss_1.default.disabled)},!isInstallable&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:menu_module_scss_1.default.warnIcon,of:"warn-circle"}),isInstallable&&`Install ${componentName} with ${packageManager}`,!isInstallable&&"Installation unavailable: This component has not been built yet"),isInstallable&&react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:copyString,disabled:!isInstallable})),drawerTitle:registryName&&react_1.default.createElement("div",{className:menu_module_scss_1.default.bottom},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"settings"}),react_1.default.createElement("span",null,"Configure ",react_1.default.createElement(documenter_ui_highlighted_text_1.HighlightedText,null,registryName)," as a Scoped Registry")),drawerContent:registryName&&react_1.default.createElement(registry_1.Registry,{copyString:config})}))}exports.Install=Install},74896:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Menu=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),lodash_orderby_1=__importDefault(__webpack_require__(30174)),lodash_flatten_1=__importDefault(__webpack_require__(11549)),ui_foundation_ui_use_box_tab_1=__webpack_require__(11058),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Menu(_a){var{methods,componentName}=_a,rest=__rest(_a,["methods","componentName"]);const[activeTab,setActiveTab]=(0,react_1.useState)(0),OrderedMethods=(0,react_1.useMemo)(()=>(0,lodash_orderby_1.default)((0,lodash_flatten_1.default)(methods),["order"]),[methods]),{Component}=OrderedMethods[activeTab]||{};return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(rest.className,menu_module_scss_1.default.container)}),react_1.default.createElement("div",{className:menu_module_scss_1.default.top},react_1.default.createElement("div",{className:menu_module_scss_1.default.title},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"terminal"}),react_1.default.createElement("span",null,`Use ${componentName}`))),react_1.default.createElement("div",{className:menu_module_scss_1.default.tabs},OrderedMethods.map(({Title},index)=>react_1.default.createElement(ui_foundation_ui_use_box_tab_1.Tab,{key:index,isActive:activeTab===index,onClick:()=>setActiveTab(index)},Title))),Component)}exports.Menu=Menu},51324:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Registry=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_content_documentation_links_1=__webpack_require__(2681),documenter_ui_copy_box_1=__webpack_require__(66377),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),base_react_navigation_link_1=__webpack_require__(97667),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Registry(_a){var{copyString}=_a,rest=__rest(_a,["copyString"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{className:menu_module_scss_1.default.registry,bottom:react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,href:documenter_content_documentation_links_1.links.scopedRegistry,className:ui_foundation_ui_use_box_bottom_link_1.linkStyles},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"information-sign"}),react_1.default.createElement("span",null,"Learn more"))}),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,copyString))}exports.Registry=Registry},89211:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipCopybox=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_copy_box_1=__webpack_require__(66377),design_ui_tooltip_1=__webpack_require__(49142);function TooltipCopybox(_a){var{content}=_a,rest=__rest(_a,["content"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,Object.assign({},rest,{content,placement:"bottom",maxWidth:"",breakline:!0}),react_1.default.createElement("div",null,react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,content)))}exports.TooltipCopybox=TooltipCopybox},88860:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_animate_height_1=__importDefault(__webpack_require__(14434)),evangelist_elements_icon_1=__webpack_require__(6281),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),tab_content_module_scss_1=__importDefault(__webpack_require__(40517));function ExpandableTabContent(_a){var{tabContent,content,drawerContent,drawerTitle}=_a,rest=__rest(_a,["tabContent","content","drawerContent","drawerTitle"]);const[open,toggle]=(0,react_1.useState)(!1),iconStyles=open?tab_content_module_scss_1.default.open:"";return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{bottom:drawerTitle&&drawerContent&&react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(ui_foundation_ui_use_box_bottom_link_1.linkStyles,tab_content_module_scss_1.default.drawer),onClick:()=>toggle(!open)},react_1.default.createElement("div",null,drawerTitle),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"down-rounded-corners",className:iconStyles})),react_1.default.createElement(react_animate_height_1.default,{height:open?"auto":0},drawerContent))}),tabContent||content)}exports.ExpandableTabContent=ExpandableTabContent},6839:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=exports.TabContent=void 0;var tab_content_1=__webpack_require__(39854);Object.defineProperty(exports,"TabContent",{enumerable:!0,get:function(){return tab_content_1.TabContent}});var expandable_tab_content_1=__webpack_require__(88860);Object.defineProperty(exports,"ExpandableTabContent",{enumerable:!0,get:function(){return expandable_tab_content_1.ExpandableTabContent}})},39854:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabContent=void 0;const react_1=__importDefault(__webpack_require__(59496)),tab_content_module_scss_1=__importDefault(__webpack_require__(40517));function TabContent(_a){var{children,bottom}=_a,rest=__rest(_a,["children","bottom"]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement("div",{className:tab_content_module_scss_1.default.middle},children),bottom&&react_1.default.createElement("div",{className:tab_content_module_scss_1.default.bottom},bottom))}exports.TabContent=TabContent},11058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;var tab_1=__webpack_require__(33615);Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return tab_1.Tab}})},33615:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tab_module_scss_1=__importDefault(__webpack_require__(3115));function Tab(_a){var{onClick,isActive,className,children}=_a,rest=__rest(_a,["onClick","isActive","className","children"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(tab_module_scss_1.default.tab,isActive&&tab_module_scss_1.default.active,className),onClick}),children)}exports.Tab=Tab},94300:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__,tippy:()=>tippy_js__WEBPACK_IMPORTED_MODULE_0__.default,useSingleton:()=>useSingleton});var tippy_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(48199),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(59496),react_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(87995);function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}var isBrowser=typeof window<"u"&&typeof document<"u";function preserveRef(ref,node){ref&&(typeof ref=="function"&&ref(node),{}.hasOwnProperty.call(ref,"current")&&(ref.current=node))}function ssrSafeCreateDiv(){return isBrowser&&document.createElement("div")}function toDataAttributes(attrs){var dataAttrs={"data-placement":attrs.placement};return attrs.referenceHidden&&(dataAttrs["data-reference-hidden"]=""),attrs.escaped&&(dataAttrs["data-escaped"]=""),dataAttrs}function deepPreserveProps(instanceProps,componentProps){var _instanceProps$popper,_componentProps$poppe;return Object.assign({},componentProps,{popperOptions:Object.assign({},instanceProps.popperOptions,componentProps.popperOptions,{modifiers:[].concat((((_instanceProps$popper=instanceProps.popperOptions)==null?void 0:_instanceProps$popper.modifiers)||[]).filter(function(modifier){return modifier.name.indexOf("tippy")>=0}),((_componentProps$poppe=componentProps.popperOptions)==null?void 0:_componentProps$poppe.modifiers)||[])})})}var useIsomorphicLayoutEffect=isBrowser?react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_1__.useEffect;function useMutableBox(initialValue){var ref=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();return ref.current||(ref.current=typeof initialValue=="function"?initialValue():initialValue),ref.current}function updateClassName(box,action,classNames){classNames.split(/\s+/).forEach(function(name){name&&box.classList[action](name)})}var classNamePlugin={name:"className",defaultValue:"",fn:function(instance){var box=instance.popper.firstElementChild,isDefaultRenderFn=function(){var _instance$props$rende;return!!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy)};function add(){instance.props.className&&!isDefaultRenderFn()||updateClassName(box,"add",instance.props.className)}function remove(){isDefaultRenderFn()&&updateClassName(box,"remove",instance.props.className)}return{onCreate:add,onBeforeUpdate:remove,onAfterUpdate:add}}};function TippyGenerator(tippy){function Tippy(_ref){var children=_ref.children,content=_ref.content,visible=_ref.visible,singleton=_ref.singleton,render=_ref.render,reference=_ref.reference,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$ignoreAttributes=_ref.ignoreAttributes,ignoreAttributes=_ref$ignoreAttributes===void 0?!0:_ref$ignoreAttributes,__source=_ref.__source,__self=_ref.__self,restOfNativeProps=_objectWithoutPropertiesLoose(_ref,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),isControlledMode=visible!==void 0,isSingletonMode=singleton!==void 0,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}),attrs=_useState2[0],setAttrs=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),singletonContent=_useState3[0],setSingletonContent=_useState3[1],mutableBox=useMutableBox(function(){return{container:ssrSafeCreateDiv(),renders:1}}),props=Object.assign({ignoreAttributes},restOfNativeProps,{content:mutableBox.container});isControlledMode&&(props.trigger="manual",props.hideOnClick=!1),isSingletonMode&&(disabled=!0);var computedProps=props,plugins=props.plugins||[];render&&(computedProps=Object.assign({},props,{plugins:isSingletonMode?[].concat(plugins,[{fn:function(){return{onTrigger:function(_,event){var _singleton$data$child=singleton.data.children.find(function(_ref2){var instance=_ref2.instance;return instance.reference===event.currentTarget}),content2=_singleton$data$child.content;setSingletonContent(content2)}}}}]):plugins,render:function(){return{popper:mutableBox.container}}}));var deps=[reference].concat(children?[children.type]:[]);return useIsomorphicLayoutEffect(function(){var element=reference;reference&&reference.hasOwnProperty("current")&&(element=reference.current);var instance=tippy(element||mutableBox.ref||ssrSafeCreateDiv(),Object.assign({},computedProps,{plugins:[classNamePlugin].concat(props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),visible&&instance.show(),isSingletonMode&&singleton.hook({instance,content,props:computedProps}),setMounted(!0),function(){instance.destroy(),singleton?.cleanup(instance)}},deps),useIsomorphicLayoutEffect(function(){if(mutableBox.renders===1){mutableBox.renders++;return}var instance=mutableBox.instance;instance.setProps(deepPreserveProps(instance.props,computedProps)),disabled?instance.disable():instance.enable(),isControlledMode&&(visible?instance.show():instance.hide()),isSingletonMode&&singleton.hook({instance,content,props:computedProps})}),useIsomorphicLayoutEffect(function(){var _instance$props$poppe;if(!!render){var instance=mutableBox.instance;instance.setProps({popperOptions:Object.assign({},instance.props.popperOptions,{modifiers:[].concat(((_instance$props$poppe=instance.props.popperOptions)==null?void 0:_instance$props$poppe.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_ref3){var _state$modifiersData,state=_ref3.state,hideData=(_state$modifiersData=state.modifiersData)==null?void 0:_state$modifiersData.hide;(attrs.placement!==state.placement||attrs.referenceHidden!==hideData?.isReferenceHidden||attrs.escaped!==hideData?.hasPopperEscaped)&&setAttrs({placement:state.placement,referenceHidden:hideData?.isReferenceHidden,escaped:hideData?.hasPopperEscaped}),state.attributes.popper={}}}])})})}},[attrs.placement,attrs.referenceHidden,attrs.escaped].concat(deps)),react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,null,children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){mutableBox.ref=node,preserveRef(children.ref,node)}}):null,mounted&&(0,react_dom__WEBPACK_IMPORTED_MODULE_2__.createPortal)(render?render(toDataAttributes(attrs),singletonContent,mutableBox.instance):content,mutableBox.container))}return Tippy}function useSingletonGenerator(createSingleton){return function(_temp){var _ref=_temp===void 0?{}:_temp,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$overrides=_ref.overrides,overrides=_ref$overrides===void 0?[]:_ref$overrides,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],mutableBox=useMutableBox({children:[],renders:1});return useIsomorphicLayoutEffect(function(){if(!mounted){setMounted(!0);return}var children=mutableBox.children,sourceData=mutableBox.sourceData;if(!!sourceData){var instance=createSingleton(children.map(function(child){return child.instance}),Object.assign({},sourceData.props,{popperOptions:sourceData.instance.props.popperOptions,overrides,plugins:[classNamePlugin].concat(sourceData.props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),function(){instance.destroy(),mutableBox.children=children.filter(function(_ref2){var instance2=_ref2.instance;return!instance2.state.isDestroyed})}}},[mounted]),useIsomorphicLayoutEffect(function(){if(!!mounted){if(mutableBox.renders===1){mutableBox.renders++;return}var children=mutableBox.children,instance=mutableBox.instance,sourceData=mutableBox.sourceData;if(!!(instance&&sourceData)){var _sourceData$props=sourceData.props,content=_sourceData$props.content,props=_objectWithoutPropertiesLoose(_sourceData$props,["content"]);instance.setProps(deepPreserveProps(instance,Object.assign({},props,{overrides}))),instance.setInstances(children.map(function(child){return child.instance})),disabled?instance.disable():instance.enable()}}}),(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){var source={data:mutableBox,hook:function(data){mutableBox.sourceData=data},cleanup:function(){mutableBox.sourceData=null}},target={hook:function(data){mutableBox.children.find(function(_ref3){var instance=_ref3.instance;return data.instance===instance})||mutableBox.children.push(data)},cleanup:function(instance){mutableBox.children=mutableBox.children.filter(function(data){return data.instance!==instance})}};return[source,target]},[])}}var forwardRef=function(Tippy,defaultProps){return(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function(_ref,_ref2){var children=_ref.children,props=_objectWithoutPropertiesLoose(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_1__.createElement(Tippy,Object.assign({},defaultProps,props),children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){preserveRef(_ref2,node),preserveRef(children.ref,node)}}):null)})},useSingleton=useSingletonGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.createSingleton),index=forwardRef(TippyGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.default));const __WEBPACK_DEFAULT_EXPORT__=index},74257:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module=__webpack_require__.nmd(module);const colorConvert=__webpack_require__(18358),wrapAnsi16=(fn,offset)=>function(){return`\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){const code=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){const rgb=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){const codes=new Map,styles2={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]}};styles2.color.grey=styles2.color.gray;for(const groupName of Object.keys(styles2)){const group=styles2[groupName];for(const styleName of Object.keys(group)){const style=group[styleName];styles2[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles2[styleName],codes.set(style[0],style[1])}Object.defineProperty(styles2,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles2,"codes",{value:codes,enumerable:!1})}const ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles2.color.close="\x1B[39m",styles2.bgColor.close="\x1B[49m",styles2.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles2.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles2.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles2.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles2.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles2.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;const suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles2.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles2.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles2.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles2.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles2.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles2.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10))}return styles2}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles})},48049:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);function _typeof(o){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol=="function"&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2},_typeof(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__webpack_require__(18895),_require$codes=_require.codes,ERR_AMBIGUOUS_ARGUMENT=_require$codes.ERR_AMBIGUOUS_ARGUMENT,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_INVALID_ARG_VALUE=_require$codes.ERR_INVALID_ARG_VALUE,ERR_INVALID_RETURN_VALUE=_require$codes.ERR_INVALID_RETURN_VALUE,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,AssertionError=__webpack_require__(6960),_require2=__webpack_require__(93585),inspect=_require2.inspect,_require$types=__webpack_require__(93585).types,isPromise=_require$types.isPromise,isRegExp=_require$types.isRegExp,objectAssign=__webpack_require__(82724)(),objectIs=__webpack_require__(78075)(),RegExpPrototypeTest=__webpack_require__(74161)("RegExp.prototype.test"),errorCache=new Map,isDeepEqual,isDeepStrictEqual,parseExpressionAt,findNodeAround,decoder;function lazyLoadComparison(){var comparison=__webpack_require__(44984);isDeepEqual=comparison.isDeepEqual,isDeepStrictEqual=comparison.isDeepStrictEqual}var escapeSequencesRegExp=/[\x00-\x08\x0b\x0c\x0e-\x1f]/g,meta=null,escapeFn=function(str){return meta[str.charCodeAt(0)]},warned=!1,assert=module.exports=ok,NO_EXCEPTION_SENTINEL={};function innerFail(obj){throw obj.message instanceof Error?obj.message:new AssertionError(obj)}function fail(actual,expected,message,operator,stackStartFn){var argsLen=arguments.length,internalMessage;if(argsLen===0)internalMessage="Failed";else if(argsLen===1)message=actual,actual=void 0;else{if(warned===!1){warned=!0;var warn=process.emitWarning?process.emitWarning:console.warn.bind(console);warn("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}argsLen===2&&(operator="!=")}if(message instanceof Error)throw message;var errArgs={actual,expected,operator:operator===void 0?"fail":operator,stackStartFn:stackStartFn||fail};message!==void 0&&(errArgs.message=message);var err=new AssertionError(errArgs);throw internalMessage&&(err.message=internalMessage,err.generatedMessage=!0),err}assert.fail=fail,assert.AssertionError=AssertionError;function innerOk(fn,argLen,value,message){if(!value){var generatedMessage=!1;if(argLen===0)generatedMessage=!0,message="No value argument passed to `assert.ok()`";else if(message instanceof Error)throw message;var err=new AssertionError({actual:value,expected:!0,message,operator:"==",stackStartFn:fn});throw err.generatedMessage=generatedMessage,err}}function ok(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];innerOk.apply(void 0,[ok,args.length].concat(args))}assert.ok=ok,assert.equal=function equal(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual!=expected&&innerFail({actual,expected,message,operator:"==",stackStartFn:equal})},assert.notEqual=function notEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual==expected&&innerFail({actual,expected,message,operator:"!=",stackStartFn:notEqual})},assert.deepEqual=function deepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepEqual",stackStartFn:deepEqual})},assert.notDeepEqual=function notDeepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepEqual",stackStartFn:notDeepEqual})},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepStrictEqual",stackStartFn:deepStrictEqual})},assert.notDeepStrictEqual=notDeepStrictEqual;function notDeepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepStrictEqual",stackStartFn:notDeepStrictEqual})}assert.strictEqual=function strictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)||innerFail({actual,expected,message,operator:"strictEqual",stackStartFn:strictEqual})},assert.notStrictEqual=function notStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)&&innerFail({actual,expected,message,operator:"notStrictEqual",stackStartFn:notStrictEqual})};var Comparison=_createClass(function Comparison2(obj,keys,actual){var _this=this;_classCallCheck(this,Comparison2),keys.forEach(function(key){key in obj&&(actual!==void 0&&typeof actual[key]=="string"&&isRegExp(obj[key])&&RegExpPrototypeTest(obj[key],actual[key])?_this[key]=actual[key]:_this[key]=obj[key])})});function compareExceptionKey(actual,expected,key,message,keys,fn){if(!(key in actual)||!isDeepStrictEqual(actual[key],expected[key])){if(!message){var a=new Comparison(actual,keys),b=new Comparison(expected,keys,actual),err=new AssertionError({actual:a,expected:b,operator:"deepStrictEqual",stackStartFn:fn});throw err.actual=actual,err.expected=expected,err.operator=fn.name,err}innerFail({actual,expected,message,operator:fn.name,stackStartFn:fn})}}function expectedException(actual,expected,msg,fn){if(typeof expected!="function"){if(isRegExp(expected))return RegExpPrototypeTest(expected,actual);if(arguments.length===2)throw new ERR_INVALID_ARG_TYPE("expected",["Function","RegExp"],expected);if(_typeof(actual)!=="object"||actual===null){var err=new AssertionError({actual,expected,message:msg,operator:"deepStrictEqual",stackStartFn:fn});throw err.operator=fn.name,err}var keys=Object.keys(expected);if(expected instanceof Error)keys.push("name","message");else if(keys.length===0)throw new ERR_INVALID_ARG_VALUE("error",expected,"may not be an empty object");return isDeepEqual===void 0&&lazyLoadComparison(),keys.forEach(function(key){typeof actual[key]=="string"&&isRegExp(expected[key])&&RegExpPrototypeTest(expected[key],actual[key])||compareExceptionKey(actual,expected,key,msg,keys,fn)}),!0}return expected.prototype!==void 0&&actual instanceof expected?!0:Error.isPrototypeOf(expected)?!1:expected.call({},actual)===!0}function getActual(fn){if(typeof fn!="function")throw new ERR_INVALID_ARG_TYPE("fn","Function",fn);try{fn()}catch(e){return e}return NO_EXCEPTION_SENTINEL}function checkIsPromise(obj){return isPromise(obj)||obj!==null&&_typeof(obj)==="object"&&typeof obj.then=="function"&&typeof obj.catch=="function"}function waitForActual(promiseFn){return Promise.resolve().then(function(){var resultPromise;if(typeof promiseFn=="function"){if(resultPromise=promiseFn(),!checkIsPromise(resultPromise))throw new ERR_INVALID_RETURN_VALUE("instance of Promise","promiseFn",resultPromise)}else if(checkIsPromise(promiseFn))resultPromise=promiseFn;else throw new ERR_INVALID_ARG_TYPE("promiseFn",["Function","Promise"],promiseFn);return Promise.resolve().then(function(){return resultPromise}).then(function(){return NO_EXCEPTION_SENTINEL}).catch(function(e){return e})})}function expectsError(stackStartFn,actual,error,message){if(typeof error=="string"){if(arguments.length===4)throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(_typeof(actual)==="object"&&actual!==null){if(actual.message===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error message "'.concat(actual.message,'" is identical to the message.'))}else if(actual===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error "'.concat(actual,'" is identical to the message.'));message=error,error=void 0}else if(error!=null&&_typeof(error)!=="object"&&typeof error!="function")throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(actual===NO_EXCEPTION_SENTINEL){var details="";error&&error.name&&(details+=" (".concat(error.name,")")),details+=message?": ".concat(message):".";var fnType=stackStartFn.name==="rejects"?"rejection":"exception";innerFail({actual:void 0,expected:error,operator:stackStartFn.name,message:"Missing expected ".concat(fnType).concat(details),stackStartFn})}if(error&&!expectedException(actual,error,message,stackStartFn))throw actual}function expectsNoError(stackStartFn,actual,error,message){if(actual!==NO_EXCEPTION_SENTINEL){if(typeof error=="string"&&(message=error,error=void 0),!error||expectedException(actual,error)){var details=message?": ".concat(message):".",fnType=stackStartFn.name==="doesNotReject"?"rejection":"exception";innerFail({actual,expected:error,operator:stackStartFn.name,message:"Got unwanted ".concat(fnType).concat(details,`
37
+ `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}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 language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:(0,objectSpread.Z)({},style['code[class*="language-"]'],style['code[class*="language-'.concat(language,'"]')])}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!0:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$wrapLongLines=_ref7.wrapLongLines,wrapLongLines=_ref7$wrapLongLines===void 0?!1:_ref7$wrapLongLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_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.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,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.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));(wrapLines===void 0&&renderer||wrapLongLines)&&(wrapLines=!0),renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle,wrapLongLines);return wrapLongLines?codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre-wrap"}):codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre"}),react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}const default_style={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var lowlight=__webpack_require__(23387),lowlight_default=__webpack_require__.n(lowlight);const supported_languages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","node-repl","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var highlighter=highlight(lowlight_default(),default_style);highlighter.supportedLanguages=supported_languages;const default_highlight=highlighter,xcode={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},table_row_module={propRow:"table-row_propRow__3in9b",singleColumn:"table-row_singleColumn__2EowM",mobileTitle:"table-row_mobileTitle__Kr51h",show:"table-row_show__EbJqY",column:"table-row_column__1sVpC",columnContent:"table-row_columnContent__H74AP",title:"table-row_title__WZ4lb",required:"table-row_required__YTKPP",name:"table-row_name__1_lKU",type:"table-row_type__3IyDE",typeColumn:"table-row_typeColumn__34a0R",highlighted:"table-row_highlighted__2b9my",default:"table-row_default__zw6HX",breakWord:"table-row_breakWord__3xe6h"};function TableRow({row,customRow,colNumber=4,headings,isListView,className,...rest}){return(0,jsx_runtime.jsx)(dist.r,{col:colNumber,className:classnames_default()(table_row_module.propRow,{[table_row_module.singleColumn]:isListView},className),...rest,children:headings.map(title=>{const keyString=`${title}-${row[title]}`;return title==="required"?null:title==="name"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),(0,jsx_runtime.jsxs)("div",{className:table_row_module.columnContent,children:[(0,jsx_runtime.jsx)("div",{className:table_row_module.name,children:customRow?.name||row[title]}),!customRow?.required&&row.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:"(Required)"}),customRow?.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:customRow.required})]})]},keyString):title==="type"?(0,jsx_runtime.jsxs)(TableColumn,{className:classnames_default()(table_row_module.breakWord,table_row_module.typeColumn),children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.type&&(0,jsx_runtime.jsx)(default_highlight,{theme:xcode,language:"javascript",className:table_row_module.highlighted,children:row[title]}),customRow?.type]},keyString):title==="default"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:row[title]&&row[title]?.value||"-"}),customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:customRow.default})]},keyString):title==="description"?(0,jsx_runtime.jsx)(TableColumn,{className:table_row_module.breakWord,children:customRow?.description||row[title]},keyString):(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),customRow?.[title]||row[title]]},keyString)})})}const table_module={table:"table_table__2JGw5"};function Table({headings,rows,colNumber,isListView,className,...rest}){const cols=colNumber||4;return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(table_module.table,className),children:[(0,jsx_runtime.jsx)(HeadingRow,{isListView,colNumber:cols,headings}),rows.map(row=>(0,jsx_runtime.jsx)(TableRow,{isListView,headings,row,colNumber:cols},`tableRow-${row.name}`))]})}Table.defaultProps={colNumber:4};function PropTable({rows,listViewResolution,showListView,...rest}){const[ref,{width}]=(0,es.default)(),debouncedSize=useDebounce(width,300,{leading:!0}),isListView=showListView||+debouncedSize[0]<=(listViewResolution||0);return width?(0,jsx_runtime.jsx)("div",{ref,children:(0,jsx_runtime.jsx)(Table,{...rest,headings:["name","type","default","description"],rows,isListView})}):(0,jsx_runtime.jsx)("div",{ref})}PropTable.defaultProps={listViewResolution:768}},1105:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(46845),exports)},46845:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Section=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),section_module_scss_1=__importDefault(__webpack_require__(74482));function Section(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);return react_1.default.createElement("div",Object.assign({className:classnames_1.default(section_module_scss_1.default.spacer,section_module_scss_1.default.sectionMargin,className)},rest),children)}exports.Section=Section},53589:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(69317);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},69317:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(89257));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:classnames_1.default(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},62479:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(54800);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},54800:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(21104));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:(0,classnames_1.default)(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},80391:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(42086),exports)},42086:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Subtitle=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_muted_text_1=__webpack_require__(62391),documenter_ui_paragraph_1=__webpack_require__(18808),sub_title_module_scss_1=__importDefault(__webpack_require__(78385));function Subtitle(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(documenter_ui_paragraph_1.Paragraph,Object.assign({element:"p",className:classnames_1.default(base_ui_text_muted_text_1.mutedText,sub_title_module_scss_1.default.subTitle,className),size:"xl"},rest),children)}exports.Subtitle=Subtitle},45651:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;var sup_1=__webpack_require__(59986);Object.defineProperty(exports,"Sup",{enumerable:!0,get:function(){return sup_1.Sup}})},59986:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),sup_module_scss_1=__importDefault(__webpack_require__(82595));function Sup(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("sup",Object.assign({},rest,{className:(0,classnames_1.default)(sup_module_scss_1.default.sup,className)}),children)}exports.Sup=Sup},21806:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_table_module_scss_1=__importDefault(__webpack_require__(3647));function Table(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("table",Object.assign({},rest,{className:(0,classnames_1.default)(base_table_module_scss_1.default.table,className)}),children)}exports.Table=Table},3909:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(21806);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},45337:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;var td_1=__webpack_require__(43784);Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return td_1.Td}})},43784:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),td_module_scss_1=__importDefault(__webpack_require__(81099));function Td(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("td",Object.assign({},rest,{className:(0,classnames_1.default)(td_module_scss_1.default.td,className)}),children)}exports.Td=Td},12158:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;var tr_1=__webpack_require__(37945);Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return tr_1.Tr}})},37945:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tr_module_scss_1=__importDefault(__webpack_require__(8527));function Tr(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("tr",Object.assign({},rest,{className:(0,classnames_1.default)(tr_module_scss_1.default.tr,className)}),children)}exports.Tr=Tr},96157:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(28863);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},28863:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ul_module_scss_1=__importDefault(__webpack_require__(28839));function Ul(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ul",Object.assign({},rest,{className:(0,classnames_1.default)(ul_module_scss_1.default.ul,className)}),children)}exports.Ul=Ul},51072:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.fadeInOutClass=void 0;const fade_in_out_module_scss_1=__importDefault(__webpack_require__(41155));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},84770:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(49998),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},6281:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(84770),exports)},38946:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(49998),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},83327:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(38946),exports)},26:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Dropdown=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_drawer_1=__webpack_require__(92356),base_ui_surfaces_abs_container_1=__webpack_require__(8428),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),base_ui_surfaces_background_1=__webpack_require__(41755),dropdown_module_scss_1=__importDefault(__webpack_require__(83919)),evangelist_css_components_fade_in_out_1=__webpack_require__(51072);function Dropdown(_a){var{children,position="bottom",dropClass}=_a,rest=__rest(_a,["children","position","dropClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({},rest),react_1.default.createElement(DropdownMenu,{position,className:dropClass},children))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="medium",roundness="sharp"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:classnames_1.default(dropdown_module_scss_1.default.dropdown,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],evangelist_css_components_fade_in_out_1.fadeInOutClass,className)}))}Dropdown.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},47676:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(26),exports)},78057:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(88311),exports),__exportStar(__webpack_require__(54802),exports),__exportStar(__webpack_require__(76329),exports)},76329:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(1096),exports)},1096:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Arrow=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(8428),arrow_module_scss_1=__importDefault(__webpack_require__(41949)),arrow_position_module_scss_1=__importDefault(__webpack_require__(63604)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(20742));function Arrow(props){const{position="none",className}=props;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},props,{className:classnames_1.default(arrow_module_scss_1.default.arrow,arrow_shadow_module_scss_1.default[position],arrow_position_module_scss_1.default[position],className)}))}exports.Arrow=Arrow},54802:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(21326),exports)},21326:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipMenu=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(8428),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),tooltip_card_module_scss_1=__importDefault(__webpack_require__(40606)),TooltipMenu=_a=>{var{position,children,elevation="medium",roundness="sharp",className}=_a,rest=__rest(_a,["position","children","elevation","roundness","className"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({position,className:classnames_1.default(tooltip_card_module_scss_1.default.menu,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest),children)};exports.TooltipMenu=TooltipMenu,exports.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},88311:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipDrawer=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_drawer_1=__webpack_require__(92356),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_css_components_fade_in_out_1=__webpack_require__(51072),tooltip_card_1=__webpack_require__(54802),tooltip_arrow_1=__webpack_require__(76329),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(3069));function TooltipDrawer(_a){var{children,className,position="bottom",elevation,tooltipClass,arrowClass}=_a,rest=__rest(_a,["children","className","position","elevation","tooltipClass","arrowClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({className:classnames_1.default(tooltip_drawer_module_scss_1.default.drawer,className)},rest),react_1.default.createElement(tooltip_card_1.TooltipMenu,{position,elevation,className:classnames_1.default(tooltipClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.tooltip)},children),react_1.default.createElement(tooltip_arrow_1.Arrow,{position,className:classnames_1.default(arrowClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.arrow)}))}exports.TooltipDrawer=TooltipDrawer,TooltipDrawer.defaultProps={hoverToOpen:!1,position:"bottom"}},55521:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=exports.gql=exports.useQuery=void 0;var use_query_light_1=__webpack_require__(12410);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_light_1.useQuery}}),Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return use_query_light_1.gql}});var server_context_1=__webpack_require__(68947);Object.defineProperty(exports,"QueryServerProvider",{enumerable:!0,get:function(){return server_context_1.QueryServerProvider}}),Object.defineProperty(exports,"useQueryServer",{enumerable:!0,get:function(){return server_context_1.useQueryServer}})},68947:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=void 0;const react_1=__webpack_require__(59496),QueryServerCtx=(0,react_1.createContext)("/graphql");exports.QueryServerProvider=QueryServerCtx.Provider;const useQueryServer=()=>(0,react_1.useContext)(QueryServerCtx);exports.useQueryServer=useQueryServer},12410:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=exports.gql=void 0;const react_1=__webpack_require__(59496),graphql_request_1=__webpack_require__(2672),use_deep_compare_1=__webpack_require__(14605),server_context_1=__webpack_require__(68947);var graphql_request_2=__webpack_require__(2672);Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return graphql_request_2.gql}});function useQuery(query,{variables,server,headers}={}){const mountedRef=(0,react_1.useRef)(!0),[state,setState]=(0,react_1.useState)({loading:!1}),stableVariables=(0,use_deep_compare_1.useDeepCompareMemo)(()=>variables,[variables]),ctxServer=(0,server_context_1.useQueryServer)();return(0,react_1.useEffect)(()=>()=>{mountedRef.current=!1},[]),(0,react_1.useEffect)(()=>{const controller=createAborter();return setState(obj=>Object.assign(Object.assign({},obj),{loading:!0,error:void 0})),(0,graphql_request_1.request)({url:server||ctxServer,document:query,variables:stableVariables,requestHeaders:headers,signal:controller?.signal}).then(result=>{mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{data:result,loading:!1}))}).catch(e=>{var _a,_b,_c,_d;const isAborted=e&&(e.type==="aborted"||((_b=(_a=e.message).toLowerCase)===null||_b===void 0?void 0:_b.call(_a))==="aborted"||((_d=(_c=e.name).toLowerCase)===null||_d===void 0?void 0:_d.call(_c))==="aborterror");mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{error:isAborted?void 0:e,loading:!1}))}),()=>{controller?.abort()}},[query,stableVariables]),state}exports.useQuery=useQuery;function createAborter(){if(!(typeof AbortController>"u"))return new AbortController}},2538:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=exports.LaneId=void 0;var lane_id_1=__webpack_require__(55431);Object.defineProperty(exports,"LaneId",{enumerable:!0,get:function(){return lane_id_1.LaneId}}),Object.defineProperty(exports,"DEFAULT_LANE",{enumerable:!0,get:function(){return lane_id_1.DEFAULT_LANE}}),Object.defineProperty(exports,"LANE_REMOTE_DELIMITER",{enumerable:!0,get:function(){return lane_id_1.LANE_REMOTE_DELIMITER}})},55431:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneId=exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=void 0;const bit_error_1=__webpack_require__(74155);exports.DEFAULT_LANE="main",exports.LANE_REMOTE_DELIMITER="/";class LaneId{constructor({name,scope}){this.name=name,this.scope=scope,Object.freeze(this)}hasSameName(id){return this.name===id.name}hasSameScope(id){return!id.scope&&!this.scope?!0:this.scope===id.scope}isEqual(laneId){return this.hasSameName(laneId)&&this.hasSameScope(laneId)}isDefault(){return this.name===exports.DEFAULT_LANE}toString(){return this.scope?this.scope+exports.LANE_REMOTE_DELIMITER+this.name:this.name}toObject(){return{scope:this.scope,name:this.name}}static from(name,scope){return new LaneId({scope,name})}static parse(id){if(!id.includes(exports.LANE_REMOTE_DELIMITER))throw new bit_error_1.BitError(`invalid lane-id, "${id}" is missing a delimiter "(${exports.LANE_REMOTE_DELIMITER})"`);const split=id.split(exports.LANE_REMOTE_DELIMITER);if(split.length>2)throw new bit_error_1.BitError(`invalid lane-id "${id}". a lane id can have only one "${exports.LANE_REMOTE_DELIMITER}"`);return LaneId.from(split[1],split[0])}}exports.LaneId=LaneId},33406:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(12904),exports)},12904:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;const react_1=__importStar(__webpack_require__(59496)),mdx_ui_mdx_scope_context_1=__webpack_require__(81846),react_2=__webpack_require__(49613),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56750);function Snippet(_a){var{scope}=_a,rest=__rest(_a,["scope"]);const components=(0,react_1.useContext)(mdx_ui_mdx_scope_context_1.MDXScopeContext),_scope=(0,react_1.useMemo)(()=>Object.assign(Object.assign(Object.assign({},components),{mdx:react_2.mdx}),scope),[components,scope,react_2.mdx]);return react_1.default.createElement(documenter_markdown_hybrid_live_code_snippet_1.Snippet,Object.assign({scope:_scope},rest))}exports.Snippet=Snippet},47975:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MDXLayout:()=>MDXLayout});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),dist=__webpack_require__(42699),mdx_ui_docs_snippet_dist=__webpack_require__(33406),base_react_navigation_link_dist=__webpack_require__(67108);const link_module={link:"link_link__3ervK"};function Link(props){return(0,jsx_runtime.jsx)(base_react_navigation_link_dist.Link,{...props,className:link_module.link,external:!0})}const mdxComponents={code:mdx_ui_docs_snippet_dist.Snippet,a:Link};function MDXLayout({components,...rest}){const memoizedComponents=(0,react.useMemo)(()=>({...mdxComponents,...components}),[mdxComponents,components]);return(0,jsx_runtime.jsx)(dist.f,{components:memoizedComponents,...rest})}},26381:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(89140),base_ui_styles_flex_center_1=__webpack_require__(10981),error_fallback_module_scss_1=__importDefault(__webpack_require__(86899));function ErrorFallback({resetErrorBoundary,className,children="Failed to render",cta="try again"}){const handleClick=()=>__awaiter(this,void 0,void 0,function*(){yield new Promise(resolve=>setTimeout(resolve,480)),resetErrorBoundary()});return react_1.default.createElement("div",{className:(0,classnames_1.default)(error_fallback_module_scss_1.default.errorFallback,base_ui_styles_flex_center_1.flexCenter,className)},react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.icon}),react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.message},children),react_1.default.createElement(design_ui_icon_button_1.IconButton,{onClick:handleClick,className:error_fallback_module_scss_1.default.retryButton},cta))}exports.ErrorFallback=ErrorFallback},73783:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(26381);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},55239:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(14827),exports),__exportStar(__webpack_require__(71418),exports),__exportStar(__webpack_require__(17970),exports)},14827:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoaderContext=void 0;const react_1=__webpack_require__(59496),defaultLoaderApi={isActive:()=>!1,update:()=>!1,remove:()=>!1};exports.LoaderContext=(0,react_1.createContext)(defaultLoaderApi)},71418:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoaderApi=void 0;const react_1=__webpack_require__(59496);function useLoaderApi(){const{current:loaders}=(0,react_1.useRef)(new Set),[isLoading,setIsLoading]=(0,react_1.useState)(!1),reevaluate=(0,react_1.useCallback)(()=>{setIsLoading(loaders.size>0)},[loaders]);return[(0,react_1.useMemo)(()=>({isActive:id=>loaders.has(id),update:(id,value)=>{const res=value?!!loaders.add(id):loaders.delete(id);return reevaluate(),res},remove:id=>{const res=loaders.delete(id);return reevaluate(),res}}),[loaders,reevaluate]),isLoading]}exports.useLoaderApi=useLoaderApi},17970:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoader=void 0;const react_1=__webpack_require__(59496),uuid_1=__webpack_require__(37196),loader_context_1=__webpack_require__(14827);function useLoader(loading){const[id]=(0,react_1.useState)(()=>(0,uuid_1.v1)()),ctx=(0,react_1.useContext)(loader_context_1.LoaderContext);(0,react_1.useEffect)(()=>(ctx.update(id,loading),()=>{ctx.remove(id)}),[loading,ctx,id])}exports.useLoader=useLoader},25338:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;var use_data_query_1=__webpack_require__(45383);Object.defineProperty(exports,"useDataQuery",{enumerable:!0,get:function(){return use_data_query_1.useDataQuery}})},45383:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;const react_1=__webpack_require__(59496),client_1=__webpack_require__(97299),ui_foundation_ui_notifications_notification_context_1=__webpack_require__(44758),ui_foundation_ui_global_loader_1=__webpack_require__(55239);function useDataQuery(query,options){const res=(0,client_1.useQuery)(query,options),notifications=(0,react_1.useContext)(ui_foundation_ui_notifications_notification_context_1.NotificationContext),{loading,error}=res;return(0,ui_foundation_ui_global_loader_1.useLoader)(loading),error&&notifications.error(apolloErrorToString(error)),res}exports.useDataQuery=useDataQuery;function apolloErrorToString(error){return error.toString()}},2816:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;var use_is_mobile_1=__webpack_require__(56742);Object.defineProperty(exports,"useIsMobile",{enumerable:!0,get:function(){return use_is_mobile_1.useIsMobile}})},56742:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;const ui_foundation_ui_hooks_use_user_agent_1=__webpack_require__(57160);function useIsMobile(){var _a;const deviceType=(_a=(0,ui_foundation_ui_hooks_use_user_agent_1.useUserAgent)())===null||_a===void 0?void 0:_a.getDevice().type;return deviceType==="tablet"||deviceType==="mobile"}exports.useIsMobile=useIsMobile},57160:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.UserAgentProvider=exports.userAgentContext=exports.ssrBrowserContext=exports.SSRBrowserProvider=void 0;var use_user_agent_1=__webpack_require__(9562);Object.defineProperty(exports,"SSRBrowserProvider",{enumerable:!0,get:function(){return use_user_agent_1.SSRBrowserProvider}}),Object.defineProperty(exports,"ssrBrowserContext",{enumerable:!0,get:function(){return use_user_agent_1.ssrBrowserContext}}),Object.defineProperty(exports,"userAgentContext",{enumerable:!0,get:function(){return use_user_agent_1.userAgentContext}}),Object.defineProperty(exports,"UserAgentProvider",{enumerable:!0,get:function(){return use_user_agent_1.UserAgentProvider}}),Object.defineProperty(exports,"useUserAgent",{enumerable:!0,get:function(){return use_user_agent_1.useUserAgent}})},9562:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.SSRBrowserProvider=exports.ssrBrowserContext=exports.UserAgentProvider=exports.userAgentContext=void 0;const react_1=__webpack_require__(59496),ua_parser_js_1=__importDefault(__webpack_require__(83639));exports.userAgentContext=(0,react_1.createContext)(void 0),exports.UserAgentProvider=exports.userAgentContext.Provider,exports.ssrBrowserContext=(0,react_1.createContext)(void 0),exports.SSRBrowserProvider=exports.ssrBrowserContext.Provider;function useUserAgent(){const browser=(0,react_1.useContext)(exports.ssrBrowserContext);return browser?new ua_parser_js_1.default(browser.headers["user-agent"]):new ua_parser_js_1.default(window.navigator.userAgent)}exports.useUserAgent=useUserAgent},69497:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;var keycap_1=__webpack_require__(16617);Object.defineProperty(exports,"KeySequence",{enumerable:!0,get:function(){return keycap_1.KeySequence}}),Object.defineProperty(exports,"KeyCombo",{enumerable:!0,get:function(){return keycap_1.KeyCombo}}),Object.defineProperty(exports,"Keycap",{enumerable:!0,get:function(){return keycap_1.Keycap}})},91205:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prettifyKey=void 0;const ui_foundation_ui_is_browser_1=__webpack_require__(48843),macKeySymbols={shift:"\u21E7",ctrl:"\u2303",alt:"\u2325",command:"\u2318",meta:"\u2318",mod:"\u2318",backspace:"\u232B",tab:"\u21E5",enter:"\u21A9",return:"\u21A9",capslock:"\u21EA",esc:"\u238B",escape:"\u238B",space:"\u2423",pageup:"\u21DE",pagedown:"\u21DF",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"\u2326",ins:"insert",plus:"+"},winKeySymbols={shift:"shift",ctrl:"ctrl",alt:"alt",meta:"win",mod:"ctrl",backspace:"backspace",tab:"tab",enter:"enter",return:"enter",capslock:"caps lock",esc:"Esc",escape:"Esc",space:"\u2423",pageup:"pgUp",pagedown:"pgDown",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"del",ins:"insert",plus:"+"},macRegex=/Mac|iPod|iPhone|iPad/;function prettifyKey(key){if(typeof key!="string")return key;const lib=!ui_foundation_ui_is_browser_1.isBrowser||macRegex.test(window.navigator.platform)?macKeySymbols:winKeySymbols;return key in lib?lib[key]:key}exports.prettifyKey=prettifyKey},16617:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),key_module_scss_1=__importDefault(__webpack_require__(90372)),key_characters_1=__webpack_require__(91205);function KeySequence(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const content=(0,react_1.useMemo)(()=>{const mapped=children.split(" ").map(x=>x.trim()).filter(x=>!!x).map((combo,idx)=>react_1.default.createElement(KeyCombo,{key:idx},combo));return insertBetween(mapped,idx=>react_1.default.createElement(Then,{key:`then-sep_${idx}`}))},[children]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(key_module_scss_1.default.keySequence,className)}),content)}exports.KeySequence=KeySequence;function KeyCombo(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const split=children.split("+").map(x=>x.trim());return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keyCombo)}),split.map((x,idx)=>react_1.default.createElement(Keycap,{key:idx},x)))}exports.KeyCombo=KeyCombo;function Keycap(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);const prettyKey=(0,key_characters_1.prettifyKey)(children);return react_1.default.createElement("kbd",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keycap)}),prettyKey)}exports.Keycap=Keycap;function insertBetween(arr,toInsert){const res=[];return arr.forEach((item,idx)=>{res.push(item),res.push(toInsert(idx))}),res.pop(),res}function Then(){return react_1.default.createElement("span",{className:key_module_scss_1.default.thenSep},"then")}},76285:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;var main_dropdown_1=__webpack_require__(71135);Object.defineProperty(exports,"MainDropdown",{enumerable:!0,get:function(){return main_dropdown_1.MainDropdown}})},71135:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;const evangelist_elements_icon_1=__webpack_require__(6281),evangelist_surfaces_tooltip_1=__webpack_require__(78057),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),lodash_1=__webpack_require__(32699),ui_foundation_ui_keycap_1=__webpack_require__(69497),main_dropdown_module_scss_1=__importDefault(__webpack_require__(47402));function MainDropdown(_a){var{menuItems,className}=_a,rest=__rest(_a,["menuItems","className"]);return!menuItems||(0,lodash_1.isEmpty)(menuItems)?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.mainDropdown,className)}),react_1.default.createElement(evangelist_surfaces_tooltip_1.TooltipDrawer,{className:main_dropdown_module_scss_1.default.dropdown,tooltipClass:main_dropdown_module_scss_1.default.menu,placeholder:"",clickOutside:!0,PlaceholderComponent:()=>react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.iconAnchor},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.overlay}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.icon),of:"more"}))},react_1.default.createElement("div",null,Object.keys(menuItems).map((category,index)=>react_1.default.createElement(MenuBlock,{key:index,title:category},menuItems[category].map(item=>item&&react_1.default.createElement(Line,{key:item.keyChar,lineTitle:item.title,keyChar:item.keyChar,onClick:item.handler})))))))}exports.MainDropdown=MainDropdown;function Line(_a){var{lineTitle,keyChar,onClick}=_a,rest=__rest(_a,["lineTitle","keyChar","onClick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.line),onClick}),react_1.default.createElement("div",null,lineTitle),keyChar&&react_1.default.createElement("pre",null,react_1.default.createElement(ui_foundation_ui_keycap_1.KeySequence,null,keyChar)))}function MenuBlock({title,children}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.menuBlock)},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.title},title),children)}},43492:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;var menu_widget_icon_1=__webpack_require__(80548);Object.defineProperty(exports,"MenuWidgetIcon",{enumerable:!0,get:function(){return menu_widget_icon_1.MenuWidgetIcon}})},80548:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),design_ui_tooltip_1=__webpack_require__(49142),menu_widget_icon_module_scss_1=__importDefault(__webpack_require__(4909));function MenuWidgetIcon(_a){var{tooltipContent,icon,className}=_a,rest=__rest(_a,["tooltipContent","icon","className"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{placement:"bottom",offset:[0,15],content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(menu_widget_icon_module_scss_1.default.widgetMenuIcon,className)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:menu_widget_icon_module_scss_1.default.icon})))}exports.MenuWidgetIcon=MenuWidgetIcon},44758:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(55236),exports)},55236:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNotifications=exports.NotificationContext=void 0;const react_1=__webpack_require__(59496),DefaultNotificationApi={add:()=>"",log:()=>"",error:()=>"",dismiss:()=>{},clear:()=>{}};exports.NotificationContext=(0,react_1.createContext)(DefaultNotificationApi);const useNotifications=()=>(0,react_1.useContext)(exports.NotificationContext);exports.useNotifications=useNotifications},44514:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;var use_query_1=__webpack_require__(92887);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_1.useQuery}})},92887:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;const base_react_navigation_link_1=__webpack_require__(97667);function useQuery(){const{search}=(0,base_react_navigation_link_1.useLocation)()||{search:"/"};return new URLSearchParams(search)}exports.useQuery=useQuery},94706:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitInfo=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_content_documentation_links_1=__webpack_require__(2681),documenter_ui_copy_box_1=__webpack_require__(66377),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),base_react_navigation_link_1=__webpack_require__(97667),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),bit_info_module_scss_1=__importDefault(__webpack_require__(91814));function BitInfo(_a){var rest=__rest(_a,[]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,{className:bit_info_module_scss_1.default.moreInfo,bottom:react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,href:documenter_content_documentation_links_1.links.installBit,className:ui_foundation_ui_use_box_bottom_link_1.linkStyles},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"information-sign"}),react_1.default.createElement("span",null,"Learn more"))},react_1.default.createElement("div",null,"Install bit"),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,"npx @teambit/bvm install")))}exports.BitInfo=BitInfo},19912:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitInfo=void 0;var bit_info_1=__webpack_require__(94706);Object.defineProperty(exports,"BitInfo",{enumerable:!0,get:function(){return bit_info_1.BitInfo}})},27268:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkStyles=void 0;const bottom_link_module_scss_1=__importDefault(__webpack_require__(51001));exports.linkStyles=bottom_link_module_scss_1.default.link},37500:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_surfaces_dropdown_1=__webpack_require__(47676),evangelist_elements_icon_1=__webpack_require__(6281),dropdown_module_scss_1=__importDefault(__webpack_require__(42485));function UseBoxDropdown(_a){var{className,Menu,actionName,actionIcon}=_a,rest=__rest(_a,["className","Menu","actionName","actionIcon"]);const[key,setKey]=(0,react_1.useState)(0),DropdownMenu=react_1.default.cloneElement(Menu,{key});return react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,Object.assign({className:(0,classnames_1.default)(className)},rest,{onChange:(_e,open)=>open&&setKey(x=>x+1),dropClass:dropdown_module_scss_1.default.menu,placeholder:react_1.default.createElement(Placeholder,{actionName,actionIcon}),clickToggles:!1,clickPlaceholderToggles:!0}),DropdownMenu)}exports.UseBoxDropdown=UseBoxDropdown;function Placeholder(_a){var{actionName="Use",actionIcon="package"}=_a,rest=__rest(_a,["actionName","actionIcon"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.placeholder)},rest),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:actionIcon}),react_1.default.createElement("div",{className:dropdown_module_scss_1.default.content},actionName),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:dropdown_module_scss_1.default.content,of:"fat-arrow-down"}))}},87514:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;var dropdown_1=__webpack_require__(37500);Object.defineProperty(exports,"UseBoxDropdown",{enumerable:!0,get:function(){return dropdown_1.UseBoxDropdown}})},94110:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Import=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),classnames_1=__importDefault(__webpack_require__(97754)),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bit_info_1=__webpack_require__(19912),tooltip_copybox_1=__webpack_require__(89211),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Import(_a){var{componentId,packageName,componentName,showInstallMethod=!0}=_a,rest=__rest(_a,["componentId","packageName","componentName","showInstallMethod"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.ExpandableTabContent,Object.assign({},rest,{content:react_1.default.createElement("div",{className:menu_module_scss_1.default.importContent},react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(!showInstallMethod&&menu_module_scss_1.default.disabled)},!showInstallMethod&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:menu_module_scss_1.default.warnIcon,of:"warn-circle"}),showInstallMethod&&`Add ${componentName} as a dependency`,!showInstallMethod&&"Installation unavailable: This component has not been built yet"),showInstallMethod&&react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit install ${packageName??""}`,disabled:!showInstallMethod})),react_1.default.createElement("div",null,`Import ${componentName} to your workspace`),react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit import ${componentId}`}),react_1.default.createElement("div",null,`Fork ${componentName} to your workspace`),react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit fork ${componentId}`})),drawerTitle:react_1.default.createElement("div",{className:menu_module_scss_1.default.bottom},react_1.default.createElement(evangelist_elements_icon_1.Icon,{color:"yellow",of:"download"}),react_1.default.createElement("span",null,"Install Bit on your computer")),drawerContent:react_1.default.createElement(ui_foundation_ui_use_box_bit_info_1.BitInfo,null)}))}exports.Import=Import},68094:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Registry=exports.Install=exports.Import=exports.Menu=void 0;var menu_1=__webpack_require__(74896);Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return menu_1.Menu}});var import_1=__webpack_require__(94110);Object.defineProperty(exports,"Import",{enumerable:!0,get:function(){return import_1.Import}});var install_1=__webpack_require__(55965);Object.defineProperty(exports,"Install",{enumerable:!0,get:function(){return install_1.Install}});var registry_1=__webpack_require__(51324);Object.defineProperty(exports,"Registry",{enumerable:!0,get:function(){return registry_1.Registry}})},55965:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Install=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_ui_highlighted_text_1=__webpack_require__(34712),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),tooltip_copybox_1=__webpack_require__(89211),registry_1=__webpack_require__(51324),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Install(_a){var{componentName,copyString,registryName,packageManager,config,isInstallable}=_a,rest=__rest(_a,["componentName","copyString","registryName","packageManager","config","isInstallable"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.ExpandableTabContent,Object.assign({},rest,{content:react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(!isInstallable&&menu_module_scss_1.default.disabled)},!isInstallable&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:menu_module_scss_1.default.warnIcon,of:"warn-circle"}),isInstallable&&`Install ${componentName} with ${packageManager}`,!isInstallable&&"Installation unavailable: This component has not been built yet"),isInstallable&&react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:copyString,disabled:!isInstallable})),drawerTitle:registryName&&react_1.default.createElement("div",{className:menu_module_scss_1.default.bottom},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"settings"}),react_1.default.createElement("span",null,"Configure ",react_1.default.createElement(documenter_ui_highlighted_text_1.HighlightedText,null,registryName)," as a Scoped Registry")),drawerContent:registryName&&react_1.default.createElement(registry_1.Registry,{copyString:config})}))}exports.Install=Install},74896:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Menu=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),lodash_orderby_1=__importDefault(__webpack_require__(30174)),lodash_flatten_1=__importDefault(__webpack_require__(11549)),ui_foundation_ui_use_box_tab_1=__webpack_require__(11058),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Menu(_a){var{methods,componentName}=_a,rest=__rest(_a,["methods","componentName"]);const[activeTab,setActiveTab]=(0,react_1.useState)(0),OrderedMethods=(0,react_1.useMemo)(()=>(0,lodash_orderby_1.default)((0,lodash_flatten_1.default)(methods),["order"]),[methods]),{Component}=OrderedMethods[activeTab]||{};return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(rest.className,menu_module_scss_1.default.container)}),react_1.default.createElement("div",{className:menu_module_scss_1.default.top},react_1.default.createElement("div",{className:menu_module_scss_1.default.title},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"terminal"}),react_1.default.createElement("span",null,`Use ${componentName}`))),react_1.default.createElement("div",{className:menu_module_scss_1.default.tabs},OrderedMethods.map(({Title},index)=>react_1.default.createElement(ui_foundation_ui_use_box_tab_1.Tab,{key:index,isActive:activeTab===index,onClick:()=>setActiveTab(index)},Title))),Component)}exports.Menu=Menu},51324:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Registry=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_content_documentation_links_1=__webpack_require__(2681),documenter_ui_copy_box_1=__webpack_require__(66377),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),base_react_navigation_link_1=__webpack_require__(97667),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Registry(_a){var{copyString}=_a,rest=__rest(_a,["copyString"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{className:menu_module_scss_1.default.registry,bottom:react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,href:documenter_content_documentation_links_1.links.scopedRegistry,className:ui_foundation_ui_use_box_bottom_link_1.linkStyles},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"information-sign"}),react_1.default.createElement("span",null,"Learn more"))}),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,copyString))}exports.Registry=Registry},89211:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipCopybox=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_copy_box_1=__webpack_require__(66377),design_ui_tooltip_1=__webpack_require__(49142);function TooltipCopybox(_a){var{content}=_a,rest=__rest(_a,["content"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,Object.assign({},rest,{content,placement:"bottom",maxWidth:"",breakline:!0}),react_1.default.createElement("div",null,react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,content)))}exports.TooltipCopybox=TooltipCopybox},88860:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_animate_height_1=__importDefault(__webpack_require__(14434)),evangelist_elements_icon_1=__webpack_require__(6281),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),tab_content_module_scss_1=__importDefault(__webpack_require__(40517));function ExpandableTabContent(_a){var{tabContent,content,drawerContent,drawerTitle}=_a,rest=__rest(_a,["tabContent","content","drawerContent","drawerTitle"]);const[open,toggle]=(0,react_1.useState)(!1),iconStyles=open?tab_content_module_scss_1.default.open:"";return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{bottom:drawerTitle&&drawerContent&&react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(ui_foundation_ui_use_box_bottom_link_1.linkStyles,tab_content_module_scss_1.default.drawer),onClick:()=>toggle(!open)},react_1.default.createElement("div",null,drawerTitle),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"down-rounded-corners",className:iconStyles})),react_1.default.createElement(react_animate_height_1.default,{height:open?"auto":0},drawerContent))}),tabContent||content)}exports.ExpandableTabContent=ExpandableTabContent},6839:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=exports.TabContent=void 0;var tab_content_1=__webpack_require__(39854);Object.defineProperty(exports,"TabContent",{enumerable:!0,get:function(){return tab_content_1.TabContent}});var expandable_tab_content_1=__webpack_require__(88860);Object.defineProperty(exports,"ExpandableTabContent",{enumerable:!0,get:function(){return expandable_tab_content_1.ExpandableTabContent}})},39854:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabContent=void 0;const react_1=__importDefault(__webpack_require__(59496)),tab_content_module_scss_1=__importDefault(__webpack_require__(40517));function TabContent(_a){var{children,bottom}=_a,rest=__rest(_a,["children","bottom"]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement("div",{className:tab_content_module_scss_1.default.middle},children),bottom&&react_1.default.createElement("div",{className:tab_content_module_scss_1.default.bottom},bottom))}exports.TabContent=TabContent},11058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;var tab_1=__webpack_require__(33615);Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return tab_1.Tab}})},33615:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tab_module_scss_1=__importDefault(__webpack_require__(3115));function Tab(_a){var{onClick,isActive,className,children}=_a,rest=__rest(_a,["onClick","isActive","className","children"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(tab_module_scss_1.default.tab,isActive&&tab_module_scss_1.default.active,className),onClick}),children)}exports.Tab=Tab},94300:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__,tippy:()=>tippy_js__WEBPACK_IMPORTED_MODULE_0__.default,useSingleton:()=>useSingleton});var tippy_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(48199),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(59496),react_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(87995);function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}var isBrowser=typeof window<"u"&&typeof document<"u";function preserveRef(ref,node){ref&&(typeof ref=="function"&&ref(node),{}.hasOwnProperty.call(ref,"current")&&(ref.current=node))}function ssrSafeCreateDiv(){return isBrowser&&document.createElement("div")}function toDataAttributes(attrs){var dataAttrs={"data-placement":attrs.placement};return attrs.referenceHidden&&(dataAttrs["data-reference-hidden"]=""),attrs.escaped&&(dataAttrs["data-escaped"]=""),dataAttrs}function deepPreserveProps(instanceProps,componentProps){var _instanceProps$popper,_componentProps$poppe;return Object.assign({},componentProps,{popperOptions:Object.assign({},instanceProps.popperOptions,componentProps.popperOptions,{modifiers:[].concat((((_instanceProps$popper=instanceProps.popperOptions)==null?void 0:_instanceProps$popper.modifiers)||[]).filter(function(modifier){return modifier.name.indexOf("tippy")>=0}),((_componentProps$poppe=componentProps.popperOptions)==null?void 0:_componentProps$poppe.modifiers)||[])})})}var useIsomorphicLayoutEffect=isBrowser?react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_1__.useEffect;function useMutableBox(initialValue){var ref=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();return ref.current||(ref.current=typeof initialValue=="function"?initialValue():initialValue),ref.current}function updateClassName(box,action,classNames){classNames.split(/\s+/).forEach(function(name){name&&box.classList[action](name)})}var classNamePlugin={name:"className",defaultValue:"",fn:function(instance){var box=instance.popper.firstElementChild,isDefaultRenderFn=function(){var _instance$props$rende;return!!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy)};function add(){instance.props.className&&!isDefaultRenderFn()||updateClassName(box,"add",instance.props.className)}function remove(){isDefaultRenderFn()&&updateClassName(box,"remove",instance.props.className)}return{onCreate:add,onBeforeUpdate:remove,onAfterUpdate:add}}};function TippyGenerator(tippy){function Tippy(_ref){var children=_ref.children,content=_ref.content,visible=_ref.visible,singleton=_ref.singleton,render=_ref.render,reference=_ref.reference,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$ignoreAttributes=_ref.ignoreAttributes,ignoreAttributes=_ref$ignoreAttributes===void 0?!0:_ref$ignoreAttributes,__source=_ref.__source,__self=_ref.__self,restOfNativeProps=_objectWithoutPropertiesLoose(_ref,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),isControlledMode=visible!==void 0,isSingletonMode=singleton!==void 0,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}),attrs=_useState2[0],setAttrs=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),singletonContent=_useState3[0],setSingletonContent=_useState3[1],mutableBox=useMutableBox(function(){return{container:ssrSafeCreateDiv(),renders:1}}),props=Object.assign({ignoreAttributes},restOfNativeProps,{content:mutableBox.container});isControlledMode&&(props.trigger="manual",props.hideOnClick=!1),isSingletonMode&&(disabled=!0);var computedProps=props,plugins=props.plugins||[];render&&(computedProps=Object.assign({},props,{plugins:isSingletonMode?[].concat(plugins,[{fn:function(){return{onTrigger:function(_,event){var _singleton$data$child=singleton.data.children.find(function(_ref2){var instance=_ref2.instance;return instance.reference===event.currentTarget}),content2=_singleton$data$child.content;setSingletonContent(content2)}}}}]):plugins,render:function(){return{popper:mutableBox.container}}}));var deps=[reference].concat(children?[children.type]:[]);return useIsomorphicLayoutEffect(function(){var element=reference;reference&&reference.hasOwnProperty("current")&&(element=reference.current);var instance=tippy(element||mutableBox.ref||ssrSafeCreateDiv(),Object.assign({},computedProps,{plugins:[classNamePlugin].concat(props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),visible&&instance.show(),isSingletonMode&&singleton.hook({instance,content,props:computedProps}),setMounted(!0),function(){instance.destroy(),singleton?.cleanup(instance)}},deps),useIsomorphicLayoutEffect(function(){if(mutableBox.renders===1){mutableBox.renders++;return}var instance=mutableBox.instance;instance.setProps(deepPreserveProps(instance.props,computedProps)),disabled?instance.disable():instance.enable(),isControlledMode&&(visible?instance.show():instance.hide()),isSingletonMode&&singleton.hook({instance,content,props:computedProps})}),useIsomorphicLayoutEffect(function(){var _instance$props$poppe;if(!!render){var instance=mutableBox.instance;instance.setProps({popperOptions:Object.assign({},instance.props.popperOptions,{modifiers:[].concat(((_instance$props$poppe=instance.props.popperOptions)==null?void 0:_instance$props$poppe.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_ref3){var _state$modifiersData,state=_ref3.state,hideData=(_state$modifiersData=state.modifiersData)==null?void 0:_state$modifiersData.hide;(attrs.placement!==state.placement||attrs.referenceHidden!==hideData?.isReferenceHidden||attrs.escaped!==hideData?.hasPopperEscaped)&&setAttrs({placement:state.placement,referenceHidden:hideData?.isReferenceHidden,escaped:hideData?.hasPopperEscaped}),state.attributes.popper={}}}])})})}},[attrs.placement,attrs.referenceHidden,attrs.escaped].concat(deps)),react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,null,children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){mutableBox.ref=node,preserveRef(children.ref,node)}}):null,mounted&&(0,react_dom__WEBPACK_IMPORTED_MODULE_2__.createPortal)(render?render(toDataAttributes(attrs),singletonContent,mutableBox.instance):content,mutableBox.container))}return Tippy}function useSingletonGenerator(createSingleton){return function(_temp){var _ref=_temp===void 0?{}:_temp,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$overrides=_ref.overrides,overrides=_ref$overrides===void 0?[]:_ref$overrides,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],mutableBox=useMutableBox({children:[],renders:1});return useIsomorphicLayoutEffect(function(){if(!mounted){setMounted(!0);return}var children=mutableBox.children,sourceData=mutableBox.sourceData;if(!!sourceData){var instance=createSingleton(children.map(function(child){return child.instance}),Object.assign({},sourceData.props,{popperOptions:sourceData.instance.props.popperOptions,overrides,plugins:[classNamePlugin].concat(sourceData.props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),function(){instance.destroy(),mutableBox.children=children.filter(function(_ref2){var instance2=_ref2.instance;return!instance2.state.isDestroyed})}}},[mounted]),useIsomorphicLayoutEffect(function(){if(!!mounted){if(mutableBox.renders===1){mutableBox.renders++;return}var children=mutableBox.children,instance=mutableBox.instance,sourceData=mutableBox.sourceData;if(!!(instance&&sourceData)){var _sourceData$props=sourceData.props,content=_sourceData$props.content,props=_objectWithoutPropertiesLoose(_sourceData$props,["content"]);instance.setProps(deepPreserveProps(instance,Object.assign({},props,{overrides}))),instance.setInstances(children.map(function(child){return child.instance})),disabled?instance.disable():instance.enable()}}}),(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){var source={data:mutableBox,hook:function(data){mutableBox.sourceData=data},cleanup:function(){mutableBox.sourceData=null}},target={hook:function(data){mutableBox.children.find(function(_ref3){var instance=_ref3.instance;return data.instance===instance})||mutableBox.children.push(data)},cleanup:function(instance){mutableBox.children=mutableBox.children.filter(function(data){return data.instance!==instance})}};return[source,target]},[])}}var forwardRef=function(Tippy,defaultProps){return(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function(_ref,_ref2){var children=_ref.children,props=_objectWithoutPropertiesLoose(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_1__.createElement(Tippy,Object.assign({},defaultProps,props),children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){preserveRef(_ref2,node),preserveRef(children.ref,node)}}):null)})},useSingleton=useSingletonGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.createSingleton),index=forwardRef(TippyGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.default));const __WEBPACK_DEFAULT_EXPORT__=index},74257:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module=__webpack_require__.nmd(module);const colorConvert=__webpack_require__(18358),wrapAnsi16=(fn,offset)=>function(){return`\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){const code=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){const rgb=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){const codes=new Map,styles2={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]}};styles2.color.grey=styles2.color.gray;for(const groupName of Object.keys(styles2)){const group=styles2[groupName];for(const styleName of Object.keys(group)){const style=group[styleName];styles2[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles2[styleName],codes.set(style[0],style[1])}Object.defineProperty(styles2,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles2,"codes",{value:codes,enumerable:!1})}const ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles2.color.close="\x1B[39m",styles2.bgColor.close="\x1B[49m",styles2.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles2.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles2.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles2.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles2.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles2.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;const suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles2.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles2.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles2.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles2.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles2.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles2.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10))}return styles2}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles})},48049:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);function _typeof(o){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol=="function"&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2},_typeof(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__webpack_require__(18895),_require$codes=_require.codes,ERR_AMBIGUOUS_ARGUMENT=_require$codes.ERR_AMBIGUOUS_ARGUMENT,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_INVALID_ARG_VALUE=_require$codes.ERR_INVALID_ARG_VALUE,ERR_INVALID_RETURN_VALUE=_require$codes.ERR_INVALID_RETURN_VALUE,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,AssertionError=__webpack_require__(6960),_require2=__webpack_require__(93585),inspect=_require2.inspect,_require$types=__webpack_require__(93585).types,isPromise=_require$types.isPromise,isRegExp=_require$types.isRegExp,objectAssign=__webpack_require__(82724)(),objectIs=__webpack_require__(78075)(),RegExpPrototypeTest=__webpack_require__(74161)("RegExp.prototype.test"),errorCache=new Map,isDeepEqual,isDeepStrictEqual,parseExpressionAt,findNodeAround,decoder;function lazyLoadComparison(){var comparison=__webpack_require__(44984);isDeepEqual=comparison.isDeepEqual,isDeepStrictEqual=comparison.isDeepStrictEqual}var escapeSequencesRegExp=/[\x00-\x08\x0b\x0c\x0e-\x1f]/g,meta=null,escapeFn=function(str){return meta[str.charCodeAt(0)]},warned=!1,assert=module.exports=ok,NO_EXCEPTION_SENTINEL={};function innerFail(obj){throw obj.message instanceof Error?obj.message:new AssertionError(obj)}function fail(actual,expected,message,operator,stackStartFn){var argsLen=arguments.length,internalMessage;if(argsLen===0)internalMessage="Failed";else if(argsLen===1)message=actual,actual=void 0;else{if(warned===!1){warned=!0;var warn=process.emitWarning?process.emitWarning:console.warn.bind(console);warn("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}argsLen===2&&(operator="!=")}if(message instanceof Error)throw message;var errArgs={actual,expected,operator:operator===void 0?"fail":operator,stackStartFn:stackStartFn||fail};message!==void 0&&(errArgs.message=message);var err=new AssertionError(errArgs);throw internalMessage&&(err.message=internalMessage,err.generatedMessage=!0),err}assert.fail=fail,assert.AssertionError=AssertionError;function innerOk(fn,argLen,value,message){if(!value){var generatedMessage=!1;if(argLen===0)generatedMessage=!0,message="No value argument passed to `assert.ok()`";else if(message instanceof Error)throw message;var err=new AssertionError({actual:value,expected:!0,message,operator:"==",stackStartFn:fn});throw err.generatedMessage=generatedMessage,err}}function ok(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];innerOk.apply(void 0,[ok,args.length].concat(args))}assert.ok=ok,assert.equal=function equal(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual!=expected&&innerFail({actual,expected,message,operator:"==",stackStartFn:equal})},assert.notEqual=function notEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual==expected&&innerFail({actual,expected,message,operator:"!=",stackStartFn:notEqual})},assert.deepEqual=function deepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepEqual",stackStartFn:deepEqual})},assert.notDeepEqual=function notDeepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepEqual",stackStartFn:notDeepEqual})},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepStrictEqual",stackStartFn:deepStrictEqual})},assert.notDeepStrictEqual=notDeepStrictEqual;function notDeepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepStrictEqual",stackStartFn:notDeepStrictEqual})}assert.strictEqual=function strictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)||innerFail({actual,expected,message,operator:"strictEqual",stackStartFn:strictEqual})},assert.notStrictEqual=function notStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)&&innerFail({actual,expected,message,operator:"notStrictEqual",stackStartFn:notStrictEqual})};var Comparison=_createClass(function Comparison2(obj,keys,actual){var _this=this;_classCallCheck(this,Comparison2),keys.forEach(function(key){key in obj&&(actual!==void 0&&typeof actual[key]=="string"&&isRegExp(obj[key])&&RegExpPrototypeTest(obj[key],actual[key])?_this[key]=actual[key]:_this[key]=obj[key])})});function compareExceptionKey(actual,expected,key,message,keys,fn){if(!(key in actual)||!isDeepStrictEqual(actual[key],expected[key])){if(!message){var a=new Comparison(actual,keys),b=new Comparison(expected,keys,actual),err=new AssertionError({actual:a,expected:b,operator:"deepStrictEqual",stackStartFn:fn});throw err.actual=actual,err.expected=expected,err.operator=fn.name,err}innerFail({actual,expected,message,operator:fn.name,stackStartFn:fn})}}function expectedException(actual,expected,msg,fn){if(typeof expected!="function"){if(isRegExp(expected))return RegExpPrototypeTest(expected,actual);if(arguments.length===2)throw new ERR_INVALID_ARG_TYPE("expected",["Function","RegExp"],expected);if(_typeof(actual)!=="object"||actual===null){var err=new AssertionError({actual,expected,message:msg,operator:"deepStrictEqual",stackStartFn:fn});throw err.operator=fn.name,err}var keys=Object.keys(expected);if(expected instanceof Error)keys.push("name","message");else if(keys.length===0)throw new ERR_INVALID_ARG_VALUE("error",expected,"may not be an empty object");return isDeepEqual===void 0&&lazyLoadComparison(),keys.forEach(function(key){typeof actual[key]=="string"&&isRegExp(expected[key])&&RegExpPrototypeTest(expected[key],actual[key])||compareExceptionKey(actual,expected,key,msg,keys,fn)}),!0}return expected.prototype!==void 0&&actual instanceof expected?!0:Error.isPrototypeOf(expected)?!1:expected.call({},actual)===!0}function getActual(fn){if(typeof fn!="function")throw new ERR_INVALID_ARG_TYPE("fn","Function",fn);try{fn()}catch(e){return e}return NO_EXCEPTION_SENTINEL}function checkIsPromise(obj){return isPromise(obj)||obj!==null&&_typeof(obj)==="object"&&typeof obj.then=="function"&&typeof obj.catch=="function"}function waitForActual(promiseFn){return Promise.resolve().then(function(){var resultPromise;if(typeof promiseFn=="function"){if(resultPromise=promiseFn(),!checkIsPromise(resultPromise))throw new ERR_INVALID_RETURN_VALUE("instance of Promise","promiseFn",resultPromise)}else if(checkIsPromise(promiseFn))resultPromise=promiseFn;else throw new ERR_INVALID_ARG_TYPE("promiseFn",["Function","Promise"],promiseFn);return Promise.resolve().then(function(){return resultPromise}).then(function(){return NO_EXCEPTION_SENTINEL}).catch(function(e){return e})})}function expectsError(stackStartFn,actual,error,message){if(typeof error=="string"){if(arguments.length===4)throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(_typeof(actual)==="object"&&actual!==null){if(actual.message===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error message "'.concat(actual.message,'" is identical to the message.'))}else if(actual===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error "'.concat(actual,'" is identical to the message.'));message=error,error=void 0}else if(error!=null&&_typeof(error)!=="object"&&typeof error!="function")throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(actual===NO_EXCEPTION_SENTINEL){var details="";error&&error.name&&(details+=" (".concat(error.name,")")),details+=message?": ".concat(message):".";var fnType=stackStartFn.name==="rejects"?"rejection":"exception";innerFail({actual:void 0,expected:error,operator:stackStartFn.name,message:"Missing expected ".concat(fnType).concat(details),stackStartFn})}if(error&&!expectedException(actual,error,message,stackStartFn))throw actual}function expectsNoError(stackStartFn,actual,error,message){if(actual!==NO_EXCEPTION_SENTINEL){if(typeof error=="string"&&(message=error,error=void 0),!error||expectedException(actual,error)){var details=message?": ".concat(message):".",fnType=stackStartFn.name==="doesNotReject"?"rejection":"exception";innerFail({actual,expected:error,operator:stackStartFn.name,message:"Got unwanted ".concat(fnType).concat(details,`
38
38
  `)+'Actual message: "'.concat(actual&&actual.message,'"'),stackStartFn})}throw actual}}assert.throws=function throws(promiseFn){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];expectsError.apply(void 0,[throws,getActual(promiseFn)].concat(args))},assert.rejects=function rejects(promiseFn){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return waitForActual(promiseFn).then(function(result){return expectsError.apply(void 0,[rejects,result].concat(args))})},assert.doesNotThrow=function doesNotThrow(fn){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];expectsNoError.apply(void 0,[doesNotThrow,getActual(fn)].concat(args))},assert.doesNotReject=function doesNotReject(fn){for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return waitForActual(fn).then(function(result){return expectsNoError.apply(void 0,[doesNotReject,result].concat(args))})},assert.ifError=function ifError(err){if(err!=null){var message="ifError got unwanted exception: ";_typeof(err)==="object"&&typeof err.message=="string"?err.message.length===0&&err.constructor?message+=err.constructor.name:message+=err.message:message+=inspect(err);var newErr=new AssertionError({actual:err,expected:null,operator:"ifError",message,stackStartFn:ifError}),origStack=err.stack;if(typeof origStack=="string"){var tmp2=origStack.split(`
39
39
  `);tmp2.shift();for(var tmp1=newErr.stack.split(`
40
40
  `),i=0;i<tmp2.length;i++){var pos=tmp1.indexOf(tmp2[i]);if(pos!==-1){tmp1=tmp1.slice(0,pos);break}}newErr.stack="".concat(tmp1.join(`
@@ -311,14 +311,7 @@ ${namesToRegister.map(({variableName,uniqueLocalName})=>` reactHotLoader.regist
311
311
  `)}function getFormattedMessage(message){return[getDevMessage(message),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var visitedMessages;function resetVisitedMessages(){visitedMessages=new Set}function warnWhen(condition,message){if(condition&&!visitedMessages.has(message)){var _console;visitedMessages.add(message),(_console=console).warn.apply(_console,getFormattedMessage(message))}}function errorWhen(condition,message){if(condition&&!visitedMessages.has(message)){var _console2;visitedMessages.add(message),(_console2=console).error.apply(_console2,getFormattedMessage(message))}}function validateTargets(targets){var didPassFalsyValue=!targets,didPassPlainObject=Object.prototype.toString.call(targets)==="[object Object]"&&!targets.addEventListener;errorWhen(didPassFalsyValue,["tippy() was passed","`"+String(targets)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),errorWhen(didPassPlainObject,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var pluginProps={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},renderProps={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},defaultProps=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},pluginProps,{},renderProps),defaultKeys=Object.keys(defaultProps),setDefaultProps=function(partialProps){var keys=Object.keys(partialProps);keys.forEach(function(key){defaultProps[key]=partialProps[key]})};function getExtendedPassedProps(passedProps){var plugins=passedProps.plugins||[],pluginProps2=plugins.reduce(function(acc,plugin){var name=plugin.name,defaultValue=plugin.defaultValue;return name&&(acc[name]=passedProps[name]!==void 0?passedProps[name]:defaultValue),acc},{});return Object.assign({},passedProps,{},pluginProps2)}function getDataAttributeProps(reference,plugins){var propKeys=plugins?Object.keys(getExtendedPassedProps(Object.assign({},defaultProps,{plugins}))):defaultKeys,props=propKeys.reduce(function(acc,key){var valueAsString=(reference.getAttribute("data-tippy-"+key)||"").trim();if(!valueAsString)return acc;if(key==="content")acc[key]=valueAsString;else try{acc[key]=JSON.parse(valueAsString)}catch{acc[key]=valueAsString}return acc},{});return props}function evaluateProps(reference,props){var out=Object.assign({},props,{content:invokeWithArgsOrReturn(props.content,[reference])},props.ignoreAttributes?{}:getDataAttributeProps(reference,props.plugins));return out.aria=Object.assign({},defaultProps.aria,{},out.aria),out.aria={expanded:out.aria.expanded==="auto"?props.interactive:out.aria.expanded,content:out.aria.content==="auto"?props.interactive?null:"describedby":out.aria.content},out}function validateProps(partialProps,plugins){partialProps===void 0&&(partialProps={}),plugins===void 0&&(plugins=[]);var keys=Object.keys(partialProps);keys.forEach(function(prop){var nonPluginProps=removeProperties(defaultProps,Object.keys(pluginProps)),didPassUnknownProp=!hasOwnProperty(nonPluginProps,prop);didPassUnknownProp&&(didPassUnknownProp=plugins.filter(function(plugin){return plugin.name===prop}).length===0),warnWhen(didPassUnknownProp,["`"+prop+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
312
312
 
313
313
  `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
314
- `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var innerHTML=function(){return"innerHTML"};function dangerouslySetInnerHTML(element,html){element[innerHTML()]=html}function createArrowElement(value){var arrow=div();return value===!0?arrow.className=ARROW_CLASS:(arrow.className=SVG_ARROW_CLASS,isElement(value)?arrow.appendChild(value):dangerouslySetInnerHTML(arrow,value)),arrow}function setContent(content,props){isElement(props.content)?(dangerouslySetInnerHTML(content,""),content.appendChild(props.content)):typeof props.content!="function"&&(props.allowHTML?dangerouslySetInnerHTML(content,props.content):content.textContent=props.content)}function getChildren(popper){var box=popper.firstElementChild,boxChildren=arrayFrom(box.children);return{box,content:boxChildren.find(function(node){return node.classList.contains(CONTENT_CLASS)}),arrow:boxChildren.find(function(node){return node.classList.contains(ARROW_CLASS)||node.classList.contains(SVG_ARROW_CLASS)}),backdrop:boxChildren.find(function(node){return node.classList.contains(BACKDROP_CLASS)})}}function render(instance){var popper=div(),box=div();box.className=BOX_CLASS,box.setAttribute("data-state","hidden"),box.setAttribute("tabindex","-1");var content=div();content.className=CONTENT_CLASS,content.setAttribute("data-state","hidden"),setContent(content,instance.props),popper.appendChild(box),box.appendChild(content),onUpdate(instance.props,instance.props);function onUpdate(prevProps,nextProps){var _getChildren=getChildren(popper),box2=_getChildren.box,content2=_getChildren.content,arrow=_getChildren.arrow;nextProps.theme?box2.setAttribute("data-theme",nextProps.theme):box2.removeAttribute("data-theme"),typeof nextProps.animation=="string"?box2.setAttribute("data-animation",nextProps.animation):box2.removeAttribute("data-animation"),nextProps.inertia?box2.setAttribute("data-inertia",""):box2.removeAttribute("data-inertia"),box2.style.maxWidth=typeof nextProps.maxWidth=="number"?nextProps.maxWidth+"px":nextProps.maxWidth,nextProps.role?box2.setAttribute("role",nextProps.role):box2.removeAttribute("role"),(prevProps.content!==nextProps.content||prevProps.allowHTML!==nextProps.allowHTML)&&setContent(content2,instance.props),nextProps.arrow?arrow?prevProps.arrow!==nextProps.arrow&&(box2.removeChild(arrow),box2.appendChild(createArrowElement(nextProps.arrow))):box2.appendChild(createArrowElement(nextProps.arrow)):arrow&&box2.removeChild(arrow)}return{popper,onUpdate}}render.$$tippy=!0;var idCounter=1,mouseMoveListeners=[],mountedInstances=[];function createTippy(reference,passedProps){var props=evaluateProps(reference,Object.assign({},defaultProps,{},getExtendedPassedProps(removeUndefinedProps(passedProps)))),showTimeout,hideTimeout,scheduleHideAnimationFrame,isVisibleFromClick=!1,didHideDueToDocumentMouseDown=!1,didTouchMove=!1,ignoreOnFirstUpdate=!1,lastTriggerEvent,currentTransitionEndListener,onFirstUpdate,listeners=[],debouncedOnMouseMove=debounce(onMouseMove,props.interactiveDebounce),currentTarget,id=idCounter++,popperInstance=null,plugins=unique(props.plugins),state={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},instance={id,reference,popper:div(),popperInstance,props,state,plugins,clearDelayTimeouts,setProps,setContent:setContent2,show,hide,hideWithInteractivity,enable,disable,unmount,destroy};if(!props.render)return instance;var _props$render=props.render(instance),popper=_props$render.popper,onUpdate=_props$render.onUpdate;popper.setAttribute("data-tippy-root",""),popper.id="tippy-"+instance.id,instance.popper=popper,reference._tippy=instance,popper._tippy=instance;var pluginsHooks=plugins.map(function(plugin){return plugin.fn(instance)}),hasAriaExpanded=reference.hasAttribute("aria-expanded");return addListeners(),handleAriaExpandedAttribute(),handleStyles(),invokeHook("onCreate",[instance]),props.showOnCreate&&scheduleShow(),popper.addEventListener("mouseenter",function(){instance.props.interactive&&instance.state.isVisible&&instance.clearDelayTimeouts()}),popper.addEventListener("mouseleave",function(event){instance.props.interactive&&instance.props.trigger.indexOf("mouseenter")>=0&&(getDocument().addEventListener("mousemove",debouncedOnMouseMove),debouncedOnMouseMove(event))}),instance;function getNormalizedTouchSettings(){var touch=instance.props.touch;return Array.isArray(touch)?touch:[touch,0]}function getIsCustomTouchBehavior(){return getNormalizedTouchSettings()[0]==="hold"}function getIsDefaultRenderFn(){var _instance$props$rende;return!!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy)}function getCurrentTarget(){return currentTarget||reference}function getDocument(){var parent=getCurrentTarget().parentNode;return parent?getOwnerDocument(parent):document}function getDefaultTemplateChildren(){return getChildren(popper)}function getDelay(isShow){return instance.state.isMounted&&!instance.state.isVisible||currentInput.isTouch||lastTriggerEvent&&lastTriggerEvent.type==="focus"?0:getValueAtIndexOrReturn(instance.props.delay,isShow?0:1,defaultProps.delay)}function handleStyles(){popper.style.pointerEvents=instance.props.interactive&&instance.state.isVisible?"":"none",popper.style.zIndex=""+instance.props.zIndex}function invokeHook(hook,args,shouldInvokePropsHook){if(shouldInvokePropsHook===void 0&&(shouldInvokePropsHook=!0),pluginsHooks.forEach(function(pluginHooks){pluginHooks[hook]&&pluginHooks[hook].apply(void 0,args)}),shouldInvokePropsHook){var _instance$props;(_instance$props=instance.props)[hook].apply(_instance$props,args)}}function handleAriaContentAttribute(){var aria=instance.props.aria;if(!!aria.content){var attr="aria-"+aria.content,id2=popper.id,nodes=normalizeToArray(instance.props.triggerTarget||reference);nodes.forEach(function(node){var currentValue=node.getAttribute(attr);if(instance.state.isVisible)node.setAttribute(attr,currentValue?currentValue+" "+id2:id2);else{var nextValue=currentValue&&currentValue.replace(id2,"").trim();nextValue?node.setAttribute(attr,nextValue):node.removeAttribute(attr)}})}}function handleAriaExpandedAttribute(){if(!(hasAriaExpanded||!instance.props.aria.expanded)){var nodes=normalizeToArray(instance.props.triggerTarget||reference);nodes.forEach(function(node){instance.props.interactive?node.setAttribute("aria-expanded",instance.state.isVisible&&node===getCurrentTarget()?"true":"false"):node.removeAttribute("aria-expanded")})}}function cleanupInteractiveMouseListeners(){getDocument().removeEventListener("mousemove",debouncedOnMouseMove),mouseMoveListeners=mouseMoveListeners.filter(function(listener){return listener!==debouncedOnMouseMove})}function onDocumentPress(event){if(!(currentInput.isTouch&&(didTouchMove||event.type==="mousedown"))&&!(instance.props.interactive&&popper.contains(event.target))){if(getCurrentTarget().contains(event.target)){if(currentInput.isTouch||instance.state.isVisible&&instance.props.trigger.indexOf("click")>=0)return}else invokeHook("onClickOutside",[instance,event]);instance.props.hideOnClick===!0&&(instance.clearDelayTimeouts(),instance.hide(),didHideDueToDocumentMouseDown=!0,setTimeout(function(){didHideDueToDocumentMouseDown=!1}),instance.state.isMounted||removeDocumentPress())}}function onTouchMove(){didTouchMove=!0}function onTouchStart(){didTouchMove=!1}function addDocumentPress(){var doc=getDocument();doc.addEventListener("mousedown",onDocumentPress,!0),doc.addEventListener("touchend",onDocumentPress,TOUCH_OPTIONS),doc.addEventListener("touchstart",onTouchStart,TOUCH_OPTIONS),doc.addEventListener("touchmove",onTouchMove,TOUCH_OPTIONS)}function removeDocumentPress(){var doc=getDocument();doc.removeEventListener("mousedown",onDocumentPress,!0),doc.removeEventListener("touchend",onDocumentPress,TOUCH_OPTIONS),doc.removeEventListener("touchstart",onTouchStart,TOUCH_OPTIONS),doc.removeEventListener("touchmove",onTouchMove,TOUCH_OPTIONS)}function onTransitionedOut(duration,callback){onTransitionEnd(duration,function(){!instance.state.isVisible&&popper.parentNode&&popper.parentNode.contains(popper)&&callback()})}function onTransitionedIn(duration,callback){onTransitionEnd(duration,callback)}function onTransitionEnd(duration,callback){var box=getDefaultTemplateChildren().box;function listener(event){event.target===box&&(updateTransitionEndListener(box,"remove",listener),callback())}if(duration===0)return callback();updateTransitionEndListener(box,"remove",currentTransitionEndListener),updateTransitionEndListener(box,"add",listener),currentTransitionEndListener=listener}function on(eventType,handler,options){options===void 0&&(options=!1);var nodes=normalizeToArray(instance.props.triggerTarget||reference);nodes.forEach(function(node){node.addEventListener(eventType,handler,options),listeners.push({node,eventType,handler,options})})}function addListeners(){getIsCustomTouchBehavior()&&(on("touchstart",onTrigger,{passive:!0}),on("touchend",onMouseLeave,{passive:!0})),splitBySpaces(instance.props.trigger).forEach(function(eventType){if(eventType!=="manual")switch(on(eventType,onTrigger),eventType){case"mouseenter":on("mouseleave",onMouseLeave);break;case"focus":on(isIE?"focusout":"blur",onBlurOrFocusOut);break;case"focusin":on("focusout",onBlurOrFocusOut);break}})}function removeListeners(){listeners.forEach(function(_ref){var node=_ref.node,eventType=_ref.eventType,handler=_ref.handler,options=_ref.options;node.removeEventListener(eventType,handler,options)}),listeners=[]}function onTrigger(event){var _lastTriggerEvent,shouldScheduleClickHide=!1;if(!(!instance.state.isEnabled||isEventListenerStopped(event)||didHideDueToDocumentMouseDown)){var wasFocused=((_lastTriggerEvent=lastTriggerEvent)==null?void 0:_lastTriggerEvent.type)==="focus";lastTriggerEvent=event,currentTarget=event.currentTarget,handleAriaExpandedAttribute(),!instance.state.isVisible&&isMouseEvent(event)&&mouseMoveListeners.forEach(function(listener){return listener(event)}),event.type==="click"&&(instance.props.trigger.indexOf("mouseenter")<0||isVisibleFromClick)&&instance.props.hideOnClick!==!1&&instance.state.isVisible?shouldScheduleClickHide=!0:scheduleShow(event),event.type==="click"&&(isVisibleFromClick=!shouldScheduleClickHide),shouldScheduleClickHide&&!wasFocused&&scheduleHide(event)}}function onMouseMove(event){var target=event.target,isCursorOverReferenceOrPopper=getCurrentTarget().contains(target)||popper.contains(target);if(!(event.type==="mousemove"&&isCursorOverReferenceOrPopper)){var popperTreeData=getNestedPopperTree().concat(popper).map(function(popper2){var _instance$popperInsta,instance2=popper2._tippy,state2=(_instance$popperInsta=instance2.popperInstance)==null?void 0:_instance$popperInsta.state;return state2?{popperRect:popper2.getBoundingClientRect(),popperState:state2,props}:null}).filter(Boolean);isCursorOutsideInteractiveBorder(popperTreeData,event)&&(cleanupInteractiveMouseListeners(),scheduleHide(event))}}function onMouseLeave(event){var shouldBail=isEventListenerStopped(event)||instance.props.trigger.indexOf("click")>=0&&isVisibleFromClick;if(!shouldBail){if(instance.props.interactive){instance.hideWithInteractivity(event);return}scheduleHide(event)}}function onBlurOrFocusOut(event){instance.props.trigger.indexOf("focusin")<0&&event.target!==getCurrentTarget()||instance.props.interactive&&event.relatedTarget&&popper.contains(event.relatedTarget)||scheduleHide(event)}function isEventListenerStopped(event){return currentInput.isTouch?getIsCustomTouchBehavior()!==event.type.indexOf("touch")>=0:!1}function createPopperInstance(){destroyPopperInstance();var _instance$props2=instance.props,popperOptions=_instance$props2.popperOptions,placement=_instance$props2.placement,offset=_instance$props2.offset,getReferenceClientRect=_instance$props2.getReferenceClientRect,moveTransition=_instance$props2.moveTransition,arrow=getIsDefaultRenderFn()?getChildren(popper).arrow:null,computedReference=getReferenceClientRect?{getBoundingClientRect:getReferenceClientRect,contextElement:getReferenceClientRect.contextElement||getCurrentTarget()}:reference,tippyModifier={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_ref2){var state2=_ref2.state;if(getIsDefaultRenderFn()){var _getDefaultTemplateCh=getDefaultTemplateChildren(),box=_getDefaultTemplateCh.box;["placement","reference-hidden","escaped"].forEach(function(attr){attr==="placement"?box.setAttribute("data-placement",state2.placement):state2.attributes.popper["data-popper-"+attr]?box.setAttribute("data-"+attr,""):box.removeAttribute("data-"+attr)}),state2.attributes.popper={}}}},modifiers=[{name:"offset",options:{offset}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!moveTransition}},tippyModifier];getIsDefaultRenderFn()&&arrow&&modifiers.push({name:"arrow",options:{element:arrow,padding:3}}),modifiers.push.apply(modifiers,popperOptions?.modifiers||[]),instance.popperInstance=(0,_popperjs_core__WEBPACK_IMPORTED_MODULE_0__.fi)(computedReference,popper,Object.assign({},popperOptions,{placement,onFirstUpdate,modifiers}))}function destroyPopperInstance(){instance.popperInstance&&(instance.popperInstance.destroy(),instance.popperInstance=null)}function mount(){var appendTo=instance.props.appendTo,parentNode,node=getCurrentTarget();instance.props.interactive&&appendTo===defaultProps.appendTo||appendTo==="parent"?parentNode=node.parentNode:parentNode=invokeWithArgsOrReturn(appendTo,[node]),parentNode.contains(popper)||parentNode.appendChild(popper),createPopperInstance()}function getNestedPopperTree(){return arrayFrom(popper.querySelectorAll("[data-tippy-root]"))}function scheduleShow(event){instance.clearDelayTimeouts(),event&&invokeHook("onTrigger",[instance,event]),addDocumentPress();var delay=getDelay(!0),_getNormalizedTouchSe=getNormalizedTouchSettings(),touchValue=_getNormalizedTouchSe[0],touchDelay=_getNormalizedTouchSe[1];currentInput.isTouch&&touchValue==="hold"&&touchDelay&&(delay=touchDelay),delay?showTimeout=setTimeout(function(){instance.show()},delay):instance.show()}function scheduleHide(event){if(instance.clearDelayTimeouts(),invokeHook("onUntrigger",[instance,event]),!instance.state.isVisible){removeDocumentPress();return}if(!(instance.props.trigger.indexOf("mouseenter")>=0&&instance.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(event.type)>=0&&isVisibleFromClick)){var delay=getDelay(!1);delay?hideTimeout=setTimeout(function(){instance.state.isVisible&&instance.hide()},delay):scheduleHideAnimationFrame=requestAnimationFrame(function(){instance.hide()})}}function enable(){instance.state.isEnabled=!0}function disable(){instance.hide(),instance.state.isEnabled=!1}function clearDelayTimeouts(){clearTimeout(showTimeout),clearTimeout(hideTimeout),cancelAnimationFrame(scheduleHideAnimationFrame)}function setProps(partialProps){if(!instance.state.isDestroyed){invokeHook("onBeforeUpdate",[instance,partialProps]),removeListeners();var prevProps=instance.props,nextProps=evaluateProps(reference,Object.assign({},instance.props,{},partialProps,{ignoreAttributes:!0}));instance.props=nextProps,addListeners(),prevProps.interactiveDebounce!==nextProps.interactiveDebounce&&(cleanupInteractiveMouseListeners(),debouncedOnMouseMove=debounce(onMouseMove,nextProps.interactiveDebounce)),prevProps.triggerTarget&&!nextProps.triggerTarget?normalizeToArray(prevProps.triggerTarget).forEach(function(node){node.removeAttribute("aria-expanded")}):nextProps.triggerTarget&&reference.removeAttribute("aria-expanded"),handleAriaExpandedAttribute(),handleStyles(),onUpdate&&onUpdate(prevProps,nextProps),instance.popperInstance&&(createPopperInstance(),getNestedPopperTree().forEach(function(nestedPopper){requestAnimationFrame(nestedPopper._tippy.popperInstance.forceUpdate)})),invokeHook("onAfterUpdate",[instance,partialProps])}}function setContent2(content){instance.setProps({content})}function show(){var isAlreadyVisible=instance.state.isVisible,isDestroyed=instance.state.isDestroyed,isDisabled=!instance.state.isEnabled,isTouchAndTouchDisabled=currentInput.isTouch&&!instance.props.touch,duration=getValueAtIndexOrReturn(instance.props.duration,0,defaultProps.duration);if(!(isAlreadyVisible||isDestroyed||isDisabled||isTouchAndTouchDisabled)&&!getCurrentTarget().hasAttribute("disabled")&&(invokeHook("onShow",[instance],!1),instance.props.onShow(instance)!==!1)){if(instance.state.isVisible=!0,getIsDefaultRenderFn()&&(popper.style.visibility="visible"),handleStyles(),addDocumentPress(),instance.state.isMounted||(popper.style.transition="none"),getIsDefaultRenderFn()){var _getDefaultTemplateCh2=getDefaultTemplateChildren(),box=_getDefaultTemplateCh2.box,content=_getDefaultTemplateCh2.content;setTransitionDuration([box,content],0)}onFirstUpdate=function(){if(!(!instance.state.isVisible||ignoreOnFirstUpdate)){if(ignoreOnFirstUpdate=!0,popper.offsetHeight,popper.style.transition=instance.props.moveTransition,getIsDefaultRenderFn()&&instance.props.animation){var _getDefaultTemplateCh3=getDefaultTemplateChildren(),_box=_getDefaultTemplateCh3.box,_content=_getDefaultTemplateCh3.content;setTransitionDuration([_box,_content],duration),setVisibilityState([_box,_content],"visible")}handleAriaContentAttribute(),handleAriaExpandedAttribute(),pushIfUnique(mountedInstances,instance),instance.state.isMounted=!0,invokeHook("onMount",[instance]),instance.props.animation&&getIsDefaultRenderFn()&&onTransitionedIn(duration,function(){instance.state.isShown=!0,invokeHook("onShown",[instance])})}},mount()}}function hide(){var isAlreadyHidden=!instance.state.isVisible,isDestroyed=instance.state.isDestroyed,isDisabled=!instance.state.isEnabled,duration=getValueAtIndexOrReturn(instance.props.duration,1,defaultProps.duration);if(!(isAlreadyHidden||isDestroyed||isDisabled)&&(invokeHook("onHide",[instance],!1),instance.props.onHide(instance)!==!1)){if(instance.state.isVisible=!1,instance.state.isShown=!1,ignoreOnFirstUpdate=!1,isVisibleFromClick=!1,getIsDefaultRenderFn()&&(popper.style.visibility="hidden"),cleanupInteractiveMouseListeners(),removeDocumentPress(),handleStyles(),getIsDefaultRenderFn()){var _getDefaultTemplateCh4=getDefaultTemplateChildren(),box=_getDefaultTemplateCh4.box,content=_getDefaultTemplateCh4.content;instance.props.animation&&(setTransitionDuration([box,content],duration),setVisibilityState([box,content],"hidden"))}handleAriaContentAttribute(),handleAriaExpandedAttribute(),instance.props.animation?getIsDefaultRenderFn()&&onTransitionedOut(duration,instance.unmount):instance.unmount()}}function hideWithInteractivity(event){getDocument().addEventListener("mousemove",debouncedOnMouseMove),pushIfUnique(mouseMoveListeners,debouncedOnMouseMove),debouncedOnMouseMove(event)}function unmount(){instance.state.isVisible&&instance.hide(),instance.state.isMounted&&(destroyPopperInstance(),getNestedPopperTree().forEach(function(nestedPopper){nestedPopper._tippy.unmount()}),popper.parentNode&&popper.parentNode.removeChild(popper),mountedInstances=mountedInstances.filter(function(i){return i!==instance}),instance.state.isMounted=!1,invokeHook("onHidden",[instance]))}function destroy(){instance.state.isDestroyed||(instance.clearDelayTimeouts(),instance.unmount(),removeListeners(),delete reference._tippy,instance.state.isDestroyed=!0,invokeHook("onDestroy",[instance]))}}function tippy(targets,optionalProps){optionalProps===void 0&&(optionalProps={});var plugins=defaultProps.plugins.concat(optionalProps.plugins||[]);bindGlobalEventListeners();var passedProps=Object.assign({},optionalProps,{plugins}),elements=getArrayOfElements(targets);if(!1)var isMoreThanOneReferenceElement,isSingleContentElement;var instances=elements.reduce(function(acc,reference){var instance=reference&&createTippy(reference,passedProps);return instance&&acc.push(instance),acc},[]);return isElement(targets)?instances[0]:instances}tippy.defaultProps=defaultProps,tippy.setDefaultProps=setDefaultProps,tippy.currentInput=currentInput;var hideAll=function(_temp){var _ref=_temp===void 0?{}:_temp,excludedReferenceOrInstance=_ref.exclude,duration=_ref.duration;mountedInstances.forEach(function(instance){var isExcluded=!1;if(excludedReferenceOrInstance&&(isExcluded=isReferenceElement(excludedReferenceOrInstance)?instance.reference===excludedReferenceOrInstance:instance.popper===excludedReferenceOrInstance.popper),!isExcluded){var originalDuration=instance.props.duration;instance.setProps({duration}),instance.hide(),instance.state.isDestroyed||instance.setProps({duration:originalDuration})}})},createSingleton=function(tippyInstances,optionalProps){optionalProps===void 0&&(optionalProps={});var individualInstances=tippyInstances,references=[],currentTarget,overrides=optionalProps.overrides,interceptSetPropsCleanups=[];function setReferences(){references=individualInstances.map(function(instance){return instance.reference})}function enableInstances(isEnabled){individualInstances.forEach(function(instance){isEnabled?instance.enable():instance.disable()})}function interceptSetProps(singleton2){return individualInstances.map(function(instance){var originalSetProps2=instance.setProps;return instance.setProps=function(props){originalSetProps2(props),instance.reference===currentTarget&&singleton2.setProps(props)},function(){instance.setProps=originalSetProps2}})}enableInstances(!1),setReferences();var plugin={fn:function(){return{onDestroy:function(){enableInstances(!0)},onTrigger:function(instance,event){var target=event.currentTarget,index=references.indexOf(target);if(target!==currentTarget){currentTarget=target;var overrideProps=(overrides||[]).concat("content").reduce(function(acc,prop){return acc[prop]=individualInstances[index].props[prop],acc},{});instance.setProps(Object.assign({},overrideProps,{getReferenceClientRect:typeof overrideProps.getReferenceClientRect=="function"?overrideProps.getReferenceClientRect:function(){return target.getBoundingClientRect()}}))}}}}},singleton=tippy(div(),Object.assign({},removeProperties(optionalProps,["overrides"]),{plugins:[plugin].concat(optionalProps.plugins||[]),triggerTarget:references})),originalSetProps=singleton.setProps;return singleton.setProps=function(props){overrides=props.overrides||overrides,originalSetProps(props)},singleton.setInstances=function(nextInstances){enableInstances(!0),interceptSetPropsCleanups.forEach(function(fn){return fn()}),individualInstances=nextInstances,enableInstances(!1),setReferences(),interceptSetProps(singleton),singleton.setProps({triggerTarget:references})},interceptSetPropsCleanups=interceptSetProps(singleton),singleton},BUBBLING_EVENTS_MAP={mouseover:"mouseenter",focusin:"focus",click:"click"};function delegate(targets,props){var listeners=[],childTippyInstances=[],disabled=!1,target=props.target,nativeProps=removeProperties(props,["target"]),parentProps=Object.assign({},nativeProps,{trigger:"manual",touch:!1}),childProps=Object.assign({},nativeProps,{showOnCreate:!0}),returnValue=tippy(targets,parentProps),normalizedReturnValue=normalizeToArray(returnValue);function onTrigger(event){if(!(!event.target||disabled)){var targetNode=event.target.closest(target);if(!!targetNode){var trigger=targetNode.getAttribute("data-tippy-trigger")||props.trigger||defaultProps.trigger;if(!targetNode._tippy&&!(event.type==="touchstart"&&typeof childProps.touch=="boolean")&&!(event.type!=="touchstart"&&trigger.indexOf(BUBBLING_EVENTS_MAP[event.type])<0)){var instance=tippy(targetNode,childProps);instance&&(childTippyInstances=childTippyInstances.concat(instance))}}}}function on(node,eventType,handler,options){options===void 0&&(options=!1),node.addEventListener(eventType,handler,options),listeners.push({node,eventType,handler,options})}function addEventListeners(instance){var reference=instance.reference;on(reference,"touchstart",onTrigger),on(reference,"mouseover",onTrigger),on(reference,"focusin",onTrigger),on(reference,"click",onTrigger)}function removeEventListeners(){listeners.forEach(function(_ref){var node=_ref.node,eventType=_ref.eventType,handler=_ref.handler,options=_ref.options;node.removeEventListener(eventType,handler,options)}),listeners=[]}function applyMutations(instance){var originalDestroy=instance.destroy,originalEnable=instance.enable,originalDisable=instance.disable;instance.destroy=function(shouldDestroyChildInstances){shouldDestroyChildInstances===void 0&&(shouldDestroyChildInstances=!0),shouldDestroyChildInstances&&childTippyInstances.forEach(function(instance2){instance2.destroy()}),childTippyInstances=[],removeEventListeners(),originalDestroy()},instance.enable=function(){originalEnable(),childTippyInstances.forEach(function(instance2){return instance2.enable()}),disabled=!1},instance.disable=function(){originalDisable(),childTippyInstances.forEach(function(instance2){return instance2.disable()}),disabled=!0},addEventListeners(instance)}return normalizedReturnValue.forEach(applyMutations),returnValue}var animateFill={name:"animateFill",defaultValue:!1,fn:function(instance){var _instance$props$rende;if(!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy))return{};var _getChildren=getChildren(instance.popper),box=_getChildren.box,content=_getChildren.content,backdrop=instance.props.animateFill?createBackdropElement():null;return{onCreate:function(){backdrop&&(box.insertBefore(backdrop,box.firstElementChild),box.setAttribute("data-animatefill",""),box.style.overflow="hidden",instance.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(backdrop){var transitionDuration=box.style.transitionDuration,duration=Number(transitionDuration.replace("ms",""));content.style.transitionDelay=Math.round(duration/10)+"ms",backdrop.style.transitionDuration=transitionDuration,setVisibilityState([backdrop],"visible")}},onShow:function(){backdrop&&(backdrop.style.transitionDuration="0ms")},onHide:function(){backdrop&&setVisibilityState([backdrop],"hidden")}}}};function createBackdropElement(){var backdrop=div();return backdrop.className=BACKDROP_CLASS,setVisibilityState([backdrop],"hidden"),backdrop}var mouseCoords={clientX:0,clientY:0},activeInstances=[];function storeMouseCoords(_ref){var clientX=_ref.clientX,clientY=_ref.clientY;mouseCoords={clientX,clientY}}function addMouseCoordsListener(doc){doc.addEventListener("mousemove",storeMouseCoords)}function removeMouseCoordsListener(doc){doc.removeEventListener("mousemove",storeMouseCoords)}var followCursor={name:"followCursor",defaultValue:!1,fn:function(instance){var reference=instance.reference,doc=getOwnerDocument(instance.props.triggerTarget||reference),isInternalUpdate=!1,wasFocusEvent=!1,isUnmounted=!0,prevProps=instance.props;function getIsInitialBehavior(){return instance.props.followCursor==="initial"&&instance.state.isVisible}function addListener(){doc.addEventListener("mousemove",onMouseMove)}function removeListener(){doc.removeEventListener("mousemove",onMouseMove)}function unsetGetReferenceClientRect(){isInternalUpdate=!0,instance.setProps({getReferenceClientRect:null}),isInternalUpdate=!1}function onMouseMove(event){var isCursorOverReference=event.target?reference.contains(event.target):!0,followCursor2=instance.props.followCursor,clientX=event.clientX,clientY=event.clientY,rect=reference.getBoundingClientRect(),relativeX=clientX-rect.left,relativeY=clientY-rect.top;(isCursorOverReference||!instance.props.interactive)&&instance.setProps({getReferenceClientRect:function(){var rect2=reference.getBoundingClientRect(),x=clientX,y=clientY;followCursor2==="initial"&&(x=rect2.left+relativeX,y=rect2.top+relativeY);var top=followCursor2==="horizontal"?rect2.top:y,right=followCursor2==="vertical"?rect2.right:x,bottom=followCursor2==="horizontal"?rect2.bottom:y,left=followCursor2==="vertical"?rect2.left:x;return{width:right-left,height:bottom-top,top,right,bottom,left}}})}function create(){instance.props.followCursor&&(activeInstances.push({instance,doc}),addMouseCoordsListener(doc))}function destroy(){activeInstances=activeInstances.filter(function(data){return data.instance!==instance}),activeInstances.filter(function(data){return data.doc===doc}).length===0&&removeMouseCoordsListener(doc)}return{onCreate:create,onDestroy:destroy,onBeforeUpdate:function(){prevProps=instance.props},onAfterUpdate:function(_,_ref2){var followCursor2=_ref2.followCursor;isInternalUpdate||followCursor2!==void 0&&prevProps.followCursor!==followCursor2&&(destroy(),followCursor2?(create(),instance.state.isMounted&&!wasFocusEvent&&!getIsInitialBehavior()&&addListener()):(removeListener(),unsetGetReferenceClientRect()))},onMount:function(){instance.props.followCursor&&!wasFocusEvent&&(isUnmounted&&(onMouseMove(mouseCoords),isUnmounted=!1),getIsInitialBehavior()||addListener())},onTrigger:function(_,event){isMouseEvent(event)&&(mouseCoords={clientX:event.clientX,clientY:event.clientY}),wasFocusEvent=event.type==="focus"},onHidden:function(){instance.props.followCursor&&(unsetGetReferenceClientRect(),removeListener(),isUnmounted=!0)}}}};function getProps(props,modifier){var _props$popperOptions;return{popperOptions:Object.assign({},props.popperOptions,{modifiers:[].concat((((_props$popperOptions=props.popperOptions)==null?void 0:_props$popperOptions.modifiers)||[]).filter(function(_ref){var name=_ref.name;return name!==modifier.name}),[modifier])})}}var inlinePositioning={name:"inlinePositioning",defaultValue:!1,fn:function(instance){var reference=instance.reference;function isEnabled(){return!!instance.props.inlinePositioning}var placement,cursorRectIndex=-1,isInternalUpdate=!1,modifier={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(_ref2){var state=_ref2.state;isEnabled()&&(placement!==state.placement&&instance.setProps({getReferenceClientRect:function(){return _getReferenceClientRect(state.placement)}}),placement=state.placement)}};function _getReferenceClientRect(placement2){return getInlineBoundingClientRect(getBasePlacement(placement2),reference.getBoundingClientRect(),arrayFrom(reference.getClientRects()),cursorRectIndex)}function setInternalProps(partialProps){isInternalUpdate=!0,instance.setProps(partialProps),isInternalUpdate=!1}function addModifier(){isInternalUpdate||setInternalProps(getProps(instance.props,modifier))}return{onCreate:addModifier,onAfterUpdate:addModifier,onTrigger:function(_,event){if(isMouseEvent(event)){var rects=arrayFrom(instance.reference.getClientRects()),cursorRect=rects.find(function(rect){return rect.left-2<=event.clientX&&rect.right+2>=event.clientX&&rect.top-2<=event.clientY&&rect.bottom+2>=event.clientY});cursorRectIndex=rects.indexOf(cursorRect)}},onUntrigger:function(){cursorRectIndex=-1}}}};function getInlineBoundingClientRect(currentBasePlacement,boundingRect,clientRects,cursorRectIndex){if(clientRects.length<2||currentBasePlacement===null)return boundingRect;if(clientRects.length===2&&cursorRectIndex>=0&&clientRects[0].left>clientRects[1].right)return clientRects[cursorRectIndex]||boundingRect;switch(currentBasePlacement){case"top":case"bottom":{var firstRect=clientRects[0],lastRect=clientRects[clientRects.length-1],isTop=currentBasePlacement==="top",top=firstRect.top,bottom=lastRect.bottom,left=isTop?firstRect.left:lastRect.left,right=isTop?firstRect.right:lastRect.right,width=right-left,height=bottom-top;return{top,bottom,left,right,width,height}}case"left":case"right":{var minLeft=Math.min.apply(Math,clientRects.map(function(rects){return rects.left})),maxRight=Math.max.apply(Math,clientRects.map(function(rects){return rects.right})),measureRects=clientRects.filter(function(rect){return currentBasePlacement==="left"?rect.left===minLeft:rect.right===maxRight}),_top=measureRects[0].top,_bottom=measureRects[measureRects.length-1].bottom,_left=minLeft,_right=maxRight,_width=_right-_left,_height=_bottom-_top;return{top:_top,bottom:_bottom,left:_left,right:_right,width:_width,height:_height}}default:return boundingRect}}var sticky={name:"sticky",defaultValue:!1,fn:function(instance){var reference=instance.reference,popper=instance.popper;function getReference(){return instance.popperInstance?instance.popperInstance.state.elements.reference:reference}function shouldCheck(value){return instance.props.sticky===!0||instance.props.sticky===value}var prevRefRect=null,prevPopRect=null;function updatePosition(){var currentRefRect=shouldCheck("reference")?getReference().getBoundingClientRect():null,currentPopRect=shouldCheck("popper")?popper.getBoundingClientRect():null;(currentRefRect&&areRectsDifferent(prevRefRect,currentRefRect)||currentPopRect&&areRectsDifferent(prevPopRect,currentPopRect))&&instance.popperInstance&&instance.popperInstance.update(),prevRefRect=currentRefRect,prevPopRect=currentPopRect,instance.state.isMounted&&requestAnimationFrame(updatePosition)}return{onMount:function(){instance.props.sticky&&updatePosition()}}}};function areRectsDifferent(rectA,rectB){return rectA&&rectB?rectA.top!==rectB.top||rectA.right!==rectB.right||rectA.bottom!==rectB.bottom||rectA.left!==rectB.left:!0}tippy.setDefaultProps({render});const __WEBPACK_DEFAULT_EXPORT__=tippy},16935:module=>{module.exports=function(){var selection=document.getSelection();if(!selection.rangeCount)return function(){};for(var active=document.activeElement,ranges=[],i=0;i<selection.rangeCount;i++)ranges.push(selection.getRangeAt(i));switch(active.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":active.blur();break;default:active=null;break}return selection.removeAllRanges(),function(){selection.type==="Caret"&&selection.removeAllRanges(),selection.rangeCount||ranges.forEach(function(range){selection.addRange(range)}),active&&active.focus()}}},59541:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Checker=exports.createCheckers=void 0;var types_1=__webpack_require__(64502),util_1=__webpack_require__(44725),types_2=__webpack_require__(64502);Object.defineProperty(exports,"TArray",{enumerable:!0,get:function(){return types_2.TArray}}),Object.defineProperty(exports,"TEnumType",{enumerable:!0,get:function(){return types_2.TEnumType}}),Object.defineProperty(exports,"TEnumLiteral",{enumerable:!0,get:function(){return types_2.TEnumLiteral}}),Object.defineProperty(exports,"TFunc",{enumerable:!0,get:function(){return types_2.TFunc}}),Object.defineProperty(exports,"TIface",{enumerable:!0,get:function(){return types_2.TIface}}),Object.defineProperty(exports,"TLiteral",{enumerable:!0,get:function(){return types_2.TLiteral}}),Object.defineProperty(exports,"TName",{enumerable:!0,get:function(){return types_2.TName}}),Object.defineProperty(exports,"TOptional",{enumerable:!0,get:function(){return types_2.TOptional}}),Object.defineProperty(exports,"TParam",{enumerable:!0,get:function(){return types_2.TParam}}),Object.defineProperty(exports,"TParamList",{enumerable:!0,get:function(){return types_2.TParamList}}),Object.defineProperty(exports,"TProp",{enumerable:!0,get:function(){return types_2.TProp}}),Object.defineProperty(exports,"TTuple",{enumerable:!0,get:function(){return types_2.TTuple}}),Object.defineProperty(exports,"TType",{enumerable:!0,get:function(){return types_2.TType}}),Object.defineProperty(exports,"TUnion",{enumerable:!0,get:function(){return types_2.TUnion}}),Object.defineProperty(exports,"TIntersection",{enumerable:!0,get:function(){return types_2.TIntersection}}),Object.defineProperty(exports,"array",{enumerable:!0,get:function(){return types_2.array}}),Object.defineProperty(exports,"enumlit",{enumerable:!0,get:function(){return types_2.enumlit}}),Object.defineProperty(exports,"enumtype",{enumerable:!0,get:function(){return types_2.enumtype}}),Object.defineProperty(exports,"func",{enumerable:!0,get:function(){return types_2.func}}),Object.defineProperty(exports,"iface",{enumerable:!0,get:function(){return types_2.iface}}),Object.defineProperty(exports,"lit",{enumerable:!0,get:function(){return types_2.lit}}),Object.defineProperty(exports,"name",{enumerable:!0,get:function(){return types_2.name}}),Object.defineProperty(exports,"opt",{enumerable:!0,get:function(){return types_2.opt}}),Object.defineProperty(exports,"param",{enumerable:!0,get:function(){return types_2.param}}),Object.defineProperty(exports,"tuple",{enumerable:!0,get:function(){return types_2.tuple}}),Object.defineProperty(exports,"union",{enumerable:!0,get:function(){return types_2.union}}),Object.defineProperty(exports,"intersection",{enumerable:!0,get:function(){return types_2.intersection}}),Object.defineProperty(exports,"BasicType",{enumerable:!0,get:function(){return types_2.BasicType}});var util_2=__webpack_require__(44725);Object.defineProperty(exports,"VError",{enumerable:!0,get:function(){return util_2.VError}});function createCheckers(){for(var typeSuite=[],_i=0;_i<arguments.length;_i++)typeSuite[_i]=arguments[_i];for(var fullSuite=Object.assign.apply(Object,__spreadArrays([{},types_1.basicTypes],typeSuite)),checkers={},_a=0,typeSuite_1=typeSuite;_a<typeSuite_1.length;_a++)for(var suite_1=typeSuite_1[_a],_b=0,_c=Object.keys(suite_1);_b<_c.length;_b++){var name=_c[_b];checkers[name]=new Checker(fullSuite,suite_1[name])}return checkers}exports.createCheckers=createCheckers;var Checker=function(){function Checker2(suite,ttype,_path){if(_path===void 0&&(_path="value"),this.suite=suite,this.ttype=ttype,this._path=_path,this.props=new Map,ttype instanceof types_1.TIface)for(var _i=0,_a=ttype.props;_i<_a.length;_i++){var p=_a[_i];this.props.set(p.name,p.ttype)}this.checkerPlain=this.ttype.getChecker(suite,!1),this.checkerStrict=this.ttype.getChecker(suite,!0)}return Checker2.prototype.setReportedPath=function(path){this._path=path},Checker2.prototype.check=function(value){return this._doCheck(this.checkerPlain,value)},Checker2.prototype.test=function(value){return this.checkerPlain(value,new util_1.NoopContext)},Checker2.prototype.validate=function(value){return this._doValidate(this.checkerPlain,value)},Checker2.prototype.strictCheck=function(value){return this._doCheck(this.checkerStrict,value)},Checker2.prototype.strictTest=function(value){return this.checkerStrict(value,new util_1.NoopContext)},Checker2.prototype.strictValidate=function(value){return this._doValidate(this.checkerStrict,value)},Checker2.prototype.getProp=function(prop){var ttype=this.props.get(prop);if(!ttype)throw new Error("Type has no property "+prop);return new Checker2(this.suite,ttype,this._path+"."+prop)},Checker2.prototype.methodArgs=function(methodName){var tfunc=this._getMethod(methodName);return new Checker2(this.suite,tfunc.paramList)},Checker2.prototype.methodResult=function(methodName){var tfunc=this._getMethod(methodName);return new Checker2(this.suite,tfunc.result)},Checker2.prototype.getArgs=function(){if(!(this.ttype instanceof types_1.TFunc))throw new Error("getArgs() applied to non-function");return new Checker2(this.suite,this.ttype.paramList)},Checker2.prototype.getResult=function(){if(!(this.ttype instanceof types_1.TFunc))throw new Error("getResult() applied to non-function");return new Checker2(this.suite,this.ttype.result)},Checker2.prototype.getType=function(){return this.ttype},Checker2.prototype._doCheck=function(checkerFunc,value){var noopCtx=new util_1.NoopContext;if(!checkerFunc(value,noopCtx)){var detailCtx=new util_1.DetailContext;throw checkerFunc(value,detailCtx),detailCtx.getError(this._path)}},Checker2.prototype._doValidate=function(checkerFunc,value){var noopCtx=new util_1.NoopContext;if(checkerFunc(value,noopCtx))return null;var detailCtx=new util_1.DetailContext;return checkerFunc(value,detailCtx),detailCtx.getErrorDetail(this._path)},Checker2.prototype._getMethod=function(methodName){var ttype=this.props.get(methodName);if(!ttype)throw new Error("Type has no property "+methodName);if(!(ttype instanceof types_1.TFunc))throw new Error("Property "+methodName+" is not a method");return ttype},Checker2}();exports.Checker=Checker},64502:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(55872).Buffer,__extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.basicTypes=exports.BasicType=exports.TParamList=exports.TParam=exports.param=exports.TFunc=exports.func=exports.TProp=exports.TOptional=exports.opt=exports.TIface=exports.iface=exports.TEnumLiteral=exports.enumlit=exports.TEnumType=exports.enumtype=exports.TIntersection=exports.intersection=exports.TUnion=exports.union=exports.TTuple=exports.tuple=exports.TArray=exports.array=exports.TLiteral=exports.lit=exports.TName=exports.name=exports.TType=void 0;var util_1=__webpack_require__(44725),TType=function(){function TType2(){}return TType2}();exports.TType=TType;function parseSpec(typeSpec){return typeof typeSpec=="string"?name(typeSpec):typeSpec}function getNamedType(suite,name2){var ttype=suite[name2];if(!ttype)throw new Error("Unknown type "+name2);return ttype}function name(value){return new TName(value)}exports.name=name;var TName=function(_super){__extends(TName2,_super);function TName2(name2){var _this=_super.call(this)||this;return _this.name=name2,_this._failMsg="is not a "+name2,_this}return TName2.prototype.getChecker=function(suite,strict,allowedProps){var _this=this,ttype=getNamedType(suite,this.name),checker=ttype.getChecker(suite,strict,allowedProps);return ttype instanceof BasicType||ttype instanceof TName2?checker:function(value,ctx){return checker(value,ctx)?!0:ctx.fail(null,_this._failMsg,0)}},TName2}(TType);exports.TName=TName;function lit(value){return new TLiteral(value)}exports.lit=lit;var TLiteral=function(_super){__extends(TLiteral2,_super);function TLiteral2(value){var _this=_super.call(this)||this;return _this.value=value,_this.name=JSON.stringify(value),_this._failMsg="is not "+_this.name,_this}return TLiteral2.prototype.getChecker=function(suite,strict){var _this=this;return function(value,ctx){return value===_this.value?!0:ctx.fail(null,_this._failMsg,-1)}},TLiteral2}(TType);exports.TLiteral=TLiteral;function array(typeSpec){return new TArray(parseSpec(typeSpec))}exports.array=array;var TArray=function(_super){__extends(TArray2,_super);function TArray2(ttype){var _this=_super.call(this)||this;return _this.ttype=ttype,_this}return TArray2.prototype.getChecker=function(suite,strict){var itemChecker=this.ttype.getChecker(suite,strict);return function(value,ctx){if(!Array.isArray(value))return ctx.fail(null,"is not an array",0);for(var i=0;i<value.length;i++){var ok=itemChecker(value[i],ctx);if(!ok)return ctx.fail(i,null,1)}return!0}},TArray2}(TType);exports.TArray=TArray;function tuple(){for(var typeSpec=[],_i2=0;_i2<arguments.length;_i2++)typeSpec[_i2]=arguments[_i2];return new TTuple(typeSpec.map(function(t){return parseSpec(t)}))}exports.tuple=tuple;var TTuple=function(_super){__extends(TTuple2,_super);function TTuple2(ttypes){var _this=_super.call(this)||this;return _this.ttypes=ttypes,_this}return TTuple2.prototype.getChecker=function(suite,strict){var itemCheckers=this.ttypes.map(function(t){return t.getChecker(suite,strict)}),checker=function(value,ctx){if(!Array.isArray(value))return ctx.fail(null,"is not an array",0);for(var i=0;i<itemCheckers.length;i++){var ok=itemCheckers[i](value[i],ctx);if(!ok)return ctx.fail(i,null,1)}return!0};return strict?function(value,ctx){return checker(value,ctx)?value.length<=itemCheckers.length?!0:ctx.fail(itemCheckers.length,"is extraneous",2):!1}:checker},TTuple2}(TType);exports.TTuple=TTuple;function union(){for(var typeSpec=[],_i2=0;_i2<arguments.length;_i2++)typeSpec[_i2]=arguments[_i2];return new TUnion(typeSpec.map(function(t){return parseSpec(t)}))}exports.union=union;var TUnion=function(_super){__extends(TUnion2,_super);function TUnion2(ttypes){var _this=_super.call(this)||this;_this.ttypes=ttypes;var names=ttypes.map(function(t){return t instanceof TName||t instanceof TLiteral?t.name:null}).filter(function(n){return n}),otherTypes=ttypes.length-names.length;return names.length?(otherTypes>0&&names.push(otherTypes+" more"),_this._failMsg="is none of "+names.join(", ")):_this._failMsg="is none of "+otherTypes+" types",_this}return TUnion2.prototype.getChecker=function(suite,strict){var _this=this,itemCheckers=this.ttypes.map(function(t){return t.getChecker(suite,strict)});return function(value,ctx){for(var ur=ctx.unionResolver(),i=0;i<itemCheckers.length;i++){var ok=itemCheckers[i](value,ur.createContext());if(ok)return!0}return ctx.resolveUnion(ur),ctx.fail(null,_this._failMsg,0)}},TUnion2}(TType);exports.TUnion=TUnion;function intersection(){for(var typeSpec=[],_i2=0;_i2<arguments.length;_i2++)typeSpec[_i2]=arguments[_i2];return new TIntersection(typeSpec.map(function(t){return parseSpec(t)}))}exports.intersection=intersection;var TIntersection=function(_super){__extends(TIntersection2,_super);function TIntersection2(ttypes){var _this=_super.call(this)||this;return _this.ttypes=ttypes,_this}return TIntersection2.prototype.getChecker=function(suite,strict){var allowedProps=new Set,itemCheckers=this.ttypes.map(function(t){return t.getChecker(suite,strict,allowedProps)});return function(value,ctx){var ok=itemCheckers.every(function(checker){return checker(value,ctx)});return ok?!0:ctx.fail(null,null,0)}},TIntersection2}(TType);exports.TIntersection=TIntersection;function enumtype(values){return new TEnumType(values)}exports.enumtype=enumtype;var TEnumType=function(_super){__extends(TEnumType2,_super);function TEnumType2(members){var _this=_super.call(this)||this;return _this.members=members,_this.validValues=new Set,_this._failMsg="is not a valid enum value",_this.validValues=new Set(Object.keys(members).map(function(name2){return members[name2]})),_this}return TEnumType2.prototype.getChecker=function(suite,strict){var _this=this;return function(value,ctx){return _this.validValues.has(value)?!0:ctx.fail(null,_this._failMsg,0)}},TEnumType2}(TType);exports.TEnumType=TEnumType;function enumlit(name2,prop){return new TEnumLiteral(name2,prop)}exports.enumlit=enumlit;var TEnumLiteral=function(_super){__extends(TEnumLiteral2,_super);function TEnumLiteral2(enumName,prop){var _this=_super.call(this)||this;return _this.enumName=enumName,_this.prop=prop,_this._failMsg="is not "+enumName+"."+prop,_this}return TEnumLiteral2.prototype.getChecker=function(suite,strict){var _this=this,ttype=getNamedType(suite,this.enumName);if(!(ttype instanceof TEnumType))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var val=ttype.members[this.prop];if(!ttype.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(value,ctx){return value===val?!0:ctx.fail(null,_this._failMsg,-1)}},TEnumLiteral2}(TType);exports.TEnumLiteral=TEnumLiteral;function makeIfaceProps(props){return Object.keys(props).map(function(name2){return makeIfaceProp(name2,props[name2])})}function makeIfaceProp(name2,prop){return prop instanceof TOptional?new TProp(name2,prop.ttype,!0):new TProp(name2,parseSpec(prop),!1)}function iface(bases,props){return new TIface(bases,makeIfaceProps(props))}exports.iface=iface;var TIface=function(_super){__extends(TIface2,_super);function TIface2(bases,props){var _this=_super.call(this)||this;return _this.bases=bases,_this.props=props,_this.propSet=new Set(props.map(function(p){return p.name})),_this}return TIface2.prototype.getChecker=function(suite,strict,allowedProps){var _this=this,baseCheckers=this.bases.map(function(b){return getNamedType(suite,b).getChecker(suite,strict)}),propCheckers=this.props.map(function(prop){return prop.ttype.getChecker(suite,strict)}),testCtx=new util_1.NoopContext,isPropRequired=this.props.map(function(prop,i){return!prop.isOpt&&!propCheckers[i](void 0,testCtx)}),checker=function(value,ctx){if(typeof value!="object"||value===null)return ctx.fail(null,"is not an object",0);for(var i=0;i<baseCheckers.length;i++)if(!baseCheckers[i](value,ctx))return!1;for(var i=0;i<propCheckers.length;i++){var name_1=_this.props[i].name,v=value[name_1];if(v===void 0){if(isPropRequired[i])return ctx.fail(name_1,"is missing",1)}else{var ok=propCheckers[i](v,ctx);if(!ok)return ctx.fail(name_1,null,1)}}return!0};if(!strict)return checker;var propSet=this.propSet;return allowedProps&&(this.propSet.forEach(function(prop){return allowedProps.add(prop)}),propSet=allowedProps),function(value,ctx){if(!checker(value,ctx))return!1;for(var prop in value)if(!propSet.has(prop))return ctx.fail(prop,"is extraneous",2);return!0}},TIface2}(TType);exports.TIface=TIface;function opt(typeSpec){return new TOptional(parseSpec(typeSpec))}exports.opt=opt;var TOptional=function(_super){__extends(TOptional2,_super);function TOptional2(ttype){var _this=_super.call(this)||this;return _this.ttype=ttype,_this}return TOptional2.prototype.getChecker=function(suite,strict){var itemChecker=this.ttype.getChecker(suite,strict);return function(value,ctx){return value===void 0||itemChecker(value,ctx)}},TOptional2}(TType);exports.TOptional=TOptional;var TProp=function(){function TProp2(name2,ttype,isOpt){this.name=name2,this.ttype=ttype,this.isOpt=isOpt}return TProp2}();exports.TProp=TProp;function func(resultSpec){for(var params=[],_i2=1;_i2<arguments.length;_i2++)params[_i2-1]=arguments[_i2];return new TFunc(new TParamList(params),parseSpec(resultSpec))}exports.func=func;var TFunc=function(_super){__extends(TFunc2,_super);function TFunc2(paramList,result){var _this=_super.call(this)||this;return _this.paramList=paramList,_this.result=result,_this}return TFunc2.prototype.getChecker=function(suite,strict){return function(value,ctx){return typeof value=="function"?!0:ctx.fail(null,"is not a function",0)}},TFunc2}(TType);exports.TFunc=TFunc;function param(name2,typeSpec,isOpt){return new TParam(name2,parseSpec(typeSpec),Boolean(isOpt))}exports.param=param;var TParam=function(){function TParam2(name2,ttype,isOpt){this.name=name2,this.ttype=ttype,this.isOpt=isOpt}return TParam2}();exports.TParam=TParam;var TParamList=function(_super){__extends(TParamList2,_super);function TParamList2(params){var _this=_super.call(this)||this;return _this.params=params,_this}return TParamList2.prototype.getChecker=function(suite,strict){var _this=this,itemCheckers=this.params.map(function(t){return t.ttype.getChecker(suite,strict)}),testCtx=new util_1.NoopContext,isParamRequired=this.params.map(function(param2,i){return!param2.isOpt&&!itemCheckers[i](void 0,testCtx)}),checker=function(value,ctx){if(!Array.isArray(value))return ctx.fail(null,"is not an array",0);for(var i=0;i<itemCheckers.length;i++){var p=_this.params[i];if(value[i]===void 0){if(isParamRequired[i])return ctx.fail(p.name,"is missing",1)}else{var ok=itemCheckers[i](value[i],ctx);if(!ok)return ctx.fail(p.name,null,1)}}return!0};return strict?function(value,ctx){return checker(value,ctx)?value.length<=itemCheckers.length?!0:ctx.fail(itemCheckers.length,"is extraneous",2):!1}:checker},TParamList2}(TType);exports.TParamList=TParamList;var BasicType=function(_super){__extends(BasicType2,_super);function BasicType2(validator,message){var _this=_super.call(this)||this;return _this.validator=validator,_this.message=message,_this}return BasicType2.prototype.getChecker=function(suite,strict){var _this=this;return function(value,ctx){return _this.validator(value)?!0:ctx.fail(null,_this.message,0)}},BasicType2}(TType);exports.BasicType=BasicType,exports.basicTypes={any:new BasicType(function(v){return!0},"is invalid"),number:new BasicType(function(v){return typeof v=="number"},"is not a number"),object:new BasicType(function(v){return typeof v=="object"&&v},"is not an object"),boolean:new BasicType(function(v){return typeof v=="boolean"},"is not a boolean"),string:new BasicType(function(v){return typeof v=="string"},"is not a string"),symbol:new BasicType(function(v){return typeof v=="symbol"},"is not a symbol"),void:new BasicType(function(v){return v==null},"is not void"),undefined:new BasicType(function(v){return v===void 0},"is not undefined"),null:new BasicType(function(v){return v===null},"is not null"),never:new BasicType(function(v){return!1},"is unexpected"),Date:new BasicType(getIsNativeChecker("[object Date]"),"is not a Date"),RegExp:new BasicType(getIsNativeChecker("[object RegExp]"),"is not a RegExp")};var nativeToString=Object.prototype.toString;function getIsNativeChecker(tag){return function(v){return typeof v=="object"&&v&&nativeToString.call(v)===tag}}typeof Buffer<"u"&&(exports.basicTypes.Buffer=new BasicType(function(v){return Buffer.isBuffer(v)},"is not a Buffer"));for(var _loop_1=function(array_12){exports.basicTypes[array_12.name]=new BasicType(function(v){return v instanceof array_12},"is not a "+array_12.name)},_i=0,_a=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];_i<_a.length;_i++){var array_1=_a[_i];_loop_1(array_1)}},44725:function(__unused_webpack_module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.DetailContext=exports.NoopContext=exports.VError=void 0;var VError=function(_super){__extends(VError2,_super);function VError2(path,message){var _this=_super.call(this,message)||this;return _this.path=path,Object.setPrototypeOf(_this,VError2.prototype),_this}return VError2}(Error);exports.VError=VError;var NoopContext=function(){function NoopContext2(){}return NoopContext2.prototype.fail=function(relPath,message,score){return!1},NoopContext2.prototype.unionResolver=function(){return this},NoopContext2.prototype.createContext=function(){return this},NoopContext2.prototype.resolveUnion=function(ur){},NoopContext2}();exports.NoopContext=NoopContext;var DetailContext=function(){function DetailContext2(){this._propNames=[""],this._messages=[null],this._score=0}return DetailContext2.prototype.fail=function(relPath,message,score){return this._propNames.push(relPath),this._messages.push(message),this._score+=score,!1},DetailContext2.prototype.unionResolver=function(){return new DetailUnionResolver},DetailContext2.prototype.resolveUnion=function(unionResolver){for(var _a,_b,u=unionResolver,best=null,_i=0,_c=u.contexts;_i<_c.length;_i++){var ctx=_c[_i];(!best||ctx._score>=best._score)&&(best=ctx)}best&&best._score>0&&((_a=this._propNames).push.apply(_a,best._propNames),(_b=this._messages).push.apply(_b,best._messages))},DetailContext2.prototype.getError=function(path){for(var msgParts=[],i=this._propNames.length-1;i>=0;i--){var p=this._propNames[i];path+=typeof p=="number"?"["+p+"]":p?"."+p:"";var m=this._messages[i];m&&msgParts.push(path+" "+m)}return new VError(path,msgParts.join("; "))},DetailContext2.prototype.getErrorDetail=function(path){for(var details=[],i=this._propNames.length-1;i>=0;i--){var p=this._propNames[i];path+=typeof p=="number"?"["+p+"]":p?"."+p:"";var message=this._messages[i];message&&details.push({path,message})}for(var detail=null,i=details.length-1;i>=0;i--)detail&&(details[i].nested=[detail]),detail=details[i];return detail},DetailContext2}();exports.DetailContext=DetailContext;var DetailUnionResolver=function(){function DetailUnionResolver2(){this.contexts=[]}return DetailUnionResolver2.prototype.createContext=function(){var ctx=new DetailContext;return this.contexts.push(ctx),ctx},DetailUnionResolver2}()},35202:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;/*!
315
- * UAParser.js v0.7.24
316
- * Lightweight JavaScript-based User-Agent string parser
317
- * https://github.com/faisalman/ua-parser-js
318
- *
319
- * Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
320
- * Licensed under MIT License
321
- */(function(window2,undefined2){"use strict";var LIBVERSION="0.7.24",EMPTY="",UNKNOWN="?",FUNC_TYPE="function",UNDEF_TYPE="undefined",OBJ_TYPE="object",STR_TYPE="string",MAJOR="major",MODEL="model",NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",ARCHITECTURE="architecture",CONSOLE="console",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",WEARABLE="wearable",EMBEDDED="embedded",util={extend:function(regexes2,extensions){var mergedRegexes={};for(var i in regexes2)extensions[i]&&extensions[i].length%2===0?mergedRegexes[i]=extensions[i].concat(regexes2[i]):mergedRegexes[i]=regexes2[i];return mergedRegexes},has:function(str1,str2){return typeof str1=="string"?str2.toLowerCase().indexOf(str1.toLowerCase())!==-1:!1},lowerize:function(str){return str.toLowerCase()},major:function(version){return typeof version===STR_TYPE?version.replace(/[^\d\.]/g,"").split(".")[0]:undefined2},trim:function(str){return str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},mapper={rgx:function(ua,arrays){for(var i=0,j,k,p,q,matches,match;i<arrays.length&&!matches;){var regex=arrays[i],props=arrays[i+1];for(j=k=0;j<regex.length&&!matches;)if(matches=regex[j++].exec(ua),matches)for(p=0;p<props.length;p++)match=matches[++k],q=props[p],typeof q===OBJ_TYPE&&q.length>0?q.length==2?typeof q[1]==FUNC_TYPE?this[q[0]]=q[1].call(this,match):this[q[0]]=q[1]:q.length==3?typeof q[1]===FUNC_TYPE&&!(q[1].exec&&q[1].test)?this[q[0]]=match?q[1].call(this,match,q[2]):undefined2:this[q[0]]=match?match.replace(q[1],q[2]):undefined2:q.length==4&&(this[q[0]]=match?q[3].call(this,match.replace(q[1],q[2])):undefined2):this[q]=match||undefined2;i+=2}},str:function(str,map){for(var i in map)if(typeof map[i]===OBJ_TYPE&&map[i].length>0){for(var j=0;j<map[i].length;j++)if(util.has(map[i][j],str))return i===UNKNOWN?undefined2:i}else if(util.has(map[i],str))return i===UNKNOWN?undefined2:i;return str}},maps={browser:{oldsafari:{version:{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0","2000":"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0","7":"NT 6.1","8":"NT 6.2","8.1":"NT 6.3","10":["NT 6.4","NT 10.0"],RT:"ARM"}}}},regexes={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6}).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[NAME,VERSION],[/(opios)[\/\s]+([\w\.]+)/i],[[NAME,"Opera Mini"],VERSION],[/\s(opr)\/([\w\.]+)/i],[[NAME,"Opera"],VERSION],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[NAME,VERSION],[/(konqueror)\/([\w\.]+)/i],[[NAME,"Konqueror"],VERSION],[/(trident).+rv[:\s]([\w\.]{1,9}).+like\sgecko/i],[[NAME,"IE"],VERSION],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[NAME,"Edge"],VERSION],[/(yabrowser)\/([\w\.]+)/i],[[NAME,"Yandex"],VERSION],[/(Avast)\/([\w\.]+)/i],[[NAME,"Avast Secure Browser"],VERSION],[/(AVG)\/([\w\.]+)/i],[[NAME,"AVG Secure Browser"],VERSION],[/(puffin)\/([\w\.]+)/i],[[NAME,"Puffin"],VERSION],[/(focus)\/([\w\.]+)/i],[[NAME,"Firefox Focus"],VERSION],[/(opt)\/([\w\.]+)/i],[[NAME,"Opera Touch"],VERSION],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[NAME,"UCBrowser"],VERSION],[/(comodo_dragon)\/([\w\.]+)/i],[[NAME,/_/g," "],VERSION],[/(windowswechat qbcore)\/([\w\.]+)/i],[[NAME,"WeChat(Win) Desktop"],VERSION],[/(micromessenger)\/([\w\.]+)/i],[[NAME,"WeChat"],VERSION],[/(brave)\/([\w\.]+)/i],[[NAME,"Brave"],VERSION],[/(whale)\/([\w\.]+)/i],[[NAME,"Whale"],VERSION],[/(qqbrowserlite)\/([\w\.]+)/i],[NAME,VERSION],[/(QQ)\/([\d\.]+)/i],[NAME,VERSION],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[NAME,VERSION],[/(baiduboxapp)[\/\s]?([\w\.]+)/i],[NAME,VERSION],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[NAME,VERSION],[/(MetaSr)[\/\s]?([\w\.]+)/i],[NAME],[/(LBBROWSER)/i],[NAME],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[VERSION,[NAME,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[NAME,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[NAME,VERSION],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[VERSION,[NAME,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 WebView"],VERSION],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[NAME,/(.+(?:g|us))(.+)/,"$1 $2"],VERSION],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[VERSION,[NAME,"Android Browser"]],[/(coc_coc_browser)\/([\w\.]+)/i],[[NAME,"Coc Coc"],VERSION],[/(sailfishbrowser)\/([\w\.]+)/i],[[NAME,"Sailfish Browser"],VERSION],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/(dolfin)\/([\w\.]+)/i],[[NAME,"Dolphin"],VERSION],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[NAME,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[NAME,"Chrome"],VERSION],[/(coast)\/([\w\.]+)/i],[[NAME,"Opera Coast"],VERSION],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Firefox"]],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[VERSION,[NAME,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[VERSION,NAME],[/webkit.+?(gsa)\/([\w\.]+)\s.*(mobile\s?safari|safari)(\/[\w\.]+)/i],[[NAME,"GSA"],VERSION],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,mapper.str,maps.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(navigator|netscape)\/([\w\.-]+)/i],[[NAME,"Netscape"],VERSION],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[NAME,VERSION]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[ARCHITECTURE,"amd64"]],[/(ia32(?=;))/i],[[ARCHITECTURE,util.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[ARCHITECTURE,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[ARCHITECTURE,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[ARCHITECTURE,/ower/,"",util.lowerize]],[/(sun4\w)[;\)]/i],[[ARCHITECTURE,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[ARCHITECTURE,util.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/applecoremedia\/[\w\.]+ \((ipad)/],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(apple\s{0,1}tv)/i],[[MODEL,"Apple TV"],[VENDOR,"Apple"],[TYPE,SMARTTV]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(kf[A-z]+)(\sbuild\/|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[MODEL,mapper.str,maps.device.amazon.model],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/android.+aft([\w])(\sbuild\/|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[MODEL,VENDOR,[TYPE,MOBILE]],[/\((ip[honed|\s\w*]+);/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/\(bb10;\s(\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[MODEL,[VENDOR,"Asus"],[TYPE,TABLET]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[VENDOR,"Sony"],[MODEL,"Xperia Tablet"],[TYPE,TABLET]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[VENDOR,MODEL,[TYPE,CONSOLE]],[/android.+;\s(shield)\sbuild/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,CONSOLE]],[/(playstation\s[34portablevi]+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,CONSOLE]],[/(sprint\s(\w+))/i],[[VENDOR,mapper.str,maps.device.sprint.vendor],[MODEL,mapper.str,maps.device.sprint.model],[TYPE,MOBILE]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/(nexus\s9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/d\/huawei([\w\s-]+)[;\)]/i,/android.+\s(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/android.+(bah2?-a?[lw]\d{2})/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(microsoft);\s(lumia[\s\w]+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,CONSOLE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[VENDOR,util.trim],[MODEL,util.trim],[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/android.+((sch-i[89]0\d|shw-m380s|SM-P605|SM-P610|SM-P587|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[VENDOR,"Samsung"],MODEL,[TYPE,TABLET]],[/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV],MODEL],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[VENDOR,"Samsung"],MODEL,[TYPE,MOBILE]],[/sie-(\w*)/i],[MODEL,[VENDOR,"Siemens"],[TYPE,MOBILE]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[VENDOR,"Nokia"],MODEL,[TYPE,MOBILE]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/android.+([vl]k\-?\d{3})\s+build/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[VENDOR,"LG"],MODEL,[TYPE,TABLET]],[/linux;\snetcast.+smarttv/i,/lg\snetcast\.tv-201\d/i],[[VENDOR,"LG"],MODEL,[TYPE,SMARTTV]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[VENDOR,MODEL,[TYPE,TABLET]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/(lenovo)[_\s-]?([\w-]+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/linux;.+((jolla));/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/((pebble))app\/[\d\.]+\s/i],[VENDOR,MODEL,[TYPE,WEARABLE]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/android.+;\s(glass)\s\d/i],[MODEL,[VENDOR,"Google"],[TYPE,WEARABLE]],[/android.+;\s(pixel c)[\s)]/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/android.+;\s(pixel( [2-9]a?)?( xl)?)[\s)]/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/android.+(redmi[\s\-_]?(?:note|k)?(?:[\s_]?[\w\s]+))(?:\sbuild|\))/i,/android.+(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/android.+(mi[\s\-_]?(?:pad)(?:[\s_]?[\w\s]+))(?:\sbuild|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/(mz)-([\w-]{2,})/i],[[VENDOR,"Meizu"],MODEL,[TYPE,MOBILE]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})[\s)]/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[MODEL,[VENDOR,"RCA"],[TYPE,TABLET]],[/android.+[;\/\s](Venue[\d\s]{2,7})\s+build/i],[MODEL,[VENDOR,"Dell"],[TYPE,TABLET]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[MODEL,[VENDOR,"Verizon"],[TYPE,TABLET]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(\S(?:.*\S)?)\s+build/i],[[VENDOR,"Barnes & Noble"],MODEL,[TYPE,TABLET]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[MODEL,[VENDOR,"NuVision"],[TYPE,TABLET]],[/android.+;\s(k88)\sbuild/i],[MODEL,[VENDOR,"ZTE"],[TYPE,TABLET]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[MODEL,[VENDOR,"Swiss"],[TYPE,MOBILE]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[MODEL,[VENDOR,"Swiss"],[TYPE,TABLET]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[MODEL,[VENDOR,"Zeki"],[TYPE,TABLET]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[VENDOR,"Dragon Touch"],MODEL,[TYPE,TABLET]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[MODEL,[VENDOR,"Insignia"],[TYPE,TABLET]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[MODEL,[VENDOR,"NextBook"],[TYPE,TABLET]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[VENDOR,"Voice"],MODEL,[TYPE,MOBILE]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[VENDOR,"LvTel"],MODEL,[TYPE,MOBILE]],[/android.+;\s(PH-1)\s/i],[MODEL,[VENDOR,"Essential"],[TYPE,MOBILE]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[MODEL,[VENDOR,"Envizen"],[TYPE,TABLET]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[VENDOR,MODEL,[TYPE,TABLET]],[/android.+[;\/]\s*(Trio[\s\w\-\.]+)\s+build/i],[MODEL,[VENDOR,"MachSpeed"],[TYPE,TABLET]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[VENDOR,MODEL,[TYPE,TABLET]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[MODEL,[VENDOR,"Rotor"],[TYPE,TABLET]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[VENDOR,MODEL,[TYPE,TABLET]],[/android .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[MODEL,[TYPE,MOBILE]],[/android .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[MODEL,[TYPE,TABLET]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[TYPE,util.lowerize],VENDOR,MODEL],[/[\s\/\(](smart-?tv)[;\)]/i],[[TYPE,SMARTTV]],[/(android[\w\.\s\-]{0,9});.+build/i],[MODEL,[VENDOR,"Generic"]],[/(phone)/i],[[TYPE,MOBILE]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[NAME,VERSION],[/rv\:([\w\.]{1,9}).+(gecko)/i],[VERSION,NAME]],os:[[/(xbox);\s+xbox\s([^\);]+)/i,/microsoft\s(windows)\s(vista|xp)/i],[NAME,VERSION],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[NAME,[VERSION,mapper.str,maps.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[NAME,"Windows"],[VERSION,mapper.str,maps.os.windows.version]],[/\((bb)(10);/i],[[NAME,"BlackBerry"],VERSION],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[NAME,VERSION],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[NAME,"Symbian"],VERSION],[/\((series40);/i],[NAME],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[NAME,"Firefox OS"],VERSION],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[NAME,VERSION],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[NAME,"Chromium OS"],VERSION],[/(sunos)\s?([\w\.\d]*)/i],[[NAME,"Solaris"],VERSION],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[NAME,VERSION],[/(haiku)\s(\w+)/i],[NAME,VERSION],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[NAME,"Mac OS"],[VERSION,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[NAME,VERSION]]},UAParser=function(uastring,extensions){if(typeof uastring=="object"&&(extensions=uastring,uastring=undefined2),!(this instanceof UAParser))return new UAParser(uastring,extensions).getResult();var ua=uastring||(window2&&window2.navigator&&window2.navigator.userAgent?window2.navigator.userAgent:EMPTY),rgxmap=extensions?util.extend(regexes,extensions):regexes;return this.getBrowser=function(){var browser={name:undefined2,version:undefined2};return mapper.rgx.call(browser,ua,rgxmap.browser),browser.major=util.major(browser.version),browser},this.getCPU=function(){var cpu={architecture:undefined2};return mapper.rgx.call(cpu,ua,rgxmap.cpu),cpu},this.getDevice=function(){var device={vendor:undefined2,model:undefined2,type:undefined2};return mapper.rgx.call(device,ua,rgxmap.device),device},this.getEngine=function(){var engine={name:undefined2,version:undefined2};return mapper.rgx.call(engine,ua,rgxmap.engine),engine},this.getOS=function(){var os={name:undefined2,version:undefined2};return mapper.rgx.call(os,ua,rgxmap.os),os},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ua},this.setUA=function(uastring2){return ua=uastring2,this},this};UAParser.VERSION=LIBVERSION,UAParser.BROWSER={NAME,MAJOR,VERSION},UAParser.CPU={ARCHITECTURE},UAParser.DEVICE={MODEL,VENDOR,TYPE,CONSOLE,MOBILE,SMARTTV,TABLET,WEARABLE,EMBEDDED},UAParser.ENGINE={NAME,VERSION},UAParser.OS={NAME,VERSION},typeof exports!==UNDEF_TYPE?(UNDEF_TYPE!=="object"&&module.exports&&(exports=module.exports=UAParser),exports.UAParser=UAParser):(__WEBPACK_AMD_DEFINE_RESULT__=function(){return UAParser}.call(exports,__webpack_require__,exports,module),__WEBPACK_AMD_DEFINE_RESULT__!==undefined2&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__));var $=window2&&(window2.jQuery||window2.Zepto);if($&&!$.ua){var parser=new UAParser;$.ua=parser.getResult(),$.ua.get=function(){return parser.getUA()},$.ua.set=function(uastring){parser.setUA(uastring);var result=parser.getResult();for(var prop in result)$.ua[prop]=result[prop]}}})(typeof window=="object"?window:this)},52296:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var required=__webpack_require__(41384),qs=__webpack_require__(98878),controlOrWhitespace=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,CRHTLF=/[\n\r\t]/g,slashes=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,port=/:\d+$/,protocolre=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,windowsDriveLetter=/^[a-zA-Z]:/;function trimLeft(str){return(str||"").toString().replace(controlOrWhitespace,"")}var rules=[["#","hash"],["?","query"],function(address,url){return isSpecial(url.protocol)?address.replace(/\\/g,"/"):address},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ignore={hash:1,query:1};function lolcation(loc){var globalVar;typeof window<"u"?globalVar=window:typeof __webpack_require__.g<"u"?globalVar=__webpack_require__.g:typeof self<"u"?globalVar=self:globalVar={};var location=globalVar.location||{};loc=loc||location;var finaldestination={},type=typeof loc,key;if(loc.protocol==="blob:")finaldestination=new Url(unescape(loc.pathname),{});else if(type==="string"){finaldestination=new Url(loc,{});for(key in ignore)delete finaldestination[key]}else if(type==="object"){for(key in loc)key in ignore||(finaldestination[key]=loc[key]);finaldestination.slashes===void 0&&(finaldestination.slashes=slashes.test(loc.href))}return finaldestination}function isSpecial(scheme){return scheme==="file:"||scheme==="ftp:"||scheme==="http:"||scheme==="https:"||scheme==="ws:"||scheme==="wss:"}function extractProtocol(address,location){address=trimLeft(address),address=address.replace(CRHTLF,""),location=location||{};var match=protocolre.exec(address),protocol=match[1]?match[1].toLowerCase():"",forwardSlashes=!!match[2],otherSlashes=!!match[3],slashesCount=0,rest;return forwardSlashes?otherSlashes?(rest=match[2]+match[3]+match[4],slashesCount=match[2].length+match[3].length):(rest=match[2]+match[4],slashesCount=match[2].length):otherSlashes?(rest=match[3]+match[4],slashesCount=match[3].length):rest=match[4],protocol==="file:"?slashesCount>=2&&(rest=rest.slice(2)):isSpecial(protocol)?rest=match[4]:protocol?forwardSlashes&&(rest=rest.slice(2)):slashesCount>=2&&isSpecial(location.protocol)&&(rest=match[4]),{protocol,slashes:forwardSlashes||isSpecial(protocol),slashesCount,rest}}function resolve(relative,base){if(relative==="")return base;for(var path=(base||"/").split("/").slice(0,-1).concat(relative.split("/")),i=path.length,last=path[i-1],unshift=!1,up=0;i--;)path[i]==="."?path.splice(i,1):path[i]===".."?(path.splice(i,1),up++):up&&(i===0&&(unshift=!0),path.splice(i,1),up--);return unshift&&path.unshift(""),(last==="."||last==="..")&&path.push(""),path.join("/")}function Url(address,location,parser){if(address=trimLeft(address),address=address.replace(CRHTLF,""),!(this instanceof Url))return new Url(address,location,parser);var relative,extracted,parse,instruction,index,key,instructions=rules.slice(),type=typeof location,url=this,i=0;for(type!=="object"&&type!=="string"&&(parser=location,location=null),parser&&typeof parser!="function"&&(parser=qs.parse),location=lolcation(location),extracted=extractProtocol(address||"",location),relative=!extracted.protocol&&!extracted.slashes,url.slashes=extracted.slashes||relative&&location.slashes,url.protocol=extracted.protocol||location.protocol||"",address=extracted.rest,(extracted.protocol==="file:"&&(extracted.slashesCount!==2||windowsDriveLetter.test(address))||!extracted.slashes&&(extracted.protocol||extracted.slashesCount<2||!isSpecial(url.protocol)))&&(instructions[3]=[/(.*)/,"pathname"]);i<instructions.length;i++){if(instruction=instructions[i],typeof instruction=="function"){address=instruction(address,url);continue}parse=instruction[0],key=instruction[1],parse!==parse?url[key]=address:typeof parse=="string"?(index=parse==="@"?address.lastIndexOf(parse):address.indexOf(parse),~index&&(typeof instruction[2]=="number"?(url[key]=address.slice(0,index),address=address.slice(index+instruction[2])):(url[key]=address.slice(index),address=address.slice(0,index)))):(index=parse.exec(address))&&(url[key]=index[1],address=address.slice(0,index.index)),url[key]=url[key]||relative&&instruction[3]&&location[key]||"",instruction[4]&&(url[key]=url[key].toLowerCase())}parser&&(url.query=parser(url.query)),relative&&location.slashes&&url.pathname.charAt(0)!=="/"&&(url.pathname!==""||location.pathname!=="")&&(url.pathname=resolve(url.pathname,location.pathname)),url.pathname.charAt(0)!=="/"&&isSpecial(url.protocol)&&(url.pathname="/"+url.pathname),required(url.port,url.protocol)||(url.host=url.hostname,url.port=""),url.username=url.password="",url.auth&&(index=url.auth.indexOf(":"),~index?(url.username=url.auth.slice(0,index),url.username=encodeURIComponent(decodeURIComponent(url.username)),url.password=url.auth.slice(index+1),url.password=encodeURIComponent(decodeURIComponent(url.password))):url.username=encodeURIComponent(decodeURIComponent(url.auth)),url.auth=url.password?url.username+":"+url.password:url.username),url.origin=url.protocol!=="file:"&&isSpecial(url.protocol)&&url.host?url.protocol+"//"+url.host:"null",url.href=url.toString()}function set(part,value,fn){var url=this;switch(part){case"query":typeof value=="string"&&value.length&&(value=(fn||qs.parse)(value)),url[part]=value;break;case"port":url[part]=value,required(value,url.protocol)?value&&(url.host=url.hostname+":"+value):(url.host=url.hostname,url[part]="");break;case"hostname":url[part]=value,url.port&&(value+=":"+url.port),url.host=value;break;case"host":url[part]=value,port.test(value)?(value=value.split(":"),url.port=value.pop(),url.hostname=value.join(":")):(url.hostname=value,url.port="");break;case"protocol":url.protocol=value.toLowerCase(),url.slashes=!fn;break;case"pathname":case"hash":if(value){var char=part==="pathname"?"/":"#";url[part]=value.charAt(0)!==char?char+value:value}else url[part]=value;break;case"username":case"password":url[part]=encodeURIComponent(value);break;case"auth":var index=value.indexOf(":");~index?(url.username=value.slice(0,index),url.username=encodeURIComponent(decodeURIComponent(url.username)),url.password=value.slice(index+1),url.password=encodeURIComponent(decodeURIComponent(url.password))):url.username=encodeURIComponent(decodeURIComponent(value))}for(var i=0;i<rules.length;i++){var ins=rules[i];ins[4]&&(url[ins[1]]=url[ins[1]].toLowerCase())}return url.auth=url.password?url.username+":"+url.password:url.username,url.origin=url.protocol!=="file:"&&isSpecial(url.protocol)&&url.host?url.protocol+"//"+url.host:"null",url.href=url.toString(),url}function toString(stringify){(!stringify||typeof stringify!="function")&&(stringify=qs.stringify);var query,url=this,host=url.host,protocol=url.protocol;protocol&&protocol.charAt(protocol.length-1)!==":"&&(protocol+=":");var result=protocol+(url.protocol&&url.slashes||isSpecial(url.protocol)?"//":"");return url.username?(result+=url.username,url.password&&(result+=":"+url.password),result+="@"):url.password?(result+=":"+url.password,result+="@"):url.protocol!=="file:"&&isSpecial(url.protocol)&&!host&&url.pathname!=="/"&&(result+="@"),(host[host.length-1]===":"||port.test(url.hostname)&&!url.port)&&(host+=":"),result+=host+url.pathname,query=typeof url.query=="object"?stringify(url.query):url.query,query&&(result+=query.charAt(0)!=="?"?"?"+query:query),url.hash&&(result+=url.hash),result}Url.prototype={set,toString},Url.extractProtocol=extractProtocol,Url.location=lolcation,Url.trimLeft=trimLeft,Url.qs=qs,module.exports=Url},64442:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__,punycode=__webpack_require__(87004);function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r",`
314
+ `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var innerHTML=function(){return"innerHTML"};function dangerouslySetInnerHTML(element,html){element[innerHTML()]=html}function createArrowElement(value){var arrow=div();return value===!0?arrow.className=ARROW_CLASS:(arrow.className=SVG_ARROW_CLASS,isElement(value)?arrow.appendChild(value):dangerouslySetInnerHTML(arrow,value)),arrow}function setContent(content,props){isElement(props.content)?(dangerouslySetInnerHTML(content,""),content.appendChild(props.content)):typeof props.content!="function"&&(props.allowHTML?dangerouslySetInnerHTML(content,props.content):content.textContent=props.content)}function getChildren(popper){var box=popper.firstElementChild,boxChildren=arrayFrom(box.children);return{box,content:boxChildren.find(function(node){return node.classList.contains(CONTENT_CLASS)}),arrow:boxChildren.find(function(node){return node.classList.contains(ARROW_CLASS)||node.classList.contains(SVG_ARROW_CLASS)}),backdrop:boxChildren.find(function(node){return node.classList.contains(BACKDROP_CLASS)})}}function render(instance){var popper=div(),box=div();box.className=BOX_CLASS,box.setAttribute("data-state","hidden"),box.setAttribute("tabindex","-1");var content=div();content.className=CONTENT_CLASS,content.setAttribute("data-state","hidden"),setContent(content,instance.props),popper.appendChild(box),box.appendChild(content),onUpdate(instance.props,instance.props);function onUpdate(prevProps,nextProps){var _getChildren=getChildren(popper),box2=_getChildren.box,content2=_getChildren.content,arrow=_getChildren.arrow;nextProps.theme?box2.setAttribute("data-theme",nextProps.theme):box2.removeAttribute("data-theme"),typeof nextProps.animation=="string"?box2.setAttribute("data-animation",nextProps.animation):box2.removeAttribute("data-animation"),nextProps.inertia?box2.setAttribute("data-inertia",""):box2.removeAttribute("data-inertia"),box2.style.maxWidth=typeof nextProps.maxWidth=="number"?nextProps.maxWidth+"px":nextProps.maxWidth,nextProps.role?box2.setAttribute("role",nextProps.role):box2.removeAttribute("role"),(prevProps.content!==nextProps.content||prevProps.allowHTML!==nextProps.allowHTML)&&setContent(content2,instance.props),nextProps.arrow?arrow?prevProps.arrow!==nextProps.arrow&&(box2.removeChild(arrow),box2.appendChild(createArrowElement(nextProps.arrow))):box2.appendChild(createArrowElement(nextProps.arrow)):arrow&&box2.removeChild(arrow)}return{popper,onUpdate}}render.$$tippy=!0;var idCounter=1,mouseMoveListeners=[],mountedInstances=[];function createTippy(reference,passedProps){var props=evaluateProps(reference,Object.assign({},defaultProps,{},getExtendedPassedProps(removeUndefinedProps(passedProps)))),showTimeout,hideTimeout,scheduleHideAnimationFrame,isVisibleFromClick=!1,didHideDueToDocumentMouseDown=!1,didTouchMove=!1,ignoreOnFirstUpdate=!1,lastTriggerEvent,currentTransitionEndListener,onFirstUpdate,listeners=[],debouncedOnMouseMove=debounce(onMouseMove,props.interactiveDebounce),currentTarget,id=idCounter++,popperInstance=null,plugins=unique(props.plugins),state={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},instance={id,reference,popper:div(),popperInstance,props,state,plugins,clearDelayTimeouts,setProps,setContent:setContent2,show,hide,hideWithInteractivity,enable,disable,unmount,destroy};if(!props.render)return instance;var _props$render=props.render(instance),popper=_props$render.popper,onUpdate=_props$render.onUpdate;popper.setAttribute("data-tippy-root",""),popper.id="tippy-"+instance.id,instance.popper=popper,reference._tippy=instance,popper._tippy=instance;var pluginsHooks=plugins.map(function(plugin){return plugin.fn(instance)}),hasAriaExpanded=reference.hasAttribute("aria-expanded");return addListeners(),handleAriaExpandedAttribute(),handleStyles(),invokeHook("onCreate",[instance]),props.showOnCreate&&scheduleShow(),popper.addEventListener("mouseenter",function(){instance.props.interactive&&instance.state.isVisible&&instance.clearDelayTimeouts()}),popper.addEventListener("mouseleave",function(event){instance.props.interactive&&instance.props.trigger.indexOf("mouseenter")>=0&&(getDocument().addEventListener("mousemove",debouncedOnMouseMove),debouncedOnMouseMove(event))}),instance;function getNormalizedTouchSettings(){var touch=instance.props.touch;return Array.isArray(touch)?touch:[touch,0]}function getIsCustomTouchBehavior(){return getNormalizedTouchSettings()[0]==="hold"}function getIsDefaultRenderFn(){var _instance$props$rende;return!!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy)}function getCurrentTarget(){return currentTarget||reference}function getDocument(){var parent=getCurrentTarget().parentNode;return parent?getOwnerDocument(parent):document}function getDefaultTemplateChildren(){return getChildren(popper)}function getDelay(isShow){return instance.state.isMounted&&!instance.state.isVisible||currentInput.isTouch||lastTriggerEvent&&lastTriggerEvent.type==="focus"?0:getValueAtIndexOrReturn(instance.props.delay,isShow?0:1,defaultProps.delay)}function handleStyles(){popper.style.pointerEvents=instance.props.interactive&&instance.state.isVisible?"":"none",popper.style.zIndex=""+instance.props.zIndex}function invokeHook(hook,args,shouldInvokePropsHook){if(shouldInvokePropsHook===void 0&&(shouldInvokePropsHook=!0),pluginsHooks.forEach(function(pluginHooks){pluginHooks[hook]&&pluginHooks[hook].apply(void 0,args)}),shouldInvokePropsHook){var _instance$props;(_instance$props=instance.props)[hook].apply(_instance$props,args)}}function handleAriaContentAttribute(){var aria=instance.props.aria;if(!!aria.content){var attr="aria-"+aria.content,id2=popper.id,nodes=normalizeToArray(instance.props.triggerTarget||reference);nodes.forEach(function(node){var currentValue=node.getAttribute(attr);if(instance.state.isVisible)node.setAttribute(attr,currentValue?currentValue+" "+id2:id2);else{var nextValue=currentValue&&currentValue.replace(id2,"").trim();nextValue?node.setAttribute(attr,nextValue):node.removeAttribute(attr)}})}}function handleAriaExpandedAttribute(){if(!(hasAriaExpanded||!instance.props.aria.expanded)){var nodes=normalizeToArray(instance.props.triggerTarget||reference);nodes.forEach(function(node){instance.props.interactive?node.setAttribute("aria-expanded",instance.state.isVisible&&node===getCurrentTarget()?"true":"false"):node.removeAttribute("aria-expanded")})}}function cleanupInteractiveMouseListeners(){getDocument().removeEventListener("mousemove",debouncedOnMouseMove),mouseMoveListeners=mouseMoveListeners.filter(function(listener){return listener!==debouncedOnMouseMove})}function onDocumentPress(event){if(!(currentInput.isTouch&&(didTouchMove||event.type==="mousedown"))&&!(instance.props.interactive&&popper.contains(event.target))){if(getCurrentTarget().contains(event.target)){if(currentInput.isTouch||instance.state.isVisible&&instance.props.trigger.indexOf("click")>=0)return}else invokeHook("onClickOutside",[instance,event]);instance.props.hideOnClick===!0&&(instance.clearDelayTimeouts(),instance.hide(),didHideDueToDocumentMouseDown=!0,setTimeout(function(){didHideDueToDocumentMouseDown=!1}),instance.state.isMounted||removeDocumentPress())}}function onTouchMove(){didTouchMove=!0}function onTouchStart(){didTouchMove=!1}function addDocumentPress(){var doc=getDocument();doc.addEventListener("mousedown",onDocumentPress,!0),doc.addEventListener("touchend",onDocumentPress,TOUCH_OPTIONS),doc.addEventListener("touchstart",onTouchStart,TOUCH_OPTIONS),doc.addEventListener("touchmove",onTouchMove,TOUCH_OPTIONS)}function removeDocumentPress(){var doc=getDocument();doc.removeEventListener("mousedown",onDocumentPress,!0),doc.removeEventListener("touchend",onDocumentPress,TOUCH_OPTIONS),doc.removeEventListener("touchstart",onTouchStart,TOUCH_OPTIONS),doc.removeEventListener("touchmove",onTouchMove,TOUCH_OPTIONS)}function onTransitionedOut(duration,callback){onTransitionEnd(duration,function(){!instance.state.isVisible&&popper.parentNode&&popper.parentNode.contains(popper)&&callback()})}function onTransitionedIn(duration,callback){onTransitionEnd(duration,callback)}function onTransitionEnd(duration,callback){var box=getDefaultTemplateChildren().box;function listener(event){event.target===box&&(updateTransitionEndListener(box,"remove",listener),callback())}if(duration===0)return callback();updateTransitionEndListener(box,"remove",currentTransitionEndListener),updateTransitionEndListener(box,"add",listener),currentTransitionEndListener=listener}function on(eventType,handler,options){options===void 0&&(options=!1);var nodes=normalizeToArray(instance.props.triggerTarget||reference);nodes.forEach(function(node){node.addEventListener(eventType,handler,options),listeners.push({node,eventType,handler,options})})}function addListeners(){getIsCustomTouchBehavior()&&(on("touchstart",onTrigger,{passive:!0}),on("touchend",onMouseLeave,{passive:!0})),splitBySpaces(instance.props.trigger).forEach(function(eventType){if(eventType!=="manual")switch(on(eventType,onTrigger),eventType){case"mouseenter":on("mouseleave",onMouseLeave);break;case"focus":on(isIE?"focusout":"blur",onBlurOrFocusOut);break;case"focusin":on("focusout",onBlurOrFocusOut);break}})}function removeListeners(){listeners.forEach(function(_ref){var node=_ref.node,eventType=_ref.eventType,handler=_ref.handler,options=_ref.options;node.removeEventListener(eventType,handler,options)}),listeners=[]}function onTrigger(event){var _lastTriggerEvent,shouldScheduleClickHide=!1;if(!(!instance.state.isEnabled||isEventListenerStopped(event)||didHideDueToDocumentMouseDown)){var wasFocused=((_lastTriggerEvent=lastTriggerEvent)==null?void 0:_lastTriggerEvent.type)==="focus";lastTriggerEvent=event,currentTarget=event.currentTarget,handleAriaExpandedAttribute(),!instance.state.isVisible&&isMouseEvent(event)&&mouseMoveListeners.forEach(function(listener){return listener(event)}),event.type==="click"&&(instance.props.trigger.indexOf("mouseenter")<0||isVisibleFromClick)&&instance.props.hideOnClick!==!1&&instance.state.isVisible?shouldScheduleClickHide=!0:scheduleShow(event),event.type==="click"&&(isVisibleFromClick=!shouldScheduleClickHide),shouldScheduleClickHide&&!wasFocused&&scheduleHide(event)}}function onMouseMove(event){var target=event.target,isCursorOverReferenceOrPopper=getCurrentTarget().contains(target)||popper.contains(target);if(!(event.type==="mousemove"&&isCursorOverReferenceOrPopper)){var popperTreeData=getNestedPopperTree().concat(popper).map(function(popper2){var _instance$popperInsta,instance2=popper2._tippy,state2=(_instance$popperInsta=instance2.popperInstance)==null?void 0:_instance$popperInsta.state;return state2?{popperRect:popper2.getBoundingClientRect(),popperState:state2,props}:null}).filter(Boolean);isCursorOutsideInteractiveBorder(popperTreeData,event)&&(cleanupInteractiveMouseListeners(),scheduleHide(event))}}function onMouseLeave(event){var shouldBail=isEventListenerStopped(event)||instance.props.trigger.indexOf("click")>=0&&isVisibleFromClick;if(!shouldBail){if(instance.props.interactive){instance.hideWithInteractivity(event);return}scheduleHide(event)}}function onBlurOrFocusOut(event){instance.props.trigger.indexOf("focusin")<0&&event.target!==getCurrentTarget()||instance.props.interactive&&event.relatedTarget&&popper.contains(event.relatedTarget)||scheduleHide(event)}function isEventListenerStopped(event){return currentInput.isTouch?getIsCustomTouchBehavior()!==event.type.indexOf("touch")>=0:!1}function createPopperInstance(){destroyPopperInstance();var _instance$props2=instance.props,popperOptions=_instance$props2.popperOptions,placement=_instance$props2.placement,offset=_instance$props2.offset,getReferenceClientRect=_instance$props2.getReferenceClientRect,moveTransition=_instance$props2.moveTransition,arrow=getIsDefaultRenderFn()?getChildren(popper).arrow:null,computedReference=getReferenceClientRect?{getBoundingClientRect:getReferenceClientRect,contextElement:getReferenceClientRect.contextElement||getCurrentTarget()}:reference,tippyModifier={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_ref2){var state2=_ref2.state;if(getIsDefaultRenderFn()){var _getDefaultTemplateCh=getDefaultTemplateChildren(),box=_getDefaultTemplateCh.box;["placement","reference-hidden","escaped"].forEach(function(attr){attr==="placement"?box.setAttribute("data-placement",state2.placement):state2.attributes.popper["data-popper-"+attr]?box.setAttribute("data-"+attr,""):box.removeAttribute("data-"+attr)}),state2.attributes.popper={}}}},modifiers=[{name:"offset",options:{offset}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!moveTransition}},tippyModifier];getIsDefaultRenderFn()&&arrow&&modifiers.push({name:"arrow",options:{element:arrow,padding:3}}),modifiers.push.apply(modifiers,popperOptions?.modifiers||[]),instance.popperInstance=(0,_popperjs_core__WEBPACK_IMPORTED_MODULE_0__.fi)(computedReference,popper,Object.assign({},popperOptions,{placement,onFirstUpdate,modifiers}))}function destroyPopperInstance(){instance.popperInstance&&(instance.popperInstance.destroy(),instance.popperInstance=null)}function mount(){var appendTo=instance.props.appendTo,parentNode,node=getCurrentTarget();instance.props.interactive&&appendTo===defaultProps.appendTo||appendTo==="parent"?parentNode=node.parentNode:parentNode=invokeWithArgsOrReturn(appendTo,[node]),parentNode.contains(popper)||parentNode.appendChild(popper),createPopperInstance()}function getNestedPopperTree(){return arrayFrom(popper.querySelectorAll("[data-tippy-root]"))}function scheduleShow(event){instance.clearDelayTimeouts(),event&&invokeHook("onTrigger",[instance,event]),addDocumentPress();var delay=getDelay(!0),_getNormalizedTouchSe=getNormalizedTouchSettings(),touchValue=_getNormalizedTouchSe[0],touchDelay=_getNormalizedTouchSe[1];currentInput.isTouch&&touchValue==="hold"&&touchDelay&&(delay=touchDelay),delay?showTimeout=setTimeout(function(){instance.show()},delay):instance.show()}function scheduleHide(event){if(instance.clearDelayTimeouts(),invokeHook("onUntrigger",[instance,event]),!instance.state.isVisible){removeDocumentPress();return}if(!(instance.props.trigger.indexOf("mouseenter")>=0&&instance.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(event.type)>=0&&isVisibleFromClick)){var delay=getDelay(!1);delay?hideTimeout=setTimeout(function(){instance.state.isVisible&&instance.hide()},delay):scheduleHideAnimationFrame=requestAnimationFrame(function(){instance.hide()})}}function enable(){instance.state.isEnabled=!0}function disable(){instance.hide(),instance.state.isEnabled=!1}function clearDelayTimeouts(){clearTimeout(showTimeout),clearTimeout(hideTimeout),cancelAnimationFrame(scheduleHideAnimationFrame)}function setProps(partialProps){if(!instance.state.isDestroyed){invokeHook("onBeforeUpdate",[instance,partialProps]),removeListeners();var prevProps=instance.props,nextProps=evaluateProps(reference,Object.assign({},instance.props,{},partialProps,{ignoreAttributes:!0}));instance.props=nextProps,addListeners(),prevProps.interactiveDebounce!==nextProps.interactiveDebounce&&(cleanupInteractiveMouseListeners(),debouncedOnMouseMove=debounce(onMouseMove,nextProps.interactiveDebounce)),prevProps.triggerTarget&&!nextProps.triggerTarget?normalizeToArray(prevProps.triggerTarget).forEach(function(node){node.removeAttribute("aria-expanded")}):nextProps.triggerTarget&&reference.removeAttribute("aria-expanded"),handleAriaExpandedAttribute(),handleStyles(),onUpdate&&onUpdate(prevProps,nextProps),instance.popperInstance&&(createPopperInstance(),getNestedPopperTree().forEach(function(nestedPopper){requestAnimationFrame(nestedPopper._tippy.popperInstance.forceUpdate)})),invokeHook("onAfterUpdate",[instance,partialProps])}}function setContent2(content){instance.setProps({content})}function show(){var isAlreadyVisible=instance.state.isVisible,isDestroyed=instance.state.isDestroyed,isDisabled=!instance.state.isEnabled,isTouchAndTouchDisabled=currentInput.isTouch&&!instance.props.touch,duration=getValueAtIndexOrReturn(instance.props.duration,0,defaultProps.duration);if(!(isAlreadyVisible||isDestroyed||isDisabled||isTouchAndTouchDisabled)&&!getCurrentTarget().hasAttribute("disabled")&&(invokeHook("onShow",[instance],!1),instance.props.onShow(instance)!==!1)){if(instance.state.isVisible=!0,getIsDefaultRenderFn()&&(popper.style.visibility="visible"),handleStyles(),addDocumentPress(),instance.state.isMounted||(popper.style.transition="none"),getIsDefaultRenderFn()){var _getDefaultTemplateCh2=getDefaultTemplateChildren(),box=_getDefaultTemplateCh2.box,content=_getDefaultTemplateCh2.content;setTransitionDuration([box,content],0)}onFirstUpdate=function(){if(!(!instance.state.isVisible||ignoreOnFirstUpdate)){if(ignoreOnFirstUpdate=!0,popper.offsetHeight,popper.style.transition=instance.props.moveTransition,getIsDefaultRenderFn()&&instance.props.animation){var _getDefaultTemplateCh3=getDefaultTemplateChildren(),_box=_getDefaultTemplateCh3.box,_content=_getDefaultTemplateCh3.content;setTransitionDuration([_box,_content],duration),setVisibilityState([_box,_content],"visible")}handleAriaContentAttribute(),handleAriaExpandedAttribute(),pushIfUnique(mountedInstances,instance),instance.state.isMounted=!0,invokeHook("onMount",[instance]),instance.props.animation&&getIsDefaultRenderFn()&&onTransitionedIn(duration,function(){instance.state.isShown=!0,invokeHook("onShown",[instance])})}},mount()}}function hide(){var isAlreadyHidden=!instance.state.isVisible,isDestroyed=instance.state.isDestroyed,isDisabled=!instance.state.isEnabled,duration=getValueAtIndexOrReturn(instance.props.duration,1,defaultProps.duration);if(!(isAlreadyHidden||isDestroyed||isDisabled)&&(invokeHook("onHide",[instance],!1),instance.props.onHide(instance)!==!1)){if(instance.state.isVisible=!1,instance.state.isShown=!1,ignoreOnFirstUpdate=!1,isVisibleFromClick=!1,getIsDefaultRenderFn()&&(popper.style.visibility="hidden"),cleanupInteractiveMouseListeners(),removeDocumentPress(),handleStyles(),getIsDefaultRenderFn()){var _getDefaultTemplateCh4=getDefaultTemplateChildren(),box=_getDefaultTemplateCh4.box,content=_getDefaultTemplateCh4.content;instance.props.animation&&(setTransitionDuration([box,content],duration),setVisibilityState([box,content],"hidden"))}handleAriaContentAttribute(),handleAriaExpandedAttribute(),instance.props.animation?getIsDefaultRenderFn()&&onTransitionedOut(duration,instance.unmount):instance.unmount()}}function hideWithInteractivity(event){getDocument().addEventListener("mousemove",debouncedOnMouseMove),pushIfUnique(mouseMoveListeners,debouncedOnMouseMove),debouncedOnMouseMove(event)}function unmount(){instance.state.isVisible&&instance.hide(),instance.state.isMounted&&(destroyPopperInstance(),getNestedPopperTree().forEach(function(nestedPopper){nestedPopper._tippy.unmount()}),popper.parentNode&&popper.parentNode.removeChild(popper),mountedInstances=mountedInstances.filter(function(i){return i!==instance}),instance.state.isMounted=!1,invokeHook("onHidden",[instance]))}function destroy(){instance.state.isDestroyed||(instance.clearDelayTimeouts(),instance.unmount(),removeListeners(),delete reference._tippy,instance.state.isDestroyed=!0,invokeHook("onDestroy",[instance]))}}function tippy(targets,optionalProps){optionalProps===void 0&&(optionalProps={});var plugins=defaultProps.plugins.concat(optionalProps.plugins||[]);bindGlobalEventListeners();var passedProps=Object.assign({},optionalProps,{plugins}),elements=getArrayOfElements(targets);if(!1)var isMoreThanOneReferenceElement,isSingleContentElement;var instances=elements.reduce(function(acc,reference){var instance=reference&&createTippy(reference,passedProps);return instance&&acc.push(instance),acc},[]);return isElement(targets)?instances[0]:instances}tippy.defaultProps=defaultProps,tippy.setDefaultProps=setDefaultProps,tippy.currentInput=currentInput;var hideAll=function(_temp){var _ref=_temp===void 0?{}:_temp,excludedReferenceOrInstance=_ref.exclude,duration=_ref.duration;mountedInstances.forEach(function(instance){var isExcluded=!1;if(excludedReferenceOrInstance&&(isExcluded=isReferenceElement(excludedReferenceOrInstance)?instance.reference===excludedReferenceOrInstance:instance.popper===excludedReferenceOrInstance.popper),!isExcluded){var originalDuration=instance.props.duration;instance.setProps({duration}),instance.hide(),instance.state.isDestroyed||instance.setProps({duration:originalDuration})}})},createSingleton=function(tippyInstances,optionalProps){optionalProps===void 0&&(optionalProps={});var individualInstances=tippyInstances,references=[],currentTarget,overrides=optionalProps.overrides,interceptSetPropsCleanups=[];function setReferences(){references=individualInstances.map(function(instance){return instance.reference})}function enableInstances(isEnabled){individualInstances.forEach(function(instance){isEnabled?instance.enable():instance.disable()})}function interceptSetProps(singleton2){return individualInstances.map(function(instance){var originalSetProps2=instance.setProps;return instance.setProps=function(props){originalSetProps2(props),instance.reference===currentTarget&&singleton2.setProps(props)},function(){instance.setProps=originalSetProps2}})}enableInstances(!1),setReferences();var plugin={fn:function(){return{onDestroy:function(){enableInstances(!0)},onTrigger:function(instance,event){var target=event.currentTarget,index=references.indexOf(target);if(target!==currentTarget){currentTarget=target;var overrideProps=(overrides||[]).concat("content").reduce(function(acc,prop){return acc[prop]=individualInstances[index].props[prop],acc},{});instance.setProps(Object.assign({},overrideProps,{getReferenceClientRect:typeof overrideProps.getReferenceClientRect=="function"?overrideProps.getReferenceClientRect:function(){return target.getBoundingClientRect()}}))}}}}},singleton=tippy(div(),Object.assign({},removeProperties(optionalProps,["overrides"]),{plugins:[plugin].concat(optionalProps.plugins||[]),triggerTarget:references})),originalSetProps=singleton.setProps;return singleton.setProps=function(props){overrides=props.overrides||overrides,originalSetProps(props)},singleton.setInstances=function(nextInstances){enableInstances(!0),interceptSetPropsCleanups.forEach(function(fn){return fn()}),individualInstances=nextInstances,enableInstances(!1),setReferences(),interceptSetProps(singleton),singleton.setProps({triggerTarget:references})},interceptSetPropsCleanups=interceptSetProps(singleton),singleton},BUBBLING_EVENTS_MAP={mouseover:"mouseenter",focusin:"focus",click:"click"};function delegate(targets,props){var listeners=[],childTippyInstances=[],disabled=!1,target=props.target,nativeProps=removeProperties(props,["target"]),parentProps=Object.assign({},nativeProps,{trigger:"manual",touch:!1}),childProps=Object.assign({},nativeProps,{showOnCreate:!0}),returnValue=tippy(targets,parentProps),normalizedReturnValue=normalizeToArray(returnValue);function onTrigger(event){if(!(!event.target||disabled)){var targetNode=event.target.closest(target);if(!!targetNode){var trigger=targetNode.getAttribute("data-tippy-trigger")||props.trigger||defaultProps.trigger;if(!targetNode._tippy&&!(event.type==="touchstart"&&typeof childProps.touch=="boolean")&&!(event.type!=="touchstart"&&trigger.indexOf(BUBBLING_EVENTS_MAP[event.type])<0)){var instance=tippy(targetNode,childProps);instance&&(childTippyInstances=childTippyInstances.concat(instance))}}}}function on(node,eventType,handler,options){options===void 0&&(options=!1),node.addEventListener(eventType,handler,options),listeners.push({node,eventType,handler,options})}function addEventListeners(instance){var reference=instance.reference;on(reference,"touchstart",onTrigger),on(reference,"mouseover",onTrigger),on(reference,"focusin",onTrigger),on(reference,"click",onTrigger)}function removeEventListeners(){listeners.forEach(function(_ref){var node=_ref.node,eventType=_ref.eventType,handler=_ref.handler,options=_ref.options;node.removeEventListener(eventType,handler,options)}),listeners=[]}function applyMutations(instance){var originalDestroy=instance.destroy,originalEnable=instance.enable,originalDisable=instance.disable;instance.destroy=function(shouldDestroyChildInstances){shouldDestroyChildInstances===void 0&&(shouldDestroyChildInstances=!0),shouldDestroyChildInstances&&childTippyInstances.forEach(function(instance2){instance2.destroy()}),childTippyInstances=[],removeEventListeners(),originalDestroy()},instance.enable=function(){originalEnable(),childTippyInstances.forEach(function(instance2){return instance2.enable()}),disabled=!1},instance.disable=function(){originalDisable(),childTippyInstances.forEach(function(instance2){return instance2.disable()}),disabled=!0},addEventListeners(instance)}return normalizedReturnValue.forEach(applyMutations),returnValue}var animateFill={name:"animateFill",defaultValue:!1,fn:function(instance){var _instance$props$rende;if(!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy))return{};var _getChildren=getChildren(instance.popper),box=_getChildren.box,content=_getChildren.content,backdrop=instance.props.animateFill?createBackdropElement():null;return{onCreate:function(){backdrop&&(box.insertBefore(backdrop,box.firstElementChild),box.setAttribute("data-animatefill",""),box.style.overflow="hidden",instance.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(backdrop){var transitionDuration=box.style.transitionDuration,duration=Number(transitionDuration.replace("ms",""));content.style.transitionDelay=Math.round(duration/10)+"ms",backdrop.style.transitionDuration=transitionDuration,setVisibilityState([backdrop],"visible")}},onShow:function(){backdrop&&(backdrop.style.transitionDuration="0ms")},onHide:function(){backdrop&&setVisibilityState([backdrop],"hidden")}}}};function createBackdropElement(){var backdrop=div();return backdrop.className=BACKDROP_CLASS,setVisibilityState([backdrop],"hidden"),backdrop}var mouseCoords={clientX:0,clientY:0},activeInstances=[];function storeMouseCoords(_ref){var clientX=_ref.clientX,clientY=_ref.clientY;mouseCoords={clientX,clientY}}function addMouseCoordsListener(doc){doc.addEventListener("mousemove",storeMouseCoords)}function removeMouseCoordsListener(doc){doc.removeEventListener("mousemove",storeMouseCoords)}var followCursor={name:"followCursor",defaultValue:!1,fn:function(instance){var reference=instance.reference,doc=getOwnerDocument(instance.props.triggerTarget||reference),isInternalUpdate=!1,wasFocusEvent=!1,isUnmounted=!0,prevProps=instance.props;function getIsInitialBehavior(){return instance.props.followCursor==="initial"&&instance.state.isVisible}function addListener(){doc.addEventListener("mousemove",onMouseMove)}function removeListener(){doc.removeEventListener("mousemove",onMouseMove)}function unsetGetReferenceClientRect(){isInternalUpdate=!0,instance.setProps({getReferenceClientRect:null}),isInternalUpdate=!1}function onMouseMove(event){var isCursorOverReference=event.target?reference.contains(event.target):!0,followCursor2=instance.props.followCursor,clientX=event.clientX,clientY=event.clientY,rect=reference.getBoundingClientRect(),relativeX=clientX-rect.left,relativeY=clientY-rect.top;(isCursorOverReference||!instance.props.interactive)&&instance.setProps({getReferenceClientRect:function(){var rect2=reference.getBoundingClientRect(),x=clientX,y=clientY;followCursor2==="initial"&&(x=rect2.left+relativeX,y=rect2.top+relativeY);var top=followCursor2==="horizontal"?rect2.top:y,right=followCursor2==="vertical"?rect2.right:x,bottom=followCursor2==="horizontal"?rect2.bottom:y,left=followCursor2==="vertical"?rect2.left:x;return{width:right-left,height:bottom-top,top,right,bottom,left}}})}function create(){instance.props.followCursor&&(activeInstances.push({instance,doc}),addMouseCoordsListener(doc))}function destroy(){activeInstances=activeInstances.filter(function(data){return data.instance!==instance}),activeInstances.filter(function(data){return data.doc===doc}).length===0&&removeMouseCoordsListener(doc)}return{onCreate:create,onDestroy:destroy,onBeforeUpdate:function(){prevProps=instance.props},onAfterUpdate:function(_,_ref2){var followCursor2=_ref2.followCursor;isInternalUpdate||followCursor2!==void 0&&prevProps.followCursor!==followCursor2&&(destroy(),followCursor2?(create(),instance.state.isMounted&&!wasFocusEvent&&!getIsInitialBehavior()&&addListener()):(removeListener(),unsetGetReferenceClientRect()))},onMount:function(){instance.props.followCursor&&!wasFocusEvent&&(isUnmounted&&(onMouseMove(mouseCoords),isUnmounted=!1),getIsInitialBehavior()||addListener())},onTrigger:function(_,event){isMouseEvent(event)&&(mouseCoords={clientX:event.clientX,clientY:event.clientY}),wasFocusEvent=event.type==="focus"},onHidden:function(){instance.props.followCursor&&(unsetGetReferenceClientRect(),removeListener(),isUnmounted=!0)}}}};function getProps(props,modifier){var _props$popperOptions;return{popperOptions:Object.assign({},props.popperOptions,{modifiers:[].concat((((_props$popperOptions=props.popperOptions)==null?void 0:_props$popperOptions.modifiers)||[]).filter(function(_ref){var name=_ref.name;return name!==modifier.name}),[modifier])})}}var inlinePositioning={name:"inlinePositioning",defaultValue:!1,fn:function(instance){var reference=instance.reference;function isEnabled(){return!!instance.props.inlinePositioning}var placement,cursorRectIndex=-1,isInternalUpdate=!1,modifier={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(_ref2){var state=_ref2.state;isEnabled()&&(placement!==state.placement&&instance.setProps({getReferenceClientRect:function(){return _getReferenceClientRect(state.placement)}}),placement=state.placement)}};function _getReferenceClientRect(placement2){return getInlineBoundingClientRect(getBasePlacement(placement2),reference.getBoundingClientRect(),arrayFrom(reference.getClientRects()),cursorRectIndex)}function setInternalProps(partialProps){isInternalUpdate=!0,instance.setProps(partialProps),isInternalUpdate=!1}function addModifier(){isInternalUpdate||setInternalProps(getProps(instance.props,modifier))}return{onCreate:addModifier,onAfterUpdate:addModifier,onTrigger:function(_,event){if(isMouseEvent(event)){var rects=arrayFrom(instance.reference.getClientRects()),cursorRect=rects.find(function(rect){return rect.left-2<=event.clientX&&rect.right+2>=event.clientX&&rect.top-2<=event.clientY&&rect.bottom+2>=event.clientY});cursorRectIndex=rects.indexOf(cursorRect)}},onUntrigger:function(){cursorRectIndex=-1}}}};function getInlineBoundingClientRect(currentBasePlacement,boundingRect,clientRects,cursorRectIndex){if(clientRects.length<2||currentBasePlacement===null)return boundingRect;if(clientRects.length===2&&cursorRectIndex>=0&&clientRects[0].left>clientRects[1].right)return clientRects[cursorRectIndex]||boundingRect;switch(currentBasePlacement){case"top":case"bottom":{var firstRect=clientRects[0],lastRect=clientRects[clientRects.length-1],isTop=currentBasePlacement==="top",top=firstRect.top,bottom=lastRect.bottom,left=isTop?firstRect.left:lastRect.left,right=isTop?firstRect.right:lastRect.right,width=right-left,height=bottom-top;return{top,bottom,left,right,width,height}}case"left":case"right":{var minLeft=Math.min.apply(Math,clientRects.map(function(rects){return rects.left})),maxRight=Math.max.apply(Math,clientRects.map(function(rects){return rects.right})),measureRects=clientRects.filter(function(rect){return currentBasePlacement==="left"?rect.left===minLeft:rect.right===maxRight}),_top=measureRects[0].top,_bottom=measureRects[measureRects.length-1].bottom,_left=minLeft,_right=maxRight,_width=_right-_left,_height=_bottom-_top;return{top:_top,bottom:_bottom,left:_left,right:_right,width:_width,height:_height}}default:return boundingRect}}var sticky={name:"sticky",defaultValue:!1,fn:function(instance){var reference=instance.reference,popper=instance.popper;function getReference(){return instance.popperInstance?instance.popperInstance.state.elements.reference:reference}function shouldCheck(value){return instance.props.sticky===!0||instance.props.sticky===value}var prevRefRect=null,prevPopRect=null;function updatePosition(){var currentRefRect=shouldCheck("reference")?getReference().getBoundingClientRect():null,currentPopRect=shouldCheck("popper")?popper.getBoundingClientRect():null;(currentRefRect&&areRectsDifferent(prevRefRect,currentRefRect)||currentPopRect&&areRectsDifferent(prevPopRect,currentPopRect))&&instance.popperInstance&&instance.popperInstance.update(),prevRefRect=currentRefRect,prevPopRect=currentPopRect,instance.state.isMounted&&requestAnimationFrame(updatePosition)}return{onMount:function(){instance.props.sticky&&updatePosition()}}}};function areRectsDifferent(rectA,rectB){return rectA&&rectB?rectA.top!==rectB.top||rectA.right!==rectB.right||rectA.bottom!==rectB.bottom||rectA.left!==rectB.left:!0}tippy.setDefaultProps({render});const __WEBPACK_DEFAULT_EXPORT__=tippy},16935:module=>{module.exports=function(){var selection=document.getSelection();if(!selection.rangeCount)return function(){};for(var active=document.activeElement,ranges=[],i=0;i<selection.rangeCount;i++)ranges.push(selection.getRangeAt(i));switch(active.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":active.blur();break;default:active=null;break}return selection.removeAllRanges(),function(){selection.type==="Caret"&&selection.removeAllRanges(),selection.rangeCount||ranges.forEach(function(range){selection.addRange(range)}),active&&active.focus()}}},59541:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Checker=exports.createCheckers=void 0;var types_1=__webpack_require__(64502),util_1=__webpack_require__(44725),types_2=__webpack_require__(64502);Object.defineProperty(exports,"TArray",{enumerable:!0,get:function(){return types_2.TArray}}),Object.defineProperty(exports,"TEnumType",{enumerable:!0,get:function(){return types_2.TEnumType}}),Object.defineProperty(exports,"TEnumLiteral",{enumerable:!0,get:function(){return types_2.TEnumLiteral}}),Object.defineProperty(exports,"TFunc",{enumerable:!0,get:function(){return types_2.TFunc}}),Object.defineProperty(exports,"TIface",{enumerable:!0,get:function(){return types_2.TIface}}),Object.defineProperty(exports,"TLiteral",{enumerable:!0,get:function(){return types_2.TLiteral}}),Object.defineProperty(exports,"TName",{enumerable:!0,get:function(){return types_2.TName}}),Object.defineProperty(exports,"TOptional",{enumerable:!0,get:function(){return types_2.TOptional}}),Object.defineProperty(exports,"TParam",{enumerable:!0,get:function(){return types_2.TParam}}),Object.defineProperty(exports,"TParamList",{enumerable:!0,get:function(){return types_2.TParamList}}),Object.defineProperty(exports,"TProp",{enumerable:!0,get:function(){return types_2.TProp}}),Object.defineProperty(exports,"TTuple",{enumerable:!0,get:function(){return types_2.TTuple}}),Object.defineProperty(exports,"TType",{enumerable:!0,get:function(){return types_2.TType}}),Object.defineProperty(exports,"TUnion",{enumerable:!0,get:function(){return types_2.TUnion}}),Object.defineProperty(exports,"TIntersection",{enumerable:!0,get:function(){return types_2.TIntersection}}),Object.defineProperty(exports,"array",{enumerable:!0,get:function(){return types_2.array}}),Object.defineProperty(exports,"enumlit",{enumerable:!0,get:function(){return types_2.enumlit}}),Object.defineProperty(exports,"enumtype",{enumerable:!0,get:function(){return types_2.enumtype}}),Object.defineProperty(exports,"func",{enumerable:!0,get:function(){return types_2.func}}),Object.defineProperty(exports,"iface",{enumerable:!0,get:function(){return types_2.iface}}),Object.defineProperty(exports,"lit",{enumerable:!0,get:function(){return types_2.lit}}),Object.defineProperty(exports,"name",{enumerable:!0,get:function(){return types_2.name}}),Object.defineProperty(exports,"opt",{enumerable:!0,get:function(){return types_2.opt}}),Object.defineProperty(exports,"param",{enumerable:!0,get:function(){return types_2.param}}),Object.defineProperty(exports,"tuple",{enumerable:!0,get:function(){return types_2.tuple}}),Object.defineProperty(exports,"union",{enumerable:!0,get:function(){return types_2.union}}),Object.defineProperty(exports,"intersection",{enumerable:!0,get:function(){return types_2.intersection}}),Object.defineProperty(exports,"BasicType",{enumerable:!0,get:function(){return types_2.BasicType}});var util_2=__webpack_require__(44725);Object.defineProperty(exports,"VError",{enumerable:!0,get:function(){return util_2.VError}});function createCheckers(){for(var typeSuite=[],_i=0;_i<arguments.length;_i++)typeSuite[_i]=arguments[_i];for(var fullSuite=Object.assign.apply(Object,__spreadArrays([{},types_1.basicTypes],typeSuite)),checkers={},_a=0,typeSuite_1=typeSuite;_a<typeSuite_1.length;_a++)for(var suite_1=typeSuite_1[_a],_b=0,_c=Object.keys(suite_1);_b<_c.length;_b++){var name=_c[_b];checkers[name]=new Checker(fullSuite,suite_1[name])}return checkers}exports.createCheckers=createCheckers;var Checker=function(){function Checker2(suite,ttype,_path){if(_path===void 0&&(_path="value"),this.suite=suite,this.ttype=ttype,this._path=_path,this.props=new Map,ttype instanceof types_1.TIface)for(var _i=0,_a=ttype.props;_i<_a.length;_i++){var p=_a[_i];this.props.set(p.name,p.ttype)}this.checkerPlain=this.ttype.getChecker(suite,!1),this.checkerStrict=this.ttype.getChecker(suite,!0)}return Checker2.prototype.setReportedPath=function(path){this._path=path},Checker2.prototype.check=function(value){return this._doCheck(this.checkerPlain,value)},Checker2.prototype.test=function(value){return this.checkerPlain(value,new util_1.NoopContext)},Checker2.prototype.validate=function(value){return this._doValidate(this.checkerPlain,value)},Checker2.prototype.strictCheck=function(value){return this._doCheck(this.checkerStrict,value)},Checker2.prototype.strictTest=function(value){return this.checkerStrict(value,new util_1.NoopContext)},Checker2.prototype.strictValidate=function(value){return this._doValidate(this.checkerStrict,value)},Checker2.prototype.getProp=function(prop){var ttype=this.props.get(prop);if(!ttype)throw new Error("Type has no property "+prop);return new Checker2(this.suite,ttype,this._path+"."+prop)},Checker2.prototype.methodArgs=function(methodName){var tfunc=this._getMethod(methodName);return new Checker2(this.suite,tfunc.paramList)},Checker2.prototype.methodResult=function(methodName){var tfunc=this._getMethod(methodName);return new Checker2(this.suite,tfunc.result)},Checker2.prototype.getArgs=function(){if(!(this.ttype instanceof types_1.TFunc))throw new Error("getArgs() applied to non-function");return new Checker2(this.suite,this.ttype.paramList)},Checker2.prototype.getResult=function(){if(!(this.ttype instanceof types_1.TFunc))throw new Error("getResult() applied to non-function");return new Checker2(this.suite,this.ttype.result)},Checker2.prototype.getType=function(){return this.ttype},Checker2.prototype._doCheck=function(checkerFunc,value){var noopCtx=new util_1.NoopContext;if(!checkerFunc(value,noopCtx)){var detailCtx=new util_1.DetailContext;throw checkerFunc(value,detailCtx),detailCtx.getError(this._path)}},Checker2.prototype._doValidate=function(checkerFunc,value){var noopCtx=new util_1.NoopContext;if(checkerFunc(value,noopCtx))return null;var detailCtx=new util_1.DetailContext;return checkerFunc(value,detailCtx),detailCtx.getErrorDetail(this._path)},Checker2.prototype._getMethod=function(methodName){var ttype=this.props.get(methodName);if(!ttype)throw new Error("Type has no property "+methodName);if(!(ttype instanceof types_1.TFunc))throw new Error("Property "+methodName+" is not a method");return ttype},Checker2}();exports.Checker=Checker},64502:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(55872).Buffer,__extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.basicTypes=exports.BasicType=exports.TParamList=exports.TParam=exports.param=exports.TFunc=exports.func=exports.TProp=exports.TOptional=exports.opt=exports.TIface=exports.iface=exports.TEnumLiteral=exports.enumlit=exports.TEnumType=exports.enumtype=exports.TIntersection=exports.intersection=exports.TUnion=exports.union=exports.TTuple=exports.tuple=exports.TArray=exports.array=exports.TLiteral=exports.lit=exports.TName=exports.name=exports.TType=void 0;var util_1=__webpack_require__(44725),TType=function(){function TType2(){}return TType2}();exports.TType=TType;function parseSpec(typeSpec){return typeof typeSpec=="string"?name(typeSpec):typeSpec}function getNamedType(suite,name2){var ttype=suite[name2];if(!ttype)throw new Error("Unknown type "+name2);return ttype}function name(value){return new TName(value)}exports.name=name;var TName=function(_super){__extends(TName2,_super);function TName2(name2){var _this=_super.call(this)||this;return _this.name=name2,_this._failMsg="is not a "+name2,_this}return TName2.prototype.getChecker=function(suite,strict,allowedProps){var _this=this,ttype=getNamedType(suite,this.name),checker=ttype.getChecker(suite,strict,allowedProps);return ttype instanceof BasicType||ttype instanceof TName2?checker:function(value,ctx){return checker(value,ctx)?!0:ctx.fail(null,_this._failMsg,0)}},TName2}(TType);exports.TName=TName;function lit(value){return new TLiteral(value)}exports.lit=lit;var TLiteral=function(_super){__extends(TLiteral2,_super);function TLiteral2(value){var _this=_super.call(this)||this;return _this.value=value,_this.name=JSON.stringify(value),_this._failMsg="is not "+_this.name,_this}return TLiteral2.prototype.getChecker=function(suite,strict){var _this=this;return function(value,ctx){return value===_this.value?!0:ctx.fail(null,_this._failMsg,-1)}},TLiteral2}(TType);exports.TLiteral=TLiteral;function array(typeSpec){return new TArray(parseSpec(typeSpec))}exports.array=array;var TArray=function(_super){__extends(TArray2,_super);function TArray2(ttype){var _this=_super.call(this)||this;return _this.ttype=ttype,_this}return TArray2.prototype.getChecker=function(suite,strict){var itemChecker=this.ttype.getChecker(suite,strict);return function(value,ctx){if(!Array.isArray(value))return ctx.fail(null,"is not an array",0);for(var i=0;i<value.length;i++){var ok=itemChecker(value[i],ctx);if(!ok)return ctx.fail(i,null,1)}return!0}},TArray2}(TType);exports.TArray=TArray;function tuple(){for(var typeSpec=[],_i2=0;_i2<arguments.length;_i2++)typeSpec[_i2]=arguments[_i2];return new TTuple(typeSpec.map(function(t){return parseSpec(t)}))}exports.tuple=tuple;var TTuple=function(_super){__extends(TTuple2,_super);function TTuple2(ttypes){var _this=_super.call(this)||this;return _this.ttypes=ttypes,_this}return TTuple2.prototype.getChecker=function(suite,strict){var itemCheckers=this.ttypes.map(function(t){return t.getChecker(suite,strict)}),checker=function(value,ctx){if(!Array.isArray(value))return ctx.fail(null,"is not an array",0);for(var i=0;i<itemCheckers.length;i++){var ok=itemCheckers[i](value[i],ctx);if(!ok)return ctx.fail(i,null,1)}return!0};return strict?function(value,ctx){return checker(value,ctx)?value.length<=itemCheckers.length?!0:ctx.fail(itemCheckers.length,"is extraneous",2):!1}:checker},TTuple2}(TType);exports.TTuple=TTuple;function union(){for(var typeSpec=[],_i2=0;_i2<arguments.length;_i2++)typeSpec[_i2]=arguments[_i2];return new TUnion(typeSpec.map(function(t){return parseSpec(t)}))}exports.union=union;var TUnion=function(_super){__extends(TUnion2,_super);function TUnion2(ttypes){var _this=_super.call(this)||this;_this.ttypes=ttypes;var names=ttypes.map(function(t){return t instanceof TName||t instanceof TLiteral?t.name:null}).filter(function(n){return n}),otherTypes=ttypes.length-names.length;return names.length?(otherTypes>0&&names.push(otherTypes+" more"),_this._failMsg="is none of "+names.join(", ")):_this._failMsg="is none of "+otherTypes+" types",_this}return TUnion2.prototype.getChecker=function(suite,strict){var _this=this,itemCheckers=this.ttypes.map(function(t){return t.getChecker(suite,strict)});return function(value,ctx){for(var ur=ctx.unionResolver(),i=0;i<itemCheckers.length;i++){var ok=itemCheckers[i](value,ur.createContext());if(ok)return!0}return ctx.resolveUnion(ur),ctx.fail(null,_this._failMsg,0)}},TUnion2}(TType);exports.TUnion=TUnion;function intersection(){for(var typeSpec=[],_i2=0;_i2<arguments.length;_i2++)typeSpec[_i2]=arguments[_i2];return new TIntersection(typeSpec.map(function(t){return parseSpec(t)}))}exports.intersection=intersection;var TIntersection=function(_super){__extends(TIntersection2,_super);function TIntersection2(ttypes){var _this=_super.call(this)||this;return _this.ttypes=ttypes,_this}return TIntersection2.prototype.getChecker=function(suite,strict){var allowedProps=new Set,itemCheckers=this.ttypes.map(function(t){return t.getChecker(suite,strict,allowedProps)});return function(value,ctx){var ok=itemCheckers.every(function(checker){return checker(value,ctx)});return ok?!0:ctx.fail(null,null,0)}},TIntersection2}(TType);exports.TIntersection=TIntersection;function enumtype(values){return new TEnumType(values)}exports.enumtype=enumtype;var TEnumType=function(_super){__extends(TEnumType2,_super);function TEnumType2(members){var _this=_super.call(this)||this;return _this.members=members,_this.validValues=new Set,_this._failMsg="is not a valid enum value",_this.validValues=new Set(Object.keys(members).map(function(name2){return members[name2]})),_this}return TEnumType2.prototype.getChecker=function(suite,strict){var _this=this;return function(value,ctx){return _this.validValues.has(value)?!0:ctx.fail(null,_this._failMsg,0)}},TEnumType2}(TType);exports.TEnumType=TEnumType;function enumlit(name2,prop){return new TEnumLiteral(name2,prop)}exports.enumlit=enumlit;var TEnumLiteral=function(_super){__extends(TEnumLiteral2,_super);function TEnumLiteral2(enumName,prop){var _this=_super.call(this)||this;return _this.enumName=enumName,_this.prop=prop,_this._failMsg="is not "+enumName+"."+prop,_this}return TEnumLiteral2.prototype.getChecker=function(suite,strict){var _this=this,ttype=getNamedType(suite,this.enumName);if(!(ttype instanceof TEnumType))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var val=ttype.members[this.prop];if(!ttype.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(value,ctx){return value===val?!0:ctx.fail(null,_this._failMsg,-1)}},TEnumLiteral2}(TType);exports.TEnumLiteral=TEnumLiteral;function makeIfaceProps(props){return Object.keys(props).map(function(name2){return makeIfaceProp(name2,props[name2])})}function makeIfaceProp(name2,prop){return prop instanceof TOptional?new TProp(name2,prop.ttype,!0):new TProp(name2,parseSpec(prop),!1)}function iface(bases,props){return new TIface(bases,makeIfaceProps(props))}exports.iface=iface;var TIface=function(_super){__extends(TIface2,_super);function TIface2(bases,props){var _this=_super.call(this)||this;return _this.bases=bases,_this.props=props,_this.propSet=new Set(props.map(function(p){return p.name})),_this}return TIface2.prototype.getChecker=function(suite,strict,allowedProps){var _this=this,baseCheckers=this.bases.map(function(b){return getNamedType(suite,b).getChecker(suite,strict)}),propCheckers=this.props.map(function(prop){return prop.ttype.getChecker(suite,strict)}),testCtx=new util_1.NoopContext,isPropRequired=this.props.map(function(prop,i){return!prop.isOpt&&!propCheckers[i](void 0,testCtx)}),checker=function(value,ctx){if(typeof value!="object"||value===null)return ctx.fail(null,"is not an object",0);for(var i=0;i<baseCheckers.length;i++)if(!baseCheckers[i](value,ctx))return!1;for(var i=0;i<propCheckers.length;i++){var name_1=_this.props[i].name,v=value[name_1];if(v===void 0){if(isPropRequired[i])return ctx.fail(name_1,"is missing",1)}else{var ok=propCheckers[i](v,ctx);if(!ok)return ctx.fail(name_1,null,1)}}return!0};if(!strict)return checker;var propSet=this.propSet;return allowedProps&&(this.propSet.forEach(function(prop){return allowedProps.add(prop)}),propSet=allowedProps),function(value,ctx){if(!checker(value,ctx))return!1;for(var prop in value)if(!propSet.has(prop))return ctx.fail(prop,"is extraneous",2);return!0}},TIface2}(TType);exports.TIface=TIface;function opt(typeSpec){return new TOptional(parseSpec(typeSpec))}exports.opt=opt;var TOptional=function(_super){__extends(TOptional2,_super);function TOptional2(ttype){var _this=_super.call(this)||this;return _this.ttype=ttype,_this}return TOptional2.prototype.getChecker=function(suite,strict){var itemChecker=this.ttype.getChecker(suite,strict);return function(value,ctx){return value===void 0||itemChecker(value,ctx)}},TOptional2}(TType);exports.TOptional=TOptional;var TProp=function(){function TProp2(name2,ttype,isOpt){this.name=name2,this.ttype=ttype,this.isOpt=isOpt}return TProp2}();exports.TProp=TProp;function func(resultSpec){for(var params=[],_i2=1;_i2<arguments.length;_i2++)params[_i2-1]=arguments[_i2];return new TFunc(new TParamList(params),parseSpec(resultSpec))}exports.func=func;var TFunc=function(_super){__extends(TFunc2,_super);function TFunc2(paramList,result){var _this=_super.call(this)||this;return _this.paramList=paramList,_this.result=result,_this}return TFunc2.prototype.getChecker=function(suite,strict){return function(value,ctx){return typeof value=="function"?!0:ctx.fail(null,"is not a function",0)}},TFunc2}(TType);exports.TFunc=TFunc;function param(name2,typeSpec,isOpt){return new TParam(name2,parseSpec(typeSpec),Boolean(isOpt))}exports.param=param;var TParam=function(){function TParam2(name2,ttype,isOpt){this.name=name2,this.ttype=ttype,this.isOpt=isOpt}return TParam2}();exports.TParam=TParam;var TParamList=function(_super){__extends(TParamList2,_super);function TParamList2(params){var _this=_super.call(this)||this;return _this.params=params,_this}return TParamList2.prototype.getChecker=function(suite,strict){var _this=this,itemCheckers=this.params.map(function(t){return t.ttype.getChecker(suite,strict)}),testCtx=new util_1.NoopContext,isParamRequired=this.params.map(function(param2,i){return!param2.isOpt&&!itemCheckers[i](void 0,testCtx)}),checker=function(value,ctx){if(!Array.isArray(value))return ctx.fail(null,"is not an array",0);for(var i=0;i<itemCheckers.length;i++){var p=_this.params[i];if(value[i]===void 0){if(isParamRequired[i])return ctx.fail(p.name,"is missing",1)}else{var ok=itemCheckers[i](value[i],ctx);if(!ok)return ctx.fail(p.name,null,1)}}return!0};return strict?function(value,ctx){return checker(value,ctx)?value.length<=itemCheckers.length?!0:ctx.fail(itemCheckers.length,"is extraneous",2):!1}:checker},TParamList2}(TType);exports.TParamList=TParamList;var BasicType=function(_super){__extends(BasicType2,_super);function BasicType2(validator,message){var _this=_super.call(this)||this;return _this.validator=validator,_this.message=message,_this}return BasicType2.prototype.getChecker=function(suite,strict){var _this=this;return function(value,ctx){return _this.validator(value)?!0:ctx.fail(null,_this.message,0)}},BasicType2}(TType);exports.BasicType=BasicType,exports.basicTypes={any:new BasicType(function(v){return!0},"is invalid"),number:new BasicType(function(v){return typeof v=="number"},"is not a number"),object:new BasicType(function(v){return typeof v=="object"&&v},"is not an object"),boolean:new BasicType(function(v){return typeof v=="boolean"},"is not a boolean"),string:new BasicType(function(v){return typeof v=="string"},"is not a string"),symbol:new BasicType(function(v){return typeof v=="symbol"},"is not a symbol"),void:new BasicType(function(v){return v==null},"is not void"),undefined:new BasicType(function(v){return v===void 0},"is not undefined"),null:new BasicType(function(v){return v===null},"is not null"),never:new BasicType(function(v){return!1},"is unexpected"),Date:new BasicType(getIsNativeChecker("[object Date]"),"is not a Date"),RegExp:new BasicType(getIsNativeChecker("[object RegExp]"),"is not a RegExp")};var nativeToString=Object.prototype.toString;function getIsNativeChecker(tag){return function(v){return typeof v=="object"&&v&&nativeToString.call(v)===tag}}typeof Buffer<"u"&&(exports.basicTypes.Buffer=new BasicType(function(v){return Buffer.isBuffer(v)},"is not a Buffer"));for(var _loop_1=function(array_12){exports.basicTypes[array_12.name]=new BasicType(function(v){return v instanceof array_12},"is not a "+array_12.name)},_i=0,_a=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];_i<_a.length;_i++){var array_1=_a[_i];_loop_1(array_1)}},44725:function(__unused_webpack_module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.DetailContext=exports.NoopContext=exports.VError=void 0;var VError=function(_super){__extends(VError2,_super);function VError2(path,message){var _this=_super.call(this,message)||this;return _this.path=path,Object.setPrototypeOf(_this,VError2.prototype),_this}return VError2}(Error);exports.VError=VError;var NoopContext=function(){function NoopContext2(){}return NoopContext2.prototype.fail=function(relPath,message,score){return!1},NoopContext2.prototype.unionResolver=function(){return this},NoopContext2.prototype.createContext=function(){return this},NoopContext2.prototype.resolveUnion=function(ur){},NoopContext2}();exports.NoopContext=NoopContext;var DetailContext=function(){function DetailContext2(){this._propNames=[""],this._messages=[null],this._score=0}return DetailContext2.prototype.fail=function(relPath,message,score){return this._propNames.push(relPath),this._messages.push(message),this._score+=score,!1},DetailContext2.prototype.unionResolver=function(){return new DetailUnionResolver},DetailContext2.prototype.resolveUnion=function(unionResolver){for(var _a,_b,u=unionResolver,best=null,_i=0,_c=u.contexts;_i<_c.length;_i++){var ctx=_c[_i];(!best||ctx._score>=best._score)&&(best=ctx)}best&&best._score>0&&((_a=this._propNames).push.apply(_a,best._propNames),(_b=this._messages).push.apply(_b,best._messages))},DetailContext2.prototype.getError=function(path){for(var msgParts=[],i=this._propNames.length-1;i>=0;i--){var p=this._propNames[i];path+=typeof p=="number"?"["+p+"]":p?"."+p:"";var m=this._messages[i];m&&msgParts.push(path+" "+m)}return new VError(path,msgParts.join("; "))},DetailContext2.prototype.getErrorDetail=function(path){for(var details=[],i=this._propNames.length-1;i>=0;i--){var p=this._propNames[i];path+=typeof p=="number"?"["+p+"]":p?"."+p:"";var message=this._messages[i];message&&details.push({path,message})}for(var detail=null,i=details.length-1;i>=0;i--)detail&&(details[i].nested=[detail]),detail=details[i];return detail},DetailContext2}();exports.DetailContext=DetailContext;var DetailUnionResolver=function(){function DetailUnionResolver2(){this.contexts=[]}return DetailUnionResolver2.prototype.createContext=function(){var ctx=new DetailContext;return this.contexts.push(ctx),ctx},DetailUnionResolver2}()},83639:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;(function(window2,undefined2){"use strict";var LIBVERSION="1.0.37",EMPTY="",UNKNOWN="?",FUNC_TYPE="function",UNDEF_TYPE="undefined",OBJ_TYPE="object",STR_TYPE="string",MAJOR="major",MODEL="model",NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",ARCHITECTURE="architecture",CONSOLE="console",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",WEARABLE="wearable",EMBEDDED="embedded",UA_MAX_LENGTH=500,AMAZON="Amazon",APPLE="Apple",ASUS="ASUS",BLACKBERRY="BlackBerry",BROWSER="Browser",CHROME="Chrome",EDGE="Edge",FIREFOX="Firefox",GOOGLE="Google",HUAWEI="Huawei",LG="LG",MICROSOFT="Microsoft",MOTOROLA="Motorola",OPERA="Opera",SAMSUNG="Samsung",SHARP="Sharp",SONY="Sony",XIAOMI="Xiaomi",ZEBRA="Zebra",FACEBOOK="Facebook",CHROMIUM_OS="Chromium OS",MAC_OS="Mac OS",extend=function(regexes2,extensions){var mergedRegexes={};for(var i in regexes2)extensions[i]&&extensions[i].length%2===0?mergedRegexes[i]=extensions[i].concat(regexes2[i]):mergedRegexes[i]=regexes2[i];return mergedRegexes},enumerize=function(arr){for(var enums={},i=0;i<arr.length;i++)enums[arr[i].toUpperCase()]=arr[i];return enums},has=function(str1,str2){return typeof str1===STR_TYPE?lowerize(str2).indexOf(lowerize(str1))!==-1:!1},lowerize=function(str){return str.toLowerCase()},majorize=function(version){return typeof version===STR_TYPE?version.replace(/[^\d\.]/g,EMPTY).split(".")[0]:undefined2},trim=function(str,len){if(typeof str===STR_TYPE)return str=str.replace(/^\s\s*/,EMPTY),typeof len===UNDEF_TYPE?str:str.substring(0,UA_MAX_LENGTH)},rgxMapper=function(ua,arrays){for(var i=0,j,k,p,q,matches,match;i<arrays.length&&!matches;){var regex=arrays[i],props=arrays[i+1];for(j=k=0;j<regex.length&&!matches&&regex[j];)if(matches=regex[j++].exec(ua),matches)for(p=0;p<props.length;p++)match=matches[++k],q=props[p],typeof q===OBJ_TYPE&&q.length>0?q.length===2?typeof q[1]==FUNC_TYPE?this[q[0]]=q[1].call(this,match):this[q[0]]=q[1]:q.length===3?typeof q[1]===FUNC_TYPE&&!(q[1].exec&&q[1].test)?this[q[0]]=match?q[1].call(this,match,q[2]):undefined2:this[q[0]]=match?match.replace(q[1],q[2]):undefined2:q.length===4&&(this[q[0]]=match?q[3].call(this,match.replace(q[1],q[2])):undefined2):this[q]=match||undefined2;i+=2}},strMapper=function(str,map){for(var i in map)if(typeof map[i]===OBJ_TYPE&&map[i].length>0){for(var j=0;j<map[i].length;j++)if(has(map[i][j],str))return i===UNKNOWN?undefined2:i}else if(has(map[i],str))return i===UNKNOWN?undefined2:i;return str},oldSafariMap={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},windowsVersionMap={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0","2000":"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0","7":"NT 6.1","8":"NT 6.2","8.1":"NT 6.3","10":["NT 6.4","NT 10.0"],RT:"ARM"},regexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,OPERA+" Mini"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,OPERA]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[NAME,VERSION],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UC"+BROWSER]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo "+BROWSER]],[/(avast|avg)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure "+BROWSER],VERSION],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,FIREFOX+" Focus"]],[/\bopt\/([\w\.]+)/i],[VERSION,[NAME,OPERA+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,OPERA+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI "+BROWSER]],[/fxios\/([-\w\.]+)/i],[VERSION,[NAME,FIREFOX]],[/\bqihu|(qi?ho?o?|360)browser/i],[[NAME,"360 "+BROWSER]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 "+BROWSER],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,SAMSUNG+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[NAME,/_/g," "],VERSION],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,FACEBOOK],VERSION],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,CHROME+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,CHROME+" WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android "+BROWSER]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[VERSION,[NAME,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,strMapper,oldSafariMap]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,FIREFOX+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[NAME,VERSION],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[ARCHITECTURE,"amd64"]],[/(ia32(?=;))/i],[[ARCHITECTURE,lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[ARCHITECTURE,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[ARCHITECTURE,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[ARCHITECTURE,"armhf"]],[/windows (ce|mobile); ppc;/i],[[ARCHITECTURE,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[ARCHITECTURE,/ower/,EMPTY,lowerize]],[/(sun4\w)[;\)]/i],[[ARCHITECTURE,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[ARCHITECTURE,lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,SAMSUNG],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,SAMSUNG],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[MODEL,[VENDOR,APPLE],[TYPE,MOBILE]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[MODEL,[VENDOR,APPLE],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,APPLE]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,SHARP],[TYPE,MOBILE]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[MODEL,[VENDOR,HUAWEI],[TYPE,TABLET]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,HUAWEI],[TYPE,MOBILE]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,XIAOMI],[TYPE,MOBILE]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,XIAOMI],[TYPE,TABLET]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,MOTOROLA],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,MOTOROLA],[TYPE,TABLET]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,LG],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,LG],[TYPE,MOBILE]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[MODEL,/_/g," "],[VENDOR,"Nokia"],[TYPE,MOBILE]],[/(pixel c)\b/i],[MODEL,[VENDOR,GOOGLE],[TYPE,TABLET]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[MODEL,[VENDOR,GOOGLE],[TYPE,MOBILE]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,SONY],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,SONY],[TYPE,TABLET]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,AMAZON],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,AMAZON],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[MODEL,[VENDOR,BLACKBERRY],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,ASUS],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,ASUS],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,MICROSOFT],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/(u304aa)/i],[MODEL,[VENDOR,"AT&T"],[TYPE,MOBILE]],[/\bsie-(\w*)/i],[MODEL,[VENDOR,"Siemens"],[TYPE,MOBILE]],[/\b(rct\w+) b/i],[MODEL,[VENDOR,"RCA"],[TYPE,TABLET]],[/\b(venue[\d ]{2,7}) b/i],[MODEL,[VENDOR,"Dell"],[TYPE,TABLET]],[/\b(q(?:mv|ta)\w+) b/i],[MODEL,[VENDOR,"Verizon"],[TYPE,TABLET]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[MODEL,[VENDOR,"Barnes & Noble"],[TYPE,TABLET]],[/\b(tm\d{3}\w+) b/i],[MODEL,[VENDOR,"NuVision"],[TYPE,TABLET]],[/\b(k88) b/i],[MODEL,[VENDOR,"ZTE"],[TYPE,TABLET]],[/\b(nx\d{3}j) b/i],[MODEL,[VENDOR,"ZTE"],[TYPE,MOBILE]],[/\b(gen\d{3}) b.+49h/i],[MODEL,[VENDOR,"Swiss"],[TYPE,MOBILE]],[/\b(zur\d{3}) b/i],[MODEL,[VENDOR,"Swiss"],[TYPE,TABLET]],[/\b((zeki)?tb.*\b) b/i],[MODEL,[VENDOR,"Zeki"],[TYPE,TABLET]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[VENDOR,"Dragon Touch"],MODEL,[TYPE,TABLET]],[/\b(ns-?\w{0,9}) b/i],[MODEL,[VENDOR,"Insignia"],[TYPE,TABLET]],[/\b((nxa|next)-?\w{0,9}) b/i],[MODEL,[VENDOR,"NextBook"],[TYPE,TABLET]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[VENDOR,"Voice"],MODEL,[TYPE,MOBILE]],[/\b(lvtel\-)?(v1[12]) b/i],[[VENDOR,"LvTel"],MODEL,[TYPE,MOBILE]],[/\b(ph-1) /i],[MODEL,[VENDOR,"Essential"],[TYPE,MOBILE]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[MODEL,[VENDOR,"Envizen"],[TYPE,TABLET]],[/\b(trio[-\w\. ]+) b/i],[MODEL,[VENDOR,"MachSpeed"],[TYPE,TABLET]],[/\btu_(1491) b/i],[MODEL,[VENDOR,"Rotor"],[TYPE,TABLET]],[/(shield[\w ]+) b/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,MICROSOFT],[TYPE,MOBILE]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,ZEBRA],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,ZEBRA],[TYPE,MOBILE]],[/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,SAMSUNG],[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,LG],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,APPLE+" TV"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,CHROME+"cast"],[VENDOR,GOOGLE],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,AMAZON],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,SHARP],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,SONY],[TYPE,SMARTTV]],[/(mitv-\w{5}) bui/i],[MODEL,[VENDOR,XIAOMI],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,trim],[MODEL,trim],[TYPE,SMARTTV]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[TYPE,SMARTTV]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[VENDOR,MODEL,[TYPE,CONSOLE]],[/droid.+; (shield) bui/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,CONSOLE]],[/(playstation [345portablevi]+)/i],[MODEL,[VENDOR,SONY],[TYPE,CONSOLE]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,MICROSOFT],[TYPE,CONSOLE]],[/((pebble))app/i],[VENDOR,MODEL,[TYPE,WEARABLE]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,APPLE],[TYPE,WEARABLE]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,GOOGLE],[TYPE,WEARABLE]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,ZEBRA],[TYPE,WEARABLE]],[/(quest( 2| pro)?)/i],[MODEL,[VENDOR,FACEBOOK],[TYPE,WEARABLE]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,EMBEDDED]],[/(aeobc)\b/i],[MODEL,[VENDOR,AMAZON],[TYPE,EMBEDDED]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[MODEL,[TYPE,MOBILE]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[MODEL,[TYPE,TABLET]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/(android[-\w\. ]{0,9});.+buil/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,EDGE+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/microsoft (windows) (vista|xp)/i],[NAME,VERSION],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[NAME,[VERSION,strMapper,windowsVersionMap]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[VERSION,strMapper,windowsVersionMap],[NAME,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[NAME,MAC_OS],[VERSION,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[VERSION,NAME],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,BLACKBERRY]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[VERSION,[NAME,FIREFOX+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[VERSION,[NAME,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,CHROME+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[NAME,CHROMIUM_OS],VERSION],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[NAME,VERSION],[/(sunos) ?([\w\.\d]*)/i],[[NAME,"Solaris"],VERSION],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},UAParser=function(ua,extensions){if(typeof ua===OBJ_TYPE&&(extensions=ua,ua=undefined2),!(this instanceof UAParser))return new UAParser(ua,extensions).getResult();var _navigator=typeof window2!==UNDEF_TYPE&&window2.navigator?window2.navigator:undefined2,_ua=ua||(_navigator&&_navigator.userAgent?_navigator.userAgent:EMPTY),_uach=_navigator&&_navigator.userAgentData?_navigator.userAgentData:undefined2,_rgxmap=extensions?extend(regexes,extensions):regexes,_isSelfNav=_navigator&&_navigator.userAgent==_ua;return this.getBrowser=function(){var _browser={};return _browser[NAME]=undefined2,_browser[VERSION]=undefined2,rgxMapper.call(_browser,_ua,_rgxmap.browser),_browser[MAJOR]=majorize(_browser[VERSION]),_isSelfNav&&_navigator&&_navigator.brave&&typeof _navigator.brave.isBrave==FUNC_TYPE&&(_browser[NAME]="Brave"),_browser},this.getCPU=function(){var _cpu={};return _cpu[ARCHITECTURE]=undefined2,rgxMapper.call(_cpu,_ua,_rgxmap.cpu),_cpu},this.getDevice=function(){var _device={};return _device[VENDOR]=undefined2,_device[MODEL]=undefined2,_device[TYPE]=undefined2,rgxMapper.call(_device,_ua,_rgxmap.device),_isSelfNav&&!_device[TYPE]&&_uach&&_uach.mobile&&(_device[TYPE]=MOBILE),_isSelfNav&&_device[MODEL]=="Macintosh"&&_navigator&&typeof _navigator.standalone!==UNDEF_TYPE&&_navigator.maxTouchPoints&&_navigator.maxTouchPoints>2&&(_device[MODEL]="iPad",_device[TYPE]=TABLET),_device},this.getEngine=function(){var _engine={};return _engine[NAME]=undefined2,_engine[VERSION]=undefined2,rgxMapper.call(_engine,_ua,_rgxmap.engine),_engine},this.getOS=function(){var _os={};return _os[NAME]=undefined2,_os[VERSION]=undefined2,rgxMapper.call(_os,_ua,_rgxmap.os),_isSelfNav&&!_os[NAME]&&_uach&&_uach.platform!="Unknown"&&(_os[NAME]=_uach.platform.replace(/chrome os/i,CHROMIUM_OS).replace(/macos/i,MAC_OS)),_os},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return _ua},this.setUA=function(ua2){return _ua=typeof ua2===STR_TYPE&&ua2.length>UA_MAX_LENGTH?trim(ua2,UA_MAX_LENGTH):ua2,this},this.setUA(_ua),this};UAParser.VERSION=LIBVERSION,UAParser.BROWSER=enumerize([NAME,VERSION,MAJOR]),UAParser.CPU=enumerize([ARCHITECTURE]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,CONSOLE,MOBILE,SMARTTV,TABLET,WEARABLE,EMBEDDED]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]),typeof exports!==UNDEF_TYPE?(UNDEF_TYPE!=="object"&&module.exports&&(exports=module.exports=UAParser),exports.UAParser=UAParser):FUNC_TYPE==="function"&&__webpack_require__.amdO?(__WEBPACK_AMD_DEFINE_RESULT__=function(){return UAParser}.call(exports,__webpack_require__,exports,module),__WEBPACK_AMD_DEFINE_RESULT__!==undefined2&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)):typeof window2!==UNDEF_TYPE&&(window2.UAParser=UAParser);var $=typeof window2!==UNDEF_TYPE&&(window2.jQuery||window2.Zepto);if($&&!$.ua){var parser=new UAParser;$.ua=parser.getResult(),$.ua.get=function(){return parser.getUA()},$.ua.set=function(ua){parser.setUA(ua);var result=parser.getResult();for(var prop in result)$.ua[prop]=result[prop]}}})(typeof window=="object"?window:this)},52296:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var required=__webpack_require__(41384),qs=__webpack_require__(98878),controlOrWhitespace=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,CRHTLF=/[\n\r\t]/g,slashes=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,port=/:\d+$/,protocolre=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,windowsDriveLetter=/^[a-zA-Z]:/;function trimLeft(str){return(str||"").toString().replace(controlOrWhitespace,"")}var rules=[["#","hash"],["?","query"],function(address,url){return isSpecial(url.protocol)?address.replace(/\\/g,"/"):address},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ignore={hash:1,query:1};function lolcation(loc){var globalVar;typeof window<"u"?globalVar=window:typeof __webpack_require__.g<"u"?globalVar=__webpack_require__.g:typeof self<"u"?globalVar=self:globalVar={};var location=globalVar.location||{};loc=loc||location;var finaldestination={},type=typeof loc,key;if(loc.protocol==="blob:")finaldestination=new Url(unescape(loc.pathname),{});else if(type==="string"){finaldestination=new Url(loc,{});for(key in ignore)delete finaldestination[key]}else if(type==="object"){for(key in loc)key in ignore||(finaldestination[key]=loc[key]);finaldestination.slashes===void 0&&(finaldestination.slashes=slashes.test(loc.href))}return finaldestination}function isSpecial(scheme){return scheme==="file:"||scheme==="ftp:"||scheme==="http:"||scheme==="https:"||scheme==="ws:"||scheme==="wss:"}function extractProtocol(address,location){address=trimLeft(address),address=address.replace(CRHTLF,""),location=location||{};var match=protocolre.exec(address),protocol=match[1]?match[1].toLowerCase():"",forwardSlashes=!!match[2],otherSlashes=!!match[3],slashesCount=0,rest;return forwardSlashes?otherSlashes?(rest=match[2]+match[3]+match[4],slashesCount=match[2].length+match[3].length):(rest=match[2]+match[4],slashesCount=match[2].length):otherSlashes?(rest=match[3]+match[4],slashesCount=match[3].length):rest=match[4],protocol==="file:"?slashesCount>=2&&(rest=rest.slice(2)):isSpecial(protocol)?rest=match[4]:protocol?forwardSlashes&&(rest=rest.slice(2)):slashesCount>=2&&isSpecial(location.protocol)&&(rest=match[4]),{protocol,slashes:forwardSlashes||isSpecial(protocol),slashesCount,rest}}function resolve(relative,base){if(relative==="")return base;for(var path=(base||"/").split("/").slice(0,-1).concat(relative.split("/")),i=path.length,last=path[i-1],unshift=!1,up=0;i--;)path[i]==="."?path.splice(i,1):path[i]===".."?(path.splice(i,1),up++):up&&(i===0&&(unshift=!0),path.splice(i,1),up--);return unshift&&path.unshift(""),(last==="."||last==="..")&&path.push(""),path.join("/")}function Url(address,location,parser){if(address=trimLeft(address),address=address.replace(CRHTLF,""),!(this instanceof Url))return new Url(address,location,parser);var relative,extracted,parse,instruction,index,key,instructions=rules.slice(),type=typeof location,url=this,i=0;for(type!=="object"&&type!=="string"&&(parser=location,location=null),parser&&typeof parser!="function"&&(parser=qs.parse),location=lolcation(location),extracted=extractProtocol(address||"",location),relative=!extracted.protocol&&!extracted.slashes,url.slashes=extracted.slashes||relative&&location.slashes,url.protocol=extracted.protocol||location.protocol||"",address=extracted.rest,(extracted.protocol==="file:"&&(extracted.slashesCount!==2||windowsDriveLetter.test(address))||!extracted.slashes&&(extracted.protocol||extracted.slashesCount<2||!isSpecial(url.protocol)))&&(instructions[3]=[/(.*)/,"pathname"]);i<instructions.length;i++){if(instruction=instructions[i],typeof instruction=="function"){address=instruction(address,url);continue}parse=instruction[0],key=instruction[1],parse!==parse?url[key]=address:typeof parse=="string"?(index=parse==="@"?address.lastIndexOf(parse):address.indexOf(parse),~index&&(typeof instruction[2]=="number"?(url[key]=address.slice(0,index),address=address.slice(index+instruction[2])):(url[key]=address.slice(index),address=address.slice(0,index)))):(index=parse.exec(address))&&(url[key]=index[1],address=address.slice(0,index.index)),url[key]=url[key]||relative&&instruction[3]&&location[key]||"",instruction[4]&&(url[key]=url[key].toLowerCase())}parser&&(url.query=parser(url.query)),relative&&location.slashes&&url.pathname.charAt(0)!=="/"&&(url.pathname!==""||location.pathname!=="")&&(url.pathname=resolve(url.pathname,location.pathname)),url.pathname.charAt(0)!=="/"&&isSpecial(url.protocol)&&(url.pathname="/"+url.pathname),required(url.port,url.protocol)||(url.host=url.hostname,url.port=""),url.username=url.password="",url.auth&&(index=url.auth.indexOf(":"),~index?(url.username=url.auth.slice(0,index),url.username=encodeURIComponent(decodeURIComponent(url.username)),url.password=url.auth.slice(index+1),url.password=encodeURIComponent(decodeURIComponent(url.password))):url.username=encodeURIComponent(decodeURIComponent(url.auth)),url.auth=url.password?url.username+":"+url.password:url.username),url.origin=url.protocol!=="file:"&&isSpecial(url.protocol)&&url.host?url.protocol+"//"+url.host:"null",url.href=url.toString()}function set(part,value,fn){var url=this;switch(part){case"query":typeof value=="string"&&value.length&&(value=(fn||qs.parse)(value)),url[part]=value;break;case"port":url[part]=value,required(value,url.protocol)?value&&(url.host=url.hostname+":"+value):(url.host=url.hostname,url[part]="");break;case"hostname":url[part]=value,url.port&&(value+=":"+url.port),url.host=value;break;case"host":url[part]=value,port.test(value)?(value=value.split(":"),url.port=value.pop(),url.hostname=value.join(":")):(url.hostname=value,url.port="");break;case"protocol":url.protocol=value.toLowerCase(),url.slashes=!fn;break;case"pathname":case"hash":if(value){var char=part==="pathname"?"/":"#";url[part]=value.charAt(0)!==char?char+value:value}else url[part]=value;break;case"username":case"password":url[part]=encodeURIComponent(value);break;case"auth":var index=value.indexOf(":");~index?(url.username=value.slice(0,index),url.username=encodeURIComponent(decodeURIComponent(url.username)),url.password=value.slice(index+1),url.password=encodeURIComponent(decodeURIComponent(url.password))):url.username=encodeURIComponent(decodeURIComponent(value))}for(var i=0;i<rules.length;i++){var ins=rules[i];ins[4]&&(url[ins[1]]=url[ins[1]].toLowerCase())}return url.auth=url.password?url.username+":"+url.password:url.username,url.origin=url.protocol!=="file:"&&isSpecial(url.protocol)&&url.host?url.protocol+"//"+url.host:"null",url.href=url.toString(),url}function toString(stringify){(!stringify||typeof stringify!="function")&&(stringify=qs.stringify);var query,url=this,host=url.host,protocol=url.protocol;protocol&&protocol.charAt(protocol.length-1)!==":"&&(protocol+=":");var result=protocol+(url.protocol&&url.slashes||isSpecial(url.protocol)?"//":"");return url.username?(result+=url.username,url.password&&(result+=":"+url.password),result+="@"):url.password?(result+=":"+url.password,result+="@"):url.protocol!=="file:"&&isSpecial(url.protocol)&&!host&&url.pathname!=="/"&&(result+="@"),(host[host.length-1]===":"||port.test(url.hostname)&&!url.port)&&(host+=":"),result+=host+url.pathname,query=typeof url.query=="object"?stringify(url.query):url.query,query&&(result+=query.charAt(0)!=="?"?"?"+query:query),url.hash&&(result+=url.hash),result}Url.prototype={set,toString},Url.extractProtocol=extractProtocol,Url.location=lolcation,Url.trimLeft=trimLeft,Url.qs=qs,module.exports=Url},64442:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__,punycode=__webpack_require__(87004);function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r",`
322
315
  `," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=__webpack_require__(69787);function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&typeof url=="object"&&url instanceof Url)return url;var u=new Url;return u.parse(url,parseQueryString,slashesDenoteHost),u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(typeof url!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof url);var queryIndex=url.indexOf("?"),splitter=queryIndex!==-1&&queryIndex<url.indexOf("#")?"?":"#",uSplit=url.split(splitter),slashRegex=/\\/g;uSplit[0]=uSplit[0].replace(slashRegex,"/"),url=uSplit.join(splitter);var rest=url;if(rest=rest.trim(),!slashesDenoteHost&&url.split("#").length===1){var simplePath=simplePathPattern.exec(rest);if(simplePath)return this.path=rest,this.href=rest,this.pathname=simplePath[1],simplePath[2]?(this.search=simplePath[2],parseQueryString?this.query=querystring.parse(this.search.substr(1)):this.query=this.search.substr(1)):parseQueryString&&(this.search="",this.query={}),this}var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];var lowerProto=proto.toLowerCase();this.protocol=lowerProto,rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@/]+@[^@/]+/)){var slashes=rest.substr(0,2)==="//";slashes&&!(proto&&hostlessProtocol[proto])&&(rest=rest.substr(2),this.slashes=!0)}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){for(var hostEnd=-1,i=0;i<hostEndingChars.length;i++){var hec=rest.indexOf(hostEndingChars[i]);hec!==-1&&(hostEnd===-1||hec<hostEnd)&&(hostEnd=hec)}var auth,atSign;hostEnd===-1?atSign=rest.lastIndexOf("@"):atSign=rest.lastIndexOf("@",hostEnd),atSign!==-1&&(auth=rest.slice(0,atSign),rest=rest.slice(atSign+1),this.auth=decodeURIComponent(auth)),hostEnd=-1;for(var i=0;i<nonHostChars.length;i++){var hec=rest.indexOf(nonHostChars[i]);hec!==-1&&(hostEnd===-1||hec<hostEnd)&&(hostEnd=hec)}hostEnd===-1&&(hostEnd=rest.length),this.host=rest.slice(0,hostEnd),rest=rest.slice(hostEnd),this.parseHost(),this.hostname=this.hostname||"";var ipv6Hostname=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ipv6Hostname)for(var hostparts=this.hostname.split(/\./),i=0,l=hostparts.length;i<l;i++){var part=hostparts[i];if(!!part&&!part.match(hostnamePartPattern)){for(var newpart="",j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i),notHost=hostparts.slice(i+1),bit=part.match(hostnamePartStart);bit&&(validParts.push(bit[1]),notHost.unshift(bit[2])),notHost.length&&(rest="/"+notHost.join(".")+rest),this.hostname=validParts.join(".");break}}}this.hostname.length>hostnameMaxLen?this.hostname="":this.hostname=this.hostname.toLowerCase(),ipv6Hostname||(this.hostname=punycode.toASCII(this.hostname));var p=this.port?":"+this.port:"",h=this.hostname||"";this.host=h+p,this.href+=this.host,ipv6Hostname&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),rest[0]!=="/"&&(rest="/"+rest))}if(!unsafeProtocol[lowerProto])for(var i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i];if(rest.indexOf(ae)!==-1){var esc=encodeURIComponent(ae);esc===ae&&(esc=escape(ae)),rest=rest.split(ae).join(esc)}}var hash=rest.indexOf("#");hash!==-1&&(this.hash=rest.substr(hash),rest=rest.slice(0,hash));var qm=rest.indexOf("?");if(qm!==-1?(this.search=rest.substr(qm),this.query=rest.substr(qm+1),parseQueryString&&(this.query=querystring.parse(this.query)),rest=rest.slice(0,qm)):parseQueryString&&(this.search="",this.query={}),rest&&(this.pathname=rest),slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var p=this.pathname||"",s=this.search||"";this.path=p+s}return this.href=this.format(),this};function urlFormat(obj){return typeof obj=="string"&&(obj=urlParse(obj)),obj instanceof Url?obj.format():Url.prototype.format.call(obj)}Url.prototype.format=function(){var auth=this.auth||"";auth&&(auth=encodeURIComponent(auth),auth=auth.replace(/%3A/i,":"),auth+="@");var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=!1,query="";this.host?host=auth+this.host:this.hostname&&(host=auth+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(host+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(query=querystring.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var search=this.search||query&&"?"+query||"";return protocol&&protocol.substr(-1)!==":"&&(protocol+=":"),this.slashes||(!protocol||slashedProtocol[protocol])&&host!==!1?(host="//"+(host||""),pathname&&pathname.charAt(0)!=="/"&&(pathname="/"+pathname)):host||(host=""),hash&&hash.charAt(0)!=="#"&&(hash="#"+hash),search&&search.charAt(0)!=="?"&&(search="?"+search),pathname=pathname.replace(/[?#]/g,function(match){return encodeURIComponent(match)}),search=search.replace("#","%23"),protocol+host+pathname+search+hash};function urlResolve(source,relative){return urlParse(source,!1,!0).resolve(relative)}Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,!1,!0)).format()};function urlResolveObject(source,relative){return source?urlParse(source,!1,!0).resolveObject(relative):relative}Url.prototype.resolveObject=function(relative){if(typeof relative=="string"){var rel=new Url;rel.parse(relative,!1,!0),relative=rel}for(var result=new Url,tkeys=Object.keys(this),tk=0;tk<tkeys.length;tk++){var tkey=tkeys[tk];result[tkey]=this[tkey]}if(result.hash=relative.hash,relative.href==="")return result.href=result.format(),result;if(relative.slashes&&!relative.protocol){for(var rkeys=Object.keys(relative),rk=0;rk<rkeys.length;rk++){var rkey=rkeys[rk];rkey!=="protocol"&&(result[rkey]=relative[rkey])}return slashedProtocol[result.protocol]&&result.hostname&&!result.pathname&&(result.pathname="/",result.path=result.pathname),result.href=result.format(),result}if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol]){for(var keys=Object.keys(relative),v=0;v<keys.length;v++){var k=keys[v];result[k]=relative[k]}return result.href=result.format(),result}if(result.protocol=relative.protocol,!relative.host&&!hostlessProtocol[relative.protocol]){for(var relPath=(relative.pathname||"").split("/");relPath.length&&!(relative.host=relPath.shift()););relative.host||(relative.host=""),relative.hostname||(relative.hostname=""),relPath[0]!==""&&relPath.unshift(""),relPath.length<2&&relPath.unshift(""),result.pathname=relPath.join("/")}else result.pathname=relative.pathname;if(result.search=relative.search,result.query=relative.query,result.host=relative.host||"",result.auth=relative.auth,result.hostname=relative.hostname||relative.host,result.port=relative.port,result.pathname||result.search){var p=result.pathname||"",s=result.search||"";result.path=p+s}return result.slashes=result.slashes||relative.slashes,result.href=result.format(),result}var isSourceAbs=result.pathname&&result.pathname.charAt(0)==="/",isRelAbs=relative.host||relative.pathname&&relative.pathname.charAt(0)==="/",mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],relPath=relative.pathname&&relative.pathname.split("/")||[],psychotic=result.protocol&&!slashedProtocol[result.protocol];if(psychotic&&(result.hostname="",result.port=null,result.host&&(srcPath[0]===""?srcPath[0]=result.host:srcPath.unshift(result.host)),result.host="",relative.protocol&&(relative.hostname=null,relative.port=null,relative.host&&(relPath[0]===""?relPath[0]=relative.host:relPath.unshift(relative.host)),relative.host=null),mustEndAbs=mustEndAbs&&(relPath[0]===""||srcPath[0]==="")),isRelAbs)result.host=relative.host||relative.host===""?relative.host:result.host,result.hostname=relative.hostname||relative.hostname===""?relative.hostname:result.hostname,result.search=relative.search,result.query=relative.query,srcPath=relPath;else if(relPath.length)srcPath||(srcPath=[]),srcPath.pop(),srcPath=srcPath.concat(relPath),result.search=relative.search,result.query=relative.query;else if(relative.search!=null){if(psychotic){result.host=srcPath.shift(),result.hostname=result.host;var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):!1;authInHost&&(result.auth=authInHost.shift(),result.hostname=authInHost.shift(),result.host=result.hostname)}return result.search=relative.search,result.query=relative.query,(result.pathname!==null||result.search!==null)&&(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.href=result.format(),result}if(!srcPath.length)return result.pathname=null,result.search?result.path="/"+result.search:result.path=null,result.href=result.format(),result;for(var last=srcPath.slice(-1)[0],hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&(last==="."||last==="..")||last==="",up=0,i=srcPath.length;i>=0;i--)last=srcPath[i],last==="."?srcPath.splice(i,1):last===".."?(srcPath.splice(i,1),up++):up&&(srcPath.splice(i,1),up--);if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");mustEndAbs&&srcPath[0]!==""&&(!srcPath[0]||srcPath[0].charAt(0)!=="/")&&srcPath.unshift(""),hasTrailingSlash&&srcPath.join("/").substr(-1)!=="/"&&srcPath.push("");var isAbsolute=srcPath[0]===""||srcPath[0]&&srcPath[0].charAt(0)==="/";if(psychotic){result.hostname=isAbsolute?"":srcPath.length?srcPath.shift():"",result.host=result.hostname;var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):!1;authInHost&&(result.auth=authInHost.shift(),result.hostname=authInHost.shift(),result.host=result.hostname)}return mustEndAbs=mustEndAbs||result.host&&srcPath.length,mustEndAbs&&!isAbsolute&&srcPath.unshift(""),srcPath.length>0?result.pathname=srcPath.join("/"):(result.pathname=null,result.path=null),(result.pathname!==null||result.search!==null)&&(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.auth=relative.auth||result.auth,result.slashes=result.slashes||relative.slashes,result.href=result.format(),result},Url.prototype.parseHost=function(){var host=this.host,port=portPattern.exec(host);port&&(port=port[0],port!==":"&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)},__webpack_unused_export__=urlParse,__webpack_unused_export__=urlResolve,__webpack_unused_export__=urlResolveObject,__webpack_unused_export__=urlFormat,__webpack_unused_export__=Url},85830:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{useDebounce:()=>o,useDebouncedCallback:()=>c,useThrottledCallback:()=>f});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59496);function c(u,e,c2){var i2=this,a2=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),o2=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(0),f2=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),l=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)([]),m=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(),v=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(),d=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(u),p=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(!0);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){d.current=u},[u]);var g=!e&&e!==0&&typeof window<"u";if(typeof u!="function")throw new TypeError("Expected a function");e=+e||0;var w=!!(c2=c2||{}).leading,s=!("trailing"in c2)||!!c2.trailing,x="maxWait"in c2,y=x?Math.max(+c2.maxWait||0,e):null;(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]);var h=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function(){var r=function(r2){var n2=l.current,t2=m.current;return l.current=m.current=null,o2.current=r2,v.current=d.current.apply(t2,n2)},n=function(r2,n2){g&&cancelAnimationFrame(f2.current),f2.current=g?requestAnimationFrame(r2):setTimeout(r2,n2)},t=function(r2){if(!p.current)return!1;var n2=r2-a2.current;return!a2.current||n2>=e||n2<0||x&&r2-o2.current>=y},u2=function(n2){return f2.current=null,s&&l.current?r(n2):(l.current=m.current=null,v.current)},c3=function r2(){var c4=Date.now();if(t(c4))return u2(c4);if(p.current){var i3=e-(c4-a2.current),f3=x?Math.min(i3,y-(c4-o2.current)):i3;n(r2,f3)}},h2=function(){var u3=Date.now(),d2=t(u3);if(l.current=[].slice.call(arguments),m.current=i2,a2.current=u3,d2){if(!f2.current&&p.current)return o2.current=a2.current,n(c3,e),w?r(a2.current):v.current;if(x)return n(c3,e),r(a2.current)}return f2.current||n(c3,e),v.current};return h2.cancel=function(){f2.current&&(g?cancelAnimationFrame(f2.current):clearTimeout(f2.current)),o2.current=0,l.current=a2.current=m.current=f2.current=null},h2.isPending=function(){return!!f2.current},h2.flush=function(){return f2.current?u2(Date.now()):v.current},h2},[w,x,e,y,s,g]);return h}function i(r,n){return r===n}function a(r){return typeof r=="function"?function(){return r}:r}function o(n,t,o2){var f2,l,m=o2&&o2.equalityFn||i,v=(f2=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(a(n)),l=f2[1],[f2[0],(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(r){return l(a(r))},[])]),d=v[0],p=v[1],g=c((0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function(r){return p(r)},[p]),t,o2),w=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(n);return m(w.current,n)||(g(n),w.current=n),[d,g]}function f(r,n,t){var u=t===void 0?{}:t,e=u.leading,i2=u.trailing;return c(r,n,{maxWait:n,leading:e===void 0||e,trailing:i2===void 0||i2})}},14605:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{useDeepCompareCallback:()=>useDeepCompareCallback,useDeepCompareEffect:()=>useDeepCompareEffect,useDeepCompareMemo:()=>useDeepCompareMemo});var react=__webpack_require__(59496),has=Object.prototype.hasOwnProperty;function find(iter,tar,key){for(key of iter.keys())if(dequal(key,tar))return key}function dequal(foo,bar){var ctor,len,tmp;if(foo===bar)return!0;if(foo&&bar&&(ctor=foo.constructor)===bar.constructor){if(ctor===Date)return foo.getTime()===bar.getTime();if(ctor===RegExp)return foo.toString()===bar.toString();if(ctor===Array){if((len=foo.length)===bar.length)for(;len--&&dequal(foo[len],bar[len]););return len===-1}if(ctor===Set){if(foo.size!==bar.size)return!1;for(len of foo)if(tmp=len,tmp&&typeof tmp=="object"&&(tmp=find(bar,tmp),!tmp)||!bar.has(tmp))return!1;return!0}if(ctor===Map){if(foo.size!==bar.size)return!1;for(len of foo)if(tmp=len[0],tmp&&typeof tmp=="object"&&(tmp=find(bar,tmp),!tmp)||!dequal(len[1],bar.get(tmp)))return!1;return!0}if(ctor===ArrayBuffer)foo=new Uint8Array(foo),bar=new Uint8Array(bar);else if(ctor===DataView){if((len=foo.byteLength)===bar.byteLength)for(;len--&&foo.getInt8(len)===bar.getInt8(len););return len===-1}if(ArrayBuffer.isView(foo)){if((len=foo.byteLength)===bar.byteLength)for(;len--&&foo[len]===bar[len];);return len===-1}if(!ctor||typeof foo=="object"){len=0;for(ctor in foo)if(has.call(foo,ctor)&&++len&&!has.call(bar,ctor)||!(ctor in bar)||!dequal(foo[ctor],bar[ctor]))return!1;return Object.keys(bar).length===len}}return foo!==foo&&bar!==bar}function useDeepCompareMemoize(dependencies){const dependenciesRef=react.useRef(dependencies),signalRef=react.useRef(0);return dequal(dependencies,dependenciesRef.current)||(dependenciesRef.current=dependencies,signalRef.current+=1),react.useMemo(()=>dependenciesRef.current,[signalRef.current])}function useDeepCompareCallback(callback,dependencies){return react.useCallback(callback,useDeepCompareMemoize(dependencies))}function useDeepCompareEffect(effect,dependencies){react.useEffect(effect,useDeepCompareMemoize(dependencies))}function useDeepCompareMemo(factory,dependencies){return react.useMemo(factory,useDeepCompareMemoize(dependencies))}},48863:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=deprecate;function deprecate(fn,msg){if(config("noDeprecation"))return fn;var warned=!1;function deprecated(){if(!warned){if(config("throwDeprecation"))throw new Error(msg);config("traceDeprecation")?console.trace(msg):console.warn(msg),warned=!0}return fn.apply(this,arguments)}return deprecated}function config(name){try{if(!__webpack_require__.g.localStorage)return!1}catch{return!1}var val=__webpack_require__.g.localStorage[name];return val==null?!1:String(val).toLowerCase()==="true"}},97952:module=>{module.exports=function(arg){return arg&&typeof arg=="object"&&typeof arg.copy=="function"&&typeof arg.fill=="function"&&typeof arg.readUInt8=="function"}},14911:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var isArgumentsObject=__webpack_require__(42571),isGeneratorFunction=__webpack_require__(89141),whichTypedArray=__webpack_require__(44418),isTypedArray=__webpack_require__(37261);function uncurryThis(f){return f.call.bind(f)}var BigIntSupported=typeof BigInt<"u",SymbolSupported=typeof Symbol<"u",ObjectToString=uncurryThis(Object.prototype.toString),numberValue=uncurryThis(Number.prototype.valueOf),stringValue=uncurryThis(String.prototype.valueOf),booleanValue=uncurryThis(Boolean.prototype.valueOf);if(BigIntSupported)var bigIntValue=uncurryThis(BigInt.prototype.valueOf);if(SymbolSupported)var symbolValue=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(value,prototypeValueOf){if(typeof value!="object")return!1;try{return prototypeValueOf(value),!0}catch{return!1}}exports.isArgumentsObject=isArgumentsObject,exports.isGeneratorFunction=isGeneratorFunction,exports.isTypedArray=isTypedArray;function isPromise(input){return typeof Promise<"u"&&input instanceof Promise||input!==null&&typeof input=="object"&&typeof input.then=="function"&&typeof input.catch=="function"}exports.isPromise=isPromise;function isArrayBufferView(value){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(value):isTypedArray(value)||isDataView(value)}exports.isArrayBufferView=isArrayBufferView;function isUint8Array(value){return whichTypedArray(value)==="Uint8Array"}exports.isUint8Array=isUint8Array;function isUint8ClampedArray(value){return whichTypedArray(value)==="Uint8ClampedArray"}exports.isUint8ClampedArray=isUint8ClampedArray;function isUint16Array(value){return whichTypedArray(value)==="Uint16Array"}exports.isUint16Array=isUint16Array;function isUint32Array(value){return whichTypedArray(value)==="Uint32Array"}exports.isUint32Array=isUint32Array;function isInt8Array(value){return whichTypedArray(value)==="Int8Array"}exports.isInt8Array=isInt8Array;function isInt16Array(value){return whichTypedArray(value)==="Int16Array"}exports.isInt16Array=isInt16Array;function isInt32Array(value){return whichTypedArray(value)==="Int32Array"}exports.isInt32Array=isInt32Array;function isFloat32Array(value){return whichTypedArray(value)==="Float32Array"}exports.isFloat32Array=isFloat32Array;function isFloat64Array(value){return whichTypedArray(value)==="Float64Array"}exports.isFloat64Array=isFloat64Array;function isBigInt64Array(value){return whichTypedArray(value)==="BigInt64Array"}exports.isBigInt64Array=isBigInt64Array;function isBigUint64Array(value){return whichTypedArray(value)==="BigUint64Array"}exports.isBigUint64Array=isBigUint64Array;function isMapToString(value){return ObjectToString(value)==="[object Map]"}isMapToString.working=typeof Map<"u"&&isMapToString(new Map);function isMap(value){return typeof Map>"u"?!1:isMapToString.working?isMapToString(value):value instanceof Map}exports.isMap=isMap;function isSetToString(value){return ObjectToString(value)==="[object Set]"}isSetToString.working=typeof Set<"u"&&isSetToString(new Set);function isSet(value){return typeof Set>"u"?!1:isSetToString.working?isSetToString(value):value instanceof Set}exports.isSet=isSet;function isWeakMapToString(value){return ObjectToString(value)==="[object WeakMap]"}isWeakMapToString.working=typeof WeakMap<"u"&&isWeakMapToString(new WeakMap);function isWeakMap(value){return typeof WeakMap>"u"?!1:isWeakMapToString.working?isWeakMapToString(value):value instanceof WeakMap}exports.isWeakMap=isWeakMap;function isWeakSetToString(value){return ObjectToString(value)==="[object WeakSet]"}isWeakSetToString.working=typeof WeakSet<"u"&&isWeakSetToString(new WeakSet);function isWeakSet(value){return isWeakSetToString(value)}exports.isWeakSet=isWeakSet;function isArrayBufferToString(value){return ObjectToString(value)==="[object ArrayBuffer]"}isArrayBufferToString.working=typeof ArrayBuffer<"u"&&isArrayBufferToString(new ArrayBuffer);function isArrayBuffer(value){return typeof ArrayBuffer>"u"?!1:isArrayBufferToString.working?isArrayBufferToString(value):value instanceof ArrayBuffer}exports.isArrayBuffer=isArrayBuffer;function isDataViewToString(value){return ObjectToString(value)==="[object DataView]"}isDataViewToString.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1));function isDataView(value){return typeof DataView>"u"?!1:isDataViewToString.working?isDataViewToString(value):value instanceof DataView}exports.isDataView=isDataView;var SharedArrayBufferCopy=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(value){return ObjectToString(value)==="[object SharedArrayBuffer]"}function isSharedArrayBuffer(value){return typeof SharedArrayBufferCopy>"u"?!1:(typeof isSharedArrayBufferToString.working>"u"&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new SharedArrayBufferCopy)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(value):value instanceof SharedArrayBufferCopy)}exports.isSharedArrayBuffer=isSharedArrayBuffer;function isAsyncFunction(value){return ObjectToString(value)==="[object AsyncFunction]"}exports.isAsyncFunction=isAsyncFunction;function isMapIterator(value){return ObjectToString(value)==="[object Map Iterator]"}exports.isMapIterator=isMapIterator;function isSetIterator(value){return ObjectToString(value)==="[object Set Iterator]"}exports.isSetIterator=isSetIterator;function isGeneratorObject(value){return ObjectToString(value)==="[object Generator]"}exports.isGeneratorObject=isGeneratorObject;function isWebAssemblyCompiledModule(value){return ObjectToString(value)==="[object WebAssembly.Module]"}exports.isWebAssemblyCompiledModule=isWebAssemblyCompiledModule;function isNumberObject(value){return checkBoxedPrimitive(value,numberValue)}exports.isNumberObject=isNumberObject;function isStringObject(value){return checkBoxedPrimitive(value,stringValue)}exports.isStringObject=isStringObject;function isBooleanObject(value){return checkBoxedPrimitive(value,booleanValue)}exports.isBooleanObject=isBooleanObject;function isBigIntObject(value){return BigIntSupported&&checkBoxedPrimitive(value,bigIntValue)}exports.isBigIntObject=isBigIntObject;function isSymbolObject(value){return SymbolSupported&&checkBoxedPrimitive(value,symbolValue)}exports.isSymbolObject=isSymbolObject;function isBoxedPrimitive(value){return isNumberObject(value)||isStringObject(value)||isBooleanObject(value)||isBigIntObject(value)||isSymbolObject(value)}exports.isBoxedPrimitive=isBoxedPrimitive;function isAnyArrayBuffer(value){return typeof Uint8Array<"u"&&(isArrayBuffer(value)||isSharedArrayBuffer(value))}exports.isAnyArrayBuffer=isAnyArrayBuffer,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(method){Object.defineProperty(exports,method,{enumerable:!1,value:function(){throw new Error(method+" is not supported in userland")}})})},93585:(__unused_webpack_module,exports,__webpack_require__)=>{var process=__webpack_require__(14224),getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function(obj){for(var keys=Object.keys(obj),descriptors={},i=0;i<keys.length;i++)descriptors[keys[i]]=Object.getOwnPropertyDescriptor(obj,keys[i]);return descriptors},formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){for(var objects=[],i=0;i<arguments.length;i++)objects.push(inspect(arguments[i]));return objects.join(" ")}for(var i=1,args=arguments,len=args.length,str=String(f).replace(formatRegExp,function(x2){if(x2==="%%")return"%";if(i>=len)return x2;switch(x2){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch{return"[Circular]"}default:return x2}}),x=args[i];i<len;x=args[++i])isNull(x)||!isObject(x)?str+=" "+x:str+=" "+inspect(x);return str},exports.deprecate=function(fn,msg){if(typeof process<"u"&&process.noDeprecation===!0)return fn;if(typeof process>"u")return function(){return exports.deprecate(fn,msg).apply(this,arguments)};var warned=!1;function deprecated(){if(!warned){if(process.throwDeprecation)throw new Error(msg);process.traceDeprecation?console.trace(msg):console.error(msg),warned=!0}return fn.apply(this,arguments)}return deprecated};var debugs={},debugEnvRegex=/^$/;if(process.env.NODE_DEBUG){var debugEnv=process.env.NODE_DEBUG;debugEnv=debugEnv.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),debugEnvRegex=new RegExp("^"+debugEnv+"$","i")}exports.debuglog=function(set){if(set=set.toUpperCase(),!debugs[set])if(debugEnvRegex.test(set)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]};function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"\x1B["+inspect.colors[style][0]+"m"+str+"\x1B["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};return array.forEach(function(val,idx){hash[val]=!0}),hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=formatPrimitive(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=arrayToHash(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(keys.length===0){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var base="",array=!1,braces=["{","}"];if(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}if(isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),keys.length===0&&(!array||value.length==0))return braces[0]+base+braces[1];if(recurseTimes<0)return isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special");ctx.seen.push(value);var output;return array?output=formatArray(ctx,value,recurseTimes,visibleKeys,keys):output=keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)}),ctx.seen.pop(),reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i=0,l=value.length;i<l;++i)hasOwnProperty(value,String(i))?output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i),!0)):output.push("");return keys.forEach(function(key){key.match(/^\d+$/)||output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,!0))}),output}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;if(desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]},desc.get?desc.set?str=ctx.stylize("[Getter/Setter]","special"):str=ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special")),hasOwnProperty(visibleKeys,key)||(name="["+key+"]"),str||(ctx.seen.indexOf(desc.value)<0?(isNull(recurseTimes)?str=formatValue(ctx,desc.value,null):str=formatValue(ctx,desc.value,recurseTimes-1),str.indexOf(`
323
316
  `)>-1&&(array?str=str.split(`
324
317
  `).map(function(line){return" "+line}).join(`
@@ -367,7 +360,7 @@ ${namesToRegister.map(({variableName,uniqueLocalName})=>` reactHotLoader.regist
367
360
  */var REGEX_DATA="xregexp",features={astral:!1},nativ={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},fixed={},regexCache={},patternCache={},tokens=[],defaultScope="default",classScope="class",nativeTokens={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/},replacementToken=/\$(?:{([\w$]+)}|<([\w$]+)>|(\d\d?|[\s\S]))/g,correctExecNpcg=nativ.exec.call(/()??/,"")[1]===void 0,hasFlagsProp=/x/.flags!==void 0,toString={}.toString;function hasNativeFlag(flag){var isSupported=!0;try{new RegExp("",flag)}catch{isSupported=!1}return isSupported}var hasNativeU=hasNativeFlag("u"),hasNativeY=hasNativeFlag("y"),registeredFlags={g:!0,i:!0,m:!0,u:hasNativeU,y:hasNativeY};function augment(regex,captureNames,xSource,xFlags,isInternalOnly){var p=void 0;if(regex[REGEX_DATA]={captureNames},isInternalOnly)return regex;if(regex.__proto__)regex.__proto__=XRegExp.prototype;else for(p in XRegExp.prototype)regex[p]=XRegExp.prototype[p];return regex[REGEX_DATA].source=xSource,regex[REGEX_DATA].flags=xFlags&&xFlags.split("").sort().join(""),regex}function clipDuplicates(str){return nativ.replace.call(str,/([\s\S])(?=[\s\S]*\1)/g,"")}function copyRegex(regex,options){if(!XRegExp.isRegExp(regex))throw new TypeError("Type RegExp expected");var xData=regex[REGEX_DATA]||{},flags=getNativeFlags(regex),flagsToAdd="",flagsToRemove="",xregexpSource=null,xregexpFlags=null;return options=options||{},options.removeG&&(flagsToRemove+="g"),options.removeY&&(flagsToRemove+="y"),flagsToRemove&&(flags=nativ.replace.call(flags,new RegExp("["+flagsToRemove+"]+","g"),"")),options.addG&&(flagsToAdd+="g"),options.addY&&(flagsToAdd+="y"),flagsToAdd&&(flags=clipDuplicates(flags+flagsToAdd)),options.isInternalOnly||(xData.source!==void 0&&(xregexpSource=xData.source),xData.flags!=null&&(xregexpFlags=flagsToAdd?clipDuplicates(xData.flags+flagsToAdd):xData.flags)),regex=augment(new RegExp(options.source||regex.source,flags),hasNamedCapture(regex)?xData.captureNames.slice(0):null,xregexpSource,xregexpFlags,options.isInternalOnly),regex}function dec(hex2){return parseInt(hex2,16)}function getContextualTokenSeparator(match,scope,flags){return match.input[match.index-1]==="("||match.input[match.index+match[0].length]===")"||isQuantifierNext(match.input,match.index+match[0].length,flags)?"":"(?:)"}function getNativeFlags(regex){return hasFlagsProp?regex.flags:nativ.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(regex))[1]}function hasNamedCapture(regex){return!!(regex[REGEX_DATA]&&regex[REGEX_DATA].captureNames)}function hex(dec2){return parseInt(dec2,10).toString(16)}function isQuantifierNext(pattern,pos,flags){var inlineCommentPattern="\\(\\?#[^)]*\\)",lineCommentPattern="#[^#\\n]*",quantifierPattern="[?*+]|{\\d+(?:,\\d*)?}";return nativ.test.call(flags.indexOf("x")!==-1?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,pattern.slice(pos))}function isType(value,type){return toString.call(value)==="[object "+type+"]"}function pad4(str){for(;str.length<4;)str="0"+str;return str}function prepareFlags(pattern,flags){var i=void 0;if(clipDuplicates(flags)!==flags)throw new SyntaxError("Invalid duplicate regex flag "+flags);for(pattern=nativ.replace.call(pattern,/^\(\?([\w$]+)\)/,function($0,$1){if(nativ.test.call(/[gy]/,$1))throw new SyntaxError("Cannot use flag g or y in mode modifier "+$0);return flags=clipDuplicates(flags+$1),""}),i=0;i<flags.length;++i)if(!registeredFlags[flags[i]])throw new SyntaxError("Unknown regex flag "+flags[i]);return{pattern,flags}}function prepareOptions(value){var options={};return isType(value,"String")?(XRegExp.forEach(value,/[^\s,]+/,function(match){options[match]=!0}),options):value}function registerFlag(flag){if(!/^[\w$]$/.test(flag))throw new Error("Flag must be a single character A-Za-z0-9_$");registeredFlags[flag]=!0}function runTokens(pattern,flags,pos,scope,context){for(var i=tokens.length,leadChar=pattern[pos],result=null,match=void 0,t=void 0;i--;)if(t=tokens[i],!(t.leadChar&&t.leadChar!==leadChar||t.scope!==scope&&t.scope!=="all"||t.flag&&flags.indexOf(t.flag)===-1)&&(match=XRegExp.exec(pattern,t.regex,pos,"sticky"),match)){result={matchLength:match[0].length,output:t.handler.call(context,match,scope,flags),reparse:t.reparse};break}return result}function setAstral(on){features.astral=on}function toObject(value){if(value==null)throw new TypeError("Cannot convert null or undefined to object");return value}function XRegExp(pattern,flags){if(XRegExp.isRegExp(pattern)){if(flags!==void 0)throw new TypeError("Cannot supply flags when copying a RegExp");return copyRegex(pattern)}if(pattern=pattern===void 0?"":String(pattern),flags=flags===void 0?"":String(flags),XRegExp.isInstalled("astral")&&flags.indexOf("A")===-1&&(flags+="A"),patternCache[pattern]||(patternCache[pattern]={}),!patternCache[pattern][flags]){for(var context={hasNamedCapture:!1,captureNames:[]},scope=defaultScope,output="",pos=0,result=void 0,applied=prepareFlags(pattern,flags),appliedPattern=applied.pattern,appliedFlags=applied.flags;pos<appliedPattern.length;){do result=runTokens(appliedPattern,appliedFlags,pos,scope,context),result&&result.reparse&&(appliedPattern=appliedPattern.slice(0,pos)+result.output+appliedPattern.slice(pos+result.matchLength));while(result&&result.reparse);if(result)output+=result.output,pos+=result.matchLength||1;else{var token=XRegExp.exec(appliedPattern,nativeTokens[scope],pos,"sticky")[0];output+=token,pos+=token.length,token==="["&&scope===defaultScope?scope=classScope:token==="]"&&scope===classScope&&(scope=defaultScope)}}patternCache[pattern][flags]={pattern:nativ.replace.call(output,/(?:\(\?:\))+/g,"(?:)"),flags:nativ.replace.call(appliedFlags,/[^gimuy]+/g,""),captures:context.hasNamedCapture?context.captureNames:null}}var generated=patternCache[pattern][flags];return augment(new RegExp(generated.pattern,generated.flags),generated.captures,pattern,flags)}XRegExp.prototype=/(?:)/,XRegExp.version="4.0.0",XRegExp._clipDuplicates=clipDuplicates,XRegExp._hasNativeFlag=hasNativeFlag,XRegExp._dec=dec,XRegExp._hex=hex,XRegExp._pad4=pad4,XRegExp.addToken=function(regex,handler,options){options=options||{};var optionalFlags=options.optionalFlags,i=void 0;if(options.flag&&registerFlag(options.flag),optionalFlags)for(optionalFlags=nativ.split.call(optionalFlags,""),i=0;i<optionalFlags.length;++i)registerFlag(optionalFlags[i]);tokens.push({regex:copyRegex(regex,{addG:!0,addY:hasNativeY,isInternalOnly:!0}),handler,scope:options.scope||defaultScope,flag:options.flag,reparse:options.reparse,leadChar:options.leadChar}),XRegExp.cache.flush("patterns")},XRegExp.cache=function(pattern,flags){return regexCache[pattern]||(regexCache[pattern]={}),regexCache[pattern][flags]||(regexCache[pattern][flags]=XRegExp(pattern,flags))},XRegExp.cache.flush=function(cacheName){cacheName==="patterns"?patternCache={}:regexCache={}},XRegExp.escape=function(str){return nativ.replace.call(toObject(str),/[-\[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},XRegExp.exec=function(str,regex,pos,sticky){var cacheKey="g",addY=!1,fakeY=!1,match=void 0;addY=hasNativeY&&!!(sticky||regex.sticky&&sticky!==!1),addY?cacheKey+="y":sticky&&(fakeY=!0,cacheKey+="FakeY"),regex[REGEX_DATA]=regex[REGEX_DATA]||{};var r2=regex[REGEX_DATA][cacheKey]||(regex[REGEX_DATA][cacheKey]=copyRegex(regex,{addG:!0,addY,source:fakeY?regex.source+"|()":void 0,removeY:sticky===!1,isInternalOnly:!0}));return pos=pos||0,r2.lastIndex=pos,match=fixed.exec.call(r2,str),fakeY&&match&&match.pop()===""&&(match=null),regex.global&&(regex.lastIndex=match?r2.lastIndex:0),match},XRegExp.forEach=function(str,regex,callback){for(var pos=0,i=-1,match=void 0;match=XRegExp.exec(str,regex,pos);)callback(match,++i,str,regex),pos=match.index+(match[0].length||1)},XRegExp.globalize=function(regex){return copyRegex(regex,{addG:!0})},XRegExp.install=function(options){options=prepareOptions(options),!features.astral&&options.astral&&setAstral(!0)},XRegExp.isInstalled=function(feature){return!!features[feature]},XRegExp.isRegExp=function(value){return toString.call(value)==="[object RegExp]"},XRegExp.match=function(str,regex,scope){var global2=regex.global&&scope!=="one"||scope==="all",cacheKey=(global2?"g":"")+(regex.sticky?"y":"")||"noGY";regex[REGEX_DATA]=regex[REGEX_DATA]||{};var r2=regex[REGEX_DATA][cacheKey]||(regex[REGEX_DATA][cacheKey]=copyRegex(regex,{addG:!!global2,removeG:scope==="one",isInternalOnly:!0})),result=nativ.match.call(toObject(str),r2);return regex.global&&(regex.lastIndex=scope==="one"&&result?result.index+result[0].length:0),global2?result||[]:result&&result[0]},XRegExp.matchChain=function(str,chain){return function recurseChain(values,level){var item=chain[level].regex?chain[level]:{regex:chain[level]},matches=[];function addMatch(match){if(item.backref){if(!(match.hasOwnProperty(item.backref)||+item.backref<match.length))throw new ReferenceError("Backreference to undefined group: "+item.backref);matches.push(match[item.backref]||"")}else matches.push(match[0])}for(var i=0;i<values.length;++i)XRegExp.forEach(values[i],item.regex,addMatch);return level===chain.length-1||!matches.length?matches:recurseChain(matches,level+1)}([str],0)},XRegExp.replace=function(str,search,replacement,scope){var isRegex=XRegExp.isRegExp(search),global2=search.global&&scope!=="one"||scope==="all",cacheKey=(global2?"g":"")+(search.sticky?"y":"")||"noGY",s2=search;isRegex?(search[REGEX_DATA]=search[REGEX_DATA]||{},s2=search[REGEX_DATA][cacheKey]||(search[REGEX_DATA][cacheKey]=copyRegex(search,{addG:!!global2,removeG:scope==="one",isInternalOnly:!0}))):global2&&(s2=new RegExp(XRegExp.escape(String(search)),"g"));var result=fixed.replace.call(toObject(str),s2,replacement);return isRegex&&search.global&&(search.lastIndex=0),result},XRegExp.replaceEach=function(str,replacements){var i=void 0,r=void 0;for(i=0;i<replacements.length;++i)r=replacements[i],str=XRegExp.replace(str,r[0],r[1],r[2]);return str},XRegExp.split=function(str,separator,limit){return fixed.split.call(toObject(str),separator,limit)},XRegExp.test=function(str,regex,pos,sticky){return!!XRegExp.exec(str,regex,pos,sticky)},XRegExp.uninstall=function(options){options=prepareOptions(options),features.astral&&options.astral&&setAstral(!1)},XRegExp.union=function(patterns,flags,options){options=options||{};var conjunction=options.conjunction||"or",numCaptures=0,numPriorCaptures=void 0,captureNames=void 0;function rewrite(match,paren,backref){var name=captureNames[numCaptures-numPriorCaptures];if(paren){if(++numCaptures,name)return"(?<"+name+">"}else if(backref)return"\\"+(+backref+numPriorCaptures);return match}if(!(isType(patterns,"Array")&&patterns.length))throw new TypeError("Must provide a nonempty array of patterns to merge");for(var parts=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,output=[],pattern=void 0,i=0;i<patterns.length;++i)pattern=patterns[i],XRegExp.isRegExp(pattern)?(numPriorCaptures=numCaptures,captureNames=pattern[REGEX_DATA]&&pattern[REGEX_DATA].captureNames||[],output.push(nativ.replace.call(XRegExp(pattern.source).source,parts,rewrite))):output.push(XRegExp.escape(pattern));var separator=conjunction==="none"?"":"|";return XRegExp(output.join(separator),flags)},fixed.exec=function(str){var origLastIndex=this.lastIndex,match=nativ.exec.apply(this,arguments);if(match){if(!correctExecNpcg&&match.length>1&&match.indexOf("")!==-1){var r2=copyRegex(this,{removeG:!0,isInternalOnly:!0});nativ.replace.call(String(str).slice(match.index),r2,function(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];for(var len=args.length,i2=1;i2<len-2;++i2)args[i2]===void 0&&(match[i2]=void 0)})}if(this[REGEX_DATA]&&this[REGEX_DATA].captureNames)for(var i=1;i<match.length;++i){var name=this[REGEX_DATA].captureNames[i-1];name&&(match[name]=match[i])}this.global&&!match[0].length&&this.lastIndex>match.index&&(this.lastIndex=match.index)}return this.global||(this.lastIndex=origLastIndex),match},fixed.test=function(str){return!!fixed.exec.call(this,str)},fixed.match=function(regex){if(!XRegExp.isRegExp(regex))regex=new RegExp(regex);else if(regex.global){var result=nativ.match.apply(this,arguments);return regex.lastIndex=0,result}return fixed.exec.call(regex,toObject(this))},fixed.replace=function(search,replacement){var isRegex=XRegExp.isRegExp(search),origLastIndex=void 0,captureNames=void 0,result=void 0;return isRegex?(search[REGEX_DATA]&&(captureNames=search[REGEX_DATA].captureNames),origLastIndex=search.lastIndex):search+="",isType(replacement,"Function")?result=nativ.replace.call(String(this),search,function(){for(var _len2=arguments.length,args=Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];if(captureNames){args[0]=new String(args[0]);for(var i=0;i<captureNames.length;++i)captureNames[i]&&(args[0][captureNames[i]]=args[i+1])}return isRegex&&search.global&&(search.lastIndex=args[args.length-2]+args[0].length),replacement.apply(void 0,args)}):result=nativ.replace.call(this==null?this:String(this),search,function(){for(var _len3=arguments.length,args=Array(_len3),_key3=0;_key3<_len3;_key3++)args[_key3]=arguments[_key3];return nativ.replace.call(String(replacement),replacementToken,replacer);function replacer($0,bracketed,angled,dollarToken){if(bracketed=bracketed||angled,bracketed){var n=+bracketed;if(n<=args.length-3)return args[n]||"";if(n=captureNames?captureNames.indexOf(bracketed):-1,n<0)throw new SyntaxError("Backreference to undefined group "+$0);return args[n+1]||""}if(dollarToken==="$")return"$";if(dollarToken==="&"||+dollarToken==0)return args[0];if(dollarToken==="`")return args[args.length-1].slice(0,args[args.length-2]);if(dollarToken==="'")return args[args.length-1].slice(args[args.length-2]+args[0].length);if(dollarToken=+dollarToken,!isNaN(dollarToken)){if(dollarToken>args.length-3)throw new SyntaxError("Backreference to undefined group "+$0);return args[dollarToken]||""}throw new SyntaxError("Invalid token "+$0)}}),isRegex&&(search.global?search.lastIndex=0:search.lastIndex=origLastIndex),result},fixed.split=function(separator,limit){if(!XRegExp.isRegExp(separator))return nativ.split.apply(this,arguments);var str=String(this),output=[],origLastIndex=separator.lastIndex,lastLastIndex=0,lastLength=void 0;return limit=(limit===void 0?-1:limit)>>>0,XRegExp.forEach(str,separator,function(match){match.index+match[0].length>lastLastIndex&&(output.push(str.slice(lastLastIndex,match.index)),match.length>1&&match.index<str.length&&Array.prototype.push.apply(output,match.slice(1)),lastLength=match[0].length,lastLastIndex=match.index+lastLength)}),lastLastIndex===str.length?(!nativ.test.call(separator,"")||lastLength)&&output.push(""):output.push(str.slice(lastLastIndex)),separator.lastIndex=origLastIndex,output.length>limit?output.slice(0,limit):output},XRegExp.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,function(match,scope){if(match[1]==="B"&&scope===defaultScope)return match[0];throw new SyntaxError("Invalid escape "+match[0])},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\\u{([\dA-Fa-f]+)}/,function(match,scope,flags){var code=dec(match[1]);if(code>1114111)throw new SyntaxError("Invalid Unicode code point "+match[0]);if(code<=65535)return"\\u"+pad4(hex(code));if(hasNativeU&&flags.indexOf("u")!==-1)return match[0];throw new SyntaxError("Cannot use Unicode code point above \\u{FFFF} without flag u")},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\[(\^?)\]/,function(match){return match[1]?"[\\s\\S]":"\\b\\B"},{leadChar:"["}),XRegExp.addToken(/\(\?#[^)]*\)/,getContextualTokenSeparator,{leadChar:"("}),XRegExp.addToken(/\s+|#[^\n]*\n?/,getContextualTokenSeparator,{flag:"x"}),XRegExp.addToken(/\./,function(){return"[\\s\\S]"},{flag:"s",leadChar:"."}),XRegExp.addToken(/\\k<([\w$]+)>/,function(match){var index=isNaN(match[1])?this.captureNames.indexOf(match[1])+1:+match[1],endIndex=match.index+match[0].length;if(!index||index>this.captureNames.length)throw new SyntaxError("Backreference to undefined group "+match[0]);return"\\"+index+(endIndex===match.input.length||isNaN(match.input[endIndex])?"":"(?:)")},{leadChar:"\\"}),XRegExp.addToken(/\\(\d+)/,function(match,scope){if(!(scope===defaultScope&&/^[1-9]/.test(match[1])&&+match[1]<=this.captureNames.length)&&match[1]!=="0")throw new SyntaxError("Cannot use octal escape or backreference to undefined group "+match[0]);return match[0]},{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\(\?P?<([\w$]+)>/,function(match){if(!isNaN(match[1]))throw new SyntaxError("Cannot use integer as capture name "+match[0]);if(match[1]==="length"||match[1]==="__proto__")throw new SyntaxError("Cannot use reserved word as capture name "+match[0]);if(this.captureNames.indexOf(match[1])!==-1)throw new SyntaxError("Cannot use same name for multiple groups "+match[0]);return this.captureNames.push(match[1]),this.hasNamedCapture=!0,"("},{leadChar:"("}),XRegExp.addToken(/\((?!\?)/,function(match,scope,flags){return flags.indexOf("n")!==-1?"(?:":(this.captureNames.push(null),"(")},{optionalFlags:"n",leadChar:"("}),exports.default=XRegExp,module.exports=exports.default},26192:module=>{module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){for(var target={},i=0;i<arguments.length;i++){var source=arguments[i];for(var key in source)hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}},67180:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AspectList=void 0;class AspectList{constructor(entries){this.entries=entries}get(aspectId){const aspectEntry=this.entries.find(entry=>entry.aspectId===aspectId);if(!!aspectEntry)return aspectEntry.aspectData}toObject(){return{entries:this.entries}}static fromObject(obj){const entries=obj?.entries||[];return new AspectList(entries)}static fromJson(obj){const entries=obj?.entries?.map(({aspectId,aspectData})=>({aspectId,aspectData:JSON.parse(aspectData)}))||[];return new AspectList(entries)}}exports.AspectList=AspectList},86549:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentDescriptor=void 0;function _component(){const data=__webpack_require__(68211);return _component=function(){return data},data}function _aspectList(){const data=__webpack_require__(67180);return _aspectList=function(){return data},data}class ComponentDescriptor{constructor(id,aspectList){this.id=id,this.aspectList=aspectList}get scope(){return this.id.scope}get(aspectId){return this.aspectList.get(aspectId)}toObject(){return{id:this.id.toString(),aspectList:this.aspectList.toObject()}}async isModified(){return!1}stringify(){return JSON.stringify(this.toObject())}toString(){return this.stringify()}static fromObject({id,aspectList}){const aspects=_aspectList().AspectList.fromObject(aspectList);return new ComponentDescriptor(_component().ComponentID.fromString(id),aspects)}static fromArray(componentsDescriptorProps){return componentsDescriptorProps.map(component=>ComponentDescriptor.fromObject(component))}}exports.ComponentDescriptor=ComponentDescriptor},57984:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"AspectDataEntry",{enumerable:!0,get:function(){return _aspectList().AspectDataEntry}}),Object.defineProperty(exports,"AspectList",{enumerable:!0,get:function(){return _aspectList().AspectList}}),Object.defineProperty(exports,"AspectListProps",{enumerable:!0,get:function(){return _aspectList().AspectListProps}}),Object.defineProperty(exports,"ComponentDescriptor",{enumerable:!0,get:function(){return _componentDescriptor().ComponentDescriptor}}),Object.defineProperty(exports,"ComponentDescriptorProps",{enumerable:!0,get:function(){return _componentDescriptor().ComponentDescriptorProps}});function _componentDescriptor(){const data=__webpack_require__(86549);return _componentDescriptor=function(){return data},data}function _aspectList(){const data=__webpack_require__(67180);return _aspectList=function(){return data},data}},65559:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CircularDependencies=void 0;const component_issue_1=__webpack_require__(50581);class CircularDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="circular dependencies",this.solution='run `bit insights "circular"` to get the component-ids participating in the circular',this.isTagBlocker=!0}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.CircularDependencies=CircularDependencies},50581:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.deserializeWithBitId=exports.componentIssueToString=exports.formatTitle=exports.ComponentIssue=exports.ISSUE_FORMAT_SPACE=exports.ISSUE_FORMAT_SPACE_COUNT=void 0;const chalk_1=__importDefault(__webpack_require__(23729)),component_id_1=__webpack_require__(99978);exports.ISSUE_FORMAT_SPACE_COUNT=10,exports.ISSUE_FORMAT_SPACE=" ".repeat(exports.ISSUE_FORMAT_SPACE_COUNT);class ComponentIssue{constructor(){this.isTagBlocker=!0,this.isCacheBlocker=!0,this.formatDataFunction=componentIssueToString}get descriptionWithSolution(){const solution=this.formatSolution();return`${this.description} ${solution}`}formatSolution(){return this.solution?` (${this.solution})`:""}outputForCLI(){return formatTitle(this.descriptionWithSolution)+chalk_1.default.white(this.dataToString())}dataToString(){return Object.keys(this.data).map(k=>`${exports.ISSUE_FORMAT_SPACE}${k} -> ${this.formatDataFunction(this.data[k])}`).join(`
368
361
  `)}toObject(){return{type:this.constructor.name,description:this.description,solution:this.solution,isTagBlocker:this.isTagBlocker,data:this.data}}serialize(){return JSON.stringify(this.data)}deserialize(data){return JSON.parse(data)}}exports.ComponentIssue=ComponentIssue;function formatTitle(issueTitle,hasMoreData=!0){const colon=hasMoreData?":":"";return chalk_1.default.yellow(`
369
362
  ${issueTitle}${colon}
370
- `)}exports.formatTitle=formatTitle;function componentIssueToString(value){return Array.isArray(value)?value.join(", "):value}exports.componentIssueToString=componentIssueToString;function deserializeWithBitId(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(filePath=>{data[filePath]=data[filePath].map(id=>new component_id_1.ComponentID(id))}),data}exports.deserializeWithBitId=deserializeWithBitId},18742:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DuplicateComponentAndPackage=void 0;const component_issue_1=__webpack_require__(50581);class DuplicateComponentAndPackage extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="tracked component added as a package",this.solution="either remove the package from the workspace.jsonc (bit uninstall) or remove the component (bit remove)",this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.DuplicateComponentAndPackage=DuplicateComponentAndPackage},60873:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExternalEnvWithoutVersion=void 0;const component_issue_1=__webpack_require__(50581);class ExternalEnvWithoutVersion extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env - external env without a version",this.solution="",this.isTagBlocker=!0}formatSolution(){return`(run "bit env set ${this.data.componentId} ${this.data.envId}")`}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.envId}}exports.ExternalEnvWithoutVersion=ExternalEnvWithoutVersion},12839:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportFromDirectory=void 0;const component_issue_1=__webpack_require__(50581);class ImportFromDirectory extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="relative import from a directory",this.solution="change the import statement to a specific file",this.data={},this.isCacheBlocker=!1,this.isTagBlocker=!1}}exports.ImportFromDirectory=ImportFromDirectory},86826:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportNonMainFiles=void 0;const component_issue_1=__webpack_require__(50581);class ImportNonMainFiles extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="importing non-main files",this.solution="the dependency should expose its API from the main file",this.data={},this.isCacheBlocker=!1}}exports.ImportNonMainFiles=ImportNonMainFiles},86853:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthoredEntry=exports.MISSING_NESTED_DEPS_SPACE=exports.UntrackedFileDependencyEntry=exports.ComponentIssue=exports.MISSING_DEPS_SPACE=exports.IssuesNames=exports.IssuesClasses=exports.IssuesList=void 0;var issues_list_1=__webpack_require__(99838);Object.defineProperty(exports,"IssuesList",{enumerable:!0,get:function(){return issues_list_1.IssuesList}}),Object.defineProperty(exports,"IssuesClasses",{enumerable:!0,get:function(){return issues_list_1.IssuesClasses}}),Object.defineProperty(exports,"IssuesNames",{enumerable:!0,get:function(){return issues_list_1.IssuesNames}});var component_issue_1=__webpack_require__(50581);Object.defineProperty(exports,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return component_issue_1.ISSUE_FORMAT_SPACE}}),Object.defineProperty(exports,"ComponentIssue",{enumerable:!0,get:function(){return component_issue_1.ComponentIssue}});var untracked_dependencies_1=__webpack_require__(89695);Object.defineProperty(exports,"UntrackedFileDependencyEntry",{enumerable:!0,get:function(){return untracked_dependencies_1.UntrackedFileDependencyEntry}}),Object.defineProperty(exports,"MISSING_NESTED_DEPS_SPACE",{enumerable:!0,get:function(){return untracked_dependencies_1.MISSING_NESTED_DEPS_SPACE}});var relative_components_authored_1=__webpack_require__(68545);Object.defineProperty(exports,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return relative_components_authored_1.RelativeComponentsAuthoredEntry}})},99838:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IssuesList=exports.IssuesClasses=void 0;const import_non_main_files_1=__webpack_require__(86826),missing_dependencies_on_fs_1=__webpack_require__(34904),missing_dists_1=__webpack_require__(47153),missing_packages_dependencies_on_fs_1=__webpack_require__(38568),missing_manually_configured_packages_1=__webpack_require__(97331),parse_errors_1=__webpack_require__(3185),relative_components_1=__webpack_require__(41420),relative_components_authored_1=__webpack_require__(68545),resolve_errors_1=__webpack_require__(5649),untracked_dependencies_1=__webpack_require__(89695),legacy_inside_harmony_1=__webpack_require__(27842),multiple_envs_1=__webpack_require__(88821),missing_links_from_nm_to_src_1=__webpack_require__(83813),circular_dependencies_1=__webpack_require__(65559),duplicate_component_and_package_1=__webpack_require__(18742),merge_config_has_conflict_1=__webpack_require__(2720),non_loaded_env_1=__webpack_require__(57524),external_env_without_version_1=__webpack_require__(60873),removed_dependencies_1=__webpack_require__(84981),self_reference_1=__webpack_require__(55088),import_from_directory_1=__webpack_require__(12839);exports.IssuesClasses={MissingPackagesDependenciesOnFs:missing_packages_dependencies_on_fs_1.MissingPackagesDependenciesOnFs,MissingManuallyConfiguredPackages:missing_manually_configured_packages_1.MissingManuallyConfiguredPackages,UntrackedDependencies:untracked_dependencies_1.UntrackedDependencies,ResolveErrors:resolve_errors_1.ResolveErrors,RelativeComponents:relative_components_1.RelativeComponents,RelativeComponentsAuthored:relative_components_authored_1.RelativeComponentsAuthored,ParseErrors:parse_errors_1.ParseErrors,MissingDists:missing_dists_1.MissingDists,LegacyInsideHarmony:legacy_inside_harmony_1.LegacyInsideHarmony,MissingDependenciesOnFs:missing_dependencies_on_fs_1.MissingDependenciesOnFs,ImportNonMainFiles:import_non_main_files_1.ImportNonMainFiles,MultipleEnvs:multiple_envs_1.MultipleEnvs,MissingLinksFromNodeModulesToSrc:missing_links_from_nm_to_src_1.MissingLinksFromNodeModulesToSrc,CircularDependencies:circular_dependencies_1.CircularDependencies,DuplicateComponentAndPackage:duplicate_component_and_package_1.DuplicateComponentAndPackage,MergeConfigHasConflict:merge_config_has_conflict_1.MergeConfigHasConflict,NonLoadedEnv:non_loaded_env_1.NonLoadedEnv,ExternalEnvWithoutVersion:external_env_without_version_1.ExternalEnvWithoutVersion,RemovedDependencies:removed_dependencies_1.RemovedDependencies,SelfReference:self_reference_1.SelfReference,ImportFromDirectory:import_from_directory_1.ImportFromDirectory};class IssuesList{constructor(_issues=[]){this._issues=_issues}get count(){return this._issues.length}isEmpty(){return this._issues.length===0}outputForCLI(){return this._issues.map(issue=>issue.outputForCLI()).join("")}toObject(){return this._issues.map(issue=>issue.toObject())}toObjectWithDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{data:issue.dataToString().trim()}))}add(issue){this._issues.push(issue)}delete(IssueClass){this._issues=this._issues.filter(issue=>issue.constructor.name!==IssueClass.name)}getIssue(IssueClass){return this.getIssueByName(IssueClass.name)}getIssueByName(issueType){return this._issues.find(issue=>issue.constructor.name===issueType)}getAllIssues(){return this._issues}getAllIssueNames(){return this._issues.map(issue=>issue.constructor.name)}createIssue(IssueClass){const newIssue=new IssueClass;return this.add(newIssue),newIssue}getOrCreate(IssueClass){return this.getIssue(IssueClass)||this.createIssue(IssueClass)}shouldBlockSavingInCache(){return this._issues.some(issue=>issue.isCacheBlocker)}shouldBlockTagging(){return this._issues.some(issue=>issue.isTagBlocker)}filterNonTagBlocking(){return new IssuesList(this._issues.filter(issue=>issue.isTagBlocker))}toObjectIncludeDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{dataAsString:issue.dataToString()}))}serialize(){return this._issues.map(issue=>({type:issue.constructor.name,data:issue.serialize()}))}static deserialize(data){if(!Array.isArray(data))return new IssuesList;const issues=data.map(issue=>{const ClassName=issue.type;if(!Object.keys(exports.IssuesClasses).includes(ClassName))throw new Error(`issue type "${ClassName}" is not recognized.
363
+ `)}exports.formatTitle=formatTitle;function componentIssueToString(value){return Array.isArray(value)?value.join(", "):value}exports.componentIssueToString=componentIssueToString;function deserializeWithBitId(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(filePath=>{data[filePath]=data[filePath].map(id=>new component_id_1.ComponentID(id))}),data}exports.deserializeWithBitId=deserializeWithBitId},840:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DeprecatedDependencies=void 0;const component_issue_1=__webpack_require__(50581);class DeprecatedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="dependencies used in the code were deprecated",this.solution="replace them with alternative dependencies. or remove them if not needed anymore",this.isTagBlocker=!1}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.DeprecatedDependencies=DeprecatedDependencies},63087:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DuplicateComponentAndPackage=void 0;const component_issue_1=__webpack_require__(50581);class DuplicateComponentAndPackage extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="tracked component added as a package",this.solution="either remove the package from the workspace.jsonc (bit uninstall) or remove the component (bit remove)",this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.DuplicateComponentAndPackage=DuplicateComponentAndPackage},60873:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExternalEnvWithoutVersion=void 0;const component_issue_1=__webpack_require__(50581);class ExternalEnvWithoutVersion extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env - external env without a version",this.solution="",this.isTagBlocker=!0}formatSolution(){return`(run "bit env set ${this.data.componentId} ${this.data.envId}")`}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.envId}}exports.ExternalEnvWithoutVersion=ExternalEnvWithoutVersion},12839:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportFromDirectory=void 0;const component_issue_1=__webpack_require__(50581);class ImportFromDirectory extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="relative import from a directory",this.solution="change the import statement to a specific file",this.data={},this.isCacheBlocker=!1,this.isTagBlocker=!1}}exports.ImportFromDirectory=ImportFromDirectory},86826:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportNonMainFiles=void 0;const component_issue_1=__webpack_require__(50581);class ImportNonMainFiles extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="importing non-main files",this.solution="the dependency should expose its API from the main file",this.data={},this.isCacheBlocker=!1}}exports.ImportNonMainFiles=ImportNonMainFiles},86853:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthoredEntry=exports.MISSING_NESTED_DEPS_SPACE=exports.UntrackedFileDependencyEntry=exports.ComponentIssue=exports.MISSING_DEPS_SPACE=exports.IssuesNames=exports.IssuesClasses=exports.IssuesList=void 0;var issues_list_1=__webpack_require__(99838);Object.defineProperty(exports,"IssuesList",{enumerable:!0,get:function(){return issues_list_1.IssuesList}}),Object.defineProperty(exports,"IssuesClasses",{enumerable:!0,get:function(){return issues_list_1.IssuesClasses}}),Object.defineProperty(exports,"IssuesNames",{enumerable:!0,get:function(){return issues_list_1.IssuesNames}});var component_issue_1=__webpack_require__(50581);Object.defineProperty(exports,"MISSING_DEPS_SPACE",{enumerable:!0,get:function(){return component_issue_1.ISSUE_FORMAT_SPACE}}),Object.defineProperty(exports,"ComponentIssue",{enumerable:!0,get:function(){return component_issue_1.ComponentIssue}});var untracked_dependencies_1=__webpack_require__(89695);Object.defineProperty(exports,"UntrackedFileDependencyEntry",{enumerable:!0,get:function(){return untracked_dependencies_1.UntrackedFileDependencyEntry}}),Object.defineProperty(exports,"MISSING_NESTED_DEPS_SPACE",{enumerable:!0,get:function(){return untracked_dependencies_1.MISSING_NESTED_DEPS_SPACE}});var relative_components_authored_1=__webpack_require__(68545);Object.defineProperty(exports,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return relative_components_authored_1.RelativeComponentsAuthoredEntry}})},99838:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IssuesList=exports.IssuesClasses=void 0;const import_non_main_files_1=__webpack_require__(86826),missing_dependencies_on_fs_1=__webpack_require__(34904),missing_dists_1=__webpack_require__(47153),missing_packages_dependencies_on_fs_1=__webpack_require__(38568),missing_manually_configured_packages_1=__webpack_require__(97331),parse_errors_1=__webpack_require__(3185),relative_components_1=__webpack_require__(41420),relative_components_authored_1=__webpack_require__(68545),resolve_errors_1=__webpack_require__(5649),untracked_dependencies_1=__webpack_require__(89695),legacy_inside_harmony_1=__webpack_require__(27842),multiple_envs_1=__webpack_require__(88821),missing_links_from_nm_to_src_1=__webpack_require__(83813),circular_dependencies_1=__webpack_require__(65559),duplicate_component_and_package_1=__webpack_require__(63087),merge_config_has_conflict_1=__webpack_require__(2720),non_loaded_env_1=__webpack_require__(57524),external_env_without_version_1=__webpack_require__(60873),removed_dependencies_1=__webpack_require__(84981),self_reference_1=__webpack_require__(55088),import_from_directory_1=__webpack_require__(12839),deprecated_dependencies_1=__webpack_require__(840);exports.IssuesClasses={MissingPackagesDependenciesOnFs:missing_packages_dependencies_on_fs_1.MissingPackagesDependenciesOnFs,MissingManuallyConfiguredPackages:missing_manually_configured_packages_1.MissingManuallyConfiguredPackages,UntrackedDependencies:untracked_dependencies_1.UntrackedDependencies,ResolveErrors:resolve_errors_1.ResolveErrors,RelativeComponents:relative_components_1.RelativeComponents,RelativeComponentsAuthored:relative_components_authored_1.RelativeComponentsAuthored,ParseErrors:parse_errors_1.ParseErrors,MissingDists:missing_dists_1.MissingDists,LegacyInsideHarmony:legacy_inside_harmony_1.LegacyInsideHarmony,MissingDependenciesOnFs:missing_dependencies_on_fs_1.MissingDependenciesOnFs,ImportNonMainFiles:import_non_main_files_1.ImportNonMainFiles,MultipleEnvs:multiple_envs_1.MultipleEnvs,MissingLinksFromNodeModulesToSrc:missing_links_from_nm_to_src_1.MissingLinksFromNodeModulesToSrc,CircularDependencies:circular_dependencies_1.CircularDependencies,DuplicateComponentAndPackage:duplicate_component_and_package_1.DuplicateComponentAndPackage,MergeConfigHasConflict:merge_config_has_conflict_1.MergeConfigHasConflict,NonLoadedEnv:non_loaded_env_1.NonLoadedEnv,ExternalEnvWithoutVersion:external_env_without_version_1.ExternalEnvWithoutVersion,RemovedDependencies:removed_dependencies_1.RemovedDependencies,DeprecatedDependencies:deprecated_dependencies_1.DeprecatedDependencies,SelfReference:self_reference_1.SelfReference,ImportFromDirectory:import_from_directory_1.ImportFromDirectory};class IssuesList{constructor(_issues=[]){this._issues=_issues}get count(){return this._issues.length}isEmpty(){return this._issues.length===0}outputForCLI(){return this._issues.map(issue=>issue.outputForCLI()).join("")}toObject(){return this._issues.map(issue=>issue.toObject())}toObjectWithDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{data:issue.dataToString().trim()}))}add(issue){this._issues.push(issue)}delete(IssueClass){this._issues=this._issues.filter(issue=>issue.constructor.name!==IssueClass.name)}hasTagBlockerIssues(){return this._issues.some(issue=>issue.isTagBlocker)}getIssue(IssueClass){return this.getIssueByName(IssueClass.name)}getIssueByName(issueType){return this._issues.find(issue=>issue.constructor.name===issueType)}getAllIssues(){return this._issues}getAllIssueNames(){return this._issues.map(issue=>issue.constructor.name)}createIssue(IssueClass){const newIssue=new IssueClass;return this.add(newIssue),newIssue}getOrCreate(IssueClass){return this.getIssue(IssueClass)||this.createIssue(IssueClass)}shouldBlockSavingInCache(){return this._issues.some(issue=>issue.isCacheBlocker)}shouldBlockTagging(){return this._issues.some(issue=>issue.isTagBlocker)}filterNonTagBlocking(){return new IssuesList(this._issues.filter(issue=>issue.isTagBlocker))}toObjectIncludeDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{dataAsString:issue.dataToString()}))}serialize(){return this._issues.map(issue=>({type:issue.constructor.name,data:issue.serialize()}))}static deserialize(data){if(!Array.isArray(data))return new IssuesList;const issues=data.map(issue=>{const ClassName=issue.type;if(!Object.keys(exports.IssuesClasses).includes(ClassName))throw new Error(`issue type "${ClassName}" is not recognized.
371
364
  the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);const issueInstance=new exports.IssuesClasses[ClassName];return issueInstance.data=issueInstance.deserialize(issue.data),issueInstance});return new IssuesList(issues)}}exports.IssuesList=IssuesList},27842:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LegacyInsideHarmony=void 0;const component_issue_1=__webpack_require__(50581);class LegacyInsideHarmony extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="legacy component inside Harmony workspace",this.solution="remove the component and re-create it via Harmony",this.isTagBlocker=!0}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.LegacyInsideHarmony=LegacyInsideHarmony},2720:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MergeConfigHasConflict=void 0;const component_issue_1=__webpack_require__(50581);class MergeConfigHasConflict extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="merge-conflict file has unresolved conflicts",this.solution="edit the merge-conflict file in the workspace root and resolve the conflicts",this.isTagBlocker=!0}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MergeConfigHasConflict=MergeConfigHasConflict},34904:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(50581);class MissingDependenciesOnFs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="non-existing dependency files",this.solution="make sure all files exists on your workspace",this.data={}}}exports.MissingDependenciesOnFs=MissingDependenciesOnFs},47153:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDists=void 0;const component_issue_1=__webpack_require__(50581);class MissingDists extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing dists",this.solution='run "bit compile"',this.isTagBlocker=!1}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MissingDists=MissingDists},83813:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingLinksFromNodeModulesToSrc=void 0;const component_issue_1=__webpack_require__(50581);class MissingLinksFromNodeModulesToSrc extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing links from node_modules to source",this.solution='run "bit link"',this.isTagBlocker=!1}outputForCLI(){return(0,component_issue_1.formatTitle)(this.descriptionWithSolution,!1)}}exports.MissingLinksFromNodeModulesToSrc=MissingLinksFromNodeModulesToSrc},97331:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingManuallyConfiguredPackages=void 0;const component_issue_1=__webpack_require__(50581);class MissingManuallyConfiguredPackages extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing packages that were manually set",this.solution='run "bit install"',this.data=[]}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MissingManuallyConfiguredPackages=MissingManuallyConfiguredPackages},38568:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingPackagesDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(50581);class MissingPackagesDependenciesOnFs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="missing packages or links from node_modules to the source",this.solution='run "bit install --add-missing-deps" to fix both issues',this.data=[]}dataToString(){return this.data.map(d=>`${component_issue_1.ISSUE_FORMAT_SPACE}${d.filePath} -> ${this.formatDataFunction(d.missingPackages)}`).join(`
372
365
  `)}}exports.MissingPackagesDependenciesOnFs=MissingPackagesDependenciesOnFs},88821:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MultipleEnvs=void 0;const component_issue_1=__webpack_require__(50581);class MultipleEnvs extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="multiple envs",this.solution=`set the desired env by running "bit env set <component> <env>", if it doesn't work, run "bit aspect unset <component> <unwanted-env-id>". to keep troubleshooting run "bit aspect list <component-id>"`,this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.MultipleEnvs=MultipleEnvs},57524:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NonLoadedEnv=void 0;const component_issue_1=__webpack_require__(50581);class NonLoadedEnv extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="failed loading env",this.solution='run "bit install"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.NonLoadedEnv=NonLoadedEnv},3185:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParseErrors=void 0;const component_issue_1=__webpack_require__(50581);class ParseErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while parsing the file",this.solution="edit the file and fix the parsing error",this.data={}}}exports.ParseErrors=ParseErrors},68545:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponentsAuthored=void 0;const component_id_1=__webpack_require__(99978),component_issue_1=__webpack_require__(50581);class RelativeComponentsAuthored extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="components with relative import statements found",this.solution='replace to module paths or use "bit link --rewire" to replace',this.data={},this.isCacheBlocker=!1,this.formatDataFunction=relativeComponentsAuthoredIssuesToString}serialize(){const obj=Object.keys(this.data).reduce((acc,fileName)=>(acc[fileName]=this.data[fileName].map(record=>({importSource:record.importSource,componentId:record.componentId.serialize(),relativePath:record.relativePath})),acc),{});return JSON.stringify(obj)}deserialize(dataStr){const data=JSON.parse(dataStr);return Object.keys(data).forEach(fileName=>{data[fileName]=data[fileName].map(record=>({importSource:record.importSource,componentId:component_id_1.ComponentID.deserialize(record.componentId),relativePath:record.relativePath}))}),data}}exports.RelativeComponentsAuthored=RelativeComponentsAuthored;function relativeComponentsAuthoredIssuesToString(relativeEntries){const stringifyEntry=entry=>`"${entry.importSource}" (${entry.componentId.toString()})`;return relativeEntries.map(stringifyEntry).join(", ")}},41420:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponents=void 0;const component_issue_1=__webpack_require__(50581);class RelativeComponents extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="components with relative import statements found",this.solution="use module paths for imported components",this.data={},this.isCacheBlocker=!1}deserialize(data){return(0,component_issue_1.deserializeWithBitId)(data)}}exports.RelativeComponents=RelativeComponents},84981:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedDependencies=void 0;const component_issue_1=__webpack_require__(50581);class RemovedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="dependencies used in the code were deleted",this.solution='if the dependencies are no longer needed, remove them from the code. otherwise, to get it installed from main run "bit install <missing dep>". to undo the delete, run "bit recover"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.RemovedDependencies=RemovedDependencies},5649:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResolveErrors=void 0;const component_issue_1=__webpack_require__(50581);class ResolveErrors extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="error found while resolving the file dependencies",this.solution="see the log for the full error",this.data={}}}exports.ResolveErrors=ResolveErrors},55088:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SelfReference=void 0;const component_issue_1=__webpack_require__(50581);class SelfReference extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="a component has an import statement that points to itself",this.solution="edit the file and change the import statement to a relative path",this.data={},this.isTagBlocker=!0}}exports.SelfReference=SelfReference},89695:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UntrackedDependencies=exports.MISSING_NESTED_DEPS_SPACE=void 0;const chalk_1=__importDefault(__webpack_require__(23729)),component_issue_1=__webpack_require__(50581);exports.MISSING_NESTED_DEPS_SPACE=" ".repeat(component_issue_1.ISSUE_FORMAT_SPACE_COUNT+2);class UntrackedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="untracked file dependencies",this.solution='use "bit add <file>" to track untracked files as components',this.data={}}dataToString(){return Object.keys(this.data).map(k=>{let space=component_issue_1.ISSUE_FORMAT_SPACE;return this.data[k].nested&&(space=exports.MISSING_NESTED_DEPS_SPACE),`${space}${k} -> ${untrackedFilesComponentIssueToString(this.data[k])}`}).join(`
373
366
  `)}}exports.UntrackedDependencies=UntrackedDependencies;function untrackedFilesComponentIssueToString(value){return value.untrackedFiles.map(curr=>curr.existing?`${chalk_1.default.yellow(curr.relativePath)}`:curr.relativePath).join(", ")}},24636:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.DetailedVersion=exports.SimpleVersion=void 0;var version_dropdown_placeholder_1=__webpack_require__(38052);Object.defineProperty(exports,"SimpleVersion",{enumerable:!0,get:function(){return version_dropdown_placeholder_1.SimpleVersion}}),Object.defineProperty(exports,"DetailedVersion",{enumerable:!0,get:function(){return version_dropdown_placeholder_1.DetailedVersion}});var version_dropdown_1=__webpack_require__(18827);Object.defineProperty(exports,"VersionDropdown",{enumerable:!0,get:function(){return version_dropdown_1.VersionDropdown}})},43272:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;var lane_info_1=__webpack_require__(89053);Object.defineProperty(exports,"LaneInfo",{enumerable:!0,get:function(){return lane_info_1.LaneInfo}})},89053:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;const lanes_ui_models_lanes_model_1=__webpack_require__(97223),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),evangelist_elements_icon_1=__webpack_require__(6281),lane_info_module_scss_1=__importDefault(__webpack_require__(72154));function LaneInfo({id,currentLane}){const isCurrent=currentLane&&id.isEqual(currentLane.id);return react_1.default.createElement("div",{key:id.toString()},react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{active:isCurrent,href:lanes_ui_models_lanes_model_1.LanesModel.getLaneUrl(id),className:lane_info_module_scss_1.default.versionRow},react_1.default.createElement("span",null,react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:lane_info_module_scss_1.default.laneIcon,of:"lane"}),id.toString())))}exports.LaneInfo=LaneInfo},38052:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DetailedVersion=exports.SimpleVersion=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_styles_ellipsis_1=__webpack_require__(25747),classnames_1=__importDefault(__webpack_require__(97754)),semver=__importStar(__webpack_require__(9131)),evangelist_elements_icon_1=__webpack_require__(6281),design_ui_time_ago_1=__webpack_require__(59453),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(16623),version_dropdown_placeholder_module_scss_1=__importDefault(__webpack_require__(97276));function SimpleVersion(_a){var{currentVersion,className,disabled,hasMoreVersions,isTag=version=>semver.valid(version)!==null,useCurrentVersionLog,showFullVersion,loading}=_a,rest=__rest(_a,["currentVersion","className","disabled","hasMoreVersions","isTag","useCurrentVersionLog","showFullVersion","loading"]);if(loading)return react_1.default.createElement(base_ui_loaders_skeleton_1.WordSkeleton,{className:version_dropdown_placeholder_module_scss_1.default.loader,length:9});const formattedVersion=showFullVersion||isTag(currentVersion)?currentVersion:currentVersion?.slice(0,6);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.simple,className,disabled&&version_dropdown_placeholder_module_scss_1.default.disabled)}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.versionName),onClick:rest.onClick},formattedVersion),hasMoreVersions&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"fat-arrow-down",onClick:rest.onClick}))}exports.SimpleVersion=SimpleVersion;function DetailedVersion(_a){var{currentVersion,className,disabled,hasMoreVersions,isTag=version=>semver.valid(version)!==null,loading,useCurrentVersionLog,showFullVersion}=_a,rest=__rest(_a,["currentVersion","className","disabled","hasMoreVersions","isTag","loading","useCurrentVersionLog","showFullVersion"]);const currentVersionLog=useCurrentVersionLog?.({skip:loading,version:currentVersion}),{displayName,message,username,email,date:_date,profileImage}=currentVersionLog||{},author=react_1.default.useMemo(()=>({displayName:displayName??"",email,name:username??"",profileImage}),[displayName,email,username,profileImage]),formattedVersion=showFullVersion||isTag(currentVersion)?currentVersion:currentVersion?.slice(0,6),date=_date?new Date(+_date):void 0,timestamp=react_1.default.useMemo(()=>date?new Date(+date).toString():new Date().toString(),[date]);return loading?react_1.default.createElement(base_ui_loaders_skeleton_1.WordSkeleton,{className:version_dropdown_placeholder_module_scss_1.default.loader,length:9}):react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.detailed,className,disabled&&version_dropdown_placeholder_module_scss_1.default.disabled)}),react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:author??{},className:version_dropdown_placeholder_module_scss_1.default.versionUserAvatar,showTooltip:!0,onClick:rest.onClick}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_dropdown_placeholder_module_scss_1.default.versionName),onClick:rest.onClick},formattedVersion),commitMessage(message,rest.onClick),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.versionTimestamp,onClick:rest.onClick},react_1.default.createElement(design_ui_time_ago_1.TimeAgo,{date:timestamp,onClick:rest.onClick})),hasMoreVersions&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"fat-arrow-down",onClick:rest.onClick}))}exports.DetailedVersion=DetailedVersion;function commitMessage(message,onClick){return!message||message===""?react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.emptyMessage,onClick},"No commit message"):react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_dropdown_placeholder_module_scss_1.default.commitMessage,onClick},message)}},18827:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.LOCAL_VERSION=void 0;const react_1=__importStar(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),evangelist_surfaces_dropdown_1=__webpack_require__(47676),ui_foundation_ui_use_box_tab_1=__webpack_require__(11058),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(16623),classnames_1=__importDefault(__webpack_require__(97754)),version_dropdown_module_scss_1=__importDefault(__webpack_require__(40926)),version_info_1=__webpack_require__(27085),lane_info_1=__webpack_require__(43272),version_dropdown_placeholder_1=__webpack_require__(38052);exports.LOCAL_VERSION="workspace",exports.VersionDropdown=react_1.default.memo(_VersionDropdown);const VersionMenu=react_1.default.memo(_VersionMenu);function _VersionDropdown(_a){var{currentVersion,latestVersion,localVersion,useCurrentVersionLog,hasMoreVersions,loading,overrideVersionHref,className,placeholderClassName,getActiveTabIndex,dropdownClassName,menuClassName,showVersionDetails=!0,disabled,PlaceholderComponent:_PlaceholderComponent,currentLane,useComponentVersions,lanes}=_a,rest=__rest(_a,["currentVersion","latestVersion","localVersion","useCurrentVersionLog","hasMoreVersions","loading","overrideVersionHref","className","placeholderClassName","getActiveTabIndex","dropdownClassName","menuClassName","showVersionDetails","disabled","PlaceholderComponent","currentLane","useComponentVersions","lanes"]);const[key,setKey]=(0,react_1.useState)(0),singleVersion=!hasMoreVersions,[open,setOpen]=(0,react_1.useState)(!1);react_1.default.useEffect(()=>{loading&&open&&setOpen(!1)},[loading]);const handlePlaceholderClicked=e=>{loading||e.target===e.currentTarget&&setOpen(o=>!o)},defaultPlaceholder=react_1.default.createElement(version_dropdown_placeholder_1.SimpleVersion,{useCurrentVersionLog,disabled,className:placeholderClassName,currentVersion,onClick:handlePlaceholderClicked,hasMoreVersions,loading,showFullVersion:currentVersion==="workspace"}),PlaceholderComponent=_PlaceholderComponent?react_1.default.createElement(_PlaceholderComponent,{useCurrentVersionLog,disabled,className:placeholderClassName,currentVersion,onClick:handlePlaceholderClicked,hasMoreVersions,loading,showFullVersion:currentVersion==="workspace"}):defaultPlaceholder;return disabled||singleVersion&&!loading?react_1.default.createElement("div",{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.noVersions,className)},PlaceholderComponent):react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionDropdown,className)}),react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.dropdown,dropdownClassName),dropClass:(0,classnames_1.default)(version_dropdown_module_scss_1.default.menu,menuClassName),open,onClick:handlePlaceholderClicked,onClickOutside:()=>setOpen(!1),onChange:(_e,_open)=>_open&&setKey(x=>x+1),PlaceholderComponent:_a2=>{var{children}=_a2,other=__rest(_a2,["children"]);return react_1.default.createElement("div",Object.assign({},other,{className:placeholderClassName,onClick:handlePlaceholderClicked}),children)},placeholder:PlaceholderComponent},react_1.default.createElement(VersionMenu,{className:menuClassName,key,currentVersion,latestVersion,localVersion,overrideVersionHref,showVersionDetails,currentLane,getActiveTabIndex,lanes,useVersions:useComponentVersions,open})))}const defaultActiveTabIndex=(currentVersion,tabs=[],tags,snaps)=>(snaps||[]).some(snap=>snap.version===currentVersion)?tabs.findIndex(tab=>tab.name==="SNAP"):0,VERSION_TAB_NAMES=["TAG","SNAP","LANE"];function _VersionMenu(_a){var _b,_c,{currentVersion,localVersion,latestVersion,overrideVersionHref,showVersionDetails,useVersions,currentLane,lanes,getActiveTabIndex=defaultActiveTabIndex,loading:loadingFromProps,open}=_a,rest=__rest(_a,["currentVersion","localVersion","latestVersion","overrideVersionHref","showVersionDetails","useVersions","currentLane","lanes","getActiveTabIndex","loading","open"]);const{snaps,tags,loading:loadingVersions}=useVersions?.()||{},loading=loadingFromProps||loadingVersions,tabs=react_1.default.useMemo(()=>VERSION_TAB_NAMES.map(name=>{switch(name){case"SNAP":return{name,payload:snaps||[]};case"LANE":return{name,payload:lanes||[]};default:return{name,payload:tags||[]}}}).filter(tab=>tab.payload.length>0),[snaps?.length,tags?.length,lanes?.length,loading]),[activeTabIndex,setActiveTab]=react_1.default.useState(getActiveTabIndex(currentVersion,tabs,tags,snaps,currentLane)),activeTab=react_1.default.useMemo(()=>activeTabIndex!==void 0?tabs[activeTabIndex]:void 0,[activeTabIndex,tabs]);react_1.default.useEffect(()=>{if(!currentLane||tabs.length===0)return;const _activeTabIndex=getActiveTabIndex(currentVersion,tabs,tags,snaps,currentLane);_activeTabIndex!==activeTabIndex&&setActiveTab(_activeTabIndex)},[currentLane,tabs.length,tags?.length,snaps?.length,currentVersion,loading]);const multipleTabs=tabs.length>1,message=multipleTabs?"Switch to view tags, snaps, or lanes":`Switch between ${(_b=tabs[0])===null||_b===void 0?void 0:_b.name.toLocaleLowerCase()}s`,showTab=activeTabIndex!==void 0&&((_c=tabs[activeTabIndex])===null||_c===void 0?void 0:_c.payload.length)>0,_rowRenderer=react_1.default.useCallback(function({index}){const{name,payload=[]}=activeTab||{},item=payload[index];if(!item)return null;if(name==="LANE"){const lane=item;return react_1.default.createElement(lane_info_1.LaneInfo,Object.assign({key:lane.id.toString(),currentLane},lane))}const version=item;return react_1.default.createElement(version_info_1.VersionInfo,Object.assign({key:version.version,currentVersion,latestVersion,overrideVersionHref,showDetails:showVersionDetails},version))},[activeTab,currentVersion,latestVersion,showVersionDetails,currentLane?.id.toString(),showTab]),rowRenderer=react_1.default.useMemo(()=>showTab&&activeTab?_rowRenderer:()=>null,[showTab,activeTab,_rowRenderer]),ActiveTab=react_1.default.useMemo(()=>activeTab?.payload.map((payload,index)=>rowRenderer({index})),[activeTab]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionMenuContainer,!open&&version_dropdown_module_scss_1.default.hide)}),react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.top},loading&&react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{count:6,className:version_dropdown_module_scss_1.default.loader}),!loading&&react_1.default.createElement("div",{className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.titleContainer,version_dropdown_module_scss_1.default.title)},message),!loading&&localVersion&&react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{href:"?",active:currentVersion===exports.LOCAL_VERSION,className:(0,classnames_1.default)(version_dropdown_module_scss_1.default.versionRow,version_dropdown_module_scss_1.default.localVersion)},react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.version},react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:{},className:version_dropdown_module_scss_1.default.versionUserAvatar}),react_1.default.createElement("span",{className:version_dropdown_module_scss_1.default.versionName},exports.LOCAL_VERSION)))),react_1.default.createElement("div",{className:(0,classnames_1.default)(multipleTabs&&version_dropdown_module_scss_1.default.tabs)},multipleTabs&&tabs.map(({name},index)=>react_1.default.createElement(ui_foundation_ui_use_box_tab_1.Tab,{className:version_dropdown_module_scss_1.default.tab,key:name,isActive:activeTabIndex===index,onClick:()=>setActiveTab(index)},name))),react_1.default.createElement("div",{className:version_dropdown_module_scss_1.default.versionContainerRoot},ActiveTab))}},27085:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;var version_info_1=__webpack_require__(62078);Object.defineProperty(exports,"VersionInfo",{enumerable:!0,get:function(){return version_info_1.VersionInfo}})},62078:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;const design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),design_ui_time_ago_1=__webpack_require__(59453),component_ui_version_label_1=__webpack_require__(35447),react_1=__importStar(__webpack_require__(59496)),design_ui_avatar_1=__webpack_require__(14452),design_ui_styles_ellipsis_1=__webpack_require__(25747),classnames_1=__importDefault(__webpack_require__(97754)),version_info_module_scss_1=__importDefault(__webpack_require__(63432));exports.VersionInfo=react_1.default.memo(react_1.default.forwardRef(_VersionInfo));function _VersionInfo({version,currentVersion,latestVersion,date,username,displayName,email,overrideVersionHref,showDetails,message,tag,profileImage},ref){const isCurrent=version===currentVersion,author=(0,react_1.useMemo)(()=>({displayName:displayName??"",email,name:username??"",profileImage}),[displayName,email,username,profileImage]),timestamp=(0,react_1.useMemo)(()=>date?new Date(parseInt(date)).toString():new Date().toString(),[date]),currentVersionRef=(0,react_1.useRef)(null);(0,react_1.useEffect)(()=>{var _a;isCurrent&&((_a=currentVersionRef.current)===null||_a===void 0||_a.scrollIntoView({block:"nearest"}))},[isCurrent]);const href=overrideVersionHref?overrideVersionHref(version):`?version=${version}`,formattedVersion=(0,react_1.useMemo)(()=>tag?version:version.slice(0,6),[tag,version]),isLatest=version===latestVersion;return react_1.default.createElement("div",{ref:ref||currentVersionRef},react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem,{active:isCurrent,href,className:version_info_module_scss_1.default.versionRow},react_1.default.createElement("div",{className:version_info_module_scss_1.default.version},react_1.default.createElement(design_ui_avatar_1.UserAvatar,{size:24,account:author,className:version_info_module_scss_1.default.versionUserAvatar,showTooltip:!0}),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:(0,classnames_1.default)(version_info_module_scss_1.default.versionName)},formattedVersion),isLatest&&react_1.default.createElement(component_ui_version_label_1.VersionLabel,{status:"latest"}),react_1.default.createElement(CommitMessage,{message,showDetails})),react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.versionTimestamp},react_1.default.createElement(design_ui_time_ago_1.TimeAgo,{date:timestamp}))))}function CommitMessage({message,showDetails}){return showDetails?!message||message===""?react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.emptyMessage},"No commit message"):react_1.default.createElement(design_ui_styles_ellipsis_1.Ellipsis,{className:version_info_module_scss_1.default.commitMessage},message):null}},69301:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AspectEntry=void 0;class AspectEntry{constructor(id,legacyEntry){this.id=id,this.legacyEntry=legacyEntry}get legacy(){return this.legacyEntry}get isLegacy(){return!!this.config?.__legacy}get config(){return this.legacy.config}set config(config){this.legacy.config=config}get data(){return this.legacy.data}get isRemoved(){return this.legacy.isRemoved}set data(val){this.legacy.data=val}transform(newData){const newEntry=this.clone();return newEntry.data=newData,new AspectEntry(this.id,newEntry.legacy)}clone(){return new AspectEntry(this.id,this.legacyEntry.clone())}serialize(){return{id:this.id.toString(),config:this.config,data:this.data,icon:"https://static.bit.dev/extensions-icons/default.svg"}}}exports.AspectEntry=AspectEntry},11846:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function _anyFs(){const data=__webpack_require__(21186);return _anyFs=function(){return data},data}function _eol(){const data=__webpack_require__(58225);return _eol=function(){return data},data}function _path(){const data=_interopRequireDefault(__webpack_require__(62005));return _path=function(){return data},data}function _toolboxPath(){const data=__webpack_require__(31461);return _toolboxPath=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}class ComponentFS extends _anyFs().MemoryFS{constructor(files){super();this.files=files}get hash(){return""}byRegex(extension){return this.files.filter(file=>file.path.match(extension))}byGlob(patterns){const{includePatterns,excludePatterns}=(0,_toolboxPath().splitPatterns)(patterns);return this.files.filter(file=>(0,_toolboxPath().matchPatterns)(file.relative,includePatterns,excludePatterns))}toObject(){return this.files.map(file=>({path:file.path,contents:file.contents}))}static fromVinyls(files){const fs=new ComponentFS(files);return files.forEach(file=>{let dirPath=file.relativeDir;dirPath.startsWith("/")||(dirPath=_path().default.join("/",dirPath)),fs.mkdirpSync(dirPath),fs.writeFileSync(`/${file.relative}`,(0,_eol().auto)(file.contents||""))}),fs}}exports.default=ComponentFS},87690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentMap=void 0;class ComponentMap{constructor(hashMap){this.hashMap=hashMap}byComponent(component){return this.hashMap.get(component.id.toString())}get components(){return this.toArray().map(([component])=>component)}get(component){return this.hashMap.get(component.id.toString())}getValueByComponentId(componentId){const tuple=this.hashMap.get(componentId.toString());return tuple?tuple[1]:null}toArray(){return Array.from(this.hashMap.values())}map(predicate){const tuples=this.toArray().map(([component,value])=>{const newValue=predicate(value,component);return[component.id.toString(),[component,newValue]]});return new ComponentMap(new Map(tuples))}async asyncMap(predicate){const tuplesP=this.toArray().map(async([component,value])=>{const newValue=await predicate(value,component);return[component.id.toString(),[component,newValue]]}),tuples=await Promise.all(tuplesP);return new ComponentMap(new Map(tuples))}forEach(predicate){this.toArray().forEach(([component,value])=>{predicate(value,component)})}flattenValue(){return this.toArray().reduce((acc,[,value])=>(acc=acc.concat(value),acc),[])}filter(predicate){const asMap=this.toArray().filter(([,value])=>predicate(value)).map(([component,value])=>[component.id.toString(),[component,value]]);return new ComponentMap(new Map(asMap))}keys(){return this.hashMap.keys()}static create(rawMap){const newMap=rawMap.map(([component,data])=>[component.id.toString(),[component,data]]);return new ComponentMap(new Map(newMap))}static as(components,predicate){const tuples=components.map(component=>[component.id.toString(),[component,predicate(component)]]);return new ComponentMap(new Map(tuples))}static async asAsync(components,predicate){const tuples=await Promise.all(components.map(async component=>[component.id.toString(),[component,await predicate(component)]]));return new ComponentMap(new Map(tuples))}}exports.ComponentMap=ComponentMap},12178:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentMap",{enumerable:!0,get:function(){return _componentMap().ComponentMap}});function _componentMap(){const data=__webpack_require__(87690);return _componentMap=function(){return data},data}},42259:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.ComponentAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const ComponentAspect=exports.ComponentAspect=_harmony().Aspect.create({id:"teambit.component/component",dependencies:[],defaultConfig:{}});var _default=exports.default=ComponentAspect},60195:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=void 0;function _toolboxString(){const data=__webpack_require__(58315);return _toolboxString=function(){return data},data}function _bitError(){const data=__webpack_require__(74155);return _bitError=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class Component{constructor(id,head=null,_state,tags=new(_tagMap()).TagMap,factory){this.id=id,this.head=head,this._state=_state,this.tags=tags,this.factory=factory}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(state){this._state=state}get config(){return this.state.config}get filesystem(){return this.state.filesystem}get buildStatus(){return this._state._consumer.buildStatus}get headTag(){if(!!this.head)return this.tags.byHash(this.head.hash)}get latest(){if(!!this.head)try{return this.tags.getLatest()}catch(err){if(err instanceof _exceptions().CouldNotFindLatest)return this.head.hash;throw err}}get(id){return this.state.aspects.get(id)?.serialize()}async getLogs(filter){const allLogs=await this.factory.getLogs(this.id,!1,filter?.head);if(!filter)return allLogs;const{type,limit,offset,sort}=filter,typeFilter=snap=>type==="tag"?snap.tag:type==="snap"?!snap.tag:!0;let filteredLogs=type&&allLogs.filter(typeFilter)||allLogs;return sort!=="asc"&&(filteredLogs=filteredLogs.reverse()),limit&&(filteredLogs=(0,_lodash().slice)(filteredLogs,offset,limit+(offset||0))),filteredLogs}getDependencies(){return this.factory.getDependencies(this)}getPackageName(){return this.factory.componentPackageName(this)}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map(token=>(0,_toolboxString().capitalize)(token)).join(" ")}tag(version){}isModified(){return this.factory.isModified(this)}isDeleted(){return this.state._consumer.isRemoved()}isOutdated(){if(!this.latest)return!1;const latestTag=this.tags.byVersion(this.latest);return latestTag?this.head?.hash!==latestTag?.hash:!1}isNew(){return Promise.resolve(this.head===null)}loadState(snapId){return this.factory.getState(this.id,snapId)}loadSnap(snapId){const snapToGet=snapId||this.head?.hash;if(!snapToGet)throw new(_bitError()).BitError("could not load snap for new components");return this.factory.getSnap(this.id,snapToGet)}snapsIterable(snapId,options={}){const snapToStart=snapId||this.head?.hash;let nextSnaps=[snapToStart],done;snapToStart||(done=!0);const iterator={next:async()=>{if(done)return{value:void 0,done};const currSnapId=nextSnaps.shift(),snap=await this.loadSnap(currSnapId);return snap.parents&&snap.parents.length&&(options.firstParentOnly?nextSnaps.push(snap.parents[0]):nextSnaps=nextSnaps.concat(snap.parents)),nextSnaps.length?options.stopFn&&(done=await options.stopFn(snap)):done=!0,{value:snap,done:void 0}}};return{[Symbol.asyncIterator]:()=>iterator}}async getClosestTag(snapToStartFrom){const tagsHashMap=this.tags.getHashMap(),stopFn=async snap=>!!tagsHashMap.has(snap.hash),iterable=this.snapsIterable(snapToStartFrom,{firstParentOnly:!0,stopFn}),snaps=[];for await(const snap of iterable)snaps.push(snap);if(snaps.length){const hashOfLastSnap=snaps[snaps.length-1].hash;return tagsHashMap.get(hashOfLastSnap)}}getTag(){const currentVersion=this.id.version;if(!!currentVersion)return this.tags.byVersion(currentVersion)||this.tags.byHash(currentVersion)}getSnapHash(){if(!this.id.hasVersion())return;const tag=this.tags.byVersion(this.id.version);return tag?tag.hash:this.id.version}async getCurrentSnap(){const snap=this.getSnapHash();if(!!snap)return this.loadSnap(snap)}checkout(version){}write(path,fs){}equals(component){return component.id.toString()===this.id.toString()}}exports.Component=Component},5075:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Config=void 0;class Config{constructor(consumerComponent){this.consumerComponent=consumerComponent}get main(){return this.consumerComponent.mainFile}get extensions(){return this.consumerComponent.extensions}}exports.Config=Config},90406:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CouldNotFindLatest=void 0;class CouldNotFindLatest extends Error{constructor(semverArray){super(`could not find latest semver in array: ${semverArray.join(", ")}`)}report(){return this.message}}exports.CouldNotFindLatest=CouldNotFindLatest},339:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.HostNotFound=void 0;class HostNotFound extends Error{constructor(hostName){super();this.hostName=hostName}toString(){return`[component] error: host '${this.hostName}' was not found`}}exports.HostNotFound=HostNotFound},54428:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CouldNotFindLatest",{enumerable:!0,get:function(){return _couldNotFindLatest().CouldNotFindLatest}}),Object.defineProperty(exports,"HostNotFound",{enumerable:!0,get:function(){return _hostNotFound().HostNotFound}}),Object.defineProperty(exports,"MainFileNotFound",{enumerable:!0,get:function(){return _mainFileNotFound().MainFileNotFound}}),Object.defineProperty(exports,"NothingToSnap",{enumerable:!0,get:function(){return _nothingToSnap().default}});function _nothingToSnap(){const data=_interopRequireDefault(__webpack_require__(83277));return _nothingToSnap=function(){return data},data}function _hostNotFound(){const data=__webpack_require__(339);return _hostNotFound=function(){return data},data}function _couldNotFindLatest(){const data=__webpack_require__(90406);return _couldNotFindLatest=function(){return data},data}function _mainFileNotFound(){const data=__webpack_require__(58904);return _mainFileNotFound=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},58904:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainFileNotFound=void 0;class MainFileNotFound extends Error{constructor(id,mainFile){super();this.id=id,this.mainFile=mainFile}toString(){return`[component] error: main file ${this.mainFile} for component ${this.id.toString()} was not found`}}exports.MainFileNotFound=MainFileNotFound},83277:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;class NothingToSnap extends Error{}exports.default=NothingToSnap},72963:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentHostModel=void 0;function _ui(){const data=__webpack_require__(4744);return _ui=function(){return data},data}class ComponentHostModel{constructor(name,components){this.name=name,this.components=components}static from(data){return new ComponentHostModel(data.getHost.name,_ui().ComponentModel.fromArray(data.getHost.list))}}exports.ComponentHostModel=ComponentHostModel},23384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={useComponentHost:!0};Object.defineProperty(exports,"useComponentHost",{enumerable:!0,get:function(){return _useComponentHost().useComponentHost}});function _useComponentHost(){const data=__webpack_require__(28796);return _useComponentHost=function(){return data},data}var _componentHostModel=__webpack_require__(72963);Object.keys(_componentHostModel).forEach(function(key){key==="default"||key==="__esModule"||Object.prototype.hasOwnProperty.call(_exportNames,key)||key in exports&&exports[key]===_componentHostModel[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _componentHostModel[key]}})})},28796:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentHost=useComponentHost;function _uiFoundationUiHooks(){const data=__webpack_require__(25338);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(97299);return _client=function(){return data},data}function _componentHostModel(){const data=__webpack_require__(72963);return _componentHostModel=function(){return data},data}const COMPONENT_HOST=(0,_client().gql)`
@@ -543,7 +536,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
543
536
  }
544
537
  }
545
538
  ${componentIdFields}
546
- `},21268:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Filters",{enumerable:!0,get:function(){return _useComponent().Filters}}),Object.defineProperty(exports,"UseComponentType",{enumerable:!0,get:function(){return _useComponent().UseComponentType}}),exports.useComponent=useComponent;function _uiFoundationUiReactRouter(){const data=__webpack_require__(44514);return _uiFoundationUiReactRouter=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(62589);return _useComponentQuery=function(){return data},data}function _useComponent(){const data=__webpack_require__(48166);return _useComponent=function(){return data},data}function useComponent(host,id,options){const query=(0,_uiFoundationUiReactRouter().useQuery)(),{version,logFilters,customUseComponent,skip}=options||{},componentVersion=(version||query.get("version"))??void 0,componentIdStr=id&&withVersion(id,componentVersion);return(customUseComponent||_useComponentQuery().useComponentQuery)(componentIdStr||"",host,logFilters,skip||!id)}function withVersion(id,version){return!version||id.includes("@")?id:`${id}@${version}`}},48166:()=>{"use strict"},12645:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getOffsetValue=getOffsetValue;function getOffsetValue(offset,limit,backwards=!1){if(offset!==void 0)return backwards?-(offset+limit):offset;if(limit!==void 0)return 0}},25408:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.PreviewSkeleton=exports.CompositionCardSkeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_loaders_skeleton_1=__webpack_require__(16623),composition_card_skeleton_module_scss_1=__importDefault(__webpack_require__(73941));function CompositionCardSkeleton(){return react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.compositionCardSkeleton},react_1.default.createElement(PreviewSkeleton,null),react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.bottom},react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"104px"})))}exports.CompositionCardSkeleton=CompositionCardSkeleton;function PreviewSkeleton(){return react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.preview},react_1.default.createElement(base_ui_loaders_skeleton_1.BlockSkeleton,{lines:2,className:composition_card_skeleton_module_scss_1.default.block}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"208px"}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"152px"}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"88px"}))}exports.PreviewSkeleton=PreviewSkeleton},78647:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PreviewSkeleton=exports.CompositionCardSkeleton=void 0;var composition_card_skeleton_1=__webpack_require__(25408);Object.defineProperty(exports,"CompositionCardSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.CompositionCardSkeleton}}),Object.defineProperty(exports,"PreviewSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.PreviewSkeleton}})},94075:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),compositions_1=__webpack_require__(32552),design_ui_styles_ellipsis_1=__webpack_require__(25747),composition_card_module_scss_1=__importDefault(__webpack_require__(73441));exports.CompositionCard=react_1.default.memo(_CompositionCard);function _CompositionCard(_a){var{composition,component,className,openCompositionLink,previewClass}=_a,rest=__rest(_a,["composition","component","className","openCompositionLink","previewClass"]);const Composition=react_1.default.useMemo(()=>react_1.default.createElement(compositions_1.ComponentComposition,{className:previewClass,includeEnv:!1,loading:"lazy",composition,component,viewport:1280,scrolling:"no",previewName:"compositions"}),[composition.identifier,component.id.toString(),previewClass]);return react_1.default.createElement("div",Object.assign({},rest,{key:composition.identifier,className:(0,classnames_1.default)(composition_card_module_scss_1.default.compositionCard,className)}),react_1.default.createElement("div",{className:composition_card_module_scss_1.default.compositionPreview},Composition),react_1.default.createElement("div",{className:composition_card_module_scss_1.default.bottom},react_1.default.createElement("span",{className:(0,classnames_1.default)(design_ui_styles_ellipsis_1.ellipsis,composition_card_module_scss_1.default.displayName)},composition.displayName),openCompositionLink&&react_1.default.createElement("a",{className:composition_card_module_scss_1.default.link,target:"_blank",rel:"noopener noreferrer",href:openCompositionLink},react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:composition_card_module_scss_1.default.icon,of:"open-tab"}))))}},75797:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCardSkeleton=exports.CompositionCard=void 0;var composition_card_1=__webpack_require__(94075);Object.defineProperty(exports,"CompositionCard",{enumerable:!0,get:function(){return composition_card_1.CompositionCard}});var composition_card_skeleton_1=__webpack_require__(78647);Object.defineProperty(exports,"CompositionCardSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.CompositionCardSkeleton}})},4405:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;const humanize_string_1=__importDefault(__webpack_require__(28583));function humanizeCompositionId(rawId){return(0,humanize_string_1.default)(rawId)}exports.humanizeCompositionId=humanizeCompositionId},91888:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;var humanize_1=__webpack_require__(4405);Object.defineProperty(exports,"humanizeCompositionId",{enumerable:!0,get:function(){return humanize_1.humanizeCompositionId}})},94659:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_loaders_skeleton_1=__webpack_require__(16623),composition_card_1=__webpack_require__(75797),composition_gallery_skeleton_module_scss_1=__importDefault(__webpack_require__(74391));function CompositionGallerySkeleton(_a){var{compositionsLength,className}=_a,rest=__rest(_a,["compositionsLength","className"]);const length=Array.from(Array(compositionsLength));return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(composition_gallery_skeleton_module_scss_1.default.compositionGallerySkeleton,className)}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"100px",className:composition_gallery_skeleton_module_scss_1.default.title}),react_1.default.createElement("div",{className:(0,classnames_1.default)(composition_gallery_skeleton_module_scss_1.default.compositionGalleryGrid)},length.map((_,index)=>react_1.default.createElement(composition_card_1.CompositionCardSkeleton,{key:`comp-card-skeleton-${index}`}))))}exports.CompositionGallerySkeleton=CompositionGallerySkeleton},67343:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=void 0;var composition_gallery_skeleton_1=__webpack_require__(94659);Object.defineProperty(exports,"CompositionGallerySkeleton",{enumerable:!0,get:function(){return composition_gallery_skeleton_1.CompositionGallerySkeleton}})},94478:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallery=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_elements_icon_1=__webpack_require__(79060),documenter_ui_linked_heading_1=__webpack_require__(83804),base_react_navigation_link_1=__webpack_require__(97667),composition_card_1=__webpack_require__(75797),composition_gallery_module_scss_1=__importDefault(__webpack_require__(39811));function CompositionGallery({component}){const navigate=(0,base_react_navigation_link_1.useNavigate)();return component.compositions.length>0?react_1.default.createElement("div",{className:composition_gallery_module_scss_1.default.compositionGallery},react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,{size:"sm",className:composition_gallery_module_scss_1.default.title},react_1.default.createElement(design_elements_icon_1.Icon,{of:"eye"})," ",react_1.default.createElement("span",null,"PREVIEW")),react_1.default.createElement("div",{className:composition_gallery_module_scss_1.default.carousel},component.compositions.map(composition=>react_1.default.createElement(composition_card_1.CompositionCard,{key:composition.identifier.toLowerCase(),onClick:()=>navigate(`~compositions/${composition.identifier.toLowerCase()}`),className:composition_gallery_module_scss_1.default.compositionGalleryCard,previewClass:composition_gallery_module_scss_1.default.preview,composition,component})))):null}exports.CompositionGallery=CompositionGallery},10726:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=exports.CompositionGallery=void 0;var composition_gallery_1=__webpack_require__(94478);Object.defineProperty(exports,"CompositionGallery",{enumerable:!0,get:function(){return composition_gallery_1.CompositionGallery}});var composition_gallery_skeleton_1=__webpack_require__(67343);Object.defineProperty(exports,"CompositionGallerySkeleton",{enumerable:!0,get:function(){return composition_gallery_skeleton_1.CompositionGallerySkeleton}})},39708:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Composition=void 0;function _compositionsModel(){const data=__webpack_require__(91888);return _compositionsModel=function(){return data},data}class Composition{constructor(identifier,filepath,_displayName){this.identifier=identifier,this.filepath=filepath,this._displayName=_displayName}get displayName(){return this._displayName||(0,_compositionsModel().humanizeCompositionId)(this.identifier)}toObject(){return{identifier:this.identifier,filepath:this.filepath,displayName:this._displayName}}toBrowserMetaDataObject(){return{identifier:this.identifier,displayName:this._displayName}}static fromArray(compositions){return compositions.map(composition=>new Composition(composition.identifier,composition.filepath,composition.displayName))}}exports.Composition=Composition},82704:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionContent=CompositionContent,exports.Compositions=Compositions;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(40734);return _reactRouterDom=function(){return data},data}function _lodash(){const data=_interopRequireDefault(__webpack_require__(40733));return _lodash=function(){return data},data}function _queryString(){const data=_interopRequireDefault(__webpack_require__(42546));return _queryString=function(){return data},data}function _documenterTheme(){const data=__webpack_require__(55516);return _documenterTheme=function(){return data},data}function _baseUiSurfacesSplitPane(){const data=__webpack_require__(18666);return _baseUiSurfacesSplitPane=function(){return data},data}function _baseUiSurfacesSplitPane2(){const data=__webpack_require__(51088);return _baseUiSurfacesSplitPane2=function(){return data},data}function _component(){const data=__webpack_require__(68211);return _component=function(){return data},data}function _documenterUi(){const data=__webpack_require__(41823);return _documenterUi=function(){return data},data}function _panels(){const data=__webpack_require__(52515);return _panels=function(){return data},data}function _docsUiQueries(){const data=__webpack_require__(82718);return _docsUiQueries=function(){return data},data}function _uiFoundationUiButtons(){const data=__webpack_require__(32098);return _uiFoundationUiButtons=function(){return data},data}function _designUi(){const data=__webpack_require__(33198);return _designUi=function(){return data},data}function _previewUi(){const data=__webpack_require__(27699);return _previewUi=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(84214);return _uiFoundationUiHooks=function(){return data},data}function _compositionsUi(){const data=__webpack_require__(66564);return _compositionsUi=function(){return data},data}function _compositionsUiHooks(){const data=__webpack_require__(54565);return _compositionsUiHooks=function(){return data},data}function _mdxUi(){const data=__webpack_require__(47975);return _mdxUi=function(){return data},data}function _designUi2(){const data=__webpack_require__(10732);return _designUi2=function(){return data},data}function _documenterUi2(){const data=__webpack_require__(77522);return _documenterUi2=function(){return data},data}function _designUi3(){const data=__webpack_require__(60978);return _designUi3=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _designUiInput(){const data=__webpack_require__(37340);return _designUiInput=function(){return data},data}function _designUiSurfaces(){const data=__webpack_require__(11852);return _designUiSurfaces=function(){return data},data}function _compositionsModule(){const data=_interopRequireDefault(__webpack_require__(14026));return _compositionsModule=function(){return data},data}function _ui(){const data=__webpack_require__(29066);return _ui=function(){return data},data}function _compositionsPanel(){const data=__webpack_require__(14427);return _compositionsPanel=function(){return data},data}const _excluded=["component","selected","queryParams","emptyState"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key)){if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}const Link=_baseReactNavigation().Link;function Compositions({menuBarWidgets,emptyState}){const component=(0,_react().useContext)(_component().ComponentContext),[searchParams]=(0,_reactRouterDom().useSearchParams)(),params=(0,_reactRouterDom().useParams)(),versionFromQueryParams=searchParams.get("version"),navigate=(0,_baseReactNavigation().useNavigate)(),location=(0,_baseReactNavigation().useLocation)(),currentCompositionName=params["*"],currentComposition=component.compositions.find(composition=>composition.identifier.toLowerCase()===currentCompositionName)||(0,_lodash().default)(component.compositions),selectedRef=(0,_react().useRef)(currentComposition);selectedRef.current=currentComposition;const properties=(0,_docsUiQueries().useDocs)(component.id),showSidebar=!(0,_uiFoundationUiHooks().useIsMobile)()&&component.compositions.length>0,[isSidebarOpen,setSidebarOpenness]=(0,_react().useState)(showSidebar),sidebarOpenness=isSidebarOpen?_baseUiSurfacesSplitPane().Layout.row:_baseUiSurfacesSplitPane().Layout.left,compositionUrl=(0,_previewUi().toPreviewUrl)(component,"compositions"),isScaling=component?.preview?.isScaling,includesEnvTemplates=component?.preview?.includesEnvTemplate,useNameParam=component?.preview?.useNameParam,compositionIdentifierParam=useNameParam||isScaling&&includesEnvTemplates===!1?`name=${currentComposition?.identifier}`:currentComposition?.identifier,currentCompositionFullUrl=(0,_previewUi().toPreviewUrl)(component,"compositions",compositionIdentifierParam),[compositionParams,setCompositionParams]=(0,_react().useState)({fullscreen:!0}),queryParams=(0,_react().useMemo)(()=>_queryString().default.stringify(compositionParams),[compositionParams]);return(0,_react().useEffect)(()=>setSidebarOpenness(showSidebar),[showSidebar]),_react().default.createElement(_compositionsUiHooks().CompositionContextProvider,{queryParams:compositionParams,setQueryParams:setCompositionParams},_react().default.createElement(_baseUiSurfacesSplitPane().SplitPane,{layout:sidebarOpenness,size:"85%",className:_compositionsModule().default.compositionsPage},_react().default.createElement(_baseUiSurfacesSplitPane().Pane,{className:_compositionsModule().default.left},_react().default.createElement(_compositionsUi().CompositionsMenuBar,{menuBarWidgets,className:_compositionsModule().default.menuBar},_react().default.createElement(Link,{external:!0,href:currentCompositionFullUrl,className:_compositionsModule().default.openInNewTab},_react().default.createElement(_designUiInput().OptionButton,{icon:"open-tab"}))),_react().default.createElement(CompositionContent,{className:_compositionsModule().default.compositionPanel,emptyState,component,selected:currentComposition,queryParams})),_react().default.createElement(_baseUiSurfacesSplitPane2().HoverSplitter,{className:_compositionsModule().default.splitter},_react().default.createElement(_uiFoundationUiButtons().Collapser,{placement:"left",isOpen:isSidebarOpen,onMouseDown:e=>e.stopPropagation(),onClick:()=>setSidebarOpenness(x=>!x),tooltipContent:`${isSidebarOpen?"Hide":"Show"} side compositions`,className:_compositionsModule().default.collapser})),_react().default.createElement(_baseUiSurfacesSplitPane().Pane,{className:_compositionsModule().default.right},_react().default.createElement(_documenterTheme().ThemeContext,null,_react().default.createElement(_panels().TabContainer,{className:_compositionsModule().default.tabsContainer},_react().default.createElement(_panels().TabList,{className:_compositionsModule().default.tabs},_react().default.createElement(_panels().Tab,null,"compositions"),_react().default.createElement(_panels().Tab,null,"properties")),_react().default.createElement(_panels().TabPanel,{className:_compositionsModule().default.tabContent},_react().default.createElement(_compositionsPanel().CompositionsPanel,{isScaling,useNameParam,includesEnvTemplate:component.preview?.includesEnvTemplate,onSelectComposition:composition=>{if(!currentComposition||!location)return;const selectedCompositionFromUrl=params["*"],pathSegments=location.pathname.split("/").filter(x=>x);selectedCompositionFromUrl?pathSegments[pathSegments.length-1]=composition.identifier.toLowerCase():pathSegments.push(composition.identifier.toLowerCase());const urlParams=new URLSearchParams;versionFromQueryParams&&urlParams.set("version",versionFromQueryParams);const newPath=pathSegments.join("/");navigate(`/${newPath}?${urlParams.toString()}`)},url:compositionUrl,compositions:component.compositions,active:currentComposition})),_react().default.createElement(_panels().TabPanel,{className:_compositionsModule().default.tabContent},properties&&properties.length>0?_react().default.createElement(_documenterUi().PropTable,{rows:properties,showListView:!0}):_react().default.createElement("div",null)))))))}function CompositionContent(_ref){let{component,selected,queryParams,emptyState}=_ref,componentCompositionProps=_objectWithoutProperties(_ref,_excluded);const env=component.environment?.id,EmptyStateTemplate=emptyState?.get(env||"");return component.compositions.length===0&&component.host==="teambit.workspace/workspace"&&EmptyStateTemplate?_react().default.createElement("div",{className:_compositionsModule().default.noCompositionsPage},_react().default.createElement("div",null,_react().default.createElement(_documenterUi2().H1,{className:_compositionsModule().default.title},"Compositions"),_react().default.createElement(_designUi2().Separator,{isPresentational:!0,className:_compositionsModule().default.separator}),_react().default.createElement(_designUi3().AlertCard,{level:"info",title:"There are no compositions for this Component. Learn how to add compositions:"},_react().default.createElement(_mdxUi().MDXLayout,null,_react().default.createElement(EmptyStateTemplate,null))))):component?.buildStatus==="pending"&&component?.host==="teambit.scope/scope"?_react().default.createElement(_designUiSurfaces().StatusMessageCard,{className:_compositionsModule().default.buildStatusMessage,status:"PROCESSING",title:"component preview pending"},"this might take some time"):component?.buildStatus==="failed"&&component?.host==="teambit.scope/scope"?_react().default.createElement(_designUiSurfaces().StatusMessageCard,{className:_compositionsModule().default.buildStatusMessage,status:"FAILURE",title:"failed to get component preview "}):component.compositions.length===0?_react().default.createElement(_designUi().EmptyBox,{title:"There are no compositions for this component.",linkText:"Learn how to create compositions",link:"https://bit.dev/reference/dev-services-overview/compositions/compositions-overview"}):_react().default.createElement(_ui().ComponentComposition,_extends({className:_compositionsModule().default.compositionsIframe,viewport:null,component,forceHeight:"100%",composition:selected,fullContentHeight:!0,pubsub:!0,queryParams},componentCompositionProps))}},32552:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentComposition",{enumerable:!0,get:function(){return _ui().ComponentComposition}}),Object.defineProperty(exports,"Composition",{enumerable:!0,get:function(){return _composition().Composition}}),Object.defineProperty(exports,"CompositionContent",{enumerable:!0,get:function(){return _compositions2().CompositionContent}}),Object.defineProperty(exports,"CompositionsAspect",{enumerable:!0,get:function(){return _compositions().CompositionsAspect}}),exports.default=void 0;function _compositions(){const data=__webpack_require__(36717);return _compositions=function(){return data},data}function _composition(){const data=__webpack_require__(39708);return _composition=function(){return data},data}function _compositions2(){const data=__webpack_require__(82704);return _compositions2=function(){return data},data}function _ui(){const data=__webpack_require__(29066);return _ui=function(){return data},data}var _default=exports.default=_compositions().CompositionsAspect},23700:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentComposition=ComponentComposition;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _previewUi(){const data=__webpack_require__(27699);return _previewUi=function(){return data},data}const _excluded=["composition","component","queryParams"];function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key)){if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function ComponentComposition(_ref){let{composition,component,queryParams=[]}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const includesEnvTemplate=component.preview?.includesEnvTemplate,isScaling=component.preview?.isScaling,shouldAddNameParam=component.preview?.useNameParam||isScaling&&includesEnvTemplate===!1,compositionParams=(0,_react().useMemo)(()=>(composition?[shouldAddNameParam?`name=${composition.identifier}`:composition.identifier]:[]).concat(queryParams),[composition?.identifier,queryParams]);return _react().default.createElement(_previewUi().ComponentPreview,_extends({},rest,{component,style:{width:"100%",height:"100%"},previewName:"compositions",queryParams:compositionParams}))}},14427:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsPanel=CompositionsPanel;function _evangelistElements(){const data=__webpack_require__(6281);return _evangelistElements=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(40734);return _reactRouterDom=function(){return data},data}function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(43492);return _uiFoundationUi=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _compositionsPanelModule(){const data=_interopRequireDefault(__webpack_require__(77416));return _compositionsPanelModule=function(){return data},data}const _excluded=["url","compositions","isScaling","onSelectComposition","active","includesEnvTemplate","useNameParam","className"];function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key)){if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function CompositionsPanel(_ref){let{url,compositions,isScaling,onSelectComposition:onSelect,active,includesEnvTemplate,useNameParam,className}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const shouldAddNameParam=useNameParam||isScaling&&includesEnvTemplate===!1,handleSelect=(0,_react().useCallback)(selected=>{onSelect&&onSelect(selected)},[onSelect]),location=(0,_baseReactNavigation().useLocation)(),[searchParams]=(0,_reactRouterDom().useSearchParams)(),versionFromQueryParams=searchParams.get("version"),navigate=(0,_baseReactNavigation().useNavigate)(),onCompositionCodeClicked=(0,_react().useCallback)(composition=>e=>{e.preventDefault();const queryParams=new URLSearchParams;versionFromQueryParams&&queryParams.set("version",versionFromQueryParams);const basePath=location?.pathname.split("/~compositions")[0];navigate(`${basePath}/~code/${composition.filepath}?${queryParams.toString()}#search=${composition.identifier}`)},[location?.pathname,versionFromQueryParams]);return _react().default.createElement("ul",_extends({},rest,{className:(0,_classnames().default)(className)}),compositions.map(composition=>{const href=shouldAddNameParam?`${url}&name=${composition.identifier}`:`${url}&${composition.identifier}`;return _react().default.createElement("li",{key:composition.identifier,className:(0,_classnames().default)(_compositionsPanelModule().default.linkWrapper,composition===active&&_compositionsPanelModule().default.active)},_react().default.createElement("a",{className:_compositionsPanelModule().default.panelLink,onClick:()=>handleSelect(composition)},_react().default.createElement("span",{className:_compositionsPanelModule().default.box}),_react().default.createElement("span",{className:_compositionsPanelModule().default.name},composition.displayName)),_react().default.createElement("div",{className:_compositionsPanelModule().default.right},_react().default.createElement(_uiFoundationUi().MenuWidgetIcon,{className:_compositionsPanelModule().default.codeLink,icon:"Code",tooltipContent:"Code",onClick:onCompositionCodeClicked(composition)}),_react().default.createElement("a",{className:_compositionsPanelModule().default.panelLink,target:"_blank",rel:"noopener noreferrer",href},_react().default.createElement(_evangelistElements().Icon,{className:_compositionsPanelModule().default.icon,of:"open-tab"}))))}))}},29066:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentComposition",{enumerable:!0,get:function(){return _compositionPreview().ComponentComposition}});function _compositionPreview(){const data=__webpack_require__(23700);return _compositionPreview=function(){return data},data}},69124:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AccountTypes=void 0;const react_1=__importDefault(__webpack_require__(59496)),default_avatar_1=__webpack_require__(27144),org_avatar_1=__webpack_require__(27636),user_avatar_1=__webpack_require__(18088);var AccountTypes;(function(AccountTypes2){AccountTypes2.org="organization",AccountTypes2.user="user",AccountTypes2.default="default"})(AccountTypes||(exports.AccountTypes=AccountTypes={}));function Avatar(props){const{account}=props;switch(account.accountType){case AccountTypes.user:return react_1.default.createElement(user_avatar_1.UserAvatar,Object.assign({},props));case AccountTypes.org:return react_1.default.createElement(org_avatar_1.OrgAvatar,Object.assign({},props));default:return react_1.default.createElement(default_avatar_1.DefaultAvatar,Object.assign({},props))}}exports.default=Avatar},27144:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultAvatar=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),styles_module_scss_1=__importDefault(__webpack_require__(82160));function DefaultAvatar(_a){var{size=32,children,className}=_a,rest=__rest(_a,["size","children","className"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(styles_module_scss_1.default.default,styles_module_scss_1.default.avatar,className),style:{width:`${size}px`,height:`${size}px`,fontSize:`${size*.35}px`,lineHeight:`${size}px`}},rest),"?",children)}exports.DefaultAvatar=DefaultAvatar},14452:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultAvatar=exports.OrgAvatar=exports.UserAvatar=void 0,__exportStar(__webpack_require__(69124),exports);var user_avatar_1=__webpack_require__(18088);Object.defineProperty(exports,"UserAvatar",{enumerable:!0,get:function(){return user_avatar_1.UserAvatar}});var org_avatar_1=__webpack_require__(27636);Object.defineProperty(exports,"OrgAvatar",{enumerable:!0,get:function(){return org_avatar_1.OrgAvatar}});var default_avatar_1=__webpack_require__(27144);Object.defineProperty(exports,"DefaultAvatar",{enumerable:!0,get:function(){return default_avatar_1.DefaultAvatar}})},27636:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.OrgAvatar=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),toolbox_url_add_avatar_query_params_1=__webpack_require__(66045),styles_module_scss_1=__importDefault(__webpack_require__(82160));function OrgAvatar(_a){var{account,size=32,imageSize=size,fontSize=Math.round(size*.4),className,imgClassName,children}=_a,rest=__rest(_a,["account","size","imageSize","fontSize","className","imgClassName","children"]);const{profileImage=""}=account,profileImageWithParams=profileImage&&profileImage.startsWith("blob:")?profileImage:(0,toolbox_url_add_avatar_query_params_1.addAvatarQueryParams)(profileImage,imageSize,styles_module_scss_1.default.defaultAvatarBgColor);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(styles_module_scss_1.default.default,styles_module_scss_1.default.avatar,className),style:{width:`${size}px`,height:`${size}px`}},rest),profileImageWithParams&&react_1.default.createElement("img",{src:profileImageWithParams,className:(0,classnames_1.default)(styles_module_scss_1.default.avatarImg,profileImage.startsWith("blob:")&&styles_module_scss_1.default.blob,imgClassName)}),react_1.default.createElement("span",{className:styles_module_scss_1.default.defaultAvatar},react_1.default.createElement("i",{className:"bitcon-organization",style:{fontSize:`${fontSize}px`,lineHeight:`${size}px`}})),children)}exports.OrgAvatar=OrgAvatar},18088:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UserAvatar=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_elements_icon_1=__webpack_require__(79060),toolbox_url_add_avatar_query_params_1=__webpack_require__(66045),toolbox_string_get_initials_1=__webpack_require__(85749),design_ui_styles_colors_by_letter_1=__webpack_require__(40139),design_ui_styles_ellipsis_1=__webpack_require__(25747),design_ui_tooltip_1=__webpack_require__(93976),styles_module_scss_1=__importDefault(__webpack_require__(82160));function UserAvatar(_a){var{account,size,imageSize=size,fontSize=Math.round(size*.4),className,imgClassName,showTooltip=!1,children}=_a,rest=__rest(_a,["account","size","imageSize","fontSize","className","imgClassName","showTooltip","children"]);const{profileImage="",name="",displayName=""}=account,firstLetter=name[0]||displayName[0],profileImageWithParams=profileImage&&profileImage.startsWith("blob:")?profileImage:(0,toolbox_url_add_avatar_query_params_1.addAvatarQueryParams)(profileImage,imageSize,styles_module_scss_1.default.defaultAvatarBgColor),colors=firstLetter&&design_ui_styles_colors_by_letter_1.letterBgColors[firstLetter.toLowerCase()],avatar=react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(colors,styles_module_scss_1.default.avatar,className),style:{minWidth:`${size}px`,width:`${size}px`,height:`${size}px`}},rest),profileImageWithParams&&react_1.default.createElement("img",{src:profileImageWithParams,className:(0,classnames_1.default)(styles_module_scss_1.default.avatarImg,profileImage.startsWith("blob:")&&styles_module_scss_1.default.blob,imgClassName)}),(displayName||name)&&react_1.default.createElement("span",{className:styles_module_scss_1.default.letter,style:{fontSize:`${fontSize}px`,lineHeight:`${size}px`}},(0,toolbox_string_get_initials_1.getInitials)(displayName||name)),!displayName&&!name&&!profileImageWithParams&&!firstLetter&&react_1.default.createElement(design_elements_icon_1.Icon,{of:"solo-avatar",style:{fontSize:`${size}px`},className:(0,classnames_1.default)(styles_module_scss_1.default.avatarImg,styles_module_scss_1.default.soloAvatarIcon)}),children);return showTooltip?react_1.default.createElement(design_ui_tooltip_1.Tooltip,{placement:"bottom",content:react_1.default.createElement("div",{className:design_ui_styles_ellipsis_1.ellipsis},displayName?react_1.default.createElement(react_1.default.Fragment,null,displayName," (@",name,")"):react_1.default.createElement(react_1.default.Fragment,null,"@",name))},avatar):avatar}exports.UserAvatar=UserAvatar},59453:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TimeAgo=void 0;var time_ago_1=__webpack_require__(78278);Object.defineProperty(exports,"TimeAgo",{enumerable:!0,get:function(){return time_ago_1.TimeAgo}})},78278:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TimeAgo=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_utils_time_ago_1=__importDefault(__webpack_require__(65015)),design_ui_tooltip_1=__webpack_require__(93976),time_ago_module_scss_1=__importDefault(__webpack_require__(36066));function TimeAgo(_a){var{date,tooltip,className}=_a,rest=__rest(_a,["date","tooltip","className"]);const[refreshIdx,forceUpdate]=(0,react_1.useReducer)(x=>x+1,0);(0,react_1.useEffect)(()=>{const tId=setInterval(()=>forceUpdate(),6e4);return()=>clearInterval(tId)},[]);const formatted=(0,react_1.useMemo)(()=>(0,base_ui_utils_time_ago_1.default)(date),[date,refreshIdx]);return(element=>tooltip===void 0?element:react_1.default.createElement(design_ui_tooltip_1.Tooltip,{className:time_ago_module_scss_1.default.dateTooltip,placement:"top",content:react_1.default.createElement("div",{className:time_ago_module_scss_1.default.dateTooltipContent},tooltip)},element))(react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(className)}),formatted))}exports.TimeAgo=TimeAgo},93976:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tippy=exports.useSingleton=exports.TooltipMountPoint=exports.SingletonTooltipProvider=exports.useCtxTooltipInstance=exports.ProvideTooltipInstance=exports.Tooltip=void 0;var tooltip_1=__webpack_require__(34128);Object.defineProperty(exports,"Tooltip",{enumerable:!0,get:function(){return tooltip_1.Tooltip}});var shared_instance_1=__webpack_require__(30003);Object.defineProperty(exports,"ProvideTooltipInstance",{enumerable:!0,get:function(){return shared_instance_1.ProvideTooltipInstance}}),Object.defineProperty(exports,"useCtxTooltipInstance",{enumerable:!0,get:function(){return shared_instance_1.useCtxTooltipInstance}});var singleton_instance_1=__webpack_require__(93052);Object.defineProperty(exports,"SingletonTooltipProvider",{enumerable:!0,get:function(){return singleton_instance_1.SingletonTooltipProvider}});var mount_point_1=__webpack_require__(18978);Object.defineProperty(exports,"TooltipMountPoint",{enumerable:!0,get:function(){return mount_point_1.TooltipMountPoint}});var react_1=__webpack_require__(94300);Object.defineProperty(exports,"useSingleton",{enumerable:!0,get:function(){return react_1.useSingleton}}),Object.defineProperty(exports,"tippy",{enumerable:!0,get:function(){return react_1.tippy}})},18978:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipMountPoint=exports.getMountPoint=exports.mountId=void 0;const react_1=__importDefault(__webpack_require__(59496));exports.mountId="tooltip-mount-point";function getMountPoint(ref){return document.getElementById(exports.mountId)||ref.parentElement||document.body}exports.getMountPoint=getMountPoint;function TooltipMountPoint(){return react_1.default.createElement("div",{id:exports.mountId})}exports.TooltipMountPoint=TooltipMountPoint},30003:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useCtxTooltipInstance=exports.ProvideTooltipInstance=void 0;const react_1=__importStar(__webpack_require__(59496)),singletonContext=(0,react_1.createContext)(void 0);function ProvideTooltipInstance({value,children}){return react_1.default.createElement(singletonContext.Provider,{value},children)}exports.ProvideTooltipInstance=ProvideTooltipInstance;function useCtxTooltipInstance(){return(0,react_1.useContext)(singletonContext)}exports.useCtxTooltipInstance=useCtxTooltipInstance},93052:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.SingletonTooltipProvider=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_2=__webpack_require__(94300),shared_instance_1=__webpack_require__(30003),tooltip_1=__webpack_require__(34128);function SingletonTooltipProvider(_a){var{children,disabled,overrides}=_a,rest=__rest(_a,["children","disabled","overrides"]);const[tooltipSource,tooltipTarget]=(0,react_2.useSingleton)({disabled,overrides});return react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(tooltip_1.Tooltip,Object.assign({},rest,{singleton:tooltipSource})),react_1.default.createElement(shared_instance_1.ProvideTooltipInstance,{value:tooltipTarget},children))}exports.SingletonTooltipProvider=SingletonTooltipProvider},34128:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tooltip=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ui_foundation_ui_hooks_use_is_mobile_1=__webpack_require__(84214),base_ui_theme_dark_theme_1=__webpack_require__(80667),react_2=__importDefault(__webpack_require__(94300)),tippy_js_1=__webpack_require__(48199);__webpack_require__(29125),__webpack_require__(30829);const mount_point_1=__webpack_require__(18978),shared_instance_1=__webpack_require__(30003);__webpack_require__(91573);const THEME="teambit",popperOptions={modifiers:[{name:"arrow",options:{padding:5}}]};function Tooltip(_a){var{children,breakline,singleton,visibleOnMobile,className}=_a,rest=__rest(_a,["children","breakline","singleton","visibleOnMobile","className"]);const isMobile=(0,ui_foundation_ui_hooks_use_is_mobile_1.useIsMobile)();if(!visibleOnMobile&&isMobile)return react_1.default.createElement(react_1.default.Fragment,null,children);const ctxInstance=(0,shared_instance_1.useCtxTooltipInstance)(),singletonInstance=singleton||ctxInstance,child=typeof children=="string"?react_1.default.createElement("span",null,children):children;return react_1.default.createElement(react_2.default,Object.assign({arrow:tippy_js_1.roundArrow,className:(0,classnames_1.default)(base_ui_theme_dark_theme_1.darkMode,breakline&&"tippy-breakLine",className),theme:THEME,interactive:!0,appendTo:mount_point_1.getMountPoint,popperOptions},rest,{singleton:singletonInstance}),child)}exports.Tooltip=Tooltip},7122:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDocs=exports.docsFields=void 0;const client_1=__webpack_require__(97299);exports.docsFields=(0,client_1.gql)`
539
+ `},21268:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Filters",{enumerable:!0,get:function(){return _useComponent().Filters}}),Object.defineProperty(exports,"UseComponentType",{enumerable:!0,get:function(){return _useComponent().UseComponentType}}),exports.useComponent=useComponent;function _uiFoundationUiReactRouter(){const data=__webpack_require__(44514);return _uiFoundationUiReactRouter=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(62589);return _useComponentQuery=function(){return data},data}function _useComponent(){const data=__webpack_require__(48166);return _useComponent=function(){return data},data}function useComponent(host,id,options){const query=(0,_uiFoundationUiReactRouter().useQuery)(),{version,logFilters,customUseComponent,skip}=options||{},componentVersion=(version||query.get("version"))??void 0,componentIdStr=id&&withVersion(id,componentVersion);return(customUseComponent||_useComponentQuery().useComponentQuery)(componentIdStr||"",host,logFilters,skip||!id)}function withVersion(id,version){return!version||id.includes("@")?id:`${id}@${version}`}},48166:()=>{"use strict"},12645:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getOffsetValue=getOffsetValue;function getOffsetValue(offset,limit,backwards=!1){if(offset!==void 0)return backwards?-(offset+limit):offset;if(limit!==void 0)return 0}},25408:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.PreviewSkeleton=exports.CompositionCardSkeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_loaders_skeleton_1=__webpack_require__(16623),composition_card_skeleton_module_scss_1=__importDefault(__webpack_require__(73941));function CompositionCardSkeleton(){return react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.compositionCardSkeleton},react_1.default.createElement(PreviewSkeleton,null),react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.bottom},react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"104px"})))}exports.CompositionCardSkeleton=CompositionCardSkeleton;function PreviewSkeleton(){return react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.preview},react_1.default.createElement(base_ui_loaders_skeleton_1.BlockSkeleton,{lines:2,className:composition_card_skeleton_module_scss_1.default.block}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"208px"}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"152px"}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"88px"}))}exports.PreviewSkeleton=PreviewSkeleton},78647:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PreviewSkeleton=exports.CompositionCardSkeleton=void 0;var composition_card_skeleton_1=__webpack_require__(25408);Object.defineProperty(exports,"CompositionCardSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.CompositionCardSkeleton}}),Object.defineProperty(exports,"PreviewSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.PreviewSkeleton}})},94075:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),compositions_1=__webpack_require__(32552),design_ui_styles_ellipsis_1=__webpack_require__(25747),composition_card_module_scss_1=__importDefault(__webpack_require__(73441));exports.CompositionCard=react_1.default.memo(_CompositionCard);function _CompositionCard(_a){var{composition,component,className,openCompositionLink,previewClass}=_a,rest=__rest(_a,["composition","component","className","openCompositionLink","previewClass"]);const Composition=react_1.default.useMemo(()=>react_1.default.createElement(compositions_1.ComponentComposition,{className:previewClass,includeEnv:!1,loading:"lazy",composition,component,viewport:1280,scrolling:"no",previewName:"compositions"}),[composition.identifier,component.id.toString(),previewClass]);return react_1.default.createElement("div",Object.assign({},rest,{key:composition.identifier,className:(0,classnames_1.default)(composition_card_module_scss_1.default.compositionCard,className)}),react_1.default.createElement("div",{className:composition_card_module_scss_1.default.compositionPreview},Composition),react_1.default.createElement("div",{className:composition_card_module_scss_1.default.bottom},react_1.default.createElement("span",{className:(0,classnames_1.default)(design_ui_styles_ellipsis_1.ellipsis,composition_card_module_scss_1.default.displayName)},composition.displayName),openCompositionLink&&react_1.default.createElement("a",{className:composition_card_module_scss_1.default.link,target:"_blank",rel:"noopener noreferrer",href:openCompositionLink},react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:composition_card_module_scss_1.default.icon,of:"open-tab"}))))}},75797:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCardSkeleton=exports.CompositionCard=void 0;var composition_card_1=__webpack_require__(94075);Object.defineProperty(exports,"CompositionCard",{enumerable:!0,get:function(){return composition_card_1.CompositionCard}});var composition_card_skeleton_1=__webpack_require__(78647);Object.defineProperty(exports,"CompositionCardSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.CompositionCardSkeleton}})},4405:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;const humanize_string_1=__importDefault(__webpack_require__(28583));function humanizeCompositionId(rawId){return(0,humanize_string_1.default)(rawId)}exports.humanizeCompositionId=humanizeCompositionId},91888:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;var humanize_1=__webpack_require__(4405);Object.defineProperty(exports,"humanizeCompositionId",{enumerable:!0,get:function(){return humanize_1.humanizeCompositionId}})},94659:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_loaders_skeleton_1=__webpack_require__(16623),composition_card_1=__webpack_require__(75797),composition_gallery_skeleton_module_scss_1=__importDefault(__webpack_require__(74391));function CompositionGallerySkeleton(_a){var{compositionsLength,className}=_a,rest=__rest(_a,["compositionsLength","className"]);const length=Array.from(Array(compositionsLength));return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(composition_gallery_skeleton_module_scss_1.default.compositionGallerySkeleton,className)}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"100px",className:composition_gallery_skeleton_module_scss_1.default.title}),react_1.default.createElement("div",{className:(0,classnames_1.default)(composition_gallery_skeleton_module_scss_1.default.compositionGalleryGrid)},length.map((_,index)=>react_1.default.createElement(composition_card_1.CompositionCardSkeleton,{key:`comp-card-skeleton-${index}`}))))}exports.CompositionGallerySkeleton=CompositionGallerySkeleton},67343:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=void 0;var composition_gallery_skeleton_1=__webpack_require__(94659);Object.defineProperty(exports,"CompositionGallerySkeleton",{enumerable:!0,get:function(){return composition_gallery_skeleton_1.CompositionGallerySkeleton}})},94478:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallery=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_elements_icon_1=__webpack_require__(79060),documenter_ui_linked_heading_1=__webpack_require__(83804),base_react_navigation_link_1=__webpack_require__(97667),composition_card_1=__webpack_require__(75797),composition_gallery_module_scss_1=__importDefault(__webpack_require__(39811));function CompositionGallery({component}){const navigate=(0,base_react_navigation_link_1.useNavigate)();return component.compositions.length>0?react_1.default.createElement("div",{className:composition_gallery_module_scss_1.default.compositionGallery},react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,{size:"sm",className:composition_gallery_module_scss_1.default.title},react_1.default.createElement(design_elements_icon_1.Icon,{of:"eye"})," ",react_1.default.createElement("span",null,"PREVIEW")),react_1.default.createElement("div",{className:composition_gallery_module_scss_1.default.carousel},component.compositions.map(composition=>react_1.default.createElement(composition_card_1.CompositionCard,{key:composition.identifier.toLowerCase(),onClick:()=>navigate(`~compositions/${composition.identifier.toLowerCase()}`),className:composition_gallery_module_scss_1.default.compositionGalleryCard,previewClass:composition_gallery_module_scss_1.default.preview,composition,component})))):null}exports.CompositionGallery=CompositionGallery},10726:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=exports.CompositionGallery=void 0;var composition_gallery_1=__webpack_require__(94478);Object.defineProperty(exports,"CompositionGallery",{enumerable:!0,get:function(){return composition_gallery_1.CompositionGallery}});var composition_gallery_skeleton_1=__webpack_require__(67343);Object.defineProperty(exports,"CompositionGallerySkeleton",{enumerable:!0,get:function(){return composition_gallery_skeleton_1.CompositionGallerySkeleton}})},39708:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Composition=void 0;function _compositionsModel(){const data=__webpack_require__(91888);return _compositionsModel=function(){return data},data}class Composition{constructor(identifier,filepath,_displayName){this.identifier=identifier,this.filepath=filepath,this._displayName=_displayName}get displayName(){return this._displayName||(0,_compositionsModel().humanizeCompositionId)(this.identifier)}toObject(){return{identifier:this.identifier,filepath:this.filepath,displayName:this._displayName}}toBrowserMetaDataObject(){return{identifier:this.identifier,displayName:this._displayName}}static fromArray(compositions){return compositions.map(composition=>new Composition(composition.identifier,composition.filepath,composition.displayName))}}exports.Composition=Composition},82704:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionContent=CompositionContent,exports.Compositions=Compositions;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(40734);return _reactRouterDom=function(){return data},data}function _lodash(){const data=_interopRequireDefault(__webpack_require__(40733));return _lodash=function(){return data},data}function _queryString(){const data=_interopRequireDefault(__webpack_require__(42546));return _queryString=function(){return data},data}function _documenterTheme(){const data=__webpack_require__(55516);return _documenterTheme=function(){return data},data}function _baseUiSurfacesSplitPane(){const data=__webpack_require__(18666);return _baseUiSurfacesSplitPane=function(){return data},data}function _baseUiSurfacesSplitPane2(){const data=__webpack_require__(51088);return _baseUiSurfacesSplitPane2=function(){return data},data}function _component(){const data=__webpack_require__(68211);return _component=function(){return data},data}function _documenterUi(){const data=__webpack_require__(41823);return _documenterUi=function(){return data},data}function _panels(){const data=__webpack_require__(52515);return _panels=function(){return data},data}function _docsUiQueries(){const data=__webpack_require__(82718);return _docsUiQueries=function(){return data},data}function _uiFoundationUiButtons(){const data=__webpack_require__(32098);return _uiFoundationUiButtons=function(){return data},data}function _designUi(){const data=__webpack_require__(33198);return _designUi=function(){return data},data}function _previewUi(){const data=__webpack_require__(27699);return _previewUi=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(2816);return _uiFoundationUiHooks=function(){return data},data}function _compositionsUi(){const data=__webpack_require__(66564);return _compositionsUi=function(){return data},data}function _compositionsUiHooks(){const data=__webpack_require__(54565);return _compositionsUiHooks=function(){return data},data}function _mdxUi(){const data=__webpack_require__(47975);return _mdxUi=function(){return data},data}function _designUi2(){const data=__webpack_require__(10732);return _designUi2=function(){return data},data}function _documenterUi2(){const data=__webpack_require__(77522);return _documenterUi2=function(){return data},data}function _designUi3(){const data=__webpack_require__(60978);return _designUi3=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _designUiInput(){const data=__webpack_require__(37340);return _designUiInput=function(){return data},data}function _designUiSurfaces(){const data=__webpack_require__(11852);return _designUiSurfaces=function(){return data},data}function _compositionsModule(){const data=_interopRequireDefault(__webpack_require__(14026));return _compositionsModule=function(){return data},data}function _ui(){const data=__webpack_require__(29066);return _ui=function(){return data},data}function _compositionsPanel(){const data=__webpack_require__(14427);return _compositionsPanel=function(){return data},data}const _excluded=["component","selected","queryParams","emptyState"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key)){if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}const Link=_baseReactNavigation().Link;function Compositions({menuBarWidgets,emptyState}){const component=(0,_react().useContext)(_component().ComponentContext),[searchParams]=(0,_reactRouterDom().useSearchParams)(),params=(0,_reactRouterDom().useParams)(),versionFromQueryParams=searchParams.get("version"),navigate=(0,_baseReactNavigation().useNavigate)(),location=(0,_baseReactNavigation().useLocation)(),currentCompositionName=params["*"],currentComposition=component.compositions.find(composition=>composition.identifier.toLowerCase()===currentCompositionName)||(0,_lodash().default)(component.compositions),selectedRef=(0,_react().useRef)(currentComposition);selectedRef.current=currentComposition;const properties=(0,_docsUiQueries().useDocs)(component.id),showSidebar=!(0,_uiFoundationUiHooks().useIsMobile)()&&component.compositions.length>0,[isSidebarOpen,setSidebarOpenness]=(0,_react().useState)(showSidebar),sidebarOpenness=isSidebarOpen?_baseUiSurfacesSplitPane().Layout.row:_baseUiSurfacesSplitPane().Layout.left,compositionUrl=(0,_previewUi().toPreviewUrl)(component,"compositions"),isScaling=component?.preview?.isScaling,includesEnvTemplates=component?.preview?.includesEnvTemplate,useNameParam=component?.preview?.useNameParam,compositionIdentifierParam=useNameParam||isScaling&&includesEnvTemplates===!1?`name=${currentComposition?.identifier}`:currentComposition?.identifier,currentCompositionFullUrl=(0,_previewUi().toPreviewUrl)(component,"compositions",compositionIdentifierParam),[compositionParams,setCompositionParams]=(0,_react().useState)({fullscreen:!0}),queryParams=(0,_react().useMemo)(()=>_queryString().default.stringify(compositionParams),[compositionParams]);return(0,_react().useEffect)(()=>setSidebarOpenness(showSidebar),[showSidebar]),_react().default.createElement(_compositionsUiHooks().CompositionContextProvider,{queryParams:compositionParams,setQueryParams:setCompositionParams},_react().default.createElement(_baseUiSurfacesSplitPane().SplitPane,{layout:sidebarOpenness,size:"85%",className:_compositionsModule().default.compositionsPage},_react().default.createElement(_baseUiSurfacesSplitPane().Pane,{className:_compositionsModule().default.left},_react().default.createElement(_compositionsUi().CompositionsMenuBar,{menuBarWidgets,className:_compositionsModule().default.menuBar},_react().default.createElement(Link,{external:!0,href:currentCompositionFullUrl,className:_compositionsModule().default.openInNewTab},_react().default.createElement(_designUiInput().OptionButton,{icon:"open-tab"}))),_react().default.createElement(CompositionContent,{className:_compositionsModule().default.compositionPanel,emptyState,component,selected:currentComposition,queryParams})),_react().default.createElement(_baseUiSurfacesSplitPane2().HoverSplitter,{className:_compositionsModule().default.splitter},_react().default.createElement(_uiFoundationUiButtons().Collapser,{placement:"left",isOpen:isSidebarOpen,onMouseDown:e=>e.stopPropagation(),onClick:()=>setSidebarOpenness(x=>!x),tooltipContent:`${isSidebarOpen?"Hide":"Show"} side compositions`,className:_compositionsModule().default.collapser})),_react().default.createElement(_baseUiSurfacesSplitPane().Pane,{className:_compositionsModule().default.right},_react().default.createElement(_documenterTheme().ThemeContext,null,_react().default.createElement(_panels().TabContainer,{className:_compositionsModule().default.tabsContainer},_react().default.createElement(_panels().TabList,{className:_compositionsModule().default.tabs},_react().default.createElement(_panels().Tab,null,"compositions"),_react().default.createElement(_panels().Tab,null,"properties")),_react().default.createElement(_panels().TabPanel,{className:_compositionsModule().default.tabContent},_react().default.createElement(_compositionsPanel().CompositionsPanel,{isScaling,useNameParam,includesEnvTemplate:component.preview?.includesEnvTemplate,onSelectComposition:composition=>{if(!currentComposition||!location)return;const selectedCompositionFromUrl=params["*"],pathSegments=location.pathname.split("/").filter(x=>x);selectedCompositionFromUrl?pathSegments[pathSegments.length-1]=composition.identifier.toLowerCase():pathSegments.push(composition.identifier.toLowerCase());const urlParams=new URLSearchParams;versionFromQueryParams&&urlParams.set("version",versionFromQueryParams);const newPath=pathSegments.join("/");navigate(`/${newPath}?${urlParams.toString()}`)},url:compositionUrl,compositions:component.compositions,active:currentComposition})),_react().default.createElement(_panels().TabPanel,{className:_compositionsModule().default.tabContent},properties&&properties.length>0?_react().default.createElement(_documenterUi().PropTable,{rows:properties,showListView:!0}):_react().default.createElement("div",null)))))))}function CompositionContent(_ref){let{component,selected,queryParams,emptyState}=_ref,componentCompositionProps=_objectWithoutProperties(_ref,_excluded);const env=component.environment?.id,EmptyStateTemplate=emptyState?.get(env||"");return component.compositions.length===0&&component.host==="teambit.workspace/workspace"&&EmptyStateTemplate?_react().default.createElement("div",{className:_compositionsModule().default.noCompositionsPage},_react().default.createElement("div",null,_react().default.createElement(_documenterUi2().H1,{className:_compositionsModule().default.title},"Compositions"),_react().default.createElement(_designUi2().Separator,{isPresentational:!0,className:_compositionsModule().default.separator}),_react().default.createElement(_designUi3().AlertCard,{level:"info",title:"There are no compositions for this Component. Learn how to add compositions:"},_react().default.createElement(_mdxUi().MDXLayout,null,_react().default.createElement(EmptyStateTemplate,null))))):component?.buildStatus==="pending"&&component?.host==="teambit.scope/scope"?_react().default.createElement(_designUiSurfaces().StatusMessageCard,{className:_compositionsModule().default.buildStatusMessage,status:"PROCESSING",title:"component preview pending"},"this might take some time"):component?.buildStatus==="failed"&&component?.host==="teambit.scope/scope"?_react().default.createElement(_designUiSurfaces().StatusMessageCard,{className:_compositionsModule().default.buildStatusMessage,status:"FAILURE",title:"failed to get component preview "}):component.compositions.length===0?_react().default.createElement(_designUi().EmptyBox,{title:"There are no compositions for this component.",linkText:"Learn how to create compositions",link:"https://bit.dev/reference/dev-services-overview/compositions/compositions-overview"}):_react().default.createElement(_ui().ComponentComposition,_extends({className:_compositionsModule().default.compositionsIframe,viewport:null,component,forceHeight:"100%",composition:selected,fullContentHeight:!0,pubsub:!0,queryParams},componentCompositionProps))}},32552:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentComposition",{enumerable:!0,get:function(){return _ui().ComponentComposition}}),Object.defineProperty(exports,"Composition",{enumerable:!0,get:function(){return _composition().Composition}}),Object.defineProperty(exports,"CompositionContent",{enumerable:!0,get:function(){return _compositions2().CompositionContent}}),Object.defineProperty(exports,"CompositionsAspect",{enumerable:!0,get:function(){return _compositions().CompositionsAspect}}),exports.default=void 0;function _compositions(){const data=__webpack_require__(36717);return _compositions=function(){return data},data}function _composition(){const data=__webpack_require__(39708);return _composition=function(){return data},data}function _compositions2(){const data=__webpack_require__(82704);return _compositions2=function(){return data},data}function _ui(){const data=__webpack_require__(29066);return _ui=function(){return data},data}var _default=exports.default=_compositions().CompositionsAspect},23700:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentComposition=ComponentComposition;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _previewUi(){const data=__webpack_require__(27699);return _previewUi=function(){return data},data}const _excluded=["composition","component","queryParams"];function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key)){if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function ComponentComposition(_ref){let{composition,component,queryParams=[]}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const includesEnvTemplate=component.preview?.includesEnvTemplate,isScaling=component.preview?.isScaling,shouldAddNameParam=component.preview?.useNameParam||isScaling&&includesEnvTemplate===!1,compositionParams=(0,_react().useMemo)(()=>(composition?[shouldAddNameParam?`name=${composition.identifier}`:composition.identifier]:[]).concat(queryParams),[composition?.identifier,queryParams]);return _react().default.createElement(_previewUi().ComponentPreview,_extends({},rest,{component,style:{width:"100%",height:"100%"},previewName:"compositions",queryParams:compositionParams}))}},14427:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsPanel=CompositionsPanel;function _evangelistElements(){const data=__webpack_require__(6281);return _evangelistElements=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(40734);return _reactRouterDom=function(){return data},data}function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(43492);return _uiFoundationUi=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _compositionsPanelModule(){const data=_interopRequireDefault(__webpack_require__(77416));return _compositionsPanelModule=function(){return data},data}const _excluded=["url","compositions","isScaling","onSelectComposition","active","includesEnvTemplate","useNameParam","className"];function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};for(var key in source)if(Object.prototype.hasOwnProperty.call(source,key)){if(excluded.indexOf(key)>=0)continue;target[key]=source[key]}return target}function CompositionsPanel(_ref){let{url,compositions,isScaling,onSelectComposition:onSelect,active,includesEnvTemplate,useNameParam,className}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const shouldAddNameParam=useNameParam||isScaling&&includesEnvTemplate===!1,handleSelect=(0,_react().useCallback)(selected=>{onSelect&&onSelect(selected)},[onSelect]),location=(0,_baseReactNavigation().useLocation)(),[searchParams]=(0,_reactRouterDom().useSearchParams)(),versionFromQueryParams=searchParams.get("version"),navigate=(0,_baseReactNavigation().useNavigate)(),onCompositionCodeClicked=(0,_react().useCallback)(composition=>e=>{e.preventDefault();const queryParams=new URLSearchParams;versionFromQueryParams&&queryParams.set("version",versionFromQueryParams);const basePath=location?.pathname.split("/~compositions")[0];navigate(`${basePath}/~code/${composition.filepath}?${queryParams.toString()}#search=${composition.identifier}`)},[location?.pathname,versionFromQueryParams]);return _react().default.createElement("ul",_extends({},rest,{className:(0,_classnames().default)(className)}),compositions.map(composition=>{const href=shouldAddNameParam?`${url}&name=${composition.identifier}`:`${url}&${composition.identifier}`;return _react().default.createElement("li",{key:composition.identifier,className:(0,_classnames().default)(_compositionsPanelModule().default.linkWrapper,composition===active&&_compositionsPanelModule().default.active)},_react().default.createElement("a",{className:_compositionsPanelModule().default.panelLink,onClick:()=>handleSelect(composition)},_react().default.createElement("span",{className:_compositionsPanelModule().default.box}),_react().default.createElement("span",{className:_compositionsPanelModule().default.name},composition.displayName)),_react().default.createElement("div",{className:_compositionsPanelModule().default.right},_react().default.createElement(_uiFoundationUi().MenuWidgetIcon,{className:_compositionsPanelModule().default.codeLink,icon:"Code",tooltipContent:"Code",onClick:onCompositionCodeClicked(composition)}),_react().default.createElement("a",{className:_compositionsPanelModule().default.panelLink,target:"_blank",rel:"noopener noreferrer",href},_react().default.createElement(_evangelistElements().Icon,{className:_compositionsPanelModule().default.icon,of:"open-tab"}))))}))}},29066:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentComposition",{enumerable:!0,get:function(){return _compositionPreview().ComponentComposition}});function _compositionPreview(){const data=__webpack_require__(23700);return _compositionPreview=function(){return data},data}},69124:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AccountTypes=void 0;const react_1=__importDefault(__webpack_require__(59496)),default_avatar_1=__webpack_require__(27144),org_avatar_1=__webpack_require__(27636),user_avatar_1=__webpack_require__(18088);var AccountTypes;(function(AccountTypes2){AccountTypes2.org="organization",AccountTypes2.user="user",AccountTypes2.default="default"})(AccountTypes||(exports.AccountTypes=AccountTypes={}));function Avatar(props){const{account}=props;switch(account.accountType){case AccountTypes.user:return react_1.default.createElement(user_avatar_1.UserAvatar,Object.assign({},props));case AccountTypes.org:return react_1.default.createElement(org_avatar_1.OrgAvatar,Object.assign({},props));default:return react_1.default.createElement(default_avatar_1.DefaultAvatar,Object.assign({},props))}}exports.default=Avatar},27144:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultAvatar=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),styles_module_scss_1=__importDefault(__webpack_require__(82160));function DefaultAvatar(_a){var{size=32,children,className}=_a,rest=__rest(_a,["size","children","className"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(styles_module_scss_1.default.default,styles_module_scss_1.default.avatar,className),style:{width:`${size}px`,height:`${size}px`,fontSize:`${size*.35}px`,lineHeight:`${size}px`}},rest),"?",children)}exports.DefaultAvatar=DefaultAvatar},14452:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultAvatar=exports.OrgAvatar=exports.UserAvatar=void 0,__exportStar(__webpack_require__(69124),exports);var user_avatar_1=__webpack_require__(18088);Object.defineProperty(exports,"UserAvatar",{enumerable:!0,get:function(){return user_avatar_1.UserAvatar}});var org_avatar_1=__webpack_require__(27636);Object.defineProperty(exports,"OrgAvatar",{enumerable:!0,get:function(){return org_avatar_1.OrgAvatar}});var default_avatar_1=__webpack_require__(27144);Object.defineProperty(exports,"DefaultAvatar",{enumerable:!0,get:function(){return default_avatar_1.DefaultAvatar}})},27636:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.OrgAvatar=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),toolbox_url_add_avatar_query_params_1=__webpack_require__(66045),styles_module_scss_1=__importDefault(__webpack_require__(82160));function OrgAvatar(_a){var{account,size=32,imageSize=size,fontSize=Math.round(size*.4),className,imgClassName,children}=_a,rest=__rest(_a,["account","size","imageSize","fontSize","className","imgClassName","children"]);const{profileImage=""}=account,profileImageWithParams=profileImage&&profileImage.startsWith("blob:")?profileImage:(0,toolbox_url_add_avatar_query_params_1.addAvatarQueryParams)(profileImage,imageSize,styles_module_scss_1.default.defaultAvatarBgColor);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(styles_module_scss_1.default.default,styles_module_scss_1.default.avatar,className),style:{width:`${size}px`,height:`${size}px`}},rest),profileImageWithParams&&react_1.default.createElement("img",{src:profileImageWithParams,className:(0,classnames_1.default)(styles_module_scss_1.default.avatarImg,profileImage.startsWith("blob:")&&styles_module_scss_1.default.blob,imgClassName)}),react_1.default.createElement("span",{className:styles_module_scss_1.default.defaultAvatar},react_1.default.createElement("i",{className:"bitcon-organization",style:{fontSize:`${fontSize}px`,lineHeight:`${size}px`}})),children)}exports.OrgAvatar=OrgAvatar},18088:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UserAvatar=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_elements_icon_1=__webpack_require__(79060),toolbox_url_add_avatar_query_params_1=__webpack_require__(66045),toolbox_string_get_initials_1=__webpack_require__(85749),design_ui_styles_colors_by_letter_1=__webpack_require__(40139),design_ui_styles_ellipsis_1=__webpack_require__(25747),design_ui_tooltip_1=__webpack_require__(93976),styles_module_scss_1=__importDefault(__webpack_require__(82160));function UserAvatar(_a){var{account,size,imageSize=size,fontSize=Math.round(size*.4),className,imgClassName,showTooltip=!1,children}=_a,rest=__rest(_a,["account","size","imageSize","fontSize","className","imgClassName","showTooltip","children"]);const{profileImage="",name="",displayName=""}=account,firstLetter=name[0]||displayName[0],profileImageWithParams=profileImage&&profileImage.startsWith("blob:")?profileImage:(0,toolbox_url_add_avatar_query_params_1.addAvatarQueryParams)(profileImage,imageSize,styles_module_scss_1.default.defaultAvatarBgColor),colors=firstLetter&&design_ui_styles_colors_by_letter_1.letterBgColors[firstLetter.toLowerCase()],avatar=react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(colors,styles_module_scss_1.default.avatar,className),style:{minWidth:`${size}px`,width:`${size}px`,height:`${size}px`}},rest),profileImageWithParams&&react_1.default.createElement("img",{src:profileImageWithParams,className:(0,classnames_1.default)(styles_module_scss_1.default.avatarImg,profileImage.startsWith("blob:")&&styles_module_scss_1.default.blob,imgClassName)}),(displayName||name)&&react_1.default.createElement("span",{className:styles_module_scss_1.default.letter,style:{fontSize:`${fontSize}px`,lineHeight:`${size}px`}},(0,toolbox_string_get_initials_1.getInitials)(displayName||name)),!displayName&&!name&&!profileImageWithParams&&!firstLetter&&react_1.default.createElement(design_elements_icon_1.Icon,{of:"solo-avatar",style:{fontSize:`${size}px`},className:(0,classnames_1.default)(styles_module_scss_1.default.avatarImg,styles_module_scss_1.default.soloAvatarIcon)}),children);return showTooltip?react_1.default.createElement(design_ui_tooltip_1.Tooltip,{placement:"bottom",content:react_1.default.createElement("div",{className:design_ui_styles_ellipsis_1.ellipsis},displayName?react_1.default.createElement(react_1.default.Fragment,null,displayName," (@",name,")"):react_1.default.createElement(react_1.default.Fragment,null,"@",name))},avatar):avatar}exports.UserAvatar=UserAvatar},59453:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TimeAgo=void 0;var time_ago_1=__webpack_require__(78278);Object.defineProperty(exports,"TimeAgo",{enumerable:!0,get:function(){return time_ago_1.TimeAgo}})},78278:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TimeAgo=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_utils_time_ago_1=__importDefault(__webpack_require__(65015)),design_ui_tooltip_1=__webpack_require__(93976),time_ago_module_scss_1=__importDefault(__webpack_require__(36066));function TimeAgo(_a){var{date,tooltip,className}=_a,rest=__rest(_a,["date","tooltip","className"]);const[refreshIdx,forceUpdate]=(0,react_1.useReducer)(x=>x+1,0);(0,react_1.useEffect)(()=>{const tId=setInterval(()=>forceUpdate(),6e4);return()=>clearInterval(tId)},[]);const formatted=(0,react_1.useMemo)(()=>(0,base_ui_utils_time_ago_1.default)(date),[date,refreshIdx]);return(element=>tooltip===void 0?element:react_1.default.createElement(design_ui_tooltip_1.Tooltip,{className:time_ago_module_scss_1.default.dateTooltip,placement:"top",content:react_1.default.createElement("div",{className:time_ago_module_scss_1.default.dateTooltipContent},tooltip)},element))(react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(className)}),formatted))}exports.TimeAgo=TimeAgo},93976:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.tippy=exports.useSingleton=exports.TooltipMountPoint=exports.SingletonTooltipProvider=exports.useCtxTooltipInstance=exports.ProvideTooltipInstance=exports.Tooltip=void 0;var tooltip_1=__webpack_require__(34128);Object.defineProperty(exports,"Tooltip",{enumerable:!0,get:function(){return tooltip_1.Tooltip}});var shared_instance_1=__webpack_require__(30003);Object.defineProperty(exports,"ProvideTooltipInstance",{enumerable:!0,get:function(){return shared_instance_1.ProvideTooltipInstance}}),Object.defineProperty(exports,"useCtxTooltipInstance",{enumerable:!0,get:function(){return shared_instance_1.useCtxTooltipInstance}});var singleton_instance_1=__webpack_require__(93052);Object.defineProperty(exports,"SingletonTooltipProvider",{enumerable:!0,get:function(){return singleton_instance_1.SingletonTooltipProvider}});var mount_point_1=__webpack_require__(18978);Object.defineProperty(exports,"TooltipMountPoint",{enumerable:!0,get:function(){return mount_point_1.TooltipMountPoint}});var react_1=__webpack_require__(94300);Object.defineProperty(exports,"useSingleton",{enumerable:!0,get:function(){return react_1.useSingleton}}),Object.defineProperty(exports,"tippy",{enumerable:!0,get:function(){return react_1.tippy}})},18978:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipMountPoint=exports.getMountPoint=exports.mountId=void 0;const react_1=__importDefault(__webpack_require__(59496));exports.mountId="tooltip-mount-point";function getMountPoint(ref){return document.getElementById(exports.mountId)||ref.parentElement||document.body}exports.getMountPoint=getMountPoint;function TooltipMountPoint(){return react_1.default.createElement("div",{id:exports.mountId})}exports.TooltipMountPoint=TooltipMountPoint},30003:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useCtxTooltipInstance=exports.ProvideTooltipInstance=void 0;const react_1=__importStar(__webpack_require__(59496)),singletonContext=(0,react_1.createContext)(void 0);function ProvideTooltipInstance({value,children}){return react_1.default.createElement(singletonContext.Provider,{value},children)}exports.ProvideTooltipInstance=ProvideTooltipInstance;function useCtxTooltipInstance(){return(0,react_1.useContext)(singletonContext)}exports.useCtxTooltipInstance=useCtxTooltipInstance},93052:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.SingletonTooltipProvider=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_2=__webpack_require__(94300),shared_instance_1=__webpack_require__(30003),tooltip_1=__webpack_require__(34128);function SingletonTooltipProvider(_a){var{children,disabled,overrides}=_a,rest=__rest(_a,["children","disabled","overrides"]);const[tooltipSource,tooltipTarget]=(0,react_2.useSingleton)({disabled,overrides});return react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(tooltip_1.Tooltip,Object.assign({},rest,{singleton:tooltipSource})),react_1.default.createElement(shared_instance_1.ProvideTooltipInstance,{value:tooltipTarget},children))}exports.SingletonTooltipProvider=SingletonTooltipProvider},34128:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tooltip=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ui_foundation_ui_hooks_use_is_mobile_1=__webpack_require__(2816),base_ui_theme_dark_theme_1=__webpack_require__(80667),react_2=__importDefault(__webpack_require__(94300)),tippy_js_1=__webpack_require__(48199);__webpack_require__(29125),__webpack_require__(30829);const mount_point_1=__webpack_require__(18978),shared_instance_1=__webpack_require__(30003);__webpack_require__(91573);const THEME="teambit",popperOptions={modifiers:[{name:"arrow",options:{padding:5}}]};function Tooltip(_a){var{children,breakline,singleton,visibleOnMobile,className}=_a,rest=__rest(_a,["children","breakline","singleton","visibleOnMobile","className"]);const isMobile=(0,ui_foundation_ui_hooks_use_is_mobile_1.useIsMobile)();if(!visibleOnMobile&&isMobile)return react_1.default.createElement(react_1.default.Fragment,null,children);const ctxInstance=(0,shared_instance_1.useCtxTooltipInstance)(),singletonInstance=singleton||ctxInstance,child=typeof children=="string"?react_1.default.createElement("span",null,children):children;return react_1.default.createElement(react_2.default,Object.assign({arrow:tippy_js_1.roundArrow,className:(0,classnames_1.default)(base_ui_theme_dark_theme_1.darkMode,breakline&&"tippy-breakLine",className),theme:THEME,interactive:!0,appendTo:mount_point_1.getMountPoint,popperOptions},rest,{singleton:singletonInstance}),child)}exports.Tooltip=Tooltip},7122:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDocs=exports.docsFields=void 0;const client_1=__webpack_require__(97299);exports.docsFields=(0,client_1.gql)`
547
540
  fragment docsFields on ReactDocs {
548
541
  abstract
549
542
  properties {