@teambit/env 1.0.409 → 1.0.411
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/env-template/public/{114.3702c4076a6a1202fe61.js → 172.ec8b692dd71e597d0f6f.js} +2 -2
- package/artifacts/env-template/public/{182.dd1a9991ffff67cad5d7.js → 182.d1f43df4d6ac1c406f7d.js} +8 -8
- package/artifacts/env-template/public/{281.8842934322590692d869.js → 924.0f08415b368e1e9c76e5.js} +12 -12
- package/artifacts/env-template/public/assets-manifest.json +14 -14
- package/artifacts/env-template/public/{compositions.a35ab3a7ee2cafd7c44c.js → compositions.481ed65273da5155afdb.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.bd61a133349db653a8bc.js → overview.fb3ad5292caa86240d5d.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.8bdb776db96d569e0de6.js → peers.5e26c42ceaece44730ee.js} +1 -1
- package/artifacts/env-template/public/{preview-root.4e40495f3e7b57c722ea.js → preview-root.9e150072b1f3a16155b1.js} +1 -1
- package/artifacts/preview/teambit_envs_env-preview.js +1 -1
- package/artifacts/schema.json +4 -1
- package/{compositions-1726584693847.js → compositions-1726715976656.js} +1 -1
- package/dist/{preview-1726584693847.js → preview-1726715976656.js} +2 -2
- package/{overview-1726584693847.js → overview-1726715976656.js} +1 -1
- package/package.json +7 -7
package/artifacts/env-template/public/{182.dd1a9991ffff67cad5d7.js → 182.d1f43df4d6ac1c406f7d.js}
RENAMED
@@ -9,7 +9,7 @@
|
|
9
9
|
* @license MIT
|
10
10
|
*/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)}var Action;(function(Action2){Action2.Pop="POP",Action2.Push="PUSH",Action2.Replace="REPLACE"})(Action||(Action={}));const PopStateEventType="popstate";function createMemoryHistory(options){options===void 0&&(options={});let{initialEntries=["/"],initialIndex,v5Compat=!1}=options,entries;entries=initialEntries.map((entry,index2)=>createMemoryLocation(entry,typeof entry=="string"?null:entry.state,index2===0?"default":void 0));let index=clampIndex(initialIndex??entries.length-1),action=Action.Pop,listener=null;function clampIndex(n){return Math.min(Math.max(n,0),entries.length-1)}function getCurrentLocation(){return entries[index]}function createMemoryLocation(to,state,key){state===void 0&&(state=null);let location=createLocation(entries?getCurrentLocation().pathname:"/",to,state,key);return warning(location.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(to)),location}function createHref(to){return typeof to=="string"?to:createPath(to)}return{get index(){return index},get action(){return action},get location(){return getCurrentLocation()},createHref,createURL(to){return new URL(createHref(to),"http://localhost")},encodeLocation(to){let path=typeof to=="string"?parsePath(to):to;return{pathname:path.pathname||"",search:path.search||"",hash:path.hash||""}},push(to,state){action=Action.Push;let nextLocation=createMemoryLocation(to,state);index+=1,entries.splice(index,entries.length,nextLocation),v5Compat&&listener&&listener({action,location:nextLocation,delta:1})},replace(to,state){action=Action.Replace;let nextLocation=createMemoryLocation(to,state);entries[index]=nextLocation,v5Compat&&listener&&listener({action,location:nextLocation,delta:0})},go(delta){action=Action.Pop;let nextIndex=clampIndex(index+delta),nextLocation=entries[nextIndex];index=nextIndex,listener&&listener({action,location:nextLocation,delta})},listen(fn){return listener=fn,()=>{listener=null}}}}function createBrowserHistory(options){options===void 0&&(options={});function createBrowserLocation(window2,globalHistory){let{pathname,search,hash}=window2.location;return createLocation("",{pathname,search,hash},globalHistory.state&&globalHistory.state.usr||null,globalHistory.state&&globalHistory.state.key||"default")}function createBrowserHref(window2,to){return typeof to=="string"?to:createPath(to)}return getUrlBasedHistory(createBrowserLocation,createBrowserHref,null,options)}function createHashHistory(options){options===void 0&&(options={});function createHashLocation(window2,globalHistory){let{pathname="/",search="",hash=""}=parsePath(window2.location.hash.substr(1));return!pathname.startsWith("/")&&!pathname.startsWith(".")&&(pathname="/"+pathname),createLocation("",{pathname,search,hash},globalHistory.state&&globalHistory.state.usr||null,globalHistory.state&&globalHistory.state.key||"default")}function createHashHref(window2,to){let base=window2.document.querySelector("base"),href="";if(base&&base.getAttribute("href")){let url=window2.location.href,hashIndex=url.indexOf("#");href=hashIndex===-1?url:url.slice(0,hashIndex)}return href+"#"+(typeof to=="string"?to:createPath(to))}function validateHashLocation(location,to){warning(location.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(to)+")")}return getUrlBasedHistory(createHashLocation,createHashHref,validateHashLocation,options)}function invariant(value,message){if(value===!1||value===null||typeof value>"u")throw new Error(message)}function warning(cond,message){if(!cond){typeof console<"u"&&console.warn(message);try{throw new Error(message)}catch{}}}function createKey(){return Math.random().toString(36).substr(2,8)}function getHistoryState(location,index){return{usr:location.state,key:location.key,idx:index}}function createLocation(current,to,state,key){return state===void 0&&(state=null),_extends({pathname:typeof current=="string"?current:current.pathname,search:"",hash:""},typeof to=="string"?parsePath(to):to,{state,key:to&&to.key||key||createKey()})}function createPath(_ref){let{pathname="/",search="",hash=""}=_ref;return search&&search!=="?"&&(pathname+=search.charAt(0)==="?"?search:"?"+search),hash&&hash!=="#"&&(pathname+=hash.charAt(0)==="#"?hash:"#"+hash),pathname}function parsePath(path){let parsedPath={};if(path){let hashIndex=path.indexOf("#");hashIndex>=0&&(parsedPath.hash=path.substr(hashIndex),path=path.substr(0,hashIndex));let searchIndex=path.indexOf("?");searchIndex>=0&&(parsedPath.search=path.substr(searchIndex),path=path.substr(0,searchIndex)),path&&(parsedPath.pathname=path)}return parsedPath}function getUrlBasedHistory(getLocation,createHref,validateLocation,options){options===void 0&&(options={});let{window:window2=document.defaultView,v5Compat=!1}=options,globalHistory=window2.history,action=Action.Pop,listener=null,index=getIndex();index==null&&(index=0,globalHistory.replaceState(_extends({},globalHistory.state,{idx:index}),""));function getIndex(){return(globalHistory.state||{idx:null}).idx}function handlePop(){action=Action.Pop;let nextIndex=getIndex(),delta=nextIndex==null?null:nextIndex-index;index=nextIndex,listener&&listener({action,location:history.location,delta})}function push(to,state){action=Action.Push;let location=createLocation(history.location,to,state);validateLocation&&validateLocation(location,to),index=getIndex()+1;let historyState=getHistoryState(location,index),url=history.createHref(location);try{globalHistory.pushState(historyState,"",url)}catch(error){if(error instanceof DOMException&&error.name==="DataCloneError")throw error;window2.location.assign(url)}v5Compat&&listener&&listener({action,location:history.location,delta:1})}function replace2(to,state){action=Action.Replace;let location=createLocation(history.location,to,state);validateLocation&&validateLocation(location,to),index=getIndex();let historyState=getHistoryState(location,index),url=history.createHref(location);globalHistory.replaceState(historyState,"",url),v5Compat&&listener&&listener({action,location:history.location,delta:0})}function createURL(to){let base=window2.location.origin!=="null"?window2.location.origin:window2.location.href,href=typeof to=="string"?to:createPath(to);return href=href.replace(/ $/,"%20"),invariant(base,"No window.location.(origin|href) available to create URL for href: "+href),new URL(href,base)}let history={get action(){return action},get location(){return getLocation(window2,globalHistory)},listen(fn){if(listener)throw new Error("A history only accepts one active listener");return window2.addEventListener(PopStateEventType,handlePop),listener=fn,()=>{window2.removeEventListener(PopStateEventType,handlePop),listener=null}},createHref(to){return createHref(window2,to)},createURL,encodeLocation(to){let url=createURL(to);return{pathname:url.pathname,search:url.search,hash:url.hash}},push,replace:replace2,go(n){return globalHistory.go(n)}};return history}var ResultType;(function(ResultType2){ResultType2.data="data",ResultType2.deferred="deferred",ResultType2.redirect="redirect",ResultType2.error="error"})(ResultType||(ResultType={}));const immutableRouteKeys=new Set(["lazy","caseSensitive","path","id","index","children"]);function isIndexRoute(route){return route.index===!0}function convertRoutesToDataRoutes(routes,mapRouteProperties,parentPath,manifest){return parentPath===void 0&&(parentPath=[]),manifest===void 0&&(manifest={}),routes.map((route,index)=>{let treePath=[...parentPath,String(index)],id=typeof route.id=="string"?route.id:treePath.join("-");if(invariant(route.index!==!0||!route.children,"Cannot specify children on an index route"),invariant(!manifest[id],'Found a route id collision on id "'+id+`". Route id's must be globally unique within Data Router usages`),isIndexRoute(route)){let indexRoute=_extends({},route,mapRouteProperties(route),{id});return manifest[id]=indexRoute,indexRoute}else{let pathOrLayoutRoute=_extends({},route,mapRouteProperties(route),{id,children:void 0});return manifest[id]=pathOrLayoutRoute,route.children&&(pathOrLayoutRoute.children=convertRoutesToDataRoutes(route.children,mapRouteProperties,treePath,manifest)),pathOrLayoutRoute}})}function matchRoutes(routes,locationArg,basename){return basename===void 0&&(basename="/"),matchRoutesImpl(routes,locationArg,basename,!1)}function matchRoutesImpl(routes,locationArg,basename,allowPartial){let location=typeof locationArg=="string"?parsePath(locationArg):locationArg,pathname=stripBasename(location.pathname||"/",basename);if(pathname==null)return null;let branches=flattenRoutes(routes);rankRouteBranches(branches);let matches=null;for(let i=0;matches==null&&i<branches.length;++i){let decoded=decodePath(pathname);matches=matchRouteBranch(branches[i],decoded,allowPartial)}return matches}function convertRouteMatchToUiMatch(match,loaderData){let{route,pathname,params}=match;return{id:route.id,pathname,params,data:loaderData[route.id],handle:route.handle}}function flattenRoutes(routes,branches,parentsMeta,parentPath){branches===void 0&&(branches=[]),parentsMeta===void 0&&(parentsMeta=[]),parentPath===void 0&&(parentPath="");let flattenRoute=(route,index,relativePath)=>{let meta={relativePath:relativePath===void 0?route.path||"":relativePath,caseSensitive:route.caseSensitive===!0,childrenIndex:index,route};meta.relativePath.startsWith("/")&&(invariant(meta.relativePath.startsWith(parentPath),'Absolute route path "'+meta.relativePath+'" nested under path '+('"'+parentPath+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),meta.relativePath=meta.relativePath.slice(parentPath.length));let path=joinPaths([parentPath,meta.relativePath]),routesMeta=parentsMeta.concat(meta);route.children&&route.children.length>0&&(invariant(route.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+path+'".')),flattenRoutes(route.children,branches,routesMeta,path)),!(route.path==null&&!route.index)&&branches.push({path,score:computeScore(path,route.index),routesMeta})};return routes.forEach((route,index)=>{var _route$path;if(route.path===""||!((_route$path=route.path)!=null&&_route$path.includes("?")))flattenRoute(route,index);else for(let exploded of explodeOptionalSegments(route.path))flattenRoute(route,index,exploded)}),branches}function explodeOptionalSegments(path){let segments=path.split("/");if(segments.length===0)return[];let[first,...rest]=segments,isOptional=first.endsWith("?"),required=first.replace(/\?$/,"");if(rest.length===0)return isOptional?[required,""]:[required];let restExploded=explodeOptionalSegments(rest.join("/")),result=[];return result.push(...restExploded.map(subpath=>subpath===""?required:[required,subpath].join("/"))),isOptional&&result.push(...restExploded),result.map(exploded=>path.startsWith("/")&&exploded===""?"/":exploded)}function rankRouteBranches(branches){branches.sort((a,b)=>a.score!==b.score?b.score-a.score:compareIndexes(a.routesMeta.map(meta=>meta.childrenIndex),b.routesMeta.map(meta=>meta.childrenIndex)))}const paramRe=/^:[\w-]+$/,dynamicSegmentValue=3,indexRouteValue=2,emptySegmentValue=1,staticSegmentValue=10,splatPenalty=-2,isSplat=s=>s==="*";function computeScore(path,index){let segments=path.split("/"),initialScore=segments.length;return segments.some(isSplat)&&(initialScore+=splatPenalty),index&&(initialScore+=indexRouteValue),segments.filter(s=>!isSplat(s)).reduce((score,segment)=>score+(paramRe.test(segment)?dynamicSegmentValue:segment===""?emptySegmentValue:staticSegmentValue),initialScore)}function compareIndexes(a,b){return a.length===b.length&&a.slice(0,-1).every((n,i)=>n===b[i])?a[a.length-1]-b[b.length-1]:0}function matchRouteBranch(branch,pathname,allowPartial){allowPartial===void 0&&(allowPartial=!1);let{routesMeta}=branch,matchedParams={},matchedPathname="/",matches=[];for(let i=0;i<routesMeta.length;++i){let meta=routesMeta[i],end=i===routesMeta.length-1,remainingPathname=matchedPathname==="/"?pathname:pathname.slice(matchedPathname.length)||"/",match=matchPath({path:meta.relativePath,caseSensitive:meta.caseSensitive,end},remainingPathname),route=meta.route;if(!match&&end&&allowPartial&&!routesMeta[routesMeta.length-1].route.index&&(match=matchPath({path:meta.relativePath,caseSensitive:meta.caseSensitive,end:!1},remainingPathname)),!match)return null;Object.assign(matchedParams,match.params),matches.push({params:matchedParams,pathname:joinPaths([matchedPathname,match.pathname]),pathnameBase:normalizePathname(joinPaths([matchedPathname,match.pathnameBase])),route}),match.pathnameBase!=="/"&&(matchedPathname=joinPaths([matchedPathname,match.pathnameBase]))}return matches}function generatePath(originalPath,params){params===void 0&&(params={});let path=originalPath;path.endsWith("*")&&path!=="*"&&!path.endsWith("/*")&&(warning(!1,'Route path "'+path+'" will be treated as if it were '+('"'+path.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+path.replace(/\*$/,"/*")+'".')),path=path.replace(/\*$/,"/*"));const prefix=path.startsWith("/")?"/":"",stringify=p=>p==null?"":typeof p=="string"?p:String(p),segments=path.split(/\/+/).map((segment,index,array)=>{if(index===array.length-1&&segment==="*")return stringify(params["*"]);const keyMatch=segment.match(/^:([\w-]+)(\??)$/);if(keyMatch){const[,key,optional]=keyMatch;let param=params[key];return invariant(optional==="?"||param!=null,'Missing ":'+key+'" param'),stringify(param)}return segment.replace(/\?$/g,"")}).filter(segment=>!!segment);return prefix+segments.join("/")}function matchPath(pattern,pathname){typeof pattern=="string"&&(pattern={path:pattern,caseSensitive:!1,end:!0});let[matcher,compiledParams]=compilePath(pattern.path,pattern.caseSensitive,pattern.end),match=pathname.match(matcher);if(!match)return null;let matchedPathname=match[0],pathnameBase=matchedPathname.replace(/(.)\/+$/,"$1"),captureGroups=match.slice(1);return{params:compiledParams.reduce((memo,_ref,index)=>{let{paramName,isOptional}=_ref;if(paramName==="*"){let splatValue=captureGroups[index]||"";pathnameBase=matchedPathname.slice(0,matchedPathname.length-splatValue.length).replace(/(.)\/+$/,"$1")}const value=captureGroups[index];return isOptional&&!value?memo[paramName]=void 0:memo[paramName]=(value||"").replace(/%2F/g,"/"),memo},{}),pathname:matchedPathname,pathnameBase,pattern}}function compilePath(path,caseSensitive,end){caseSensitive===void 0&&(caseSensitive=!1),end===void 0&&(end=!0),warning(path==="*"||!path.endsWith("*")||path.endsWith("/*"),'Route path "'+path+'" will be treated as if it were '+('"'+path.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+path.replace(/\*$/,"/*")+'".'));let params=[],regexpSource="^"+path.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(_,paramName,isOptional)=>(params.push({paramName,isOptional:isOptional!=null}),isOptional?"/?([^\\/]+)?":"/([^\\/]+)"));return path.endsWith("*")?(params.push({paramName:"*"}),regexpSource+=path==="*"||path==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):end?regexpSource+="\\/*$":path!==""&&path!=="/"&&(regexpSource+="(?:(?=\\/|$))"),[new RegExp(regexpSource,caseSensitive?void 0:"i"),params]}function decodePath(value){try{return value.split("/").map(v=>decodeURIComponent(v).replace(/\//g,"%2F")).join("/")}catch(error){return warning(!1,'The URL path "'+value+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+error+").")),value}}function stripBasename(pathname,basename){if(basename==="/")return pathname;if(!pathname.toLowerCase().startsWith(basename.toLowerCase()))return null;let startIndex=basename.endsWith("/")?basename.length-1:basename.length,nextChar=pathname.charAt(startIndex);return nextChar&&nextChar!=="/"?null:pathname.slice(startIndex)||"/"}function resolvePath(to,fromPathname){fromPathname===void 0&&(fromPathname="/");let{pathname:toPathname,search="",hash=""}=typeof to=="string"?parsePath(to):to;return{pathname:toPathname?toPathname.startsWith("/")?toPathname:resolvePathname(toPathname,fromPathname):fromPathname,search:normalizeSearch(search),hash:normalizeHash(hash)}}function resolvePathname(relativePath,fromPathname){let segments=fromPathname.replace(/\/+$/,"").split("/");return relativePath.split("/").forEach(segment=>{segment===".."?segments.length>1&&segments.pop():segment!=="."&&segments.push(segment)}),segments.length>1?segments.join("/"):"/"}function getInvalidPathError(char,field,dest,path){return"Cannot include a '"+char+"' character in a manually specified "+("`to."+field+"` field ["+JSON.stringify(path)+"]. Please separate it out to the ")+("`to."+dest+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function getPathContributingMatches(matches){return matches.filter((match,index)=>index===0||match.route.path&&match.route.path.length>0)}function getResolveToMatches(matches,v7_relativeSplatPath){let pathMatches=getPathContributingMatches(matches);return v7_relativeSplatPath?pathMatches.map((match,idx)=>idx===pathMatches.length-1?match.pathname:match.pathnameBase):pathMatches.map(match=>match.pathnameBase)}function resolveTo(toArg,routePathnames,locationPathname,isPathRelative){isPathRelative===void 0&&(isPathRelative=!1);let to;typeof toArg=="string"?to=parsePath(toArg):(to=_extends({},toArg),invariant(!to.pathname||!to.pathname.includes("?"),getInvalidPathError("?","pathname","search",to)),invariant(!to.pathname||!to.pathname.includes("#"),getInvalidPathError("#","pathname","hash",to)),invariant(!to.search||!to.search.includes("#"),getInvalidPathError("#","search","hash",to)));let isEmptyPath=toArg===""||to.pathname==="",toPathname=isEmptyPath?"/":to.pathname,from;if(toPathname==null)from=locationPathname;else{let routePathnameIndex=routePathnames.length-1;if(!isPathRelative&&toPathname.startsWith("..")){let toSegments=toPathname.split("/");for(;toSegments[0]==="..";)toSegments.shift(),routePathnameIndex-=1;to.pathname=toSegments.join("/")}from=routePathnameIndex>=0?routePathnames[routePathnameIndex]:"/"}let path=resolvePath(to,from),hasExplicitTrailingSlash=toPathname&&toPathname!=="/"&&toPathname.endsWith("/"),hasCurrentTrailingSlash=(isEmptyPath||toPathname===".")&&locationPathname.endsWith("/");return!path.pathname.endsWith("/")&&(hasExplicitTrailingSlash||hasCurrentTrailingSlash)&&(path.pathname+="/"),path}function getToPathname(to){return to===""||to.pathname===""?"/":typeof to=="string"?parsePath(to).pathname:to.pathname}const joinPaths=paths=>paths.join("/").replace(/\/\/+/g,"/"),normalizePathname=pathname=>pathname.replace(/\/+$/,"").replace(/^\/*/,"/"),normalizeSearch=search=>!search||search==="?"?"":search.startsWith("?")?search:"?"+search,normalizeHash=hash=>!hash||hash==="#"?"":hash.startsWith("#")?hash:"#"+hash,json=function(data2,init){init===void 0&&(init={});let responseInit=typeof init=="number"?{status:init}:init,headers=new Headers(responseInit.headers);return headers.has("Content-Type")||headers.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(data2),_extends({},responseInit,{headers}))};class DataWithResponseInit{constructor(data2,init){this.type="DataWithResponseInit",this.data=data2,this.init=init||null}}function data(data2,init){return new DataWithResponseInit(data2,typeof init=="number"?{status:init}:init)}class AbortedDeferredError extends Error{}class DeferredData{constructor(data2,responseInit){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],invariant(data2&&typeof data2=="object"&&!Array.isArray(data2),"defer() only accepts plain objects");let reject;this.abortPromise=new Promise((_,r)=>reject=r),this.controller=new AbortController;let onAbort=()=>reject(new AbortedDeferredError("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",onAbort),this.controller.signal.addEventListener("abort",onAbort),this.data=Object.entries(data2).reduce((acc,_ref2)=>{let[key,value]=_ref2;return Object.assign(acc,{[key]:this.trackPromise(key,value)})},{}),this.done&&this.unlistenAbortSignal(),this.init=responseInit}trackPromise(key,value){if(!(value instanceof Promise))return value;this.deferredKeys.push(key),this.pendingKeysSet.add(key);let promise=Promise.race([value,this.abortPromise]).then(data2=>this.onSettle(promise,key,void 0,data2),error=>this.onSettle(promise,key,error));return promise.catch(()=>{}),Object.defineProperty(promise,"_tracked",{get:()=>!0}),promise}onSettle(promise,key,error,data2){if(this.controller.signal.aborted&&error instanceof AbortedDeferredError)return this.unlistenAbortSignal(),Object.defineProperty(promise,"_error",{get:()=>error}),Promise.reject(error);if(this.pendingKeysSet.delete(key),this.done&&this.unlistenAbortSignal(),error===void 0&&data2===void 0){let undefinedError=new Error('Deferred data for key "'+key+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(promise,"_error",{get:()=>undefinedError}),this.emit(!1,key),Promise.reject(undefinedError)}return data2===void 0?(Object.defineProperty(promise,"_error",{get:()=>error}),this.emit(!1,key),Promise.reject(error)):(Object.defineProperty(promise,"_data",{get:()=>data2}),this.emit(!1,key),data2)}emit(aborted,settledKey){this.subscribers.forEach(subscriber=>subscriber(aborted,settledKey))}subscribe(fn){return this.subscribers.add(fn),()=>this.subscribers.delete(fn)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((v,k)=>this.pendingKeysSet.delete(k)),this.emit(!0)}async resolveData(signal){let aborted=!1;if(!this.done){let onAbort=()=>this.cancel();signal.addEventListener("abort",onAbort),aborted=await new Promise(resolve=>{this.subscribe(aborted2=>{signal.removeEventListener("abort",onAbort),(aborted2||this.done)&&resolve(aborted2)})})}return aborted}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return invariant(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((acc,_ref3)=>{let[key,value]=_ref3;return Object.assign(acc,{[key]:unwrapTrackedPromise(value)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function isTrackedPromise(value){return value instanceof Promise&&value._tracked===!0}function unwrapTrackedPromise(value){if(!isTrackedPromise(value))return value;if(value._error)throw value._error;return value._data}const defer=function(data2,init){init===void 0&&(init={});let responseInit=typeof init=="number"?{status:init}:init;return new DeferredData(data2,responseInit)},redirect=function(url,init){init===void 0&&(init=302);let responseInit=init;typeof responseInit=="number"?responseInit={status:responseInit}:typeof responseInit.status>"u"&&(responseInit.status=302);let headers=new Headers(responseInit.headers);return headers.set("Location",url),new Response(null,_extends({},responseInit,{headers}))},redirectDocument=(url,init)=>{let response=redirect(url,init);return response.headers.set("X-Remix-Reload-Document","true"),response},replace=(url,init)=>{let response=redirect(url,init);return response.headers.set("X-Remix-Replace","true"),response};class ErrorResponseImpl{constructor(status,statusText,data2,internal){internal===void 0&&(internal=!1),this.status=status,this.statusText=statusText||"",this.internal=internal,data2 instanceof Error?(this.data=data2.toString(),this.error=data2):this.data=data2}}function isRouteErrorResponse(error){return error!=null&&typeof error.status=="number"&&typeof error.statusText=="string"&&typeof error.internal=="boolean"&&"data"in error}const validMutationMethodsArr=["post","put","patch","delete"],validMutationMethods=new Set(validMutationMethodsArr),validRequestMethodsArr=["get",...validMutationMethodsArr],validRequestMethods=new Set(validRequestMethodsArr),redirectStatusCodes=new Set([301,302,303,307,308]),redirectPreserveMethodStatusCodes=new Set([307,308]),IDLE_NAVIGATION={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},IDLE_FETCHER={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},IDLE_BLOCKER={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ABSOLUTE_URL_REGEX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,defaultMapRouteProperties=route=>({hasErrorBoundary:Boolean(route.hasErrorBoundary)}),TRANSITIONS_STORAGE_KEY="remix-router-transitions";function createRouter(init){const routerWindow=init.window?init.window:typeof window<"u"?window:void 0,isBrowser=typeof routerWindow<"u"&&typeof routerWindow.document<"u"&&typeof routerWindow.document.createElement<"u",isServer=!isBrowser;invariant(init.routes.length>0,"You must provide a non-empty routes array to createRouter");let mapRouteProperties;if(init.mapRouteProperties)mapRouteProperties=init.mapRouteProperties;else if(init.detectErrorBoundary){let detectErrorBoundary=init.detectErrorBoundary;mapRouteProperties=route=>({hasErrorBoundary:detectErrorBoundary(route)})}else mapRouteProperties=defaultMapRouteProperties;let manifest={},dataRoutes=convertRoutesToDataRoutes(init.routes,mapRouteProperties,void 0,manifest),inFlightDataRoutes,basename=init.basename||"/",dataStrategyImpl=init.unstable_dataStrategy||defaultDataStrategy,patchRoutesOnNavigationImpl=init.unstable_patchRoutesOnNavigation,future=_extends({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},init.future),unlistenHistory=null,subscribers=new Set,discoveredRoutesMaxSize=1e3,discoveredRoutes=new Set,savedScrollPositions=null,getScrollRestorationKey=null,getScrollPosition=null,initialScrollRestored=init.hydrationData!=null,initialMatches=matchRoutes(dataRoutes,init.history.location,basename),initialErrors=null;if(initialMatches==null&&!patchRoutesOnNavigationImpl){let error=getInternalRouterError(404,{pathname:init.history.location.pathname}),{matches,route}=getShortCircuitMatches(dataRoutes);initialMatches=matches,initialErrors={[route.id]:error}}initialMatches&&!init.hydrationData&&checkFogOfWar(initialMatches,dataRoutes,init.history.location.pathname).active&&(initialMatches=null);let initialized;if(initialMatches)if(initialMatches.some(m=>m.route.lazy))initialized=!1;else if(!initialMatches.some(m=>m.route.loader))initialized=!0;else if(future.v7_partialHydration){let loaderData=init.hydrationData?init.hydrationData.loaderData:null,errors=init.hydrationData?init.hydrationData.errors:null,isRouteInitialized=m=>m.route.loader?typeof m.route.loader=="function"&&m.route.loader.hydrate===!0?!1:loaderData&&loaderData[m.route.id]!==void 0||errors&&errors[m.route.id]!==void 0:!0;if(errors){let idx=initialMatches.findIndex(m=>errors[m.route.id]!==void 0);initialized=initialMatches.slice(0,idx+1).every(isRouteInitialized)}else initialized=initialMatches.every(isRouteInitialized)}else initialized=init.hydrationData!=null;else if(initialized=!1,initialMatches=[],future.v7_partialHydration){let fogOfWar=checkFogOfWar(null,dataRoutes,init.history.location.pathname);fogOfWar.active&&fogOfWar.matches&&(initialMatches=fogOfWar.matches)}let router,state={historyAction:init.history.action,location:init.history.location,matches:initialMatches,initialized,navigation:IDLE_NAVIGATION,restoreScrollPosition:init.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:init.hydrationData&&init.hydrationData.loaderData||{},actionData:init.hydrationData&&init.hydrationData.actionData||null,errors:init.hydrationData&&init.hydrationData.errors||initialErrors,fetchers:new Map,blockers:new Map},pendingAction=Action.Pop,pendingPreventScrollReset=!1,pendingNavigationController,pendingViewTransitionEnabled=!1,appliedViewTransitions=new Map,removePageHideEventListener=null,isUninterruptedRevalidation=!1,isRevalidationRequired=!1,cancelledDeferredRoutes=[],cancelledFetcherLoads=new Set,fetchControllers=new Map,incrementingLoadId=0,pendingNavigationLoadId=-1,fetchReloadIds=new Map,fetchRedirectIds=new Set,fetchLoadMatches=new Map,activeFetchers=new Map,deletedFetchers=new Set,activeDeferreds=new Map,blockerFunctions=new Map,pendingPatchRoutes=new Map,ignoreNextHistoryUpdate=!1;function initialize(){if(unlistenHistory=init.history.listen(_ref=>{let{action:historyAction,location,delta}=_ref;if(ignoreNextHistoryUpdate){ignoreNextHistoryUpdate=!1;return}warning(blockerFunctions.size===0||delta!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let blockerKey=shouldBlockNavigation({currentLocation:state.location,nextLocation:location,historyAction});if(blockerKey&&delta!=null){ignoreNextHistoryUpdate=!0,init.history.go(delta*-1),updateBlocker(blockerKey,{state:"blocked",location,proceed(){updateBlocker(blockerKey,{state:"proceeding",proceed:void 0,reset:void 0,location}),init.history.go(delta)},reset(){let blockers=new Map(state.blockers);blockers.set(blockerKey,IDLE_BLOCKER),updateState({blockers})}});return}return startNavigation(historyAction,location)}),isBrowser){restoreAppliedTransitions(routerWindow,appliedViewTransitions);let _saveAppliedTransitions=()=>persistAppliedTransitions(routerWindow,appliedViewTransitions);routerWindow.addEventListener("pagehide",_saveAppliedTransitions),removePageHideEventListener=()=>routerWindow.removeEventListener("pagehide",_saveAppliedTransitions)}return state.initialized||startNavigation(Action.Pop,state.location,{initialHydration:!0}),router}function dispose(){unlistenHistory&&unlistenHistory(),removePageHideEventListener&&removePageHideEventListener(),subscribers.clear(),pendingNavigationController&&pendingNavigationController.abort(),state.fetchers.forEach((_,key)=>deleteFetcher(key)),state.blockers.forEach((_,key)=>deleteBlocker(key))}function subscribe(fn){return subscribers.add(fn),()=>subscribers.delete(fn)}function updateState(newState,opts){opts===void 0&&(opts={}),state=_extends({},state,newState);let completedFetchers=[],deletedFetchersKeys=[];future.v7_fetcherPersist&&state.fetchers.forEach((fetcher,key)=>{fetcher.state==="idle"&&(deletedFetchers.has(key)?deletedFetchersKeys.push(key):completedFetchers.push(key))}),[...subscribers].forEach(subscriber=>subscriber(state,{deletedFetchers:deletedFetchersKeys,unstable_viewTransitionOpts:opts.viewTransitionOpts,unstable_flushSync:opts.flushSync===!0})),future.v7_fetcherPersist&&(completedFetchers.forEach(key=>state.fetchers.delete(key)),deletedFetchersKeys.forEach(key=>deleteFetcher(key)))}function completeNavigation(location,newState,_temp){var _location$state,_location$state2;let{flushSync}=_temp===void 0?{}:_temp,isActionReload=state.actionData!=null&&state.navigation.formMethod!=null&&isMutationMethod(state.navigation.formMethod)&&state.navigation.state==="loading"&&((_location$state=location.state)==null?void 0:_location$state._isRedirect)!==!0,actionData;newState.actionData?Object.keys(newState.actionData).length>0?actionData=newState.actionData:actionData=null:isActionReload?actionData=state.actionData:actionData=null;let loaderData=newState.loaderData?mergeLoaderData(state.loaderData,newState.loaderData,newState.matches||[],newState.errors):state.loaderData,blockers=state.blockers;blockers.size>0&&(blockers=new Map(blockers),blockers.forEach((_,k)=>blockers.set(k,IDLE_BLOCKER)));let preventScrollReset=pendingPreventScrollReset===!0||state.navigation.formMethod!=null&&isMutationMethod(state.navigation.formMethod)&&((_location$state2=location.state)==null?void 0:_location$state2._isRedirect)!==!0;inFlightDataRoutes&&(dataRoutes=inFlightDataRoutes,inFlightDataRoutes=void 0),isUninterruptedRevalidation||pendingAction===Action.Pop||(pendingAction===Action.Push?init.history.push(location,location.state):pendingAction===Action.Replace&&init.history.replace(location,location.state));let viewTransitionOpts;if(pendingAction===Action.Pop){let priorPaths=appliedViewTransitions.get(state.location.pathname);priorPaths&&priorPaths.has(location.pathname)?viewTransitionOpts={currentLocation:state.location,nextLocation:location}:appliedViewTransitions.has(location.pathname)&&(viewTransitionOpts={currentLocation:location,nextLocation:state.location})}else if(pendingViewTransitionEnabled){let toPaths=appliedViewTransitions.get(state.location.pathname);toPaths?toPaths.add(location.pathname):(toPaths=new Set([location.pathname]),appliedViewTransitions.set(state.location.pathname,toPaths)),viewTransitionOpts={currentLocation:state.location,nextLocation:location}}updateState(_extends({},newState,{actionData,loaderData,historyAction:pendingAction,location,initialized:!0,navigation:IDLE_NAVIGATION,revalidation:"idle",restoreScrollPosition:getSavedScrollPosition(location,newState.matches||state.matches),preventScrollReset,blockers}),{viewTransitionOpts,flushSync:flushSync===!0}),pendingAction=Action.Pop,pendingPreventScrollReset=!1,pendingViewTransitionEnabled=!1,isUninterruptedRevalidation=!1,isRevalidationRequired=!1,cancelledDeferredRoutes=[]}async function navigate(to,opts){if(typeof to=="number"){init.history.go(to);return}let normalizedPath=normalizeTo(state.location,state.matches,basename,future.v7_prependBasename,to,future.v7_relativeSplatPath,opts?.fromRouteId,opts?.relative),{path,submission,error}=normalizeNavigateOptions(future.v7_normalizeFormMethod,!1,normalizedPath,opts),currentLocation=state.location,nextLocation=createLocation(state.location,path,opts&&opts.state);nextLocation=_extends({},nextLocation,init.history.encodeLocation(nextLocation));let userReplace=opts&&opts.replace!=null?opts.replace:void 0,historyAction=Action.Push;userReplace===!0?historyAction=Action.Replace:userReplace===!1||submission!=null&&isMutationMethod(submission.formMethod)&&submission.formAction===state.location.pathname+state.location.search&&(historyAction=Action.Replace);let preventScrollReset=opts&&"preventScrollReset"in opts?opts.preventScrollReset===!0:void 0,flushSync=(opts&&opts.unstable_flushSync)===!0,blockerKey=shouldBlockNavigation({currentLocation,nextLocation,historyAction});if(blockerKey){updateBlocker(blockerKey,{state:"blocked",location:nextLocation,proceed(){updateBlocker(blockerKey,{state:"proceeding",proceed:void 0,reset:void 0,location:nextLocation}),navigate(to,opts)},reset(){let blockers=new Map(state.blockers);blockers.set(blockerKey,IDLE_BLOCKER),updateState({blockers})}});return}return await startNavigation(historyAction,nextLocation,{submission,pendingError:error,preventScrollReset,replace:opts&&opts.replace,enableViewTransition:opts&&opts.unstable_viewTransition,flushSync})}function revalidate(){if(interruptActiveLoads(),updateState({revalidation:"loading"}),state.navigation.state!=="submitting"){if(state.navigation.state==="idle"){startNavigation(state.historyAction,state.location,{startUninterruptedRevalidation:!0});return}startNavigation(pendingAction||state.historyAction,state.navigation.location,{overrideNavigation:state.navigation})}}async function startNavigation(historyAction,location,opts){pendingNavigationController&&pendingNavigationController.abort(),pendingNavigationController=null,pendingAction=historyAction,isUninterruptedRevalidation=(opts&&opts.startUninterruptedRevalidation)===!0,saveScrollPosition(state.location,state.matches),pendingPreventScrollReset=(opts&&opts.preventScrollReset)===!0,pendingViewTransitionEnabled=(opts&&opts.enableViewTransition)===!0;let routesToUse=inFlightDataRoutes||dataRoutes,loadingNavigation=opts&&opts.overrideNavigation,matches=matchRoutes(routesToUse,location,basename),flushSync=(opts&&opts.flushSync)===!0,fogOfWar=checkFogOfWar(matches,routesToUse,location.pathname);if(fogOfWar.active&&fogOfWar.matches&&(matches=fogOfWar.matches),!matches){let{error,notFoundMatches,route}=handleNavigational404(location.pathname);completeNavigation(location,{matches:notFoundMatches,loaderData:{},errors:{[route.id]:error}},{flushSync});return}if(state.initialized&&!isRevalidationRequired&&isHashChangeOnly(state.location,location)&&!(opts&&opts.submission&&isMutationMethod(opts.submission.formMethod))){completeNavigation(location,{matches},{flushSync});return}pendingNavigationController=new AbortController;let request=createClientSideRequest(init.history,location,pendingNavigationController.signal,opts&&opts.submission),pendingActionResult;if(opts&&opts.pendingError)pendingActionResult=[findNearestBoundary(matches).route.id,{type:ResultType.error,error:opts.pendingError}];else if(opts&&opts.submission&&isMutationMethod(opts.submission.formMethod)){let actionResult=await handleAction(request,location,opts.submission,matches,fogOfWar.active,{replace:opts.replace,flushSync});if(actionResult.shortCircuited)return;if(actionResult.pendingActionResult){let[routeId,result]=actionResult.pendingActionResult;if(isErrorResult(result)&&isRouteErrorResponse(result.error)&&result.error.status===404){pendingNavigationController=null,completeNavigation(location,{matches:actionResult.matches,loaderData:{},errors:{[routeId]:result.error}});return}}matches=actionResult.matches||matches,pendingActionResult=actionResult.pendingActionResult,loadingNavigation=getLoadingNavigation(location,opts.submission),flushSync=!1,fogOfWar.active=!1,request=createClientSideRequest(init.history,request.url,request.signal)}let{shortCircuited,matches:updatedMatches,loaderData,errors}=await handleLoaders(request,location,matches,fogOfWar.active,loadingNavigation,opts&&opts.submission,opts&&opts.fetcherSubmission,opts&&opts.replace,opts&&opts.initialHydration===!0,flushSync,pendingActionResult);shortCircuited||(pendingNavigationController=null,completeNavigation(location,_extends({matches:updatedMatches||matches},getActionDataForCommit(pendingActionResult),{loaderData,errors})))}async function handleAction(request,location,submission,matches,isFogOfWar,opts){opts===void 0&&(opts={}),interruptActiveLoads();let navigation=getSubmittingNavigation(location,submission);if(updateState({navigation},{flushSync:opts.flushSync===!0}),isFogOfWar){let discoverResult=await discoverRoutes(matches,location.pathname,request.signal);if(discoverResult.type==="aborted")return{shortCircuited:!0};if(discoverResult.type==="error"){let{boundaryId,error}=handleDiscoverRouteError(location.pathname,discoverResult);return{matches:discoverResult.partialMatches,pendingActionResult:[boundaryId,{type:ResultType.error,error}]}}else if(discoverResult.matches)matches=discoverResult.matches;else{let{notFoundMatches,error,route}=handleNavigational404(location.pathname);return{matches:notFoundMatches,pendingActionResult:[route.id,{type:ResultType.error,error}]}}}let result,actionMatch=getTargetMatch(matches,location);if(!actionMatch.route.action&&!actionMatch.route.lazy)result={type:ResultType.error,error:getInternalRouterError(405,{method:request.method,pathname:location.pathname,routeId:actionMatch.route.id})};else if(result=(await callDataStrategy("action",request,[actionMatch],matches))[0],request.signal.aborted)return{shortCircuited:!0};if(isRedirectResult(result)){let replace2;return opts&&opts.replace!=null?replace2=opts.replace:replace2=normalizeRedirectLocation(result.response.headers.get("Location"),new URL(request.url),basename)===state.location.pathname+state.location.search,await startRedirectNavigation(request,result,{submission,replace:replace2}),{shortCircuited:!0}}if(isDeferredResult(result))throw getInternalRouterError(400,{type:"defer-action"});if(isErrorResult(result)){let boundaryMatch=findNearestBoundary(matches,actionMatch.route.id);return(opts&&opts.replace)!==!0&&(pendingAction=Action.Push),{matches,pendingActionResult:[boundaryMatch.route.id,result]}}return{matches,pendingActionResult:[actionMatch.route.id,result]}}async function handleLoaders(request,location,matches,isFogOfWar,overrideNavigation,submission,fetcherSubmission,replace2,initialHydration,flushSync,pendingActionResult){let loadingNavigation=overrideNavigation||getLoadingNavigation(location,submission),activeSubmission=submission||fetcherSubmission||getSubmissionFromNavigation(loadingNavigation),shouldUpdateNavigationState=!isUninterruptedRevalidation&&(!future.v7_partialHydration||!initialHydration);if(isFogOfWar){if(shouldUpdateNavigationState){let actionData=getUpdatedActionData(pendingActionResult);updateState(_extends({navigation:loadingNavigation},actionData!==void 0?{actionData}:{}),{flushSync})}let discoverResult=await discoverRoutes(matches,location.pathname,request.signal);if(discoverResult.type==="aborted")return{shortCircuited:!0};if(discoverResult.type==="error"){let{boundaryId,error}=handleDiscoverRouteError(location.pathname,discoverResult);return{matches:discoverResult.partialMatches,loaderData:{},errors:{[boundaryId]:error}}}else if(discoverResult.matches)matches=discoverResult.matches;else{let{error,notFoundMatches,route}=handleNavigational404(location.pathname);return{matches:notFoundMatches,loaderData:{},errors:{[route.id]:error}}}}let routesToUse=inFlightDataRoutes||dataRoutes,[matchesToLoad,revalidatingFetchers]=getMatchesToLoad(init.history,state,matches,activeSubmission,location,future.v7_partialHydration&&initialHydration===!0,future.v7_skipActionErrorRevalidation,isRevalidationRequired,cancelledDeferredRoutes,cancelledFetcherLoads,deletedFetchers,fetchLoadMatches,fetchRedirectIds,routesToUse,basename,pendingActionResult);if(cancelActiveDeferreds(routeId=>!(matches&&matches.some(m=>m.route.id===routeId))||matchesToLoad&&matchesToLoad.some(m=>m.route.id===routeId)),pendingNavigationLoadId=++incrementingLoadId,matchesToLoad.length===0&&revalidatingFetchers.length===0){let updatedFetchers2=markFetchRedirectsDone();return completeNavigation(location,_extends({matches,loaderData:{},errors:pendingActionResult&&isErrorResult(pendingActionResult[1])?{[pendingActionResult[0]]:pendingActionResult[1].error}:null},getActionDataForCommit(pendingActionResult),updatedFetchers2?{fetchers:new Map(state.fetchers)}:{}),{flushSync}),{shortCircuited:!0}}if(shouldUpdateNavigationState){let updates={};if(!isFogOfWar){updates.navigation=loadingNavigation;let actionData=getUpdatedActionData(pendingActionResult);actionData!==void 0&&(updates.actionData=actionData)}revalidatingFetchers.length>0&&(updates.fetchers=getUpdatedRevalidatingFetchers(revalidatingFetchers)),updateState(updates,{flushSync})}revalidatingFetchers.forEach(rf=>{fetchControllers.has(rf.key)&&abortFetcher(rf.key),rf.controller&&fetchControllers.set(rf.key,rf.controller)});let abortPendingFetchRevalidations=()=>revalidatingFetchers.forEach(f=>abortFetcher(f.key));pendingNavigationController&&pendingNavigationController.signal.addEventListener("abort",abortPendingFetchRevalidations);let{loaderResults,fetcherResults}=await callLoadersAndMaybeResolveData(state.matches,matches,matchesToLoad,revalidatingFetchers,request);if(request.signal.aborted)return{shortCircuited:!0};pendingNavigationController&&pendingNavigationController.signal.removeEventListener("abort",abortPendingFetchRevalidations),revalidatingFetchers.forEach(rf=>fetchControllers.delete(rf.key));let redirect2=findRedirect([...loaderResults,...fetcherResults]);if(redirect2){if(redirect2.idx>=matchesToLoad.length){let fetcherKey=revalidatingFetchers[redirect2.idx-matchesToLoad.length].key;fetchRedirectIds.add(fetcherKey)}return await startRedirectNavigation(request,redirect2.result,{replace:replace2}),{shortCircuited:!0}}let{loaderData,errors}=processLoaderData(state,matches,matchesToLoad,loaderResults,pendingActionResult,revalidatingFetchers,fetcherResults,activeDeferreds);activeDeferreds.forEach((deferredData,routeId)=>{deferredData.subscribe(aborted=>{(aborted||deferredData.done)&&activeDeferreds.delete(routeId)})}),future.v7_partialHydration&&initialHydration&&state.errors&&Object.entries(state.errors).filter(_ref2=>{let[id]=_ref2;return!matchesToLoad.some(m=>m.route.id===id)}).forEach(_ref3=>{let[routeId,error]=_ref3;errors=Object.assign(errors||{},{[routeId]:error})});let updatedFetchers=markFetchRedirectsDone(),didAbortFetchLoads=abortStaleFetchLoads(pendingNavigationLoadId),shouldUpdateFetchers=updatedFetchers||didAbortFetchLoads||revalidatingFetchers.length>0;return _extends({matches,loaderData,errors},shouldUpdateFetchers?{fetchers:new Map(state.fetchers)}:{})}function getUpdatedActionData(pendingActionResult){if(pendingActionResult&&!isErrorResult(pendingActionResult[1]))return{[pendingActionResult[0]]:pendingActionResult[1].data};if(state.actionData)return Object.keys(state.actionData).length===0?null:state.actionData}function getUpdatedRevalidatingFetchers(revalidatingFetchers){return revalidatingFetchers.forEach(rf=>{let fetcher=state.fetchers.get(rf.key),revalidatingFetcher=getLoadingFetcher(void 0,fetcher?fetcher.data:void 0);state.fetchers.set(rf.key,revalidatingFetcher)}),new Map(state.fetchers)}function fetch2(key,routeId,href,opts){if(isServer)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");fetchControllers.has(key)&&abortFetcher(key);let flushSync=(opts&&opts.unstable_flushSync)===!0,routesToUse=inFlightDataRoutes||dataRoutes,normalizedPath=normalizeTo(state.location,state.matches,basename,future.v7_prependBasename,href,future.v7_relativeSplatPath,routeId,opts?.relative),matches=matchRoutes(routesToUse,normalizedPath,basename),fogOfWar=checkFogOfWar(matches,routesToUse,normalizedPath);if(fogOfWar.active&&fogOfWar.matches&&(matches=fogOfWar.matches),!matches){setFetcherError(key,routeId,getInternalRouterError(404,{pathname:normalizedPath}),{flushSync});return}let{path,submission,error}=normalizeNavigateOptions(future.v7_normalizeFormMethod,!0,normalizedPath,opts);if(error){setFetcherError(key,routeId,error,{flushSync});return}let match=getTargetMatch(matches,path);if(pendingPreventScrollReset=(opts&&opts.preventScrollReset)===!0,submission&&isMutationMethod(submission.formMethod)){handleFetcherAction(key,routeId,path,match,matches,fogOfWar.active,flushSync,submission);return}fetchLoadMatches.set(key,{routeId,path}),handleFetcherLoader(key,routeId,path,match,matches,fogOfWar.active,flushSync,submission)}async function handleFetcherAction(key,routeId,path,match,requestMatches,isFogOfWar,flushSync,submission){interruptActiveLoads(),fetchLoadMatches.delete(key);function detectAndHandle405Error(m){if(!m.route.action&&!m.route.lazy){let error=getInternalRouterError(405,{method:submission.formMethod,pathname:path,routeId});return setFetcherError(key,routeId,error,{flushSync}),!0}return!1}if(!isFogOfWar&&detectAndHandle405Error(match))return;let existingFetcher=state.fetchers.get(key);updateFetcherState(key,getSubmittingFetcher(submission,existingFetcher),{flushSync});let abortController=new AbortController,fetchRequest=createClientSideRequest(init.history,path,abortController.signal,submission);if(isFogOfWar){let discoverResult=await discoverRoutes(requestMatches,path,fetchRequest.signal);if(discoverResult.type==="aborted")return;if(discoverResult.type==="error"){let{error}=handleDiscoverRouteError(path,discoverResult);setFetcherError(key,routeId,error,{flushSync});return}else if(discoverResult.matches){if(requestMatches=discoverResult.matches,match=getTargetMatch(requestMatches,path),detectAndHandle405Error(match))return}else{setFetcherError(key,routeId,getInternalRouterError(404,{pathname:path}),{flushSync});return}}fetchControllers.set(key,abortController);let originatingLoadId=incrementingLoadId,actionResult=(await callDataStrategy("action",fetchRequest,[match],requestMatches))[0];if(fetchRequest.signal.aborted){fetchControllers.get(key)===abortController&&fetchControllers.delete(key);return}if(future.v7_fetcherPersist&&deletedFetchers.has(key)){if(isRedirectResult(actionResult)||isErrorResult(actionResult)){updateFetcherState(key,getDoneFetcher(void 0));return}}else{if(isRedirectResult(actionResult))if(fetchControllers.delete(key),pendingNavigationLoadId>originatingLoadId){updateFetcherState(key,getDoneFetcher(void 0));return}else return fetchRedirectIds.add(key),updateFetcherState(key,getLoadingFetcher(submission)),startRedirectNavigation(fetchRequest,actionResult,{fetcherSubmission:submission});if(isErrorResult(actionResult)){setFetcherError(key,routeId,actionResult.error);return}}if(isDeferredResult(actionResult))throw getInternalRouterError(400,{type:"defer-action"});let nextLocation=state.navigation.location||state.location,revalidationRequest=createClientSideRequest(init.history,nextLocation,abortController.signal),routesToUse=inFlightDataRoutes||dataRoutes,matches=state.navigation.state!=="idle"?matchRoutes(routesToUse,state.navigation.location,basename):state.matches;invariant(matches,"Didn't find any matches after fetcher action");let loadId=++incrementingLoadId;fetchReloadIds.set(key,loadId);let loadFetcher=getLoadingFetcher(submission,actionResult.data);state.fetchers.set(key,loadFetcher);let[matchesToLoad,revalidatingFetchers]=getMatchesToLoad(init.history,state,matches,submission,nextLocation,!1,future.v7_skipActionErrorRevalidation,isRevalidationRequired,cancelledDeferredRoutes,cancelledFetcherLoads,deletedFetchers,fetchLoadMatches,fetchRedirectIds,routesToUse,basename,[match.route.id,actionResult]);revalidatingFetchers.filter(rf=>rf.key!==key).forEach(rf=>{let staleKey=rf.key,existingFetcher2=state.fetchers.get(staleKey),revalidatingFetcher=getLoadingFetcher(void 0,existingFetcher2?existingFetcher2.data:void 0);state.fetchers.set(staleKey,revalidatingFetcher),fetchControllers.has(staleKey)&&abortFetcher(staleKey),rf.controller&&fetchControllers.set(staleKey,rf.controller)}),updateState({fetchers:new Map(state.fetchers)});let abortPendingFetchRevalidations=()=>revalidatingFetchers.forEach(rf=>abortFetcher(rf.key));abortController.signal.addEventListener("abort",abortPendingFetchRevalidations);let{loaderResults,fetcherResults}=await callLoadersAndMaybeResolveData(state.matches,matches,matchesToLoad,revalidatingFetchers,revalidationRequest);if(abortController.signal.aborted)return;abortController.signal.removeEventListener("abort",abortPendingFetchRevalidations),fetchReloadIds.delete(key),fetchControllers.delete(key),revalidatingFetchers.forEach(r=>fetchControllers.delete(r.key));let redirect2=findRedirect([...loaderResults,...fetcherResults]);if(redirect2){if(redirect2.idx>=matchesToLoad.length){let fetcherKey=revalidatingFetchers[redirect2.idx-matchesToLoad.length].key;fetchRedirectIds.add(fetcherKey)}return startRedirectNavigation(revalidationRequest,redirect2.result)}let{loaderData,errors}=processLoaderData(state,state.matches,matchesToLoad,loaderResults,void 0,revalidatingFetchers,fetcherResults,activeDeferreds);if(state.fetchers.has(key)){let doneFetcher=getDoneFetcher(actionResult.data);state.fetchers.set(key,doneFetcher)}abortStaleFetchLoads(loadId),state.navigation.state==="loading"&&loadId>pendingNavigationLoadId?(invariant(pendingAction,"Expected pending action"),pendingNavigationController&&pendingNavigationController.abort(),completeNavigation(state.navigation.location,{matches,loaderData,errors,fetchers:new Map(state.fetchers)})):(updateState({errors,loaderData:mergeLoaderData(state.loaderData,loaderData,matches,errors),fetchers:new Map(state.fetchers)}),isRevalidationRequired=!1)}async function handleFetcherLoader(key,routeId,path,match,matches,isFogOfWar,flushSync,submission){let existingFetcher=state.fetchers.get(key);updateFetcherState(key,getLoadingFetcher(submission,existingFetcher?existingFetcher.data:void 0),{flushSync});let abortController=new AbortController,fetchRequest=createClientSideRequest(init.history,path,abortController.signal);if(isFogOfWar){let discoverResult=await discoverRoutes(matches,path,fetchRequest.signal);if(discoverResult.type==="aborted")return;if(discoverResult.type==="error"){let{error}=handleDiscoverRouteError(path,discoverResult);setFetcherError(key,routeId,error,{flushSync});return}else if(discoverResult.matches)matches=discoverResult.matches,match=getTargetMatch(matches,path);else{setFetcherError(key,routeId,getInternalRouterError(404,{pathname:path}),{flushSync});return}}fetchControllers.set(key,abortController);let originatingLoadId=incrementingLoadId,result=(await callDataStrategy("loader",fetchRequest,[match],matches))[0];if(isDeferredResult(result)&&(result=await resolveDeferredData(result,fetchRequest.signal,!0)||result),fetchControllers.get(key)===abortController&&fetchControllers.delete(key),!fetchRequest.signal.aborted){if(deletedFetchers.has(key)){updateFetcherState(key,getDoneFetcher(void 0));return}if(isRedirectResult(result))if(pendingNavigationLoadId>originatingLoadId){updateFetcherState(key,getDoneFetcher(void 0));return}else{fetchRedirectIds.add(key),await startRedirectNavigation(fetchRequest,result);return}if(isErrorResult(result)){setFetcherError(key,routeId,result.error);return}invariant(!isDeferredResult(result),"Unhandled fetcher deferred data"),updateFetcherState(key,getDoneFetcher(result.data))}}async function startRedirectNavigation(request,redirect2,_temp2){let{submission,fetcherSubmission,replace:replace2}=_temp2===void 0?{}:_temp2;redirect2.response.headers.has("X-Remix-Revalidate")&&(isRevalidationRequired=!0);let location=redirect2.response.headers.get("Location");invariant(location,"Expected a Location header on the redirect Response"),location=normalizeRedirectLocation(location,new URL(request.url),basename);let redirectLocation=createLocation(state.location,location,{_isRedirect:!0});if(isBrowser){let isDocumentReload=!1;if(redirect2.response.headers.has("X-Remix-Reload-Document"))isDocumentReload=!0;else if(ABSOLUTE_URL_REGEX.test(location)){const url=init.history.createURL(location);isDocumentReload=url.origin!==routerWindow.location.origin||stripBasename(url.pathname,basename)==null}if(isDocumentReload){replace2?routerWindow.location.replace(location):routerWindow.location.assign(location);return}}pendingNavigationController=null;let redirectHistoryAction=replace2===!0||redirect2.response.headers.has("X-Remix-Replace")?Action.Replace:Action.Push,{formMethod,formAction,formEncType}=state.navigation;!submission&&!fetcherSubmission&&formMethod&&formAction&&formEncType&&(submission=getSubmissionFromNavigation(state.navigation));let activeSubmission=submission||fetcherSubmission;if(redirectPreserveMethodStatusCodes.has(redirect2.response.status)&&activeSubmission&&isMutationMethod(activeSubmission.formMethod))await startNavigation(redirectHistoryAction,redirectLocation,{submission:_extends({},activeSubmission,{formAction:location}),preventScrollReset:pendingPreventScrollReset});else{let overrideNavigation=getLoadingNavigation(redirectLocation,submission);await startNavigation(redirectHistoryAction,redirectLocation,{overrideNavigation,fetcherSubmission,preventScrollReset:pendingPreventScrollReset})}}async function callDataStrategy(type,request,matchesToLoad,matches){try{let results=await callDataStrategyImpl(dataStrategyImpl,type,request,matchesToLoad,matches,manifest,mapRouteProperties);return await Promise.all(results.map((result,i)=>{if(isRedirectHandlerResult(result)){let response=result.result;return{type:ResultType.redirect,response:normalizeRelativeRoutingRedirectResponse(response,request,matchesToLoad[i].route.id,matches,basename,future.v7_relativeSplatPath)}}return convertHandlerResultToDataResult(result)}))}catch(e){return matchesToLoad.map(()=>({type:ResultType.error,error:e}))}}async function callLoadersAndMaybeResolveData(currentMatches,matches,matchesToLoad,fetchersToLoad,request){let[loaderResults,...fetcherResults]=await Promise.all([matchesToLoad.length?callDataStrategy("loader",request,matchesToLoad,matches):[],...fetchersToLoad.map(f=>{if(f.matches&&f.match&&f.controller){let fetcherRequest=createClientSideRequest(init.history,f.path,f.controller.signal);return callDataStrategy("loader",fetcherRequest,[f.match],f.matches).then(r=>r[0])}else return Promise.resolve({type:ResultType.error,error:getInternalRouterError(404,{pathname:f.path})})})]);return await Promise.all([resolveDeferredResults(currentMatches,matchesToLoad,loaderResults,loaderResults.map(()=>request.signal),!1,state.loaderData),resolveDeferredResults(currentMatches,fetchersToLoad.map(f=>f.match),fetcherResults,fetchersToLoad.map(f=>f.controller?f.controller.signal:null),!0)]),{loaderResults,fetcherResults}}function interruptActiveLoads(){isRevalidationRequired=!0,cancelledDeferredRoutes.push(...cancelActiveDeferreds()),fetchLoadMatches.forEach((_,key)=>{fetchControllers.has(key)&&(cancelledFetcherLoads.add(key),abortFetcher(key))})}function updateFetcherState(key,fetcher,opts){opts===void 0&&(opts={}),state.fetchers.set(key,fetcher),updateState({fetchers:new Map(state.fetchers)},{flushSync:(opts&&opts.flushSync)===!0})}function setFetcherError(key,routeId,error,opts){opts===void 0&&(opts={});let boundaryMatch=findNearestBoundary(state.matches,routeId);deleteFetcher(key),updateState({errors:{[boundaryMatch.route.id]:error},fetchers:new Map(state.fetchers)},{flushSync:(opts&&opts.flushSync)===!0})}function getFetcher(key){return future.v7_fetcherPersist&&(activeFetchers.set(key,(activeFetchers.get(key)||0)+1),deletedFetchers.has(key)&&deletedFetchers.delete(key)),state.fetchers.get(key)||IDLE_FETCHER}function deleteFetcher(key){let fetcher=state.fetchers.get(key);fetchControllers.has(key)&&!(fetcher&&fetcher.state==="loading"&&fetchReloadIds.has(key))&&abortFetcher(key),fetchLoadMatches.delete(key),fetchReloadIds.delete(key),fetchRedirectIds.delete(key),deletedFetchers.delete(key),cancelledFetcherLoads.delete(key),state.fetchers.delete(key)}function deleteFetcherAndUpdateState(key){if(future.v7_fetcherPersist){let count=(activeFetchers.get(key)||0)-1;count<=0?(activeFetchers.delete(key),deletedFetchers.add(key)):activeFetchers.set(key,count)}else deleteFetcher(key);updateState({fetchers:new Map(state.fetchers)})}function abortFetcher(key){let controller=fetchControllers.get(key);invariant(controller,"Expected fetch controller: "+key),controller.abort(),fetchControllers.delete(key)}function markFetchersDone(keys){for(let key of keys){let fetcher=getFetcher(key),doneFetcher=getDoneFetcher(fetcher.data);state.fetchers.set(key,doneFetcher)}}function markFetchRedirectsDone(){let doneKeys=[],updatedFetchers=!1;for(let key of fetchRedirectIds){let fetcher=state.fetchers.get(key);invariant(fetcher,"Expected fetcher: "+key),fetcher.state==="loading"&&(fetchRedirectIds.delete(key),doneKeys.push(key),updatedFetchers=!0)}return markFetchersDone(doneKeys),updatedFetchers}function abortStaleFetchLoads(landedId){let yeetedKeys=[];for(let[key,id]of fetchReloadIds)if(id<landedId){let fetcher=state.fetchers.get(key);invariant(fetcher,"Expected fetcher: "+key),fetcher.state==="loading"&&(abortFetcher(key),fetchReloadIds.delete(key),yeetedKeys.push(key))}return markFetchersDone(yeetedKeys),yeetedKeys.length>0}function getBlocker(key,fn){let blocker=state.blockers.get(key)||IDLE_BLOCKER;return blockerFunctions.get(key)!==fn&&blockerFunctions.set(key,fn),blocker}function deleteBlocker(key){state.blockers.delete(key),blockerFunctions.delete(key)}function updateBlocker(key,newBlocker){let blocker=state.blockers.get(key)||IDLE_BLOCKER;invariant(blocker.state==="unblocked"&&newBlocker.state==="blocked"||blocker.state==="blocked"&&newBlocker.state==="blocked"||blocker.state==="blocked"&&newBlocker.state==="proceeding"||blocker.state==="blocked"&&newBlocker.state==="unblocked"||blocker.state==="proceeding"&&newBlocker.state==="unblocked","Invalid blocker state transition: "+blocker.state+" -> "+newBlocker.state);let blockers=new Map(state.blockers);blockers.set(key,newBlocker),updateState({blockers})}function shouldBlockNavigation(_ref4){let{currentLocation,nextLocation,historyAction}=_ref4;if(blockerFunctions.size===0)return;blockerFunctions.size>1&&warning(!1,"A router only supports one blocker at a time");let entries=Array.from(blockerFunctions.entries()),[blockerKey,blockerFunction]=entries[entries.length-1],blocker=state.blockers.get(blockerKey);if(!(blocker&&blocker.state==="proceeding")&&blockerFunction({currentLocation,nextLocation,historyAction}))return blockerKey}function handleNavigational404(pathname){let error=getInternalRouterError(404,{pathname}),routesToUse=inFlightDataRoutes||dataRoutes,{matches,route}=getShortCircuitMatches(routesToUse);return cancelActiveDeferreds(),{notFoundMatches:matches,route,error}}function handleDiscoverRouteError(pathname,discoverResult){return{boundaryId:findNearestBoundary(discoverResult.partialMatches).route.id,error:getInternalRouterError(400,{type:"route-discovery",pathname,message:discoverResult.error!=null&&"message"in discoverResult.error?discoverResult.error:String(discoverResult.error)})}}function cancelActiveDeferreds(predicate){let cancelledRouteIds=[];return activeDeferreds.forEach((dfd,routeId)=>{(!predicate||predicate(routeId))&&(dfd.cancel(),cancelledRouteIds.push(routeId),activeDeferreds.delete(routeId))}),cancelledRouteIds}function enableScrollRestoration(positions,getPosition,getKey){if(savedScrollPositions=positions,getScrollPosition=getPosition,getScrollRestorationKey=getKey||null,!initialScrollRestored&&state.navigation===IDLE_NAVIGATION){initialScrollRestored=!0;let y=getSavedScrollPosition(state.location,state.matches);y!=null&&updateState({restoreScrollPosition:y})}return()=>{savedScrollPositions=null,getScrollPosition=null,getScrollRestorationKey=null}}function getScrollKey(location,matches){return getScrollRestorationKey&&getScrollRestorationKey(location,matches.map(m=>convertRouteMatchToUiMatch(m,state.loaderData)))||location.key}function saveScrollPosition(location,matches){if(savedScrollPositions&&getScrollPosition){let key=getScrollKey(location,matches);savedScrollPositions[key]=getScrollPosition()}}function getSavedScrollPosition(location,matches){if(savedScrollPositions){let key=getScrollKey(location,matches),y=savedScrollPositions[key];if(typeof y=="number")return y}return null}function checkFogOfWar(matches,routesToUse,pathname){if(patchRoutesOnNavigationImpl){if(discoveredRoutes.has(pathname))return{active:!1,matches};if(matches){if(Object.keys(matches[0].params).length>0){let partialMatches=matchRoutesImpl(routesToUse,pathname,basename,!0);return{active:!0,matches:partialMatches}}}else{let fogMatches=matchRoutesImpl(routesToUse,pathname,basename,!0);return{active:!0,matches:fogMatches||[]}}}return{active:!1,matches:null}}async function discoverRoutes(matches,pathname,signal){let partialMatches=matches;for(;;){let isNonHMR=inFlightDataRoutes==null,routesToUse=inFlightDataRoutes||dataRoutes;try{await loadLazyRouteChildren(patchRoutesOnNavigationImpl,pathname,partialMatches,routesToUse,manifest,mapRouteProperties,pendingPatchRoutes,signal)}catch(e){return{type:"error",error:e,partialMatches}}finally{isNonHMR&&(dataRoutes=[...dataRoutes])}if(signal.aborted)return{type:"aborted"};let newMatches=matchRoutes(routesToUse,pathname,basename);if(newMatches)return addToFifoQueue(pathname,discoveredRoutes),{type:"success",matches:newMatches};let newPartialMatches=matchRoutesImpl(routesToUse,pathname,basename,!0);if(!newPartialMatches||partialMatches.length===newPartialMatches.length&&partialMatches.every((m,i)=>m.route.id===newPartialMatches[i].route.id))return addToFifoQueue(pathname,discoveredRoutes),{type:"success",matches:null};partialMatches=newPartialMatches}}function addToFifoQueue(path,queue){if(queue.size>=discoveredRoutesMaxSize){let first=queue.values().next().value;queue.delete(first)}queue.add(path)}function _internalSetRoutes(newRoutes){manifest={},inFlightDataRoutes=convertRoutesToDataRoutes(newRoutes,mapRouteProperties,void 0,manifest)}function patchRoutes(routeId,children){let isNonHMR=inFlightDataRoutes==null;patchRoutesImpl(routeId,children,inFlightDataRoutes||dataRoutes,manifest,mapRouteProperties),isNonHMR&&(dataRoutes=[...dataRoutes],updateState({}))}return router={get basename(){return basename},get future(){return future},get state(){return state},get routes(){return dataRoutes},get window(){return routerWindow},initialize,subscribe,enableScrollRestoration,navigate,fetch:fetch2,revalidate,createHref:to=>init.history.createHref(to),encodeLocation:to=>init.history.encodeLocation(to),getFetcher,deleteFetcher:deleteFetcherAndUpdateState,dispose,getBlocker,deleteBlocker,patchRoutes,_internalFetchControllers:fetchControllers,_internalActiveDeferreds:activeDeferreds,_internalSetRoutes},router}const UNSAFE_DEFERRED_SYMBOL=Symbol("deferred");function createStaticHandler(routes,opts){invariant(routes.length>0,"You must provide a non-empty routes array to createStaticHandler");let manifest={},basename=(opts?opts.basename:null)||"/",mapRouteProperties;if(opts!=null&&opts.mapRouteProperties)mapRouteProperties=opts.mapRouteProperties;else if(opts!=null&&opts.detectErrorBoundary){let detectErrorBoundary=opts.detectErrorBoundary;mapRouteProperties=route=>({hasErrorBoundary:detectErrorBoundary(route)})}else mapRouteProperties=defaultMapRouteProperties;let future=_extends({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},opts?opts.future:null),dataRoutes=convertRoutesToDataRoutes(routes,mapRouteProperties,void 0,manifest);async function query(request,_temp3){let{requestContext,skipLoaderErrorBubbling,unstable_dataStrategy}=_temp3===void 0?{}:_temp3,url=new URL(request.url),method=request.method,location=createLocation("",createPath(url),null,"default"),matches=matchRoutes(dataRoutes,location,basename);if(!isValidMethod(method)&&method!=="HEAD"){let error=getInternalRouterError(405,{method}),{matches:methodNotAllowedMatches,route}=getShortCircuitMatches(dataRoutes);return{basename,location,matches:methodNotAllowedMatches,loaderData:{},actionData:null,errors:{[route.id]:error},statusCode:error.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!matches){let error=getInternalRouterError(404,{pathname:location.pathname}),{matches:notFoundMatches,route}=getShortCircuitMatches(dataRoutes);return{basename,location,matches:notFoundMatches,loaderData:{},actionData:null,errors:{[route.id]:error},statusCode:error.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let result=await queryImpl(request,location,matches,requestContext,unstable_dataStrategy||null,skipLoaderErrorBubbling===!0,null);return isResponse(result)?result:_extends({location,basename},result)}async function queryRoute(request,_temp4){let{routeId,requestContext,unstable_dataStrategy}=_temp4===void 0?{}:_temp4,url=new URL(request.url),method=request.method,location=createLocation("",createPath(url),null,"default"),matches=matchRoutes(dataRoutes,location,basename);if(!isValidMethod(method)&&method!=="HEAD"&&method!=="OPTIONS")throw getInternalRouterError(405,{method});if(!matches)throw getInternalRouterError(404,{pathname:location.pathname});let match=routeId?matches.find(m=>m.route.id===routeId):getTargetMatch(matches,location);if(routeId&&!match)throw getInternalRouterError(403,{pathname:location.pathname,routeId});if(!match)throw getInternalRouterError(404,{pathname:location.pathname});let result=await queryImpl(request,location,matches,requestContext,unstable_dataStrategy||null,!1,match);if(isResponse(result))return result;let error=result.errors?Object.values(result.errors)[0]:void 0;if(error!==void 0)throw error;if(result.actionData)return Object.values(result.actionData)[0];if(result.loaderData){var _result$activeDeferre;let data2=Object.values(result.loaderData)[0];return(_result$activeDeferre=result.activeDeferreds)!=null&&_result$activeDeferre[match.route.id]&&(data2[UNSAFE_DEFERRED_SYMBOL]=result.activeDeferreds[match.route.id]),data2}}async function queryImpl(request,location,matches,requestContext,unstable_dataStrategy,skipLoaderErrorBubbling,routeMatch){invariant(request.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(isMutationMethod(request.method.toLowerCase()))return await submit(request,matches,routeMatch||getTargetMatch(matches,location),requestContext,unstable_dataStrategy,skipLoaderErrorBubbling,routeMatch!=null);let result=await loadRouteData(request,matches,requestContext,unstable_dataStrategy,skipLoaderErrorBubbling,routeMatch);return isResponse(result)?result:_extends({},result,{actionData:null,actionHeaders:{}})}catch(e){if(isHandlerResult(e)&&isResponse(e.result)){if(e.type===ResultType.error)throw e.result;return e.result}if(isRedirectResponse(e))return e;throw e}}async function submit(request,matches,actionMatch,requestContext,unstable_dataStrategy,skipLoaderErrorBubbling,isRouteRequest){let result;if(!actionMatch.route.action&&!actionMatch.route.lazy){let error=getInternalRouterError(405,{method:request.method,pathname:new URL(request.url).pathname,routeId:actionMatch.route.id});if(isRouteRequest)throw error;result={type:ResultType.error,error}}else result=(await callDataStrategy("action",request,[actionMatch],matches,isRouteRequest,requestContext,unstable_dataStrategy))[0],request.signal.aborted&&throwStaticHandlerAbortedError(request,isRouteRequest,future);if(isRedirectResult(result))throw new Response(null,{status:result.response.status,headers:{Location:result.response.headers.get("Location")}});if(isDeferredResult(result)){let error=getInternalRouterError(400,{type:"defer-action"});if(isRouteRequest)throw error;result={type:ResultType.error,error}}if(isRouteRequest){if(isErrorResult(result))throw result.error;return{matches:[actionMatch],loaderData:{},actionData:{[actionMatch.route.id]:result.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let loaderRequest=new Request(request.url,{headers:request.headers,redirect:request.redirect,signal:request.signal});if(isErrorResult(result)){let boundaryMatch=skipLoaderErrorBubbling?actionMatch:findNearestBoundary(matches,actionMatch.route.id),context2=await loadRouteData(loaderRequest,matches,requestContext,unstable_dataStrategy,skipLoaderErrorBubbling,null,[boundaryMatch.route.id,result]);return _extends({},context2,{statusCode:isRouteErrorResponse(result.error)?result.error.status:result.statusCode!=null?result.statusCode:500,actionData:null,actionHeaders:_extends({},result.headers?{[actionMatch.route.id]:result.headers}:{})})}let context=await loadRouteData(loaderRequest,matches,requestContext,unstable_dataStrategy,skipLoaderErrorBubbling,null);return _extends({},context,{actionData:{[actionMatch.route.id]:result.data}},result.statusCode?{statusCode:result.statusCode}:{},{actionHeaders:result.headers?{[actionMatch.route.id]:result.headers}:{}})}async function loadRouteData(request,matches,requestContext,unstable_dataStrategy,skipLoaderErrorBubbling,routeMatch,pendingActionResult){let isRouteRequest=routeMatch!=null;if(isRouteRequest&&!(routeMatch!=null&&routeMatch.route.loader)&&!(routeMatch!=null&&routeMatch.route.lazy))throw getInternalRouterError(400,{method:request.method,pathname:new URL(request.url).pathname,routeId:routeMatch?.route.id});let matchesToLoad=(routeMatch?[routeMatch]:pendingActionResult&&isErrorResult(pendingActionResult[1])?getLoaderMatchesUntilBoundary(matches,pendingActionResult[0]):matches).filter(m=>m.route.loader||m.route.lazy);if(matchesToLoad.length===0)return{matches,loaderData:matches.reduce((acc,m)=>Object.assign(acc,{[m.route.id]:null}),{}),errors:pendingActionResult&&isErrorResult(pendingActionResult[1])?{[pendingActionResult[0]]:pendingActionResult[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let results=await callDataStrategy("loader",request,matchesToLoad,matches,isRouteRequest,requestContext,unstable_dataStrategy);request.signal.aborted&&throwStaticHandlerAbortedError(request,isRouteRequest,future);let activeDeferreds=new Map,context=processRouteLoaderData(matches,matchesToLoad,results,pendingActionResult,activeDeferreds,skipLoaderErrorBubbling),executedLoaders=new Set(matchesToLoad.map(match=>match.route.id));return matches.forEach(match=>{executedLoaders.has(match.route.id)||(context.loaderData[match.route.id]=null)}),_extends({},context,{matches,activeDeferreds:activeDeferreds.size>0?Object.fromEntries(activeDeferreds.entries()):null})}async function callDataStrategy(type,request,matchesToLoad,matches,isRouteRequest,requestContext,unstable_dataStrategy){let results=await callDataStrategyImpl(unstable_dataStrategy||defaultDataStrategy,type,request,matchesToLoad,matches,manifest,mapRouteProperties,requestContext);return await Promise.all(results.map((result,i)=>{if(isRedirectHandlerResult(result)){let response=result.result;throw normalizeRelativeRoutingRedirectResponse(response,request,matchesToLoad[i].route.id,matches,basename,future.v7_relativeSplatPath)}if(isResponse(result.result)&&isRouteRequest)throw result;return convertHandlerResultToDataResult(result)}))}return{dataRoutes,query,queryRoute}}function getStaticContextFromError(routes,context,error){return _extends({},context,{statusCode:isRouteErrorResponse(error)?error.status:500,errors:{[context._deepestRenderedBoundaryId||routes[0].id]:error}})}function throwStaticHandlerAbortedError(request,isRouteRequest,future){if(future.v7_throwAbortReason&&request.signal.reason!==void 0)throw request.signal.reason;let method=isRouteRequest?"queryRoute":"query";throw new Error(method+"() call aborted: "+request.method+" "+request.url)}function isSubmissionNavigation(opts){return opts!=null&&("formData"in opts&&opts.formData!=null||"body"in opts&&opts.body!==void 0)}function normalizeTo(location,matches,basename,prependBasename,to,v7_relativeSplatPath,fromRouteId,relative){let contextualMatches,activeRouteMatch;if(fromRouteId){contextualMatches=[];for(let match of matches)if(contextualMatches.push(match),match.route.id===fromRouteId){activeRouteMatch=match;break}}else contextualMatches=matches,activeRouteMatch=matches[matches.length-1];let path=resolveTo(to||".",getResolveToMatches(contextualMatches,v7_relativeSplatPath),stripBasename(location.pathname,basename)||location.pathname,relative==="path");return to==null&&(path.search=location.search,path.hash=location.hash),(to==null||to===""||to===".")&&activeRouteMatch&&activeRouteMatch.route.index&&!hasNakedIndexQuery(path.search)&&(path.search=path.search?path.search.replace(/^\?/,"?index&"):"?index"),prependBasename&&basename!=="/"&&(path.pathname=path.pathname==="/"?basename:joinPaths([basename,path.pathname])),createPath(path)}function normalizeNavigateOptions(normalizeFormMethod,isFetcher,path,opts){if(!opts||!isSubmissionNavigation(opts))return{path};if(opts.formMethod&&!isValidMethod(opts.formMethod))return{path,error:getInternalRouterError(405,{method:opts.formMethod})};let getInvalidBodyError=()=>({path,error:getInternalRouterError(400,{type:"invalid-body"})}),rawFormMethod=opts.formMethod||"get",formMethod=normalizeFormMethod?rawFormMethod.toUpperCase():rawFormMethod.toLowerCase(),formAction=stripHashFromPath(path);if(opts.body!==void 0){if(opts.formEncType==="text/plain"){if(!isMutationMethod(formMethod))return getInvalidBodyError();let text=typeof opts.body=="string"?opts.body:opts.body instanceof FormData||opts.body instanceof URLSearchParams?Array.from(opts.body.entries()).reduce((acc,_ref5)=>{let[name,value]=_ref5;return""+acc+name+"="+value+`
|
11
11
|
`},""):String(opts.body);return{path,submission:{formMethod,formAction,formEncType:opts.formEncType,formData:void 0,json:void 0,text}}}else if(opts.formEncType==="application/json"){if(!isMutationMethod(formMethod))return getInvalidBodyError();try{let json2=typeof opts.body=="string"?JSON.parse(opts.body):opts.body;return{path,submission:{formMethod,formAction,formEncType:opts.formEncType,formData:void 0,json:json2,text:void 0}}}catch{return getInvalidBodyError()}}}invariant(typeof FormData=="function","FormData is not available in this environment");let searchParams,formData;if(opts.formData)searchParams=convertFormDataToSearchParams(opts.formData),formData=opts.formData;else if(opts.body instanceof FormData)searchParams=convertFormDataToSearchParams(opts.body),formData=opts.body;else if(opts.body instanceof URLSearchParams)searchParams=opts.body,formData=convertSearchParamsToFormData(searchParams);else if(opts.body==null)searchParams=new URLSearchParams,formData=new FormData;else try{searchParams=new URLSearchParams(opts.body),formData=convertSearchParamsToFormData(searchParams)}catch{return getInvalidBodyError()}let submission={formMethod,formAction,formEncType:opts&&opts.formEncType||"application/x-www-form-urlencoded",formData,json:void 0,text:void 0};if(isMutationMethod(submission.formMethod))return{path,submission};let parsedPath=parsePath(path);return isFetcher&&parsedPath.search&&hasNakedIndexQuery(parsedPath.search)&&searchParams.append("index",""),parsedPath.search="?"+searchParams,{path:createPath(parsedPath),submission}}function getLoaderMatchesUntilBoundary(matches,boundaryId){let boundaryMatches=matches;if(boundaryId){let index=matches.findIndex(m=>m.route.id===boundaryId);index>=0&&(boundaryMatches=matches.slice(0,index))}return boundaryMatches}function getMatchesToLoad(history,state,matches,submission,location,isInitialLoad,skipActionErrorRevalidation,isRevalidationRequired,cancelledDeferredRoutes,cancelledFetcherLoads,deletedFetchers,fetchLoadMatches,fetchRedirectIds,routesToUse,basename,pendingActionResult){let actionResult=pendingActionResult?isErrorResult(pendingActionResult[1])?pendingActionResult[1].error:pendingActionResult[1].data:void 0,currentUrl=history.createURL(state.location),nextUrl=history.createURL(location),boundaryId=pendingActionResult&&isErrorResult(pendingActionResult[1])?pendingActionResult[0]:void 0,boundaryMatches=boundaryId?getLoaderMatchesUntilBoundary(matches,boundaryId):matches,actionStatus=pendingActionResult?pendingActionResult[1].statusCode:void 0,shouldSkipRevalidation=skipActionErrorRevalidation&&actionStatus&&actionStatus>=400,navigationMatches=boundaryMatches.filter((match,index)=>{let{route}=match;if(route.lazy)return!0;if(route.loader==null)return!1;if(isInitialLoad)return typeof route.loader!="function"||route.loader.hydrate?!0:state.loaderData[route.id]===void 0&&(!state.errors||state.errors[route.id]===void 0);if(isNewLoader(state.loaderData,state.matches[index],match)||cancelledDeferredRoutes.some(id=>id===match.route.id))return!0;let currentRouteMatch=state.matches[index],nextRouteMatch=match;return shouldRevalidateLoader(match,_extends({currentUrl,currentParams:currentRouteMatch.params,nextUrl,nextParams:nextRouteMatch.params},submission,{actionResult,actionStatus,defaultShouldRevalidate:shouldSkipRevalidation?!1:isRevalidationRequired||currentUrl.pathname+currentUrl.search===nextUrl.pathname+nextUrl.search||currentUrl.search!==nextUrl.search||isNewRouteInstance(currentRouteMatch,nextRouteMatch)}))}),revalidatingFetchers=[];return fetchLoadMatches.forEach((f,key)=>{if(isInitialLoad||!matches.some(m=>m.route.id===f.routeId)||deletedFetchers.has(key))return;let fetcherMatches=matchRoutes(routesToUse,f.path,basename);if(!fetcherMatches){revalidatingFetchers.push({key,routeId:f.routeId,path:f.path,matches:null,match:null,controller:null});return}let fetcher=state.fetchers.get(key),fetcherMatch=getTargetMatch(fetcherMatches,f.path),shouldRevalidate=!1;fetchRedirectIds.has(key)?shouldRevalidate=!1:cancelledFetcherLoads.has(key)?(cancelledFetcherLoads.delete(key),shouldRevalidate=!0):fetcher&&fetcher.state!=="idle"&&fetcher.data===void 0?shouldRevalidate=isRevalidationRequired:shouldRevalidate=shouldRevalidateLoader(fetcherMatch,_extends({currentUrl,currentParams:state.matches[state.matches.length-1].params,nextUrl,nextParams:matches[matches.length-1].params},submission,{actionResult,actionStatus,defaultShouldRevalidate:shouldSkipRevalidation?!1:isRevalidationRequired})),shouldRevalidate&&revalidatingFetchers.push({key,routeId:f.routeId,path:f.path,matches:fetcherMatches,match:fetcherMatch,controller:new AbortController})}),[navigationMatches,revalidatingFetchers]}function isNewLoader(currentLoaderData,currentMatch,match){let isNew=!currentMatch||match.route.id!==currentMatch.route.id,isMissingData=currentLoaderData[match.route.id]===void 0;return isNew||isMissingData}function isNewRouteInstance(currentMatch,match){let currentPath=currentMatch.route.path;return currentMatch.pathname!==match.pathname||currentPath!=null&¤tPath.endsWith("*")&¤tMatch.params["*"]!==match.params["*"]}function shouldRevalidateLoader(loaderMatch,arg){if(loaderMatch.route.shouldRevalidate){let routeChoice=loaderMatch.route.shouldRevalidate(arg);if(typeof routeChoice=="boolean")return routeChoice}return arg.defaultShouldRevalidate}async function loadLazyRouteChildren(patchRoutesOnNavigationImpl,path,matches,routes,manifest,mapRouteProperties,pendingRouteChildren,signal){let key=[path,...matches.map(m=>m.route.id)].join("-");try{let pending=pendingRouteChildren.get(key);pending||(pending=patchRoutesOnNavigationImpl({path,matches,patch:(routeId,children)=>{signal.aborted||patchRoutesImpl(routeId,children,routes,manifest,mapRouteProperties)}}),pendingRouteChildren.set(key,pending)),pending&&isPromise(pending)&&await pending}finally{pendingRouteChildren.delete(key)}}function patchRoutesImpl(routeId,children,routesToUse,manifest,mapRouteProperties){if(routeId){var _route$children;let route=manifest[routeId];invariant(route,"No route found to patch children into: routeId = "+routeId);let dataChildren=convertRoutesToDataRoutes(children,mapRouteProperties,[routeId,"patch",String(((_route$children=route.children)==null?void 0:_route$children.length)||"0")],manifest);route.children?route.children.push(...dataChildren):route.children=dataChildren}else{let dataChildren=convertRoutesToDataRoutes(children,mapRouteProperties,["patch",String(routesToUse.length||"0")],manifest);routesToUse.push(...dataChildren)}}async function loadLazyRouteModule(route,mapRouteProperties,manifest){if(!route.lazy)return;let lazyRoute=await route.lazy();if(!route.lazy)return;let routeToUpdate=manifest[route.id];invariant(routeToUpdate,"No route found in manifest");let routeUpdates={};for(let lazyRouteProperty in lazyRoute){let isPropertyStaticallyDefined=routeToUpdate[lazyRouteProperty]!==void 0&&lazyRouteProperty!=="hasErrorBoundary";warning(!isPropertyStaticallyDefined,'Route "'+routeToUpdate.id+'" has a static property "'+lazyRouteProperty+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+lazyRouteProperty+'" will be ignored.')),!isPropertyStaticallyDefined&&!immutableRouteKeys.has(lazyRouteProperty)&&(routeUpdates[lazyRouteProperty]=lazyRoute[lazyRouteProperty])}Object.assign(routeToUpdate,routeUpdates),Object.assign(routeToUpdate,_extends({},mapRouteProperties(routeToUpdate),{lazy:void 0}))}function defaultDataStrategy(opts){return Promise.all(opts.matches.map(m=>m.resolve()))}async function callDataStrategyImpl(dataStrategyImpl,type,request,matchesToLoad,matches,manifest,mapRouteProperties,requestContext){let routeIdsToLoad=matchesToLoad.reduce((acc,m)=>acc.add(m.route.id),new Set),loadedMatches=new Set,results=await dataStrategyImpl({matches:matches.map(match=>{let shouldLoad=routeIdsToLoad.has(match.route.id);return _extends({},match,{shouldLoad,resolve:handlerOverride=>(loadedMatches.add(match.route.id),shouldLoad?callLoaderOrAction(type,request,match,manifest,mapRouteProperties,handlerOverride,requestContext):Promise.resolve({type:ResultType.data,result:void 0}))})}),request,params:matches[0].params,context:requestContext});return matches.forEach(m=>invariant(loadedMatches.has(m.route.id),'`match.resolve()` was not called for route id "'+m.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),results.filter((_,i)=>routeIdsToLoad.has(matches[i].route.id))}async function callLoaderOrAction(type,request,match,manifest,mapRouteProperties,handlerOverride,staticContext){let result,onReject,runHandler=handler=>{let reject,abortPromise=new Promise((_,r)=>reject=r);onReject=()=>reject(),request.signal.addEventListener("abort",onReject);let actualHandler=ctx=>typeof handler!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+type+'" [routeId: '+match.route.id+"]"))):handler({request,params:match.params,context:staticContext},...ctx!==void 0?[ctx]:[]),handlerPromise;return handlerOverride?handlerPromise=handlerOverride(ctx=>actualHandler(ctx)):handlerPromise=(async()=>{try{let val=await actualHandler();return{type:"data",result:val}}catch(e){return{type:"error",result:e}}})(),Promise.race([handlerPromise,abortPromise])};try{let handler=match.route[type];if(match.route.lazy)if(handler){let handlerError,[value]=await Promise.all([runHandler(handler).catch(e=>{handlerError=e}),loadLazyRouteModule(match.route,mapRouteProperties,manifest)]);if(handlerError!==void 0)throw handlerError;result=value}else if(await loadLazyRouteModule(match.route,mapRouteProperties,manifest),handler=match.route[type],handler)result=await runHandler(handler);else if(type==="action"){let url=new URL(request.url),pathname=url.pathname+url.search;throw getInternalRouterError(405,{method:request.method,pathname,routeId:match.route.id})}else return{type:ResultType.data,result:void 0};else if(handler)result=await runHandler(handler);else{let url=new URL(request.url),pathname=url.pathname+url.search;throw getInternalRouterError(404,{pathname})}invariant(result.result!==void 0,"You defined "+(type==="action"?"an action":"a loader")+" for route "+('"'+match.route.id+"\" but didn't return anything from your `"+type+"` ")+"function. Please return a value or `null`.")}catch(e){return{type:ResultType.error,result:e}}finally{onReject&&request.signal.removeEventListener("abort",onReject)}return result}async function convertHandlerResultToDataResult(handlerResult){let{result,type}=handlerResult;if(isResponse(result)){let data2;try{let contentType=result.headers.get("Content-Type");contentType&&/\bapplication\/json\b/.test(contentType)?result.body==null?data2=null:data2=await result.json():data2=await result.text()}catch(e){return{type:ResultType.error,error:e}}return type===ResultType.error?{type:ResultType.error,error:new ErrorResponseImpl(result.status,result.statusText,data2),statusCode:result.status,headers:result.headers}:{type:ResultType.data,data:data2,statusCode:result.status,headers:result.headers}}if(type===ResultType.error){if(isDataWithResponseInit(result)){var _result$init2;if(result.data instanceof Error){var _result$init;return{type:ResultType.error,error:result.data,statusCode:(_result$init=result.init)==null?void 0:_result$init.status}}result=new ErrorResponseImpl(((_result$init2=result.init)==null?void 0:_result$init2.status)||500,void 0,result.data)}return{type:ResultType.error,error:result,statusCode:isRouteErrorResponse(result)?result.status:void 0}}if(isDeferredData(result)){var _result$init3,_result$init4;return{type:ResultType.deferred,deferredData:result,statusCode:(_result$init3=result.init)==null?void 0:_result$init3.status,headers:((_result$init4=result.init)==null?void 0:_result$init4.headers)&&new Headers(result.init.headers)}}if(isDataWithResponseInit(result)){var _result$init5,_result$init6;return{type:ResultType.data,data:result.data,statusCode:(_result$init5=result.init)==null?void 0:_result$init5.status,headers:(_result$init6=result.init)!=null&&_result$init6.headers?new Headers(result.init.headers):void 0}}return{type:ResultType.data,data:result}}function normalizeRelativeRoutingRedirectResponse(response,request,routeId,matches,basename,v7_relativeSplatPath){let location=response.headers.get("Location");if(invariant(location,"Redirects returned/thrown from loaders/actions must have a Location header"),!ABSOLUTE_URL_REGEX.test(location)){let trimmedMatches=matches.slice(0,matches.findIndex(m=>m.route.id===routeId)+1);location=normalizeTo(new URL(request.url),trimmedMatches,basename,!0,location,v7_relativeSplatPath),response.headers.set("Location",location)}return response}function normalizeRedirectLocation(location,currentUrl,basename){if(ABSOLUTE_URL_REGEX.test(location)){let normalizedLocation=location,url=normalizedLocation.startsWith("//")?new URL(currentUrl.protocol+normalizedLocation):new URL(normalizedLocation),isSameBasename=stripBasename(url.pathname,basename)!=null;if(url.origin===currentUrl.origin&&isSameBasename)return url.pathname+url.search+url.hash}return location}function createClientSideRequest(history,location,signal,submission){let url=history.createURL(stripHashFromPath(location)).toString(),init={signal};if(submission&&isMutationMethod(submission.formMethod)){let{formMethod,formEncType}=submission;init.method=formMethod.toUpperCase(),formEncType==="application/json"?(init.headers=new Headers({"Content-Type":formEncType}),init.body=JSON.stringify(submission.json)):formEncType==="text/plain"?init.body=submission.text:formEncType==="application/x-www-form-urlencoded"&&submission.formData?init.body=convertFormDataToSearchParams(submission.formData):init.body=submission.formData}return new Request(url,init)}function convertFormDataToSearchParams(formData){let searchParams=new URLSearchParams;for(let[key,value]of formData.entries())searchParams.append(key,typeof value=="string"?value:value.name);return searchParams}function convertSearchParamsToFormData(searchParams){let formData=new FormData;for(let[key,value]of searchParams.entries())formData.append(key,value);return formData}function processRouteLoaderData(matches,matchesToLoad,results,pendingActionResult,activeDeferreds,skipLoaderErrorBubbling){let loaderData={},errors=null,statusCode,foundError=!1,loaderHeaders={},pendingError=pendingActionResult&&isErrorResult(pendingActionResult[1])?pendingActionResult[1].error:void 0;return results.forEach((result,index)=>{let id=matchesToLoad[index].route.id;if(invariant(!isRedirectResult(result),"Cannot handle redirect results in processLoaderData"),isErrorResult(result)){let error=result.error;if(pendingError!==void 0&&(error=pendingError,pendingError=void 0),errors=errors||{},skipLoaderErrorBubbling)errors[id]=error;else{let boundaryMatch=findNearestBoundary(matches,id);errors[boundaryMatch.route.id]==null&&(errors[boundaryMatch.route.id]=error)}loaderData[id]=void 0,foundError||(foundError=!0,statusCode=isRouteErrorResponse(result.error)?result.error.status:500),result.headers&&(loaderHeaders[id]=result.headers)}else isDeferredResult(result)?(activeDeferreds.set(id,result.deferredData),loaderData[id]=result.deferredData.data,result.statusCode!=null&&result.statusCode!==200&&!foundError&&(statusCode=result.statusCode),result.headers&&(loaderHeaders[id]=result.headers)):(loaderData[id]=result.data,result.statusCode&&result.statusCode!==200&&!foundError&&(statusCode=result.statusCode),result.headers&&(loaderHeaders[id]=result.headers))}),pendingError!==void 0&&pendingActionResult&&(errors={[pendingActionResult[0]]:pendingError},loaderData[pendingActionResult[0]]=void 0),{loaderData,errors,statusCode:statusCode||200,loaderHeaders}}function processLoaderData(state,matches,matchesToLoad,results,pendingActionResult,revalidatingFetchers,fetcherResults,activeDeferreds){let{loaderData,errors}=processRouteLoaderData(matches,matchesToLoad,results,pendingActionResult,activeDeferreds,!1);for(let index=0;index<revalidatingFetchers.length;index++){let{key,match,controller}=revalidatingFetchers[index];invariant(fetcherResults!==void 0&&fetcherResults[index]!==void 0,"Did not find corresponding fetcher result");let result=fetcherResults[index];if(!(controller&&controller.signal.aborted))if(isErrorResult(result)){let boundaryMatch=findNearestBoundary(state.matches,match?.route.id);errors&&errors[boundaryMatch.route.id]||(errors=_extends({},errors,{[boundaryMatch.route.id]:result.error})),state.fetchers.delete(key)}else if(isRedirectResult(result))invariant(!1,"Unhandled fetcher revalidation redirect");else if(isDeferredResult(result))invariant(!1,"Unhandled fetcher deferred data");else{let doneFetcher=getDoneFetcher(result.data);state.fetchers.set(key,doneFetcher)}}return{loaderData,errors}}function mergeLoaderData(loaderData,newLoaderData,matches,errors){let mergedLoaderData=_extends({},newLoaderData);for(let match of matches){let id=match.route.id;if(newLoaderData.hasOwnProperty(id)?newLoaderData[id]!==void 0&&(mergedLoaderData[id]=newLoaderData[id]):loaderData[id]!==void 0&&match.route.loader&&(mergedLoaderData[id]=loaderData[id]),errors&&errors.hasOwnProperty(id))break}return mergedLoaderData}function getActionDataForCommit(pendingActionResult){return pendingActionResult?isErrorResult(pendingActionResult[1])?{actionData:{}}:{actionData:{[pendingActionResult[0]]:pendingActionResult[1].data}}:{}}function findNearestBoundary(matches,routeId){return(routeId?matches.slice(0,matches.findIndex(m=>m.route.id===routeId)+1):[...matches]).reverse().find(m=>m.route.hasErrorBoundary===!0)||matches[0]}function getShortCircuitMatches(routes){let route=routes.length===1?routes[0]:routes.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route}],route}}function getInternalRouterError(status,_temp5){let{pathname,routeId,method,type,message}=_temp5===void 0?{}:_temp5,statusText="Unknown Server Error",errorMessage="Unknown @remix-run/router error";return status===400?(statusText="Bad Request",type==="route-discovery"?errorMessage='Unable to match URL "'+pathname+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error:
|
12
|
-
`+message):method&&pathname&&routeId?errorMessage="You made a "+method+' request to "'+pathname+'" but '+('did not provide a `loader` for route "'+routeId+'", ')+"so there is no way to handle the request.":type==="defer-action"?errorMessage="defer() is not supported in actions":type==="invalid-body"&&(errorMessage="Unable to encode submission body")):status===403?(statusText="Forbidden",errorMessage='Route "'+routeId+'" does not match URL "'+pathname+'"'):status===404?(statusText="Not Found",errorMessage='No route matches URL "'+pathname+'"'):status===405&&(statusText="Method Not Allowed",method&&pathname&&routeId?errorMessage="You made a "+method.toUpperCase()+' request to "'+pathname+'" but '+('did not provide an `action` for route "'+routeId+'", ')+"so there is no way to handle the request.":method&&(errorMessage='Invalid request method "'+method.toUpperCase()+'"')),new ErrorResponseImpl(status||500,statusText,new Error(errorMessage),!0)}function findRedirect(results){for(let i=results.length-1;i>=0;i--){let result=results[i];if(isRedirectResult(result))return{result,idx:i}}}function stripHashFromPath(path){let parsedPath=typeof path=="string"?parsePath(path):path;return createPath(_extends({},parsedPath,{hash:""}))}function isHashChangeOnly(a,b){return a.pathname!==b.pathname||a.search!==b.search?!1:a.hash===""?b.hash!=="":a.hash===b.hash?!0:b.hash!==""}function isPromise(val){return typeof val=="object"&&val!=null&&"then"in val}function isHandlerResult(result){return result!=null&&typeof result=="object"&&"type"in result&&"result"in result&&(result.type===ResultType.data||result.type===ResultType.error)}function isRedirectHandlerResult(result){return isResponse(result.result)&&redirectStatusCodes.has(result.result.status)}function isDeferredResult(result){return result.type===ResultType.deferred}function isErrorResult(result){return result.type===ResultType.error}function isRedirectResult(result){return(result&&result.type)===ResultType.redirect}function isDataWithResponseInit(value){return typeof value=="object"&&value!=null&&"type"in value&&"data"in value&&"init"in value&&value.type==="DataWithResponseInit"}function isDeferredData(value){let deferred=value;return deferred&&typeof deferred=="object"&&typeof deferred.data=="object"&&typeof deferred.subscribe=="function"&&typeof deferred.cancel=="function"&&typeof deferred.resolveData=="function"}function isResponse(value){return value!=null&&typeof value.status=="number"&&typeof value.statusText=="string"&&typeof value.headers=="object"&&typeof value.body<"u"}function isRedirectResponse(result){if(!isResponse(result))return!1;let status=result.status,location=result.headers.get("Location");return status>=300&&status<=399&&location!=null}function isValidMethod(method){return validRequestMethods.has(method.toLowerCase())}function isMutationMethod(method){return validMutationMethods.has(method.toLowerCase())}async function resolveDeferredResults(currentMatches,matchesToLoad,results,signals,isFetcher,currentLoaderData){for(let index=0;index<results.length;index++){let result=results[index],match=matchesToLoad[index];if(!match)continue;let currentMatch=currentMatches.find(m=>m.route.id===match.route.id),isRevalidatingLoader=currentMatch!=null&&!isNewRouteInstance(currentMatch,match)&&(currentLoaderData&¤tLoaderData[match.route.id])!==void 0;if(isDeferredResult(result)&&(isFetcher||isRevalidatingLoader)){let signal=signals[index];invariant(signal,"Expected an AbortSignal for revalidating fetcher deferred result"),await resolveDeferredData(result,signal,isFetcher).then(result2=>{result2&&(results[index]=result2||results[index])})}}}async function resolveDeferredData(result,signal,unwrap){if(unwrap===void 0&&(unwrap=!1),!await result.deferredData.resolveData(signal)){if(unwrap)try{return{type:ResultType.data,data:result.deferredData.unwrappedData}}catch(e){return{type:ResultType.error,error:e}}return{type:ResultType.data,data:result.deferredData.data}}}function hasNakedIndexQuery(search){return new URLSearchParams(search).getAll("index").some(v=>v==="")}function getTargetMatch(matches,location){let search=typeof location=="string"?parsePath(location).search:location.search;if(matches[matches.length-1].route.index&&hasNakedIndexQuery(search||""))return matches[matches.length-1];let pathMatches=getPathContributingMatches(matches);return pathMatches[pathMatches.length-1]}function getSubmissionFromNavigation(navigation){let{formMethod,formAction,formEncType,text,formData,json:json2}=navigation;if(!(!formMethod||!formAction||!formEncType)){if(text!=null)return{formMethod,formAction,formEncType,formData:void 0,json:void 0,text};if(formData!=null)return{formMethod,formAction,formEncType,formData,json:void 0,text:void 0};if(json2!==void 0)return{formMethod,formAction,formEncType,formData:void 0,json:json2,text:void 0}}}function getLoadingNavigation(location,submission){return submission?{state:"loading",location,formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text}:{state:"loading",location,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function getSubmittingNavigation(location,submission){return{state:"submitting",location,formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text}}function getLoadingFetcher(submission,data2){return submission?{state:"loading",formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text,data:data2}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:data2}}function getSubmittingFetcher(submission,existingFetcher){return{state:"submitting",formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text,data:existingFetcher?existingFetcher.data:void 0}}function getDoneFetcher(data2){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:data2}}function restoreAppliedTransitions(_window,transitions){try{let sessionPositions=_window.sessionStorage.getItem(TRANSITIONS_STORAGE_KEY);if(sessionPositions){let json2=JSON.parse(sessionPositions);for(let[k,v]of Object.entries(json2||{}))v&&Array.isArray(v)&&transitions.set(k,new Set(v||[]))}}catch{}}function persistAppliedTransitions(_window,transitions){if(transitions.size>0){let json2={};for(let[k,v]of transitions)json2[k]=[...v];try{_window.sessionStorage.setItem(TRANSITIONS_STORAGE_KEY,JSON.stringify(json2))}catch(error){warning(!1,"Failed to save applied view transitions in sessionStorage ("+error+").")}}}},21186:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(71291))},9372:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0});var node_fs_1=__webpack_require__(79738);exports.NodeFS=node_fs_1.NodeFS,__export(__webpack_require__(54673))},79738: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});const path_1=__webpack_require__(62005),fs_1=__importDefault(__webpack_require__(27127)),promises_1=__importDefault(__webpack_require__(54673));class NodeFS{constructor(workingDir){this.workingDir=workingDir,this.promises=new promises_1.default}getPath(path){return path_1.join(this.workingDir,path)}access(path,mode,callback){fs_1.default.access(this.getPath(path),mode,callback)}accessSync(path,mode){fs_1.default.accessSync(this.getPath(path),mode)}appendFile(file,data,options,callback){fs_1.default.appendFile(this.getPath(file),data,options)}appendFileSync(file,data,options){fs_1.default.appendFileSync(this.getPath(file),data,options)}chmod(path,mode,callback){fs_1.default.chmod(this.getPath(path),mode,callback)}chmodSync(path,mode){fs_1.default.chmodSync(this.getPath(path),mode)}chown(path,uid,gid,callback){fs_1.default.chown(this.getPath(path),uid,gid,callback)}chownSync(path,uid,gid){fs_1.default.chownSync(this.getPath(path),uid,gid)}close(fd,callback){fs_1.default.close(fd,callback)}closeSync(fd){fs_1.default.closeSync(fd)}copyFile(src,dest,callback){fs_1.default.copyFile(src,dest,callback)}copyFileSync(src,dest,flags){fs_1.default.copyFileSync(src,dest,flags)}createReadStream(path,options){return fs_1.default.createReadStream(this.getPath(path),options)}createWriteStream(path,options){return fs_1.default.createWriteStream(this.getPath(path),options)}exists(path,callback){fs_1.default.exists(this.getPath(path),callback)}existsSync(path){return fs_1.default.existsSync(this.getPath(path))}fchmod(fd,mode,callback){fs_1.default.fchmod(fd,mode,callback)}fchmodSync(fd,mode){fs_1.default.fchmodSync(fd,mode)}fchown(fd,uid,gid,callback){fs_1.default.fchown(fd,uid,gid,callback)}fchownSync(fd,uid,gid){fs_1.default.fchownSync(fd,uid,gid)}fdatasync(fd,callback){fs_1.default.fdatasync(fd,callback)}fdatasyncSync(fd){fs_1.default.fdatasyncSync(fd)}fstat(fd,callback){fs_1.default.fstat(fd,callback)}fstatSync(fd){return fs_1.default.fstatSync(fd)}fsync(fd,callback){fs_1.default.fsync(fd,callback)}fsyncSync(fd){fs_1.default.fsyncSync(fd)}ftruncate(fd,len,callback){fs_1.default.ftruncate(fd,len,callback)}ftruncateSync(fd,len){fs_1.default.ftruncateSync(fd,len)}futimes(fd,atime,mtime,callback){fs_1.default.futimes(fd,atime,mtime,callback)}futimesSync(fd,atime,mtime){fs_1.default.futimesSync(fd,atime,mtime)}lchmod(path,mode,callback){fs_1.default.lchmod(this.getPath(path),mode,callback)}lchmodSync(path,mode){fs_1.default.lchmodSync(this.getPath(path),mode)}lchown(path,uid,gid,callback){fs_1.default.lchown(this.getPath(path),uid,gid,callback)}lchownSync(path,uid,gid){fs_1.default.lchownSync(this.getPath(path),uid,gid)}link(existingPath,newPath,callback){fs_1.default.link(existingPath,newPath,callback)}linkSync(existingPath,newPath){fs_1.default.linkSync(existingPath,newPath)}lstat(path,callback){fs_1.default.lstat(this.getPath(path),callback)}lstatSync(path){return fs_1.default.lstatSync(path)}mkdir(path,options,callback){fs_1.default.mkdir(this.getPath(path),options,callback)}mkdirSync(path,options){fs_1.default.mkdirSync(this.getPath(path),options)}mkdtemp(prefix,options,callback){fs_1.default.mkdtemp(prefix,options,callback)}mkdtempSync(prefix,options){return fs_1.default.mkdtempSync(prefix,options)}open(path,flags,mode,callback){fs_1.default.open(this.getPath(path),flags,mode,callback)}openSync(path,flags,mode){return fs_1.default.openSync(this.getPath(path),flags,mode)}read(fd,buffer,offset,length,position,callback){fs_1.default.read(fd,buffer,offset,length,position,callback)}readFile(path,options,callback){}readFileSync(path,options){return fs_1.default.readFileSync(this.getPath(path))}readSync(fd,buffer,offset,length,position){return fs_1.default.readSync(fd,buffer,offset,length,position)}readdir(path,options,callback){fs_1.default.readdir(this.getPath(path),options,callback)}readdirSync(path,options){return fs_1.default.readdirSync(this.getPath(path),options)}readlink(path,options,callback){fs_1.default.readlink(this.getPath(path),options,callback)}readlinkSync(path,options){return fs_1.default.readlinkSync(this.getPath(path),options)}realpath(path,options,callback){fs_1.default.realpath(this.getPath(path),options,callback)}realpathSync(path,options){return fs_1.default.realpathSync(this.getPath(path),options)}rename(oldPath,newPath,callback){fs_1.default.rename(oldPath,newPath,callback)}renameSync(oldPath,newPath){fs_1.default.renameSync(oldPath,newPath)}rmdir(path,callback){fs_1.default.rmdir(this.getPath(path),callback)}rmdirSync(path){fs_1.default.rmdirSync(this.getPath(path))}stat(path,callback){fs_1.default.stat(this.getPath(path),callback)}statSync(path){return fs_1.default.statSync(path)}symlink(target,path,type,callback){fs_1.default.symlink(target,this.getPath(path),type,callback)}symlinkSync(target,path,type){fs_1.default.symlinkSync(target,this.getPath(path),type)}truncate(path,len,callback){fs_1.default.truncate(this.getPath(path),len,callback)}truncateSync(path,len){fs_1.default.truncateSync(this.getPath(path),len)}unlink(path,callback){fs_1.default.unlink(this.getPath(path),callback)}unlinkSync(path){fs_1.default.unlinkSync(this.getPath(path))}unwatchFile(filename,listener){fs_1.default.unwatchFile(filename,listener)}utimes(path,atime,mtime,callback){fs_1.default.utimes(this.getPath(path),atime,mtime,callback)}utimesSync(path,atime,mtime){fs_1.default.utimesSync(this.getPath(path),atime,mtime)}watch(filename,options,listener){return fs_1.default.watch(filename,options,listener)}watchFile(filename,options,listener){fs_1.default.watchFile(filename,options,listener)}writeFile(path,data,options,callback){fs_1.default.writeFile(this.getPath(path),data,options)}writeFileSync(path,data,options){fs_1.default.writeFileSync(this.getPath(path),data,options)}writeSync(fd,buffer,offset,length,position){return fs_1.default.writeSync(fd,buffer,offset,length,position)}write(fd,buffer,offset,length,position,callback){this.write(fd,buffer,offset,length,position,callback)}}exports.NodeFS=NodeFS},54673: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});const fs_1=__importDefault(__webpack_require__(27127));class FsPromisesAPI{access(path,mode){return fs_1.default.promises.access(path,mode)}appendFile(path,data,options){return fs_1.default.promises.appendFile(path,data)}chmod(path,mode){return fs_1.default.promises.chmod(path,mode)}chown(path,uid,gid){return fs_1.default.promises.chown(path,uid,gid)}copyFile(src,dest,flags){return fs_1.default.promises.copyFile(src,dest,flags)}fchmod(handle,mode){return fs_1.default.promises.fchmod(handle,mode)}fchown(handle,uid,gid){return fs_1.default.promises.fchown(handle,uid,gid)}fdatasync(handle){return fs_1.default.promises.fdatasync(handle)}fstat(handle){return fs_1.default.promises.fstat(handle)}fsync(handle){return fs_1.default.promises.fsync(handle)}ftruncate(handle,len){return fs_1.default.promises.ftruncate(handle,len)}futimes(handle,atime,mtime){return fs_1.default.promises.futimes(handle,atime,mtime)}lchmod(path,mode){return fs_1.default.promises.lchmod(path,mode)}lchown(path,uid,gid){return fs_1.default.promises.lchown(path,uid,gid)}link(existingPath,newPath){return fs_1.default.promises.link(existingPath,newPath)}lstat(path){return fs_1.default.promises.lstat(path)}mkdir(path,options){return fs_1.default.promises.mkdir(path,options)}mkdtemp(prefix,options){return fs_1.default.promises.mkdtemp(prefix,options)}open(path,flags,mode){return fs_1.default.promises.open(path,flags,mode)}read(handle,buffer,offset,length,position){return fs_1.default.promises.read(handle,buffer,offset,length,position)}readFile(path,options){return fs_1.default.promises.readFile(path,options)}readdir(path,options){return fs_1.default.promises.readdir(path,options)}readlink(path,options){return fs_1.default.promises.readlink(path,options)}realpath(path,options){return fs_1.default.promises.realpath(path,options)}rename(oldPath,newPath){return fs_1.default.promises.rename(oldPath,newPath)}rmdir(path){return fs_1.default.promises.rmdir(path)}stat(path){return fs_1.default.promises.stat(path)}symlink(target,path,type){return fs_1.default.promises.symlink(target,path,type)}truncate(path,len){return fs_1.default.promises.truncate(path,len)}unlink(path){return fs_1.default.promises.unlink(path)}utimes(path,atime,mtime){return fs_1.default.promises.utimes(path,atime,mtime)}write(handle,buffer,offset,length,position){fs_1.default.promises.write(handle,buffer,offset,length)}writeFile(path,data,options){return fs_1.default.promises.writeFile(path,data,options)}}exports.default=FsPromisesAPI},71291:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(9372)),__export(__webpack_require__(65964))},65964:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(30306))},30306:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const memfs_1=__webpack_require__(27884);class MemoryFS{constructor(){this.volume=new memfs_1.Volume,this.promises=this.volume.promises}access(path,mode,callback){this.volume.access(path,mode,callback)}accessSync(path,mode){this.volume.accessSync(path,mode)}appendFile(file,data,options,callback){this.volume.appendFile(file,data,options)}mkdirpSync(path){this.volume.mkdirpSync(path)}appendFileSync(file,data,options){this.volume.appendFileSync(file,data,options)}chmod(path,mode,callback){this.volume.chmod(path,mode,callback)}chmodSync(path,mode){this.volume.chmodSync(path,mode)}chown(path,uid,gid,callback){this.volume.chown(path,uid,gid,callback)}chownSync(path,uid,gid){this.volume.chownSync(path,uid,gid)}close(fd,callback){this.volume.close(fd,callback)}closeSync(fd){this.volume.closeSync(fd)}copyFile(src,dest,callback){this.volume.copyFile(src,dest,callback)}copyFileSync(src,dest,flags){this.volume.copyFileSync(src,dest,flags)}createReadStream(path,options){return this.volume.createReadStream(path,options)}createWriteStream(path,options){return this.volume.createWriteStream(path,options)}exists(path,callback){this.volume.exists(path,callback)}existsSync(path){return!1}fchmod(fd,mode,callback){this.volume.fchmod(fd,mode,callback)}fchmodSync(fd,mode){this.volume.fchmodSync(fd,mode)}fchown(fd,uid,gid,callback){this.volume.fchown(fd,uid,gid,callback)}fchownSync(fd,uid,gid){this.volume.fchownSync(fd,uid,gid)}fdatasync(fd,callback){this.volume.fdatasync(fd,callback)}fdatasyncSync(fd){this.volume.fdatasyncSync(fd)}fstat(fd,callback){this.volume.fstat(fd,callback)}fstatSync(fd){return this.volume.fstatSync(fd)}fsync(fd,callback){this.volume.fsync(fd,callback)}fsyncSync(fd){this.volume.fsyncSync(fd)}ftruncate(fd,len,callback){this.volume.ftruncate(fd,len,callback)}ftruncateSync(fd,len){this.volume.ftruncateSync(fd,len)}futimes(fd,atime,mtime,callback){this.volume.futimes(fd,atime,mtime,callback)}futimesSync(fd,atime,mtime){this.volume.futimesSync(fd,atime,mtime)}lchmod(path,mode,callback){this.volume.lchmod(path,mode,callback)}lchmodSync(path,mode){this.volume.lchmodSync(path,mode)}lchown(path,uid,gid,callback){this.volume.lchown(path,uid,gid,callback)}lchownSync(path,uid,gid){this.volume.lchownSync(path,uid,gid)}link(existingPath,newPath,callback){this.volume.link(existingPath,newPath,callback)}linkSync(existingPath,newPath){this.volume.linkSync(existingPath,newPath)}lstat(path,callback){this.volume.lstat(path,callback)}lstatSync(path){return this.volume.lstatSync(path)}mkdir(path,options,callback){this.volume.mkdir(path,options,callback)}mkdirSync(path,options){this.volume.mkdirSync(path,options)}mkdtemp(prefix,options,callback){this.volume.mkdtemp(prefix,options,callback)}mkdtempSync(prefix,options){return this.volume.mkdtempSync(prefix,options)}open(path,flags,mode,callback){this.volume.open(path,flags,mode,callback)}openSync(path,flags,mode){return this.volume.openSync(path,flags,mode)}read(fd,buffer,offset,length,position,callback){this.volume.read(fd,buffer,offset,length,position,callback)}readFile(path,options,callback){}readFileSync(path,options){return this.volume.readFileSync(path)}readSync(fd,buffer,offset,length,position){return this.volume.readSync(fd,buffer,offset,length,position)}readdir(path,options,callback){this.volume.readdir(path,options,callback)}readdirSync(path,options){return this.volume.readdirSync(path,options)}readlink(path,options,callback){this.volume.readlink(path,options,callback)}readlinkSync(path,options){return this.volume.readlinkSync(path,options)}realpath(path,options,callback){this.volume.realpath(path,options,callback)}realpathSync(path,options){return this.volume.realpathSync(path,options)}rename(oldPath,newPath,callback){this.volume.rename(oldPath,newPath,callback)}renameSync(oldPath,newPath){this.volume.renameSync(oldPath,newPath)}rmdir(path,callback){this.volume.rmdir(path,callback)}rmdirSync(path){this.volume.rmdirSync(path)}stat(path,callback){this.volume.stat(path,callback)}statSync(path){return this.volume.statSync(path)}symlink(target,path,type,callback){this.volume.symlink(target,path,type,callback)}symlinkSync(target,path,type){this.volume.symlinkSync(target,path,type)}truncate(path,len,callback){this.volume.truncate(path,len,callback)}truncateSync(path,len){this.volume.truncateSync(path,len)}unlink(path,callback){this.volume.unlink(path,callback)}unlinkSync(path){this.volume.unlinkSync(path)}unwatchFile(filename,listener){this.volume.unwatchFile(filename,listener)}utimes(path,atime,mtime,callback){this.volume.utimes(path,atime,mtime,callback)}utimesSync(path,atime,mtime){this.volume.utimesSync(path,atime,mtime)}watch(filename,options,listener){return this.volume.watch(filename,options,listener)}watchFile(filename,options,listener){this.volume.watchFile(filename,options,listener)}writeFile(path,data,options,callback){this.volume.writeFile(path,data,options)}writeFileSync(path,data,options){this.volume.writeFileSync(path,data,options)}writeSync(fd,buffer,offset,length,position){return this.volume.writeSync(fd,buffer,offset,length,position)}write(fd,buffer,offset,length,position,callback){this.write(fd,buffer,offset,length,position,callback)}}exports.MemoryFS=MemoryFS},90658:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Row=void 0;var row_1=__webpack_require__(4762);Object.defineProperty(exports,"Row",{enumerable:!0,get:function(){return row_1.Row}})},4762: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.Row=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),row_module_scss_1=__importDefault(__webpack_require__(90251));function Row(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(row_module_scss_1.default.row,className)},rest),children)}exports.Row=Row},6231:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NavigationProvider=exports.useNavigation=exports.useNavigate=exports.useLocation=exports.Link=void 0;var link_1=__webpack_require__(99981);Object.defineProperty(exports,"Link",{enumerable:!0,get:function(){return link_1.Link}});var use_location_1=__webpack_require__(18750);Object.defineProperty(exports,"useLocation",{enumerable:!0,get:function(){return use_location_1.useLocation}});var use_navigate_1=__webpack_require__(94671);Object.defineProperty(exports,"useNavigate",{enumerable:!0,get:function(){return use_navigate_1.useNavigate}});var navigation_provider_1=__webpack_require__(85258);Object.defineProperty(exports,"useNavigation",{enumerable:!0,get:function(){return navigation_provider_1.useNavigation}}),Object.defineProperty(exports,"NavigationProvider",{enumerable:!0,get:function(){return navigation_provider_1.NavigationProvider}})},99981: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.Link=void 0;const react_1=__importStar(__webpack_require__(59496)),navigation_provider_1=__webpack_require__(85258),native_link_1=__webpack_require__(75473);exports.Link=(0,react_1.forwardRef)(function(props,ref){const ActualLink=(0,navigation_provider_1.useNavigation)().Link||native_link_1.NativeLink;return props.native||props.external?react_1.default.createElement(native_link_1.NativeLink,Object.assign({},props,{ref})):react_1.default.createElement(ActualLink,Object.assign({},props,{ref}))})},75473: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.NativeLink=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_routing_compare_url_1=__webpack_require__(50194),use_location_1=__webpack_require__(18750),externalLinkAttributes={rel:"noopener",target:"_blank"};exports.NativeLink=(0,react_1.forwardRef)(function(_a,ref){var{className,style,activeClassName,activeStyle,active,strict,exact,href,external,native,state}=_a,rest=__rest(_a,["className","style","activeClassName","activeStyle","active","strict","exact","href","external","native","state"]);const location=(0,use_location_1.useLocation)(),shouldCalcActive=!!activeClassName||!!activeStyle,isActive=(0,react_1.useMemo)(()=>shouldCalcActive?typeof active=="boolean"?active:!location||!href?!1:(0,base_ui_routing_compare_url_1.compareUrl)(location.pathname,href,{exact,strict}):!1,[active,href,location,shouldCalcActive]),externalProps=external?externalLinkAttributes:{},combinedStyles=(0,react_1.useMemo)(()=>isActive&&activeStyle?Object.assign(Object.assign({},style),activeStyle):style,[isActive,style]);return react_1.default.createElement("a",Object.assign({},externalProps,rest,{ref,href,className:(0,classnames_1.default)(className,isActive&&activeClassName),style:combinedStyles}))})},85258: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.NavigationProvider=exports.useNavigation=exports.NavigationContext=void 0;const react_1=__importStar(__webpack_require__(59496));exports.NavigationContext=react_1.default.createContext({});function useNavigation(){return(0,react_1.useContext)(exports.NavigationContext)}exports.useNavigation=useNavigation;function NavigationProvider({children,implementation}){return react_1.default.createElement(exports.NavigationContext.Provider,{value:implementation},children)}exports.NavigationProvider=NavigationProvider},18750:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLocation=void 0;const navigation_provider_1=__webpack_require__(85258);function useLocation(){return((0,navigation_provider_1.useNavigation)().useLocation||NativeUseLocation)()}exports.useLocation=useLocation;function NativeUseLocation(){if(!(typeof window>"u"))return window.location}},94671:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNavigate=void 0;const navigation_provider_1=__webpack_require__(85258);function useNavigate(){var _a;const nav=(0,navigation_provider_1.useNavigation)();return((_a=nav.useNavigate)===null||_a===void 0?void 0:_a.call(nav))||nativeNavigator}exports.useNavigate=useNavigate;function nativeNavigator(target,{replace}={}){if(typeof window>"u")throw new Error("base-react.navigation.use-location - cannot use native navigator outside of browser. Inject a custom useNavigate, or use navigation after mount");const{location,history}=window;typeof target=="number"?history.go(target):replace?location.replace(target):location.assign(target)}},63281: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]}),__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.computeCssVars=exports.createThemeProvider=void 0;const react_1=__importStar(__webpack_require__(59496));function createThemeProvider(ThemeContext,options){return _a=>{var{children,overrides,style}=_a,rest=__rest(_a,["children","overrides","style"]);const theme=(0,react_1.useMemo)(()=>Object.assign(Object.assign({},options.theme),overrides),[options.theme,overrides]);if(options.withoutCssVars)return react_1.default.createElement(ThemeContext.Provider,{value:theme},children);const cssVars=computeCssVars(theme,options.prefix);return react_1.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},cssVars),style)},rest),react_1.default.createElement(ThemeContext.Provider,{value:theme},children))}}exports.createThemeProvider=createThemeProvider;function computeCssVars(theme,prefix){return Object.entries(theme).map(([key,val])=>{const varName=key.replace(/[A-Z]/g,"-$&").toLowerCase();return[prefix?`--${prefix}-${varName}`:`--${varName}`,val]}).reduce((acc,[key,val])=>(acc[key]=val,acc),{})}exports.computeCssVars=computeCssVars},26375:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTheme=void 0;const react_1=__webpack_require__(59496),create_theme_provider_1=__webpack_require__(63281);function createTheme({theme,prefix,withoutCssVars}){const ThemeContext=(0,react_1.createContext)(theme);return{ThemeProvider:(0,create_theme_provider_1.createThemeProvider)(ThemeContext,{theme,prefix,withoutCssVars}),useTheme:()=>(0,react_1.useContext)(ThemeContext)}}exports.createTheme=createTheme},14111:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTheme=void 0;var create_theme_1=__webpack_require__(26375);Object.defineProperty(exports,"createTheme",{enumerable:!0,get:function(){return create_theme_1.createTheme}})},15567:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ThemeToggler=exports.useThemePicker=exports.useThemeByName=exports.useNextTheme=exports.ThemePickerContext=exports.ThemeSwitcher=void 0;var theme_switcher_1=__webpack_require__(61617);Object.defineProperty(exports,"ThemeSwitcher",{enumerable:!0,get:function(){return theme_switcher_1.ThemeSwitcher}});var theme_picker_context_1=__webpack_require__(68668);Object.defineProperty(exports,"ThemePickerContext",{enumerable:!0,get:function(){return theme_picker_context_1.ThemePickerContext}}),Object.defineProperty(exports,"useNextTheme",{enumerable:!0,get:function(){return theme_picker_context_1.useNextTheme}}),Object.defineProperty(exports,"useThemeByName",{enumerable:!0,get:function(){return theme_picker_context_1.useThemeByName}}),Object.defineProperty(exports,"useThemePicker",{enumerable:!0,get:function(){return theme_picker_context_1.useThemePicker}});var theme_toggler_1=__webpack_require__(87718);Object.defineProperty(exports,"ThemeToggler",{enumerable:!0,get:function(){return theme_toggler_1.ThemeToggler}})},68668:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNextTheme=exports.useThemeByName=exports.useThemePicker=exports.ThemePickerContext=void 0;const react_1=__webpack_require__(59496);exports.ThemePickerContext=(0,react_1.createContext)(void 0);function useThemePicker(){return(0,react_1.useContext)(exports.ThemePickerContext)}exports.useThemePicker=useThemePicker;function useThemeByName(themeName){const themes=useThemePicker();if(!(!themeName||!themes))return themes.options.find(theme=>theme.themeName===themeName)}exports.useThemeByName=useThemeByName;function useNextTheme(){const themes=useThemePicker();return(0,react_1.useCallback)(()=>{if(!themes)return;const{options,setTheme,currentIdx}=themes,nextIdx=(currentIdx+1)%options.length,next=options[nextIdx];setTheme(next)},[themes])}exports.useNextTheme=useNextTheme},61617: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]}),__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.ThemeSwitcher=void 0;const react_1=__importStar(__webpack_require__(59496)),theme_picker_context_1=__webpack_require__(68668);function ThemeSwitcher(_a){var{children,themes,activeTheme,handleThemeChange,defaultTheme}=_a,props=__rest(_a,["children","themes","activeTheme","handleThemeChange","defaultTheme"]);let explicitValue=typeof activeTheme=="string"?themes.find(x=>x.themeName===activeTheme):activeTheme;const getInitialOption=()=>explicitValue||defaultTheme&&themes.find(x=>x.themeName===defaultTheme)||themes[0],[theme,setTheme]=(0,react_1.useState)(getInitialOption),currentTheme=explicitValue||theme,picker={setTheme:themeTarget=>{handleThemeChange?.(themeTarget),setTheme(()=>themeTarget)},current:currentTheme,get currentIdx(){return this.current?this.options.indexOf(this.current):-1},options:themes},Provider=currentTheme,forwardProps=props;return react_1.default.createElement(theme_picker_context_1.ThemePickerContext.Provider,{value:picker},Provider?react_1.default.createElement(Provider,Object.assign({},forwardProps),children):children)}exports.ThemeSwitcher=ThemeSwitcher},87718: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.ThemeToggler=void 0;const react_1=__importDefault(__webpack_require__(59496)),theme_picker_context_1=__webpack_require__(68668);function ThemeToggler(_a){var{onClick}=_a,props=__rest(_a,["onClick"]);const applyNextTheme=(0,theme_picker_context_1.useNextTheme)(),handleClick=e=>{onClick?.(e),!e.defaultPrevented&&applyNextTheme()};return react_1.default.createElement("button",Object.assign({},props,{onClick:handleClick}))}exports.ThemeToggler=ThemeToggler},24708:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},63368: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.elevationClass=void 0;const elevations_module_scss_1=__importDefault(__webpack_require__(8897));__exportStar(__webpack_require__(24708),exports),exports.elevationClass={low:elevations_module_scss_1.default.low,medium:elevations_module_scss_1.default.medium,high:elevations_module_scss_1.default.high,none:void 0}},54187:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},75210: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.elevationClass=void 0;const elevations_module_scss_1=__importDefault(__webpack_require__(88026));__exportStar(__webpack_require__(54187),exports),exports.elevationClass={low:elevations_module_scss_1.default.low,medium:elevations_module_scss_1.default.medium,high:elevations_module_scss_1.default.high,none:void 0}},69725: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.roundnessClass=void 0;const roundness_module_scss_1=__importDefault(__webpack_require__(76455));__exportStar(__webpack_require__(71760),exports),exports.roundnessClass={circle:roundness_module_scss_1.default.circle,default:roundness_module_scss_1.default.default,small:roundness_module_scss_1.default.small,medium:roundness_module_scss_1.default.medium,sharp:roundness_module_scss_1.default.sharp}},71760:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},78676: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.DotsLoader=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),dots_loader_module_scss_1=__importDefault(__webpack_require__(52372));function DotsLoader(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("span",Object.assign({},rest,{className:classnames_1.default(className,dots_loader_module_scss_1.default.dotsLoader)}),react_1.default.createElement("span",null,"\u25CF"),react_1.default.createElement("span",null,"\u25CF"),react_1.default.createElement("span",null,"\u25CF"))}exports.DotsLoader=DotsLoader},62656: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__(78676),exports)},33472: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.BaseIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754));function BaseIcon(_a){var{of:iconName,className}=_a,rest=__rest(_a,["of","className"]);return react_1.default.createElement("span",Object.assign({"data-bit-id":"teambit.base-ui/elements/icon",className:classnames_1.default(iconName,className)},rest))}exports.BaseIcon=BaseIcon},34211: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__(33472),exports)},17905:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClickOutside=void 0;const react_1=__webpack_require__(59496);class ClickOutside extends react_1.Component{constructor(){super(...arguments);this.listener=event=>{const{targetRef,handler}=this.props,element=event.target;!targetRef.current||!element||targetRef.current.contains(element)||handler(event)}}componentDidMount(){this.props.enabled&&this.enable()}componentWillUnmount(){this.disable()}componentDidUpdate(prevProps){const nextProps=this.props;prevProps.enabled!==nextProps.enabled&&(nextProps.enabled?this.enable():this.disable())}enable(){document.addEventListener("mousedown",this.listener),document.addEventListener("touchstart",this.listener)}disable(){document.removeEventListener("mousedown",this.listener),document.removeEventListener("touchstart",this.listener)}render(){return null}}exports.ClickOutside=ClickOutside,ClickOutside.defaultProps={enabled:!0}},91546:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useClickOutside=exports.ClickOutside=void 0;var click_outside_1=__webpack_require__(17905);Object.defineProperty(exports,"ClickOutside",{enumerable:!0,get:function(){return click_outside_1.ClickOutside}});var use_click_outside_1=__webpack_require__(20469);Object.defineProperty(exports,"useClickOutside",{enumerable:!0,get:function(){return use_click_outside_1.useClickOutside}})},20469:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useClickOutside=void 0;const react_1=__webpack_require__(59496);function useClickOutside(ref,handler,enabled=!0){react_1.useEffect(()=>{const listener=event=>{const element=event.target;!ref.current||!element||ref.current.contains(element)||handler(event)};return enabled&&(document.addEventListener("mousedown",listener),document.addEventListener("touchstart",listener)),()=>{document.removeEventListener("mousedown",listener),document.removeEventListener("touchstart",listener)}},[ref,handler,enabled])}exports.useClickOutside=useClickOutside},54841:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClickOutside=void 0;const react_1=__webpack_require__(59496);class ClickOutside extends react_1.Component{constructor(){super(...arguments);this.listener=event=>{const{targetRef,handler}=this.props,element=event.target;!targetRef.current||!element||targetRef.current.contains(element)||handler(event)}}componentDidMount(){this.props.enabled&&this.enable()}componentWillUnmount(){this.disable()}componentDidUpdate(prevProps){const nextProps=this.props;prevProps.enabled!==nextProps.enabled&&(nextProps.enabled?this.enable():this.disable())}enable(){document.addEventListener("mousedown",this.listener),document.addEventListener("touchstart",this.listener)}disable(){document.removeEventListener("mousedown",this.listener),document.removeEventListener("touchstart",this.listener)}render(){return null}}exports.ClickOutside=ClickOutside,ClickOutside.defaultProps={enabled:!0}},31354:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useClickOutside=exports.ClickOutside=void 0;var click_outside_1=__webpack_require__(54841);Object.defineProperty(exports,"ClickOutside",{enumerable:!0,get:function(){return click_outside_1.ClickOutside}});var use_click_outside_1=__webpack_require__(14031);Object.defineProperty(exports,"useClickOutside",{enumerable:!0,get:function(){return use_click_outside_1.useClickOutside}})},14031:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useClickOutside=void 0;const react_1=__webpack_require__(59496);function useClickOutside(ref,handler,enabled=!0){(0,react_1.useEffect)(()=>{const listener=event=>{const element=event.target;!ref.current||!element||ref.current.contains(element)||handler(event)};return enabled&&(document.addEventListener("mousedown",listener),document.addEventListener("touchstart",listener)),()=>{document.removeEventListener("mousedown",listener),document.removeEventListener("touchstart",listener)}},[ref,handler,enabled])}exports.useClickOutside=useClickOutside},21126: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]}),__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});const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),button_module_scss_1=__importDefault(__webpack_require__(14506)),base_ui_elements_dots_loader_1=__webpack_require__(62656);class Button extends react_1.Component{constructor(){super(...arguments);this.state={isLoading:!1},this.activePromises=new Set,this.unmounted=!1,this.handleClick=event=>{const{onClick}=this.props;if(!onClick)return;this.setState({isLoading:!0});const promise=Promise.resolve(onClick.call(this,event)).catch(()=>{});this.activePromises.add(promise),promise.then(()=>this.handleResolve(promise))}}componentWillUnmount(){this.unmounted=!0,this.activePromises=new Set}handleResolve(p){this.unmounted||(this.activePromises.delete(p),this.activePromises.size===0&&this.setState({isLoading:!1}))}render(){const _a=this.props,{onClick,className,children,loader,loading,disabled,activeWhenLoading=!1}=_a,rest=__rest(_a,["onClick","className","children","loader","loading","disabled","activeWhenLoading"]),isLoading=loading!==void 0&&loading||this.state.isLoading,content=isLoading?loader:children,disabledByLoading=isLoading&&!activeWhenLoading;return react_1.default.createElement("button",Object.assign({"data-bit-id":"teambit.base-ui/input/button"},rest,{disabled:disabled||disabledByLoading,onClick:this.handleClick,className:(0,classnames_1.default)(className,button_module_scss_1.default.vanillaButton)}),content)}}exports.default=Button,Button.defaultProps={loader:react_1.default.createElement(base_ui_elements_dots_loader_1.DotsLoader,null),loading:!1}},22319: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var button_1=__webpack_require__(21126);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(button_1).default}}),__exportStar(__webpack_require__(21126),exports)},25105: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.Error=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),error_module_scss_1=__importDefault(__webpack_require__(11199));function Error2(props){const{className,children}=props,rest=__rest(props,["className","children"]);return children?react_1.default.createElement("div",Object.assign({className:classnames_1.default(error_module_scss_1.default.error,className)},rest),children):null}exports.Error=Error2},75006: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__(25105),exports)},77338: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.colGridXl=exports.colGridLg=exports.colGridL=exports.colGridMd=exports.colGridSm=exports.colGridXs=exports.colGrid=void 0;const grid_template_module_scss_1=__importDefault(__webpack_require__(3404));exports.colGrid=makePreset("all"),exports.colGridXs=makePreset("xs"),exports.colGridSm=makePreset("sm"),exports.colGridMd=makePreset("md"),exports.colGridL=makePreset("l"),exports.colGridLg=makePreset("lg"),exports.colGridXl=makePreset("xl");function makePreset(breakPoints){const obj={};for(var i=1;i<=12;i++)obj[i]=grid_template_module_scss_1.default[`colTemplate--${breakPoints}-${i}`];return obj}},66386: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.Grid=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),grid_module_scss_1=__importDefault(__webpack_require__(21582)),grid_template_1=__webpack_require__(77338);class Grid extends react_1.PureComponent{render(){const _a=this.props,{className,col,colL,colLg,colMd,colSm,colXl,colXs}=_a,rest=__rest(_a,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),classes=[className,grid_module_scss_1.default.gridContainer];return col!==void 0&&classes.push(grid_template_1.colGrid[col]),colL!==void 0&&classes.push(grid_template_1.colGridL[colL]),colLg!==void 0&&classes.push(grid_template_1.colGridLg[colLg]),colMd!==void 0&&classes.push(grid_template_1.colGridMd[colMd]),colSm!==void 0&&classes.push(grid_template_1.colGridSm[colSm]),colXl!==void 0&&classes.push(grid_template_1.colGridXl[colXl]),colXs!==void 0&&classes.push(grid_template_1.colGridXs[colXs]),react_1.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},rest,{className:(0,classnames_1.default)(...classes)}))}}exports.Grid=Grid},95420:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},exports.r=void 0;var grid_1=__webpack_require__(66386);Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return grid_1.Grid}})},68459: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.textColumn=exports.wideColumn=exports.centerColumn=void 0;const page_frame_module_scss_1=__importDefault(__webpack_require__(82920));exports.centerColumn=page_frame_module_scss_1.default.centerColumn,exports.wideColumn=page_frame_module_scss_1.default.wideColumn,exports.textColumn=page_frame_module_scss_1.default.textColumn},20298:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WordSkeleton=exports.LineSkeleton=exports.CircleSkeleton=exports.BlockSkeleton=exports.Skeleton=void 0;var skeleton_1=__webpack_require__(4267);Object.defineProperty(exports,"Skeleton",{enumerable:!0,get:function(){return skeleton_1.Skeleton}}),Object.defineProperty(exports,"BlockSkeleton",{enumerable:!0,get:function(){return skeleton_1.BlockSkeleton}}),Object.defineProperty(exports,"CircleSkeleton",{enumerable:!0,get:function(){return skeleton_1.CircleSkeleton}}),Object.defineProperty(exports,"LineSkeleton",{enumerable:!0,get:function(){return skeleton_1.LineSkeleton}}),Object.defineProperty(exports,"WordSkeleton",{enumerable:!0,get:function(){return skeleton_1.WordSkeleton}})},4267: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.title=exports.BlockSkeleton=exports.CircleSkeleton=exports.LineSkeleton=exports.WordSkeleton=exports.Skeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),skeleton_module_scss_1=__importDefault(__webpack_require__(91695)),skeleton_design_module_scss_1=__importDefault(__webpack_require__(40989)),NBSP="\xA0";function Skeleton(_a){var{designClass=skeleton_design_module_scss_1.default.skeleton,className}=_a,rest=__rest(_a,["designClass","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.skeleton,designClass,className)}))}exports.Skeleton=Skeleton;function WordSkeleton(_a){var{length=5,designClass=skeleton_design_module_scss_1.default.word,className,style}=_a,rest=__rest(_a,["length","designClass","className","style"]);return react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.word,className,designClass),style:Object.assign({},style)}),react_1.default.createElement("span",null,Array.from({length}).map(()=>NBSP)))}exports.WordSkeleton=WordSkeleton;function LineSkeleton(_a){var{width,count=1,designClass=skeleton_design_module_scss_1.default.line,className,style}=_a,rest=__rest(_a,["width","count","designClass","className","style"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.line,designClass,className),style:Object.assign({width},style)}),Array.from({length:count}).map((x,index)=>react_1.default.createElement("div",{key:index},NBSP)))}exports.LineSkeleton=LineSkeleton;function CircleSkeleton(_a){var{size=2,designClass=skeleton_design_module_scss_1.default.circle,className,style}=_a,rest=__rest(_a,["size","designClass","className","style"]);return react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.circle,className,designClass),style:Object.assign({height:`${size}em`,width:`${size}em`,lineHeight:size},style)}),NBSP)}exports.CircleSkeleton=CircleSkeleton;function BlockSkeleton(_a){var{lines=5,designClass=skeleton_design_module_scss_1.default.block,className,style}=_a,rest=__rest(_a,["lines","designClass","className","style"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.block,designClass,className),style:Object.assign({height:`${lines}em`},style)}))}exports.BlockSkeleton=BlockSkeleton;function title(){return react_1.default.createElement("div",{style:{marginBottom:"1em"}},react_1.default.createElement(WordSkeleton,{style:{fontSize:18}}))}exports.title=title},18669: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.compareUrl=void 0;const url_parse_1=__importDefault(__webpack_require__(52296));function compareUrl(baseUrl,toMatchUrl,{exact,strict}={}){if(baseUrl===toMatchUrl)return!0;strict||(baseUrl=baseUrl.replace(/\/(?=[?#]|$)/,""),toMatchUrl=toMatchUrl.replace(/\/(?=[?#]|$)/,""));const base=(0,url_parse_1.default)(baseUrl),match=(0,url_parse_1.default)(toMatchUrl),subUrl=isSubUrl(base,match),exactMatch=!exact||isExactMatch(base,match),strictMatch=!strict||isStrictMatch(base,match);return subUrl&&exactMatch&&strictMatch}exports.compareUrl=compareUrl;function isSubUrl(base,match){return(!match.protocol||match.protocol===base.protocol)&&(!match.hostname||match.hostname===base.hostname)&&(!match.port||match.port===base.port)&&(!match.pathname||base.pathname.startsWith(match.pathname))&&(!match.query||isSubObject(match.query,base.query))&&(!match.hash||match.hash===base.hash)&&(!match.password||match.password===base.password)&&(!match.username||match.username===base.username)}function isExactMatch(base,match){return(!match.pathname||base.pathname===match.pathname)&&(!match.query||isSubObject(base.query,match.query))}function isStrictMatch(base,match){return!match.pathname||base.pathname.endsWith("/")===match.pathname.endsWith("/")}function isSubObject(source,target){return Object.keys(source).every(key=>source[key]===target[key])}},50194:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareUrl=void 0;var compare_url_1=__webpack_require__(18669);Object.defineProperty(exports,"compareUrl",{enumerable:!0,get:function(){return compare_url_1.compareUrl}})},15764: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.flexCenter=void 0;const flex_center_module_scss_1=__importDefault(__webpack_require__(17957));exports.flexCenter=flex_center_module_scss_1.default.flexCenter},84399: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]}),__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.Containee=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_create_ref_1=__importDefault(__webpack_require__(32398)),abs_container_module_scss_1=__importDefault(__webpack_require__(59467)),positions_module_scss_1=__importDefault(__webpack_require__(87109)),displacement_module_scss_1=__importDefault(__webpack_require__(8769));class Containee extends react_1.Component{constructor(){super(...arguments);this.ref=react_create_ref_1.default()}render(){const _a=this.props,{className,position="bottom"}=_a,rest=__rest(_a,["className","position"]),positionClass=positions_module_scss_1.default[position],displacement=displacement_module_scss_1.default.displacement;return react_1.default.createElement("div",Object.assign({ref:this.ref,className:classnames_1.default(abs_container_module_scss_1.default.containee,displacement,positionClass,className),"data-position":position},rest))}}exports.Containee=Containee},8094: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__(84399),exports)},60499: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]}),__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.Container=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),abs_container_module_scss_1=__importDefault(__webpack_require__(59467));exports.Container=react_1.forwardRef(function(_a,ref){var{className,open}=_a,rest=__rest(_a,["className","open"]);return react_1.default.createElement("div",Object.assign({ref,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open},rest))})},13303: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__(60499),exports)},67737: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.containeeClass=exports.containerClass=void 0;const abs_container_module_scss_1=__importDefault(__webpack_require__(59467));__exportStar(__webpack_require__(8094),exports),__exportStar(__webpack_require__(13303),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},77787: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]}),__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.Containee=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_create_ref_1=__importDefault(__webpack_require__(32398)),abs_container_module_scss_1=__importDefault(__webpack_require__(13900)),positions_module_scss_1=__importDefault(__webpack_require__(58658)),displacement_module_scss_1=__importDefault(__webpack_require__(33931));class Containee extends react_1.Component{constructor(){super(...arguments);this.ref=react_create_ref_1.default()}render(){const _a=this.props,{className,position="bottom"}=_a,rest=__rest(_a,["className","position"]),positionClass=positions_module_scss_1.default[position],displacement=displacement_module_scss_1.default.displacement;return react_1.default.createElement("div",Object.assign({ref:this.ref,className:classnames_1.default(abs_container_module_scss_1.default.containee,displacement,positionClass,className),"data-position":position},rest))}}exports.Containee=Containee},72822: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__(77787),exports)},79494: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.Container=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),abs_container_module_scss_1=__importDefault(__webpack_require__(13900));function Container(_a){var{className,open,margin,indent,forwardRef,style}=_a,rest=__rest(_a,["className","open","margin","indent","forwardRef","style"]);return react_1.default.createElement("div",Object.assign({ref:forwardRef,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open,style:addDisplacement(margin,indent,style)},rest))}exports.Container=Container;function addDisplacement(margin,indent,baseStyles){if(!margin&&!indent)return baseStyles;const displacement={"--bit-drawer-margin":pixalize(margin),"--bit-drawer-indent":pixalize(indent)};return Object.assign(Object.assign({},baseStyles),displacement)}function pixalize(value){return typeof value=="number"?`${value}px`:value}},21048: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__(79494),exports)},63146: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.containeeClass=exports.containerClass=void 0;const abs_container_module_scss_1=__importDefault(__webpack_require__(13900));__exportStar(__webpack_require__(72822),exports),__exportStar(__webpack_require__(21048),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},84733: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.backgrounds=void 0;const background_module_scss_1=__importDefault(__webpack_require__(52484));exports.backgrounds={bedrock:background_module_scss_1.default.bedrock,base:background_module_scss_1.default.base,layer:background_module_scss_1.default.layer,crust:background_module_scss_1.default.crust,topping:background_module_scss_1.default.topping,dent:background_module_scss_1.default.dent}},79300: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.backgrounds=void 0;const background_module_scss_1=__importDefault(__webpack_require__(98202));exports.backgrounds={bedrock:background_module_scss_1.default.bedrock,base:background_module_scss_1.default.base,layer:background_module_scss_1.default.layer,crust:background_module_scss_1.default.crust,topping:background_module_scss_1.default.topping,dent:background_module_scss_1.default.dent}},75882: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.Card=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),card_module_scss_1=__importDefault(__webpack_require__(65614)),base_ui_css_components_elevation_1=__webpack_require__(63368),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(84733);function Card(_a){var{className,elevation="low",roundness="default"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/surfaces/card",className:classnames_1.default(card_module_scss_1.default.card,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest))}exports.Card=Card,Card.defaultProps={elevation:"low",roundness:"default"}},19537: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__(75882),exports)},59339: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.DefaultPlaceholder=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),drawer_module_scss_1=__importDefault(__webpack_require__(24421));function DefaultPlaceholder(props){return react_1.default.createElement("div",Object.assign({},props,{className:classnames_1.default(props.className,drawer_module_scss_1.default.placeholder)}))}exports.DefaultPlaceholder=DefaultPlaceholder},40953: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]}),__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.Drawer=void 0;const react_1=__importStar(__webpack_require__(59496)),base_ui_surfaces_abs_container_1=__webpack_require__(67737),base_ui_hook_use_click_outside_1=__webpack_require__(91546),react_create_ref_1=__importDefault(__webpack_require__(32398)),default_placeholder_1=__webpack_require__(59339);class Drawer extends react_1.Component{constructor(){super(...arguments);this.state={isOpen:this.props.open||!1},this.ref=react_create_ref_1.default(),this.toggle=evt=>{const{isOpen}=this.state,nextOpen=!isOpen;this.isControlled||this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.close=evt=>{const{isOpen}=this.state,nextOpen=!1;!this.isControlled&&isOpen&&this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.open=evt=>{const{isOpen}=this.state,nextOpen=!0;!this.isControlled&&!isOpen&&this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(nextProps){this.props.open!==nextProps.open&&nextProps.open!==void 0&&this.setState({isOpen:nextProps.open})}get isControlled(){return this.props.open!==void 0}render(){const _a=this.props,{placeholder,children,PlaceholderComponent=default_placeholder_1.DefaultPlaceholder,clickOutside,onMouseEnter,onMouseLeave,open,hoverToOpen,clickPlaceholderToggles,clickToggles,onChange,onPlaceholderToggle,onContainerToggle,onContaineeToggle,onClickOutside}=_a,rest=__rest(_a,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen}=this.state;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Container,Object.assign({},rest,{ref:this.ref,open:isOpen,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),children,react_1.default.createElement(PlaceholderComponent,{onClick:this.handlePlaceholderClick},placeholder),react_1.default.createElement(base_ui_hook_use_click_outside_1.ClickOutside,{targetRef:this.ref,enabled:!!clickOutside&&isOpen,handler:this.handleClickOutside}))}}exports.Drawer=Drawer,Drawer.defaultProps={PlaceholderComponent:default_placeholder_1.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},914: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__(40953),exports)},42527: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.DefaultPlaceholder=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),drawer_module_scss_1=__importDefault(__webpack_require__(9592));function DefaultPlaceholder(props){return react_1.default.createElement("div",Object.assign({},props,{className:(0,classnames_1.default)(props.className,drawer_module_scss_1.default.placeholder)}))}exports.DefaultPlaceholder=DefaultPlaceholder},9931: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]}),__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.Drawer=void 0;const react_1=__importStar(__webpack_require__(59496)),base_ui_surfaces_abs_container_1=__webpack_require__(63146),base_ui_hook_use_click_outside_1=__webpack_require__(31354),react_create_ref_1=__importDefault(__webpack_require__(32398)),default_placeholder_1=__webpack_require__(42527);class Drawer extends react_1.Component{constructor(){super(...arguments);this.state={isOpen:this.props.open||!1},this.ref=(0,react_create_ref_1.default)(),this.toggle=evt=>{const{isOpen}=this.state,nextOpen=!isOpen;this.isControlled||this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.close=evt=>{const{isOpen}=this.state,nextOpen=!1;!this.isControlled&&isOpen&&this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.open=evt=>{const{isOpen}=this.state,nextOpen=!0;!this.isControlled&&!isOpen&&this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(nextProps){this.props.open!==nextProps.open&&nextProps.open!==void 0&&this.setState({isOpen:nextProps.open})}get isControlled(){return this.props.open!==void 0}render(){const _a=this.props,{placeholderContent="",children,clickOutside,onMouseEnter,onMouseLeave,open,hoverToOpen,clickPlaceholderToggles,clickToggles,onChange,onPlaceholderToggle,onContainerToggle,onContaineeToggle,onClickOutside}=_a,rest=__rest(_a,["placeholderContent","children","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen}=this.state;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Container,Object.assign({},rest,{forwardRef:this.ref,open:isOpen,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),children,react_1.default.createElement(default_placeholder_1.DefaultPlaceholder,{onClick:this.handlePlaceholderClick},placeholderContent),react_1.default.createElement(base_ui_hook_use_click_outside_1.ClickOutside,{targetRef:this.ref,enabled:!!clickOutside&&isOpen,handler:this.handleClickOutside}))}}exports.Drawer=Drawer,Drawer.defaultProps={clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},38073: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__(9931),exports)},56007: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__(81154),exports)},81154: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.HoverSplitter=void 0;const base_ui_surfaces_split_pane_splitter_1=__webpack_require__(74601),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),splitter_module_scss_1=__importDefault(__webpack_require__(80410));function HoverSplitter(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(base_ui_surfaces_split_pane_splitter_1.Splitter,Object.assign({},rest,{className:classnames_1.default(splitter_module_scss_1.default.hoverSplitter,className)}),react_1.default.createElement("div",{className:splitter_module_scss_1.default.highlighter}),children)}exports.HoverSplitter=HoverSplitter},20949: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__(14783),exports)},14783:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default_layout=exports.layoutToggleMap=exports.Layout=exports.LayoutFeatures=void 0;var LayoutFeatures;(function(LayoutFeatures2){LayoutFeatures2.row="row",LayoutFeatures2.column="column",LayoutFeatures2.reverse="reverse",LayoutFeatures2.first="first",LayoutFeatures2.last="last"})(LayoutFeatures=exports.LayoutFeatures||(exports.LayoutFeatures={}));var Layout;(function(Layout2){Layout2.row="row",Layout2.rowReverse="row reverse",Layout2.column="column",Layout2.columnReverse="column reverse",Layout2.top="column first",Layout2.bottom="column last",Layout2.topReverse="column reverse first",Layout2.bottomReverse="column reverse last ",Layout2.left="row first",Layout2.right="row last",Layout2.leftReverse="row reverse first",Layout2.rightReverse="row reverse last"})(Layout=exports.Layout||(exports.Layout={})),exports.layoutToggleMap={[Layout.columnReverse]:Layout.row,[Layout.row]:Layout.columnReverse},exports.default_layout=Layout.row},16433: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__(78250),exports)},78250: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.Pane=void 0;const base_ui_surfaces_split_pane_layout_1=__webpack_require__(20949),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),pane_module_scss_1=__importDefault(__webpack_require__(57207));function Pane(_a){var{size,style,layout,className}=_a,rest=__rest(_a,["size","style","layout","className"]);const runtimeStyles={},sizeProp=layoutToStyle(layout);return sizeProp&&size!==void 0&&(runtimeStyles[sizeProp]=size,runtimeStyles.flexShrink=0),size===void 0&&(runtimeStyles.flexGrow=1,runtimeStyles.flexBasis=0),react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(pane_module_scss_1.default.pane,className),style:Object.assign(Object.assign({},style),runtimeStyles)}))}exports.Pane=Pane;function layoutToStyle(layout){if(!!layout){if(layout.includes(base_ui_surfaces_split_pane_layout_1.LayoutFeatures.column))return"height";if(layout.includes(base_ui_surfaces_split_pane_layout_1.LayoutFeatures.row))return"width"}}},49582:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.calcSplit=void 0;const base_ui_surfaces_split_pane_layout_1=__webpack_require__(20949);function calcSplit(snapshot,layout,defaultSize){let splitSize=calcPixels(snapshot,layout,defaultSize);return layout.includes(base_ui_surfaces_split_pane_layout_1.LayoutFeatures.reverse)&&splitSize.reverse(),(splitSize[0]===void 0||splitSize[1]===void 0)&&(splitSize=autoCalcComplementary(splitSize)),splitSize}exports.calcSplit=calcSplit;function autoCalcComplementary([a,b]){return a===void 0&&b===void 0?[void 0,void 0]:b===void 0?[a,calcComplemetSize(a)]:a===void 0?[calcComplemetSize(b),b]:[a,b]}function calcComplemetSize(size){if(size!==void 0){if(typeof size=="number")return`calc(100% - ${size}px)`;if(size.endsWith("px"))return`calc(100% - ${size})`;if(size.endsWith("%")){const sizeAsNumber=+size.replace("%","");return Number.isNaN(sizeAsNumber)?void 0:`${100-sizeAsNumber}%`}if(!Number.isNaN(+size))return`calc(100% - ${size}px)`}}function calcPixels(snapshot,layout,defaultSize){const{row,column,first,last}=base_ui_surfaces_split_pane_layout_1.LayoutFeatures,features=new Set(layout.split(" "));return features.has(first)?["100%","0%"]:features.has(last)?["0%","100%"]:features.has(row)?snapshot?.x===void 0?calcDefaultSize(defaultSize):typeof defaultSize=="string"&&defaultSize.endsWith("%")?[`${100*snapshot.x/snapshot.width}%`,void 0]:[snapshot.x,void 0]:features.has(column)?snapshot?.y===void 0?calcDefaultSize(defaultSize):typeof defaultSize=="string"&&defaultSize.endsWith("%")?[`${100*snapshot.y/snapshot.height}%`,void 0]:[snapshot.y,void 0]:[void 0,void 0]}function calcDefaultSize(defaultSize){return defaultSize?typeof defaultSize=="number"&&defaultSize<0?[void 0,-defaultSize]:typeof defaultSize=="string"&&defaultSize.startsWith("-")?[void 0,defaultSize.substring(1)]:[defaultSize,void 0]:[void 0,void 0]}},4792: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}),exports.SplitPane=void 0,__exportStar(__webpack_require__(20949),exports),__exportStar(__webpack_require__(16433),exports),__exportStar(__webpack_require__(74601),exports);var split_pane_1=__webpack_require__(5283);Object.defineProperty(exports,"SplitPane",{enumerable:!0,get:function(){return split_pane_1.SplitPane}})},22808:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.limit=void 0;function limit(value,min,max){return min!==void 0&&value<min?min:max!==void 0&&value>max?max:value}exports.limit=limit},5283: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.SplitPane=void 0;const base_ui_surfaces_split_pane_layout_1=__webpack_require__(20949),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),calc_split_1=__webpack_require__(49582),split_pane_module_scss_1=__importDefault(__webpack_require__(30069)),use_drag_tracker_1=__webpack_require__(48550);function SplitPane(_a){var{layout=base_ui_surfaces_split_pane_layout_1.Layout.column,size="38%",className,children}=_a,rest=__rest(_a,["layout","size","className","children"]);const containerRef=react_1.default.createRef(),[snapshot,isDragging,setDragging]=use_drag_tracker_1.useDragTracker(containerRef),[A,B]=calc_split_1.calcSplit(snapshot,layout,size),[left,splitter,right]=children,leftWithSize=react_1.default.cloneElement(left,{size:A,layout}),rightWithSize=react_1.default.cloneElement(right,{size:B,layout}),splitterWithDrag=react_1.default.cloneElement(splitter,{onDragging:setDragging,isDragging});return react_1.default.createElement("div",Object.assign({},rest,{ref:containerRef,className:classnames_1.default(isDragging&&split_pane_module_scss_1.default.isDragging,split_pane_module_scss_1.default.splitPane,className),"data-is-dragging":isDragging,"data-split-layout":layout}),leftWithSize,splitterWithDrag,rightWithSize)}exports.SplitPane=SplitPane},32209:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toRelativePosition=void 0;const limit_1=__webpack_require__(22808);function toRelativePosition({clientX,clientY,element}){const boundingRect=element.getBoundingClientRect(),{left,top,width=1,height=1}=boundingRect,x=limit_1.limit(clientX-left,0,width),y=limit_1.limit(clientY-top,0,height);return{x,y,width,height}}exports.toRelativePosition=toRelativePosition},48550:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDragTracker=void 0;const react_1=__webpack_require__(59496),to_relative_position_1=__webpack_require__(32209),use_pointer_drag_1=__webpack_require__(65411);function useDragTracker(containerRef){const[snapshot,setSnapshot]=react_1.useState(void 0),handleDrag=react_1.useCallback(({clientX,clientY})=>{if(!containerRef.current)return;const position=to_relative_position_1.toRelativePosition({clientX,clientY,element:containerRef.current});setSnapshot(position)},[containerRef]),[isDragging,setDragging]=use_pointer_drag_1.useDragListener(handleDrag);return[snapshot,isDragging,setDragging]}exports.useDragTracker=useDragTracker},65411:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDragListener=void 0;const react_1=__webpack_require__(59496);function useDragListener(onDrag){const draggingState=react_1.useState(!1),[isDragging,setDragging]=draggingState;return react_1.useEffect(()=>{const handleTouchMove=e=>{const{touches}=e,mainTouch=touches[0];onDrag(mainTouch)},handleMouseMove=e=>{onDrag(e)},handleDragEnded=()=>{setDragging(!1)},handleMouseEnter=e=>{e&&e.buttons===1||handleDragEnded()};return isDragging&&(document.addEventListener("mousemove",handleMouseMove),document.addEventListener("mouseup",handleDragEnded),document.addEventListener("mouseenter",handleMouseEnter),document.addEventListener("touchend",handleDragEnded),document.addEventListener("touchmove",handleTouchMove),document.addEventListener("touchcancel",handleDragEnded)),()=>{document.removeEventListener("mousemove",handleMouseMove),document.removeEventListener("mouseup",handleDragEnded),document.removeEventListener("mouseenter",handleMouseEnter),document.removeEventListener("touchend",handleDragEnded),document.removeEventListener("touchmove",handleTouchMove),document.removeEventListener("touchcancel",handleDragEnded)}},[isDragging,onDrag]),draggingState}exports.useDragListener=useDragListener},74601: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__(14630),exports)},14630: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.Splitter=void 0;const classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),splitter_module_scss_1=__importDefault(__webpack_require__(28532));function Splitter(_a){var{onDragging,isDragging,className}=_a,rest=__rest(_a,["onDragging","isDragging","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(splitter_module_scss_1.default.splitter,className),onMouseDown:()=>onDragging?.(!0),onTouchStart:()=>onDragging?.(!0)}))}exports.Splitter=Splitter},20141: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.Heading=void 0;const react_1=__importDefault(__webpack_require__(59496));function Heading(props){const{element}=props,rest=__rest(props,["element"]),Element=element||"h1";return react_1.default.createElement(Element,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},rest))}exports.Heading=Heading,Heading.defaultProps={element:"h1"}},77739: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__(20141),exports)},57441: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.Heading=void 0;const react_1=__importDefault(__webpack_require__(59496));function Heading(_a){var{element="h1"}=_a,rest=__rest(_a,["element"]);const Element=element;return react_1.default.createElement(Element,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},rest))}exports.Heading=Heading},18660:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Heading=void 0;var heading_1=__webpack_require__(57441);Object.defineProperty(exports,"Heading",{enumerable:!0,get:function(){return heading_1.Heading}})},925: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__(37917),exports)},37917: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.mutedText=exports.MutedText=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),muted_text_module_scss_1=__importDefault(__webpack_require__(89718));function MutedText(props){return react_1.default.createElement("span",Object.assign({},props,{className:classnames_1.default(muted_text_module_scss_1.default.mutedText,props.className)}))}exports.MutedText=MutedText,exports.mutedText=muted_text_module_scss_1.default.mutedText},7954:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PossibleSizes=exports.Paragraph=void 0;var paragraph_1=__webpack_require__(65320);Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:function(){return paragraph_1.Paragraph}}),Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return paragraph_1.PossibleSizes}})},65320: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.Paragraph=exports.PossibleSizes=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_sizes_1=__webpack_require__(62086);Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return base_ui_theme_sizes_1.PossibleSizes}});const base_ui_text_text_sizes_1=__webpack_require__(75589);function Paragraph(_a){var{className,size,element:Element}=_a,rest=__rest(_a,["className","size","element"]);return react_1.default.createElement(Element,Object.assign({className:classnames_1.default(base_ui_text_text_sizes_1.textSize[size],className),"data-bit-id":"teambit.base-ui/text/paragraph"},rest))}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},71491:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PossibleSizes=exports.Paragraph=void 0;var paragraph_1=__webpack_require__(33909);Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:function(){return paragraph_1.Paragraph}}),Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return paragraph_1.PossibleSizes}})},33909: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.Paragraph=exports.PossibleSizes=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_sizes_1=__webpack_require__(62086);Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return base_ui_theme_sizes_1.PossibleSizes}});const base_ui_text_text_sizes_1=__webpack_require__(75589);function Paragraph(_a){var{className,size,element:Element}=_a,rest=__rest(_a,["className","size","element"]);return react_1.default.createElement(Element,Object.assign({className:classnames_1.default(base_ui_text_text_sizes_1.textSize[size],className),"data-bit-id":"teambit.base-ui/text/paragraph"},rest))}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},75589: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.textSize=void 0;const text_sizes_module_scss_1=__importDefault(__webpack_require__(29753)),sizes={xxs:text_sizes_module_scss_1.default.xxs,xs:text_sizes_module_scss_1.default.xs,sm:text_sizes_module_scss_1.default.sm,md:text_sizes_module_scss_1.default.md,lg:text_sizes_module_scss_1.default.lg,xl:text_sizes_module_scss_1.default.xl,xxl:text_sizes_module_scss_1.default.xxl};exports.textSize=sizes},64899: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__(45448),exports)},45448: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.themedText=exports.ThemedText=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),themed_text_module_scss_1=__importDefault(__webpack_require__(92177));function ThemedText(props){return react_1.default.createElement("span",Object.assign({},props,{className:classnames_1.default(props.className,themed_text_module_scss_1.default.themedText),"data-bit-id":"teambit.base-ui/text/themed-text"}))}exports.ThemedText=ThemedText,exports.themedText=themed_text_module_scss_1.default.themedText},63411: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.colorPalette=void 0;const accent_color_module_scss_1=__importDefault(__webpack_require__(8331));exports.colorPalette={primary:accent_color_module_scss_1.default.primary,complementary:accent_color_module_scss_1.default.complementary,neutral:accent_color_module_scss_1.default.neutral,neutralHeavy:accent_color_module_scss_1.default.emphasized,error:accent_color_module_scss_1.default.impulsive,warning:accent_color_module_scss_1.default.hungry,success:accent_color_module_scss_1.default.success,action:accent_color_module_scss_1.default.impulsive,consider:accent_color_module_scss_1.default.hungry,continue:accent_color_module_scss_1.default.success,process:accent_color_module_scss_1.default.process}},66509: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.buildStepPalette=void 0;const accent_color_module_scss_1=__importDefault(__webpack_require__(8331));exports.buildStepPalette={success:accent_color_module_scss_1.default.success,failure:accent_color_module_scss_1.default.impulsive,pending:accent_color_module_scss_1.default.neutral,processing:accent_color_module_scss_1.default.process,skipped:accent_color_module_scss_1.default.hungry,unknown:accent_color_module_scss_1.default.neutral,SUCCESS:accent_color_module_scss_1.default.success,FAILURE:accent_color_module_scss_1.default.impulsive,PENDING:accent_color_module_scss_1.default.neutral,PROCESSING:accent_color_module_scss_1.default.process,SKIPPED:accent_color_module_scss_1.default.hungry,UNKNOWN:accent_color_module_scss_1.default.neutral}},11796:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.buildStepPalette=exports.colorPalette=void 0;var accent_color_1=__webpack_require__(63411);Object.defineProperty(exports,"colorPalette",{enumerable:!0,get:function(){return accent_color_1.colorPalette}});var build_step_accents_1=__webpack_require__(66509);Object.defineProperty(exports,"buildStepPalette",{enumerable:!0,get:function(){return build_step_accents_1.buildStepPalette}})},58280: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.brands=void 0;const brand_definition_module_scss_1=__importDefault(__webpack_require__(49942)),{brands}=brand_definition_module_scss_1.default;exports.brands=brands},19829: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.primaryPalette=void 0;const color_definition_module_scss_1=__importDefault(__webpack_require__(16588)),{primaryPalette}=color_definition_module_scss_1.default;exports.primaryPalette=primaryPalette},12880: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.darkMode=void 0;const dark_theme_module_scss_1=__importDefault(__webpack_require__(44085));exports.darkMode=dark_theme_module_scss_1.default.darkMod},23895: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.bookFont=void 0;const book_font_module_scss_1=__importDefault(__webpack_require__(49646)),{bookFont}=book_font_module_scss_1.default;exports.bookFont=bookFont},31165: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__(30120),exports)},30120: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.Roboto=void 0;const react_1=__importDefault(__webpack_require__(59496)),Roboto=()=>react_1.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"});exports.Roboto=Roboto},50662: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.headingMargins=void 0;const heading_margin_definition_module_scss_1=__importDefault(__webpack_require__(40426)),{headingMargins}=heading_margin_definition_module_scss_1.default;exports.headingMargins=headingMargins},6722: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.shadowTheme=void 0;const shadow_definition_module_scss_1=__importDefault(__webpack_require__(17107)),{shadowTheme}=shadow_definition_module_scss_1.default;exports.shadowTheme=shadowTheme},65548: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.textFontSize=exports.headingFontSize=void 0;const size_definition_module_scss_1=__importDefault(__webpack_require__(36075)),{headingFontSize,textFontSize}=size_definition_module_scss_1.default;exports.headingFontSize=headingFontSize,exports.textFontSize=textFontSize},62086:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PossibleSizes=void 0;var PossibleSizes;(function(PossibleSizes2){PossibleSizes2.xxs="xxs",PossibleSizes2.xs="xs",PossibleSizes2.sm="sm",PossibleSizes2.md="md",PossibleSizes2.lg="lg",PossibleSizes2.xl="xl",PossibleSizes2.xxl="xxl"})(PossibleSizes=exports.PossibleSizes||(exports.PossibleSizes={}))},625:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Theme=void 0;var theme_provider_1=__webpack_require__(710);Object.defineProperty(exports,"Theme",{enumerable:!0,get:function(){return theme_provider_1.Theme}})},710: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.Theme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_size_definition_1=__webpack_require__(65548),base_ui_theme_shadow_definition_1=__webpack_require__(6722),base_ui_theme_color_definition_1=__webpack_require__(19829),base_ui_theme_brand_definition_1=__webpack_require__(58280),base_ui_theme_heading_margin_definition_1=__webpack_require__(50662),base_ui_theme_fonts_book_1=__webpack_require__(23895),texts_module_scss_1=__importDefault(__webpack_require__(84522));function Theme(props){return react_1.default.createElement("div",Object.assign({},props,{className:classnames_1.default(base_ui_theme_size_definition_1.headingFontSize,base_ui_theme_size_definition_1.textFontSize,base_ui_theme_fonts_book_1.bookFont,base_ui_theme_shadow_definition_1.shadowTheme,base_ui_theme_color_definition_1.primaryPalette,base_ui_theme_brand_definition_1.brands,base_ui_theme_heading_margin_definition_1.headingMargins,texts_module_scss_1.default.defaults,props.className)}))}exports.Theme=Theme},72149: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.default=void 0;var time_ago_1=__webpack_require__(49651);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(time_ago_1).default}})},49651: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});const javascript_time_ago_1=__importDefault(__webpack_require__(38419)),en_1=__importDefault(__webpack_require__(36192));exports.default=date=>{const now=new Date,versionDate=new Date(date);javascript_time_ago_1.default.addLocale(en_1.default);const timeAgo=new javascript_time_ago_1.default("en-EN"),diff=new Date(now.getTime()-versionDate.getTime()),res=timeAgo.format(now.getTime()-diff.getTime());return res.slice(0,2)==="a "?`${res[0].toUpperCase()}${res.slice(1)}`:res}},57419: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.BadgeSection=exports.ComponentOverview=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_layout_page_frame_1=__webpack_require__(68459),documenter_ui_heading_1=__webpack_require__(37742),documenter_ui_label_list_1=__webpack_require__(13232),documenter_ui_section_1=__webpack_require__(94761),documenter_ui_copy_box_1=__webpack_require__(8584),design_ui_separator_1=__webpack_require__(12563),design_navigation_content_tabs_1=__webpack_require__(12712),documenter_ui_sub_title_1=__webpack_require__(36408),ui_foundation_ui_is_browser_1=__webpack_require__(92900),base_react_layout_row_1=__webpack_require__(90658),docs_1=__webpack_require__(84723),component_overview_module_scss_1=__importDefault(__webpack_require__(71767));function ComponentOverview(_a){var{displayName,abstract,titleBadges,labels,packageName,elementsUrl,componentDescriptor,component}=_a,rest=__rest(_a,["displayName","abstract","titleBadges","labels","packageName","elementsUrl","componentDescriptor","component"]);const componentId=component?.id,tabsComponentId=[{component:function(){return react_1.default.createElement("span",null,"Component ID")},content:react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,{className:component_overview_module_scss_1.default.copyBox},componentId?componentId.toStringWithoutVersion():"")},{component:function(){return react_1.default.createElement("span",null,"Package")},content:react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,{className:component_overview_module_scss_1.default.copyBox},packageName)}];let finalElementsUrl=elementsUrl;if(finalElementsUrl&&!finalElementsUrl.startsWith("http")){const origin=ui_foundation_ui_is_browser_1.isBrowser?window.location.origin:void 0;finalElementsUrl=origin&&elementsUrl?`${origin}${elementsUrl}`:void 0,finalElementsUrl&&tabsComponentId.push({component:function(){return react_1.default.createElement("span",null,"Elements url")},content:react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,{className:component_overview_module_scss_1.default.copyBox},finalElementsUrl)})}return react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement("div",{className:base_ui_layout_page_frame_1.textColumn},react_1.default.createElement(base_react_layout_row_1.Row,{className:component_overview_module_scss_1.default.titleRow},react_1.default.createElement("div",{className:component_overview_module_scss_1.default.componentTitle},react_1.default.createElement(documenter_ui_heading_1.H1,{className:component_overview_module_scss_1.default.title},displayName)),react_1.default.createElement(BadgeSection,{position:docs_1.BadgePosition.Title,componentDescriptor,component,badges:titleBadges})),react_1.default.createElement(base_react_layout_row_1.Row,null,abstract&&react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(documenter_ui_sub_title_1.Subtitle,{className:component_overview_module_scss_1.default.subTitle},abstract),react_1.default.createElement(BadgeSection,{position:docs_1.BadgePosition.SubTitle,componentDescriptor,component,badges:titleBadges}))),react_1.default.createElement(base_react_layout_row_1.Row,null,react_1.default.createElement(documenter_ui_label_list_1.LabelList,null,labels),react_1.default.createElement(BadgeSection,{position:docs_1.BadgePosition.Labels,componentDescriptor,component,badges:titleBadges})),react_1.default.createElement(base_react_layout_row_1.Row,null,react_1.default.createElement("div",{className:component_overview_module_scss_1.default.contentTabs},react_1.default.createElement(design_navigation_content_tabs_1.ContentTabs,{priority:"folder",tabs:tabsComponentId,navClassName:component_overview_module_scss_1.default.nav,tabClassName:component_overview_module_scss_1.default.tab})),react_1.default.createElement(BadgeSection,{position:docs_1.BadgePosition.Package,componentDescriptor,component,badges:titleBadges}))),react_1.default.createElement(design_ui_separator_1.Separator,{isPresentational:!0}))}exports.ComponentOverview=ComponentOverview;function BadgeSection({badges,position,componentDescriptor,component}){var _a,_b;return react_1.default.createElement("div",{className:component_overview_module_scss_1.default.badgeContainer},(_b=(_a=badges?.filter(badge=>position===docs_1.BadgePosition.Title&&!badge.position||badge.position===position))===null||_a===void 0?void 0:_a.sort((a,b)=>a?.weight-b?.weight))===null||_b===void 0?void 0:_b.map((titleBadge,index)=>react_1.default.createElement(titleBadge.component,{key:index,componentDescriptor,legacyComponentModel:component})))}exports.BadgeSection=BadgeSection},20884:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BadgeSection=exports.ComponentOverview=void 0;var component_overview_1=__webpack_require__(57419);Object.defineProperty(exports,"ComponentOverview",{enumerable:!0,get:function(){return component_overview_1.ComponentOverview}}),Object.defineProperty(exports,"BadgeSection",{enumerable:!0,get:function(){return component_overview_1.BadgeSection}})},36791:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useFetchDocs=void 0;var use_fetch_docs_1=__webpack_require__(1692);Object.defineProperty(exports,"useFetchDocs",{enumerable:!0,get:function(){return use_fetch_docs_1.useFetchDocs}})},1692:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useFetchDocs=void 0;const react_1=__webpack_require__(59496),graphql_hooks_use_query_light_1=__webpack_require__(95791),GQL_SERVER="/graphql",DOCS_QUERY=(0,graphql_hooks_use_query_light_1.gql)`
|
12
|
+
`+message):method&&pathname&&routeId?errorMessage="You made a "+method+' request to "'+pathname+'" but '+('did not provide a `loader` for route "'+routeId+'", ')+"so there is no way to handle the request.":type==="defer-action"?errorMessage="defer() is not supported in actions":type==="invalid-body"&&(errorMessage="Unable to encode submission body")):status===403?(statusText="Forbidden",errorMessage='Route "'+routeId+'" does not match URL "'+pathname+'"'):status===404?(statusText="Not Found",errorMessage='No route matches URL "'+pathname+'"'):status===405&&(statusText="Method Not Allowed",method&&pathname&&routeId?errorMessage="You made a "+method.toUpperCase()+' request to "'+pathname+'" but '+('did not provide an `action` for route "'+routeId+'", ')+"so there is no way to handle the request.":method&&(errorMessage='Invalid request method "'+method.toUpperCase()+'"')),new ErrorResponseImpl(status||500,statusText,new Error(errorMessage),!0)}function findRedirect(results){for(let i=results.length-1;i>=0;i--){let result=results[i];if(isRedirectResult(result))return{result,idx:i}}}function stripHashFromPath(path){let parsedPath=typeof path=="string"?parsePath(path):path;return createPath(_extends({},parsedPath,{hash:""}))}function isHashChangeOnly(a,b){return a.pathname!==b.pathname||a.search!==b.search?!1:a.hash===""?b.hash!=="":a.hash===b.hash?!0:b.hash!==""}function isPromise(val){return typeof val=="object"&&val!=null&&"then"in val}function isHandlerResult(result){return result!=null&&typeof result=="object"&&"type"in result&&"result"in result&&(result.type===ResultType.data||result.type===ResultType.error)}function isRedirectHandlerResult(result){return isResponse(result.result)&&redirectStatusCodes.has(result.result.status)}function isDeferredResult(result){return result.type===ResultType.deferred}function isErrorResult(result){return result.type===ResultType.error}function isRedirectResult(result){return(result&&result.type)===ResultType.redirect}function isDataWithResponseInit(value){return typeof value=="object"&&value!=null&&"type"in value&&"data"in value&&"init"in value&&value.type==="DataWithResponseInit"}function isDeferredData(value){let deferred=value;return deferred&&typeof deferred=="object"&&typeof deferred.data=="object"&&typeof deferred.subscribe=="function"&&typeof deferred.cancel=="function"&&typeof deferred.resolveData=="function"}function isResponse(value){return value!=null&&typeof value.status=="number"&&typeof value.statusText=="string"&&typeof value.headers=="object"&&typeof value.body<"u"}function isRedirectResponse(result){if(!isResponse(result))return!1;let status=result.status,location=result.headers.get("Location");return status>=300&&status<=399&&location!=null}function isValidMethod(method){return validRequestMethods.has(method.toLowerCase())}function isMutationMethod(method){return validMutationMethods.has(method.toLowerCase())}async function resolveDeferredResults(currentMatches,matchesToLoad,results,signals,isFetcher,currentLoaderData){for(let index=0;index<results.length;index++){let result=results[index],match=matchesToLoad[index];if(!match)continue;let currentMatch=currentMatches.find(m=>m.route.id===match.route.id),isRevalidatingLoader=currentMatch!=null&&!isNewRouteInstance(currentMatch,match)&&(currentLoaderData&¤tLoaderData[match.route.id])!==void 0;if(isDeferredResult(result)&&(isFetcher||isRevalidatingLoader)){let signal=signals[index];invariant(signal,"Expected an AbortSignal for revalidating fetcher deferred result"),await resolveDeferredData(result,signal,isFetcher).then(result2=>{result2&&(results[index]=result2||results[index])})}}}async function resolveDeferredData(result,signal,unwrap){if(unwrap===void 0&&(unwrap=!1),!await result.deferredData.resolveData(signal)){if(unwrap)try{return{type:ResultType.data,data:result.deferredData.unwrappedData}}catch(e){return{type:ResultType.error,error:e}}return{type:ResultType.data,data:result.deferredData.data}}}function hasNakedIndexQuery(search){return new URLSearchParams(search).getAll("index").some(v=>v==="")}function getTargetMatch(matches,location){let search=typeof location=="string"?parsePath(location).search:location.search;if(matches[matches.length-1].route.index&&hasNakedIndexQuery(search||""))return matches[matches.length-1];let pathMatches=getPathContributingMatches(matches);return pathMatches[pathMatches.length-1]}function getSubmissionFromNavigation(navigation){let{formMethod,formAction,formEncType,text,formData,json:json2}=navigation;if(!(!formMethod||!formAction||!formEncType)){if(text!=null)return{formMethod,formAction,formEncType,formData:void 0,json:void 0,text};if(formData!=null)return{formMethod,formAction,formEncType,formData,json:void 0,text:void 0};if(json2!==void 0)return{formMethod,formAction,formEncType,formData:void 0,json:json2,text:void 0}}}function getLoadingNavigation(location,submission){return submission?{state:"loading",location,formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text}:{state:"loading",location,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function getSubmittingNavigation(location,submission){return{state:"submitting",location,formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text}}function getLoadingFetcher(submission,data2){return submission?{state:"loading",formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text,data:data2}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:data2}}function getSubmittingFetcher(submission,existingFetcher){return{state:"submitting",formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text,data:existingFetcher?existingFetcher.data:void 0}}function getDoneFetcher(data2){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:data2}}function restoreAppliedTransitions(_window,transitions){try{let sessionPositions=_window.sessionStorage.getItem(TRANSITIONS_STORAGE_KEY);if(sessionPositions){let json2=JSON.parse(sessionPositions);for(let[k,v]of Object.entries(json2||{}))v&&Array.isArray(v)&&transitions.set(k,new Set(v||[]))}}catch{}}function persistAppliedTransitions(_window,transitions){if(transitions.size>0){let json2={};for(let[k,v]of transitions)json2[k]=[...v];try{_window.sessionStorage.setItem(TRANSITIONS_STORAGE_KEY,JSON.stringify(json2))}catch(error){warning(!1,"Failed to save applied view transitions in sessionStorage ("+error+").")}}}},21186:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(71291))},9372:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0});var node_fs_1=__webpack_require__(13860);exports.NodeFS=node_fs_1.NodeFS,__export(__webpack_require__(54673))},13860: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});const path_1=__webpack_require__(62005),fs_1=__importDefault(__webpack_require__(27127)),promises_1=__importDefault(__webpack_require__(54673));class NodeFS{constructor(workingDir){this.workingDir=workingDir,this.promises=new promises_1.default}getPath(path){return path_1.join(this.workingDir,path)}access(path,mode,callback){fs_1.default.access(this.getPath(path),mode,callback)}accessSync(path,mode){fs_1.default.accessSync(this.getPath(path),mode)}appendFile(file,data,options,callback){fs_1.default.appendFile(this.getPath(file),data,options)}appendFileSync(file,data,options){fs_1.default.appendFileSync(this.getPath(file),data,options)}chmod(path,mode,callback){fs_1.default.chmod(this.getPath(path),mode,callback)}chmodSync(path,mode){fs_1.default.chmodSync(this.getPath(path),mode)}chown(path,uid,gid,callback){fs_1.default.chown(this.getPath(path),uid,gid,callback)}chownSync(path,uid,gid){fs_1.default.chownSync(this.getPath(path),uid,gid)}close(fd,callback){fs_1.default.close(fd,callback)}closeSync(fd){fs_1.default.closeSync(fd)}copyFile(src,dest,callback){fs_1.default.copyFile(src,dest,callback)}copyFileSync(src,dest,flags){fs_1.default.copyFileSync(src,dest,flags)}createReadStream(path,options){return fs_1.default.createReadStream(this.getPath(path),options)}createWriteStream(path,options){return fs_1.default.createWriteStream(this.getPath(path),options)}exists(path,callback){fs_1.default.exists(this.getPath(path),callback)}existsSync(path){return fs_1.default.existsSync(this.getPath(path))}fchmod(fd,mode,callback){fs_1.default.fchmod(fd,mode,callback)}fchmodSync(fd,mode){fs_1.default.fchmodSync(fd,mode)}fchown(fd,uid,gid,callback){fs_1.default.fchown(fd,uid,gid,callback)}fchownSync(fd,uid,gid){fs_1.default.fchownSync(fd,uid,gid)}fdatasync(fd,callback){fs_1.default.fdatasync(fd,callback)}fdatasyncSync(fd){fs_1.default.fdatasyncSync(fd)}fstat(fd,callback){fs_1.default.fstat(fd,callback)}fstatSync(fd){return fs_1.default.fstatSync(fd)}fsync(fd,callback){fs_1.default.fsync(fd,callback)}fsyncSync(fd){fs_1.default.fsyncSync(fd)}ftruncate(fd,len,callback){fs_1.default.ftruncate(fd,len,callback)}ftruncateSync(fd,len){fs_1.default.ftruncateSync(fd,len)}futimes(fd,atime,mtime,callback){fs_1.default.futimes(fd,atime,mtime,callback)}futimesSync(fd,atime,mtime){fs_1.default.futimesSync(fd,atime,mtime)}lchmod(path,mode,callback){fs_1.default.lchmod(this.getPath(path),mode,callback)}lchmodSync(path,mode){fs_1.default.lchmodSync(this.getPath(path),mode)}lchown(path,uid,gid,callback){fs_1.default.lchown(this.getPath(path),uid,gid,callback)}lchownSync(path,uid,gid){fs_1.default.lchownSync(this.getPath(path),uid,gid)}link(existingPath,newPath,callback){fs_1.default.link(existingPath,newPath,callback)}linkSync(existingPath,newPath){fs_1.default.linkSync(existingPath,newPath)}lstat(path,callback){fs_1.default.lstat(this.getPath(path),callback)}lstatSync(path){return fs_1.default.lstatSync(path)}mkdir(path,options,callback){fs_1.default.mkdir(this.getPath(path),options,callback)}mkdirSync(path,options){fs_1.default.mkdirSync(this.getPath(path),options)}mkdtemp(prefix,options,callback){fs_1.default.mkdtemp(prefix,options,callback)}mkdtempSync(prefix,options){return fs_1.default.mkdtempSync(prefix,options)}open(path,flags,mode,callback){fs_1.default.open(this.getPath(path),flags,mode,callback)}openSync(path,flags,mode){return fs_1.default.openSync(this.getPath(path),flags,mode)}read(fd,buffer,offset,length,position,callback){fs_1.default.read(fd,buffer,offset,length,position,callback)}readFile(path,options,callback){}readFileSync(path,options){return fs_1.default.readFileSync(this.getPath(path))}readSync(fd,buffer,offset,length,position){return fs_1.default.readSync(fd,buffer,offset,length,position)}readdir(path,options,callback){fs_1.default.readdir(this.getPath(path),options,callback)}readdirSync(path,options){return fs_1.default.readdirSync(this.getPath(path),options)}readlink(path,options,callback){fs_1.default.readlink(this.getPath(path),options,callback)}readlinkSync(path,options){return fs_1.default.readlinkSync(this.getPath(path),options)}realpath(path,options,callback){fs_1.default.realpath(this.getPath(path),options,callback)}realpathSync(path,options){return fs_1.default.realpathSync(this.getPath(path),options)}rename(oldPath,newPath,callback){fs_1.default.rename(oldPath,newPath,callback)}renameSync(oldPath,newPath){fs_1.default.renameSync(oldPath,newPath)}rmdir(path,callback){fs_1.default.rmdir(this.getPath(path),callback)}rmdirSync(path){fs_1.default.rmdirSync(this.getPath(path))}stat(path,callback){fs_1.default.stat(this.getPath(path),callback)}statSync(path){return fs_1.default.statSync(path)}symlink(target,path,type,callback){fs_1.default.symlink(target,this.getPath(path),type,callback)}symlinkSync(target,path,type){fs_1.default.symlinkSync(target,this.getPath(path),type)}truncate(path,len,callback){fs_1.default.truncate(this.getPath(path),len,callback)}truncateSync(path,len){fs_1.default.truncateSync(this.getPath(path),len)}unlink(path,callback){fs_1.default.unlink(this.getPath(path),callback)}unlinkSync(path){fs_1.default.unlinkSync(this.getPath(path))}unwatchFile(filename,listener){fs_1.default.unwatchFile(filename,listener)}utimes(path,atime,mtime,callback){fs_1.default.utimes(this.getPath(path),atime,mtime,callback)}utimesSync(path,atime,mtime){fs_1.default.utimesSync(this.getPath(path),atime,mtime)}watch(filename,options,listener){return fs_1.default.watch(filename,options,listener)}watchFile(filename,options,listener){fs_1.default.watchFile(filename,options,listener)}writeFile(path,data,options,callback){fs_1.default.writeFile(this.getPath(path),data,options)}writeFileSync(path,data,options){fs_1.default.writeFileSync(this.getPath(path),data,options)}writeSync(fd,buffer,offset,length,position){return fs_1.default.writeSync(fd,buffer,offset,length,position)}write(fd,buffer,offset,length,position,callback){this.write(fd,buffer,offset,length,position,callback)}}exports.NodeFS=NodeFS},54673: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});const fs_1=__importDefault(__webpack_require__(27127));class FsPromisesAPI{access(path,mode){return fs_1.default.promises.access(path,mode)}appendFile(path,data,options){return fs_1.default.promises.appendFile(path,data)}chmod(path,mode){return fs_1.default.promises.chmod(path,mode)}chown(path,uid,gid){return fs_1.default.promises.chown(path,uid,gid)}copyFile(src,dest,flags){return fs_1.default.promises.copyFile(src,dest,flags)}fchmod(handle,mode){return fs_1.default.promises.fchmod(handle,mode)}fchown(handle,uid,gid){return fs_1.default.promises.fchown(handle,uid,gid)}fdatasync(handle){return fs_1.default.promises.fdatasync(handle)}fstat(handle){return fs_1.default.promises.fstat(handle)}fsync(handle){return fs_1.default.promises.fsync(handle)}ftruncate(handle,len){return fs_1.default.promises.ftruncate(handle,len)}futimes(handle,atime,mtime){return fs_1.default.promises.futimes(handle,atime,mtime)}lchmod(path,mode){return fs_1.default.promises.lchmod(path,mode)}lchown(path,uid,gid){return fs_1.default.promises.lchown(path,uid,gid)}link(existingPath,newPath){return fs_1.default.promises.link(existingPath,newPath)}lstat(path){return fs_1.default.promises.lstat(path)}mkdir(path,options){return fs_1.default.promises.mkdir(path,options)}mkdtemp(prefix,options){return fs_1.default.promises.mkdtemp(prefix,options)}open(path,flags,mode){return fs_1.default.promises.open(path,flags,mode)}read(handle,buffer,offset,length,position){return fs_1.default.promises.read(handle,buffer,offset,length,position)}readFile(path,options){return fs_1.default.promises.readFile(path,options)}readdir(path,options){return fs_1.default.promises.readdir(path,options)}readlink(path,options){return fs_1.default.promises.readlink(path,options)}realpath(path,options){return fs_1.default.promises.realpath(path,options)}rename(oldPath,newPath){return fs_1.default.promises.rename(oldPath,newPath)}rmdir(path){return fs_1.default.promises.rmdir(path)}stat(path){return fs_1.default.promises.stat(path)}symlink(target,path,type){return fs_1.default.promises.symlink(target,path,type)}truncate(path,len){return fs_1.default.promises.truncate(path,len)}unlink(path){return fs_1.default.promises.unlink(path)}utimes(path,atime,mtime){return fs_1.default.promises.utimes(path,atime,mtime)}write(handle,buffer,offset,length,position){fs_1.default.promises.write(handle,buffer,offset,length)}writeFile(path,data,options){return fs_1.default.promises.writeFile(path,data,options)}}exports.default=FsPromisesAPI},71291:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(9372)),__export(__webpack_require__(65964))},65964:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(30306))},30306:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const memfs_1=__webpack_require__(27884);class MemoryFS{constructor(){this.volume=new memfs_1.Volume,this.promises=this.volume.promises}access(path,mode,callback){this.volume.access(path,mode,callback)}accessSync(path,mode){this.volume.accessSync(path,mode)}appendFile(file,data,options,callback){this.volume.appendFile(file,data,options)}mkdirpSync(path){this.volume.mkdirpSync(path)}appendFileSync(file,data,options){this.volume.appendFileSync(file,data,options)}chmod(path,mode,callback){this.volume.chmod(path,mode,callback)}chmodSync(path,mode){this.volume.chmodSync(path,mode)}chown(path,uid,gid,callback){this.volume.chown(path,uid,gid,callback)}chownSync(path,uid,gid){this.volume.chownSync(path,uid,gid)}close(fd,callback){this.volume.close(fd,callback)}closeSync(fd){this.volume.closeSync(fd)}copyFile(src,dest,callback){this.volume.copyFile(src,dest,callback)}copyFileSync(src,dest,flags){this.volume.copyFileSync(src,dest,flags)}createReadStream(path,options){return this.volume.createReadStream(path,options)}createWriteStream(path,options){return this.volume.createWriteStream(path,options)}exists(path,callback){this.volume.exists(path,callback)}existsSync(path){return!1}fchmod(fd,mode,callback){this.volume.fchmod(fd,mode,callback)}fchmodSync(fd,mode){this.volume.fchmodSync(fd,mode)}fchown(fd,uid,gid,callback){this.volume.fchown(fd,uid,gid,callback)}fchownSync(fd,uid,gid){this.volume.fchownSync(fd,uid,gid)}fdatasync(fd,callback){this.volume.fdatasync(fd,callback)}fdatasyncSync(fd){this.volume.fdatasyncSync(fd)}fstat(fd,callback){this.volume.fstat(fd,callback)}fstatSync(fd){return this.volume.fstatSync(fd)}fsync(fd,callback){this.volume.fsync(fd,callback)}fsyncSync(fd){this.volume.fsyncSync(fd)}ftruncate(fd,len,callback){this.volume.ftruncate(fd,len,callback)}ftruncateSync(fd,len){this.volume.ftruncateSync(fd,len)}futimes(fd,atime,mtime,callback){this.volume.futimes(fd,atime,mtime,callback)}futimesSync(fd,atime,mtime){this.volume.futimesSync(fd,atime,mtime)}lchmod(path,mode,callback){this.volume.lchmod(path,mode,callback)}lchmodSync(path,mode){this.volume.lchmodSync(path,mode)}lchown(path,uid,gid,callback){this.volume.lchown(path,uid,gid,callback)}lchownSync(path,uid,gid){this.volume.lchownSync(path,uid,gid)}link(existingPath,newPath,callback){this.volume.link(existingPath,newPath,callback)}linkSync(existingPath,newPath){this.volume.linkSync(existingPath,newPath)}lstat(path,callback){this.volume.lstat(path,callback)}lstatSync(path){return this.volume.lstatSync(path)}mkdir(path,options,callback){this.volume.mkdir(path,options,callback)}mkdirSync(path,options){this.volume.mkdirSync(path,options)}mkdtemp(prefix,options,callback){this.volume.mkdtemp(prefix,options,callback)}mkdtempSync(prefix,options){return this.volume.mkdtempSync(prefix,options)}open(path,flags,mode,callback){this.volume.open(path,flags,mode,callback)}openSync(path,flags,mode){return this.volume.openSync(path,flags,mode)}read(fd,buffer,offset,length,position,callback){this.volume.read(fd,buffer,offset,length,position,callback)}readFile(path,options,callback){}readFileSync(path,options){return this.volume.readFileSync(path)}readSync(fd,buffer,offset,length,position){return this.volume.readSync(fd,buffer,offset,length,position)}readdir(path,options,callback){this.volume.readdir(path,options,callback)}readdirSync(path,options){return this.volume.readdirSync(path,options)}readlink(path,options,callback){this.volume.readlink(path,options,callback)}readlinkSync(path,options){return this.volume.readlinkSync(path,options)}realpath(path,options,callback){this.volume.realpath(path,options,callback)}realpathSync(path,options){return this.volume.realpathSync(path,options)}rename(oldPath,newPath,callback){this.volume.rename(oldPath,newPath,callback)}renameSync(oldPath,newPath){this.volume.renameSync(oldPath,newPath)}rmdir(path,callback){this.volume.rmdir(path,callback)}rmdirSync(path){this.volume.rmdirSync(path)}stat(path,callback){this.volume.stat(path,callback)}statSync(path){return this.volume.statSync(path)}symlink(target,path,type,callback){this.volume.symlink(target,path,type,callback)}symlinkSync(target,path,type){this.volume.symlinkSync(target,path,type)}truncate(path,len,callback){this.volume.truncate(path,len,callback)}truncateSync(path,len){this.volume.truncateSync(path,len)}unlink(path,callback){this.volume.unlink(path,callback)}unlinkSync(path){this.volume.unlinkSync(path)}unwatchFile(filename,listener){this.volume.unwatchFile(filename,listener)}utimes(path,atime,mtime,callback){this.volume.utimes(path,atime,mtime,callback)}utimesSync(path,atime,mtime){this.volume.utimesSync(path,atime,mtime)}watch(filename,options,listener){return this.volume.watch(filename,options,listener)}watchFile(filename,options,listener){this.volume.watchFile(filename,options,listener)}writeFile(path,data,options,callback){this.volume.writeFile(path,data,options)}writeFileSync(path,data,options){this.volume.writeFileSync(path,data,options)}writeSync(fd,buffer,offset,length,position){return this.volume.writeSync(fd,buffer,offset,length,position)}write(fd,buffer,offset,length,position,callback){this.write(fd,buffer,offset,length,position,callback)}}exports.MemoryFS=MemoryFS},90658:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Row=void 0;var row_1=__webpack_require__(4762);Object.defineProperty(exports,"Row",{enumerable:!0,get:function(){return row_1.Row}})},4762: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.Row=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),row_module_scss_1=__importDefault(__webpack_require__(90251));function Row(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(row_module_scss_1.default.row,className)},rest),children)}exports.Row=Row},6231:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NavigationProvider=exports.useNavigation=exports.useNavigate=exports.useLocation=exports.Link=void 0;var link_1=__webpack_require__(99981);Object.defineProperty(exports,"Link",{enumerable:!0,get:function(){return link_1.Link}});var use_location_1=__webpack_require__(18750);Object.defineProperty(exports,"useLocation",{enumerable:!0,get:function(){return use_location_1.useLocation}});var use_navigate_1=__webpack_require__(94671);Object.defineProperty(exports,"useNavigate",{enumerable:!0,get:function(){return use_navigate_1.useNavigate}});var navigation_provider_1=__webpack_require__(85258);Object.defineProperty(exports,"useNavigation",{enumerable:!0,get:function(){return navigation_provider_1.useNavigation}}),Object.defineProperty(exports,"NavigationProvider",{enumerable:!0,get:function(){return navigation_provider_1.NavigationProvider}})},99981: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.Link=void 0;const react_1=__importStar(__webpack_require__(59496)),navigation_provider_1=__webpack_require__(85258),native_link_1=__webpack_require__(75473);exports.Link=(0,react_1.forwardRef)(function(props,ref){const ActualLink=(0,navigation_provider_1.useNavigation)().Link||native_link_1.NativeLink;return props.native||props.external?react_1.default.createElement(native_link_1.NativeLink,Object.assign({},props,{ref})):react_1.default.createElement(ActualLink,Object.assign({},props,{ref}))})},75473: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.NativeLink=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_routing_compare_url_1=__webpack_require__(50194),use_location_1=__webpack_require__(18750),externalLinkAttributes={rel:"noopener",target:"_blank"};exports.NativeLink=(0,react_1.forwardRef)(function(_a,ref){var{className,style,activeClassName,activeStyle,active,strict,exact,href,external,native,state}=_a,rest=__rest(_a,["className","style","activeClassName","activeStyle","active","strict","exact","href","external","native","state"]);const location=(0,use_location_1.useLocation)(),shouldCalcActive=!!activeClassName||!!activeStyle,isActive=(0,react_1.useMemo)(()=>shouldCalcActive?typeof active=="boolean"?active:!location||!href?!1:(0,base_ui_routing_compare_url_1.compareUrl)(location.pathname,href,{exact,strict}):!1,[active,href,location,shouldCalcActive]),externalProps=external?externalLinkAttributes:{},combinedStyles=(0,react_1.useMemo)(()=>isActive&&activeStyle?Object.assign(Object.assign({},style),activeStyle):style,[isActive,style]);return react_1.default.createElement("a",Object.assign({},externalProps,rest,{ref,href,className:(0,classnames_1.default)(className,isActive&&activeClassName),style:combinedStyles}))})},85258: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.NavigationProvider=exports.useNavigation=exports.NavigationContext=void 0;const react_1=__importStar(__webpack_require__(59496));exports.NavigationContext=react_1.default.createContext({});function useNavigation(){return(0,react_1.useContext)(exports.NavigationContext)}exports.useNavigation=useNavigation;function NavigationProvider({children,implementation}){return react_1.default.createElement(exports.NavigationContext.Provider,{value:implementation},children)}exports.NavigationProvider=NavigationProvider},18750:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLocation=void 0;const navigation_provider_1=__webpack_require__(85258);function useLocation(){return((0,navigation_provider_1.useNavigation)().useLocation||NativeUseLocation)()}exports.useLocation=useLocation;function NativeUseLocation(){if(!(typeof window>"u"))return window.location}},94671:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNavigate=void 0;const navigation_provider_1=__webpack_require__(85258);function useNavigate(){var _a;const nav=(0,navigation_provider_1.useNavigation)();return((_a=nav.useNavigate)===null||_a===void 0?void 0:_a.call(nav))||nativeNavigator}exports.useNavigate=useNavigate;function nativeNavigator(target,{replace}={}){if(typeof window>"u")throw new Error("base-react.navigation.use-location - cannot use native navigator outside of browser. Inject a custom useNavigate, or use navigation after mount");const{location,history}=window;typeof target=="number"?history.go(target):replace?location.replace(target):location.assign(target)}},63281: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]}),__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.computeCssVars=exports.createThemeProvider=void 0;const react_1=__importStar(__webpack_require__(59496));function createThemeProvider(ThemeContext,options){return _a=>{var{children,overrides,style}=_a,rest=__rest(_a,["children","overrides","style"]);const theme=(0,react_1.useMemo)(()=>Object.assign(Object.assign({},options.theme),overrides),[options.theme,overrides]);if(options.withoutCssVars)return react_1.default.createElement(ThemeContext.Provider,{value:theme},children);const cssVars=computeCssVars(theme,options.prefix);return react_1.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},cssVars),style)},rest),react_1.default.createElement(ThemeContext.Provider,{value:theme},children))}}exports.createThemeProvider=createThemeProvider;function computeCssVars(theme,prefix){return Object.entries(theme).map(([key,val])=>{const varName=key.replace(/[A-Z]/g,"-$&").toLowerCase();return[prefix?`--${prefix}-${varName}`:`--${varName}`,val]}).reduce((acc,[key,val])=>(acc[key]=val,acc),{})}exports.computeCssVars=computeCssVars},26375:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTheme=void 0;const react_1=__webpack_require__(59496),create_theme_provider_1=__webpack_require__(63281);function createTheme({theme,prefix,withoutCssVars}){const ThemeContext=(0,react_1.createContext)(theme);return{ThemeProvider:(0,create_theme_provider_1.createThemeProvider)(ThemeContext,{theme,prefix,withoutCssVars}),useTheme:()=>(0,react_1.useContext)(ThemeContext)}}exports.createTheme=createTheme},14111:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTheme=void 0;var create_theme_1=__webpack_require__(26375);Object.defineProperty(exports,"createTheme",{enumerable:!0,get:function(){return create_theme_1.createTheme}})},15567:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ThemeToggler=exports.useThemePicker=exports.useThemeByName=exports.useNextTheme=exports.ThemePickerContext=exports.ThemeSwitcher=void 0;var theme_switcher_1=__webpack_require__(61617);Object.defineProperty(exports,"ThemeSwitcher",{enumerable:!0,get:function(){return theme_switcher_1.ThemeSwitcher}});var theme_picker_context_1=__webpack_require__(68668);Object.defineProperty(exports,"ThemePickerContext",{enumerable:!0,get:function(){return theme_picker_context_1.ThemePickerContext}}),Object.defineProperty(exports,"useNextTheme",{enumerable:!0,get:function(){return theme_picker_context_1.useNextTheme}}),Object.defineProperty(exports,"useThemeByName",{enumerable:!0,get:function(){return theme_picker_context_1.useThemeByName}}),Object.defineProperty(exports,"useThemePicker",{enumerable:!0,get:function(){return theme_picker_context_1.useThemePicker}});var theme_toggler_1=__webpack_require__(87718);Object.defineProperty(exports,"ThemeToggler",{enumerable:!0,get:function(){return theme_toggler_1.ThemeToggler}})},68668:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNextTheme=exports.useThemeByName=exports.useThemePicker=exports.ThemePickerContext=void 0;const react_1=__webpack_require__(59496);exports.ThemePickerContext=(0,react_1.createContext)(void 0);function useThemePicker(){return(0,react_1.useContext)(exports.ThemePickerContext)}exports.useThemePicker=useThemePicker;function useThemeByName(themeName){const themes=useThemePicker();if(!(!themeName||!themes))return themes.options.find(theme=>theme.themeName===themeName)}exports.useThemeByName=useThemeByName;function useNextTheme(){const themes=useThemePicker();return(0,react_1.useCallback)(()=>{if(!themes)return;const{options,setTheme,currentIdx}=themes,nextIdx=(currentIdx+1)%options.length,next=options[nextIdx];setTheme(next)},[themes])}exports.useNextTheme=useNextTheme},61617: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]}),__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.ThemeSwitcher=void 0;const react_1=__importStar(__webpack_require__(59496)),theme_picker_context_1=__webpack_require__(68668);function ThemeSwitcher(_a){var{children,themes,activeTheme,handleThemeChange,defaultTheme}=_a,props=__rest(_a,["children","themes","activeTheme","handleThemeChange","defaultTheme"]);let explicitValue=typeof activeTheme=="string"?themes.find(x=>x.themeName===activeTheme):activeTheme;const getInitialOption=()=>explicitValue||defaultTheme&&themes.find(x=>x.themeName===defaultTheme)||themes[0],[theme,setTheme]=(0,react_1.useState)(getInitialOption),currentTheme=explicitValue||theme,picker={setTheme:themeTarget=>{handleThemeChange?.(themeTarget),setTheme(()=>themeTarget)},current:currentTheme,get currentIdx(){return this.current?this.options.indexOf(this.current):-1},options:themes},Provider=currentTheme,forwardProps=props;return react_1.default.createElement(theme_picker_context_1.ThemePickerContext.Provider,{value:picker},Provider?react_1.default.createElement(Provider,Object.assign({},forwardProps),children):children)}exports.ThemeSwitcher=ThemeSwitcher},87718: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.ThemeToggler=void 0;const react_1=__importDefault(__webpack_require__(59496)),theme_picker_context_1=__webpack_require__(68668);function ThemeToggler(_a){var{onClick}=_a,props=__rest(_a,["onClick"]);const applyNextTheme=(0,theme_picker_context_1.useNextTheme)(),handleClick=e=>{onClick?.(e),!e.defaultPrevented&&applyNextTheme()};return react_1.default.createElement("button",Object.assign({},props,{onClick:handleClick}))}exports.ThemeToggler=ThemeToggler},24708:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},63368: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.elevationClass=void 0;const elevations_module_scss_1=__importDefault(__webpack_require__(8897));__exportStar(__webpack_require__(24708),exports),exports.elevationClass={low:elevations_module_scss_1.default.low,medium:elevations_module_scss_1.default.medium,high:elevations_module_scss_1.default.high,none:void 0}},54187:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},75210: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.elevationClass=void 0;const elevations_module_scss_1=__importDefault(__webpack_require__(88026));__exportStar(__webpack_require__(54187),exports),exports.elevationClass={low:elevations_module_scss_1.default.low,medium:elevations_module_scss_1.default.medium,high:elevations_module_scss_1.default.high,none:void 0}},69725: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.roundnessClass=void 0;const roundness_module_scss_1=__importDefault(__webpack_require__(76455));__exportStar(__webpack_require__(71760),exports),exports.roundnessClass={circle:roundness_module_scss_1.default.circle,default:roundness_module_scss_1.default.default,small:roundness_module_scss_1.default.small,medium:roundness_module_scss_1.default.medium,sharp:roundness_module_scss_1.default.sharp}},71760:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},78676: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.DotsLoader=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),dots_loader_module_scss_1=__importDefault(__webpack_require__(52372));function DotsLoader(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("span",Object.assign({},rest,{className:classnames_1.default(className,dots_loader_module_scss_1.default.dotsLoader)}),react_1.default.createElement("span",null,"\u25CF"),react_1.default.createElement("span",null,"\u25CF"),react_1.default.createElement("span",null,"\u25CF"))}exports.DotsLoader=DotsLoader},62656: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__(78676),exports)},33472: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.BaseIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754));function BaseIcon(_a){var{of:iconName,className}=_a,rest=__rest(_a,["of","className"]);return react_1.default.createElement("span",Object.assign({"data-bit-id":"teambit.base-ui/elements/icon",className:classnames_1.default(iconName,className)},rest))}exports.BaseIcon=BaseIcon},34211: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__(33472),exports)},17905:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClickOutside=void 0;const react_1=__webpack_require__(59496);class ClickOutside extends react_1.Component{constructor(){super(...arguments);this.listener=event=>{const{targetRef,handler}=this.props,element=event.target;!targetRef.current||!element||targetRef.current.contains(element)||handler(event)}}componentDidMount(){this.props.enabled&&this.enable()}componentWillUnmount(){this.disable()}componentDidUpdate(prevProps){const nextProps=this.props;prevProps.enabled!==nextProps.enabled&&(nextProps.enabled?this.enable():this.disable())}enable(){document.addEventListener("mousedown",this.listener),document.addEventListener("touchstart",this.listener)}disable(){document.removeEventListener("mousedown",this.listener),document.removeEventListener("touchstart",this.listener)}render(){return null}}exports.ClickOutside=ClickOutside,ClickOutside.defaultProps={enabled:!0}},91546:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useClickOutside=exports.ClickOutside=void 0;var click_outside_1=__webpack_require__(17905);Object.defineProperty(exports,"ClickOutside",{enumerable:!0,get:function(){return click_outside_1.ClickOutside}});var use_click_outside_1=__webpack_require__(20469);Object.defineProperty(exports,"useClickOutside",{enumerable:!0,get:function(){return use_click_outside_1.useClickOutside}})},20469:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useClickOutside=void 0;const react_1=__webpack_require__(59496);function useClickOutside(ref,handler,enabled=!0){react_1.useEffect(()=>{const listener=event=>{const element=event.target;!ref.current||!element||ref.current.contains(element)||handler(event)};return enabled&&(document.addEventListener("mousedown",listener),document.addEventListener("touchstart",listener)),()=>{document.removeEventListener("mousedown",listener),document.removeEventListener("touchstart",listener)}},[ref,handler,enabled])}exports.useClickOutside=useClickOutside},54841:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClickOutside=void 0;const react_1=__webpack_require__(59496);class ClickOutside extends react_1.Component{constructor(){super(...arguments);this.listener=event=>{const{targetRef,handler}=this.props,element=event.target;!targetRef.current||!element||targetRef.current.contains(element)||handler(event)}}componentDidMount(){this.props.enabled&&this.enable()}componentWillUnmount(){this.disable()}componentDidUpdate(prevProps){const nextProps=this.props;prevProps.enabled!==nextProps.enabled&&(nextProps.enabled?this.enable():this.disable())}enable(){document.addEventListener("mousedown",this.listener),document.addEventListener("touchstart",this.listener)}disable(){document.removeEventListener("mousedown",this.listener),document.removeEventListener("touchstart",this.listener)}render(){return null}}exports.ClickOutside=ClickOutside,ClickOutside.defaultProps={enabled:!0}},31354:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useClickOutside=exports.ClickOutside=void 0;var click_outside_1=__webpack_require__(54841);Object.defineProperty(exports,"ClickOutside",{enumerable:!0,get:function(){return click_outside_1.ClickOutside}});var use_click_outside_1=__webpack_require__(14031);Object.defineProperty(exports,"useClickOutside",{enumerable:!0,get:function(){return use_click_outside_1.useClickOutside}})},14031:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useClickOutside=void 0;const react_1=__webpack_require__(59496);function useClickOutside(ref,handler,enabled=!0){(0,react_1.useEffect)(()=>{const listener=event=>{const element=event.target;!ref.current||!element||ref.current.contains(element)||handler(event)};return enabled&&(document.addEventListener("mousedown",listener),document.addEventListener("touchstart",listener)),()=>{document.removeEventListener("mousedown",listener),document.removeEventListener("touchstart",listener)}},[ref,handler,enabled])}exports.useClickOutside=useClickOutside},21126: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]}),__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});const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),button_module_scss_1=__importDefault(__webpack_require__(14506)),base_ui_elements_dots_loader_1=__webpack_require__(62656);class Button extends react_1.Component{constructor(){super(...arguments);this.state={isLoading:!1},this.activePromises=new Set,this.unmounted=!1,this.handleClick=event=>{const{onClick}=this.props;if(!onClick)return;this.setState({isLoading:!0});const promise=Promise.resolve(onClick.call(this,event)).catch(()=>{});this.activePromises.add(promise),promise.then(()=>this.handleResolve(promise))}}componentWillUnmount(){this.unmounted=!0,this.activePromises=new Set}handleResolve(p){this.unmounted||(this.activePromises.delete(p),this.activePromises.size===0&&this.setState({isLoading:!1}))}render(){const _a=this.props,{onClick,className,children,loader,loading,disabled,activeWhenLoading=!1}=_a,rest=__rest(_a,["onClick","className","children","loader","loading","disabled","activeWhenLoading"]),isLoading=loading!==void 0&&loading||this.state.isLoading,content=isLoading?loader:children,disabledByLoading=isLoading&&!activeWhenLoading;return react_1.default.createElement("button",Object.assign({"data-bit-id":"teambit.base-ui/input/button"},rest,{disabled:disabled||disabledByLoading,onClick:this.handleClick,className:(0,classnames_1.default)(className,button_module_scss_1.default.vanillaButton)}),content)}}exports.default=Button,Button.defaultProps={loader:react_1.default.createElement(base_ui_elements_dots_loader_1.DotsLoader,null),loading:!1}},22319: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var button_1=__webpack_require__(21126);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(button_1).default}}),__exportStar(__webpack_require__(21126),exports)},25105: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.Error=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),error_module_scss_1=__importDefault(__webpack_require__(11199));function Error2(props){const{className,children}=props,rest=__rest(props,["className","children"]);return children?react_1.default.createElement("div",Object.assign({className:classnames_1.default(error_module_scss_1.default.error,className)},rest),children):null}exports.Error=Error2},75006: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__(25105),exports)},77338: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.colGridXl=exports.colGridLg=exports.colGridL=exports.colGridMd=exports.colGridSm=exports.colGridXs=exports.colGrid=void 0;const grid_template_module_scss_1=__importDefault(__webpack_require__(3404));exports.colGrid=makePreset("all"),exports.colGridXs=makePreset("xs"),exports.colGridSm=makePreset("sm"),exports.colGridMd=makePreset("md"),exports.colGridL=makePreset("l"),exports.colGridLg=makePreset("lg"),exports.colGridXl=makePreset("xl");function makePreset(breakPoints){const obj={};for(var i=1;i<=12;i++)obj[i]=grid_template_module_scss_1.default[`colTemplate--${breakPoints}-${i}`];return obj}},66386: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.Grid=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),grid_module_scss_1=__importDefault(__webpack_require__(21582)),grid_template_1=__webpack_require__(77338);class Grid extends react_1.PureComponent{render(){const _a=this.props,{className,col,colL,colLg,colMd,colSm,colXl,colXs}=_a,rest=__rest(_a,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),classes=[className,grid_module_scss_1.default.gridContainer];return col!==void 0&&classes.push(grid_template_1.colGrid[col]),colL!==void 0&&classes.push(grid_template_1.colGridL[colL]),colLg!==void 0&&classes.push(grid_template_1.colGridLg[colLg]),colMd!==void 0&&classes.push(grid_template_1.colGridMd[colMd]),colSm!==void 0&&classes.push(grid_template_1.colGridSm[colSm]),colXl!==void 0&&classes.push(grid_template_1.colGridXl[colXl]),colXs!==void 0&&classes.push(grid_template_1.colGridXs[colXs]),react_1.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},rest,{className:(0,classnames_1.default)(...classes)}))}}exports.Grid=Grid},95420:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},exports.r=void 0;var grid_1=__webpack_require__(66386);Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return grid_1.Grid}})},68459: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.textColumn=exports.wideColumn=exports.centerColumn=void 0;const page_frame_module_scss_1=__importDefault(__webpack_require__(82920));exports.centerColumn=page_frame_module_scss_1.default.centerColumn,exports.wideColumn=page_frame_module_scss_1.default.wideColumn,exports.textColumn=page_frame_module_scss_1.default.textColumn},20298:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WordSkeleton=exports.LineSkeleton=exports.CircleSkeleton=exports.BlockSkeleton=exports.Skeleton=void 0;var skeleton_1=__webpack_require__(4267);Object.defineProperty(exports,"Skeleton",{enumerable:!0,get:function(){return skeleton_1.Skeleton}}),Object.defineProperty(exports,"BlockSkeleton",{enumerable:!0,get:function(){return skeleton_1.BlockSkeleton}}),Object.defineProperty(exports,"CircleSkeleton",{enumerable:!0,get:function(){return skeleton_1.CircleSkeleton}}),Object.defineProperty(exports,"LineSkeleton",{enumerable:!0,get:function(){return skeleton_1.LineSkeleton}}),Object.defineProperty(exports,"WordSkeleton",{enumerable:!0,get:function(){return skeleton_1.WordSkeleton}})},4267: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.title=exports.BlockSkeleton=exports.CircleSkeleton=exports.LineSkeleton=exports.WordSkeleton=exports.Skeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),skeleton_module_scss_1=__importDefault(__webpack_require__(91695)),skeleton_design_module_scss_1=__importDefault(__webpack_require__(40989)),NBSP="\xA0";function Skeleton(_a){var{designClass=skeleton_design_module_scss_1.default.skeleton,className}=_a,rest=__rest(_a,["designClass","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.skeleton,designClass,className)}))}exports.Skeleton=Skeleton;function WordSkeleton(_a){var{length=5,designClass=skeleton_design_module_scss_1.default.word,className,style}=_a,rest=__rest(_a,["length","designClass","className","style"]);return react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.word,className,designClass),style:Object.assign({},style)}),react_1.default.createElement("span",null,Array.from({length}).map(()=>NBSP)))}exports.WordSkeleton=WordSkeleton;function LineSkeleton(_a){var{width,count=1,designClass=skeleton_design_module_scss_1.default.line,className,style}=_a,rest=__rest(_a,["width","count","designClass","className","style"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.line,designClass,className),style:Object.assign({width},style)}),Array.from({length:count}).map((x,index)=>react_1.default.createElement("div",{key:index},NBSP)))}exports.LineSkeleton=LineSkeleton;function CircleSkeleton(_a){var{size=2,designClass=skeleton_design_module_scss_1.default.circle,className,style}=_a,rest=__rest(_a,["size","designClass","className","style"]);return react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.circle,className,designClass),style:Object.assign({height:`${size}em`,width:`${size}em`,lineHeight:size},style)}),NBSP)}exports.CircleSkeleton=CircleSkeleton;function BlockSkeleton(_a){var{lines=5,designClass=skeleton_design_module_scss_1.default.block,className,style}=_a,rest=__rest(_a,["lines","designClass","className","style"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(skeleton_module_scss_1.default.block,designClass,className),style:Object.assign({height:`${lines}em`},style)}))}exports.BlockSkeleton=BlockSkeleton;function title(){return react_1.default.createElement("div",{style:{marginBottom:"1em"}},react_1.default.createElement(WordSkeleton,{style:{fontSize:18}}))}exports.title=title},18669: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.compareUrl=void 0;const url_parse_1=__importDefault(__webpack_require__(52296));function compareUrl(baseUrl,toMatchUrl,{exact,strict}={}){if(baseUrl===toMatchUrl)return!0;strict||(baseUrl=baseUrl.replace(/\/(?=[?#]|$)/,""),toMatchUrl=toMatchUrl.replace(/\/(?=[?#]|$)/,""));const base=(0,url_parse_1.default)(baseUrl),match=(0,url_parse_1.default)(toMatchUrl),subUrl=isSubUrl(base,match),exactMatch=!exact||isExactMatch(base,match),strictMatch=!strict||isStrictMatch(base,match);return subUrl&&exactMatch&&strictMatch}exports.compareUrl=compareUrl;function isSubUrl(base,match){return(!match.protocol||match.protocol===base.protocol)&&(!match.hostname||match.hostname===base.hostname)&&(!match.port||match.port===base.port)&&(!match.pathname||base.pathname.startsWith(match.pathname))&&(!match.query||isSubObject(match.query,base.query))&&(!match.hash||match.hash===base.hash)&&(!match.password||match.password===base.password)&&(!match.username||match.username===base.username)}function isExactMatch(base,match){return(!match.pathname||base.pathname===match.pathname)&&(!match.query||isSubObject(base.query,match.query))}function isStrictMatch(base,match){return!match.pathname||base.pathname.endsWith("/")===match.pathname.endsWith("/")}function isSubObject(source,target){return Object.keys(source).every(key=>source[key]===target[key])}},50194:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareUrl=void 0;var compare_url_1=__webpack_require__(18669);Object.defineProperty(exports,"compareUrl",{enumerable:!0,get:function(){return compare_url_1.compareUrl}})},15764: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.flexCenter=void 0;const flex_center_module_scss_1=__importDefault(__webpack_require__(17957));exports.flexCenter=flex_center_module_scss_1.default.flexCenter},84399: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]}),__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.Containee=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_create_ref_1=__importDefault(__webpack_require__(32398)),abs_container_module_scss_1=__importDefault(__webpack_require__(59467)),positions_module_scss_1=__importDefault(__webpack_require__(87109)),displacement_module_scss_1=__importDefault(__webpack_require__(8769));class Containee extends react_1.Component{constructor(){super(...arguments);this.ref=react_create_ref_1.default()}render(){const _a=this.props,{className,position="bottom"}=_a,rest=__rest(_a,["className","position"]),positionClass=positions_module_scss_1.default[position],displacement=displacement_module_scss_1.default.displacement;return react_1.default.createElement("div",Object.assign({ref:this.ref,className:classnames_1.default(abs_container_module_scss_1.default.containee,displacement,positionClass,className),"data-position":position},rest))}}exports.Containee=Containee},8094: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__(84399),exports)},60499: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]}),__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.Container=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),abs_container_module_scss_1=__importDefault(__webpack_require__(59467));exports.Container=react_1.forwardRef(function(_a,ref){var{className,open}=_a,rest=__rest(_a,["className","open"]);return react_1.default.createElement("div",Object.assign({ref,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open},rest))})},13303: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__(60499),exports)},67737: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.containeeClass=exports.containerClass=void 0;const abs_container_module_scss_1=__importDefault(__webpack_require__(59467));__exportStar(__webpack_require__(8094),exports),__exportStar(__webpack_require__(13303),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},77787: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]}),__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.Containee=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_create_ref_1=__importDefault(__webpack_require__(32398)),abs_container_module_scss_1=__importDefault(__webpack_require__(13900)),positions_module_scss_1=__importDefault(__webpack_require__(58658)),displacement_module_scss_1=__importDefault(__webpack_require__(33931));class Containee extends react_1.Component{constructor(){super(...arguments);this.ref=react_create_ref_1.default()}render(){const _a=this.props,{className,position="bottom"}=_a,rest=__rest(_a,["className","position"]),positionClass=positions_module_scss_1.default[position],displacement=displacement_module_scss_1.default.displacement;return react_1.default.createElement("div",Object.assign({ref:this.ref,className:classnames_1.default(abs_container_module_scss_1.default.containee,displacement,positionClass,className),"data-position":position},rest))}}exports.Containee=Containee},72822: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__(77787),exports)},79494: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.Container=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),abs_container_module_scss_1=__importDefault(__webpack_require__(13900));function Container(_a){var{className,open,margin,indent,forwardRef,style}=_a,rest=__rest(_a,["className","open","margin","indent","forwardRef","style"]);return react_1.default.createElement("div",Object.assign({ref:forwardRef,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open,style:addDisplacement(margin,indent,style)},rest))}exports.Container=Container;function addDisplacement(margin,indent,baseStyles){if(!margin&&!indent)return baseStyles;const displacement={"--bit-drawer-margin":pixalize(margin),"--bit-drawer-indent":pixalize(indent)};return Object.assign(Object.assign({},baseStyles),displacement)}function pixalize(value){return typeof value=="number"?`${value}px`:value}},21048: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__(79494),exports)},63146: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)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.containeeClass=exports.containerClass=void 0;const abs_container_module_scss_1=__importDefault(__webpack_require__(13900));__exportStar(__webpack_require__(72822),exports),__exportStar(__webpack_require__(21048),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},84733: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.backgrounds=void 0;const background_module_scss_1=__importDefault(__webpack_require__(52484));exports.backgrounds={bedrock:background_module_scss_1.default.bedrock,base:background_module_scss_1.default.base,layer:background_module_scss_1.default.layer,crust:background_module_scss_1.default.crust,topping:background_module_scss_1.default.topping,dent:background_module_scss_1.default.dent}},79300: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.backgrounds=void 0;const background_module_scss_1=__importDefault(__webpack_require__(98202));exports.backgrounds={bedrock:background_module_scss_1.default.bedrock,base:background_module_scss_1.default.base,layer:background_module_scss_1.default.layer,crust:background_module_scss_1.default.crust,topping:background_module_scss_1.default.topping,dent:background_module_scss_1.default.dent}},75882: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.Card=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),card_module_scss_1=__importDefault(__webpack_require__(65614)),base_ui_css_components_elevation_1=__webpack_require__(63368),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(84733);function Card(_a){var{className,elevation="low",roundness="default"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/surfaces/card",className:classnames_1.default(card_module_scss_1.default.card,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest))}exports.Card=Card,Card.defaultProps={elevation:"low",roundness:"default"}},19537: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__(75882),exports)},59339: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.DefaultPlaceholder=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),drawer_module_scss_1=__importDefault(__webpack_require__(24421));function DefaultPlaceholder(props){return react_1.default.createElement("div",Object.assign({},props,{className:classnames_1.default(props.className,drawer_module_scss_1.default.placeholder)}))}exports.DefaultPlaceholder=DefaultPlaceholder},40953: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]}),__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.Drawer=void 0;const react_1=__importStar(__webpack_require__(59496)),base_ui_surfaces_abs_container_1=__webpack_require__(67737),base_ui_hook_use_click_outside_1=__webpack_require__(91546),react_create_ref_1=__importDefault(__webpack_require__(32398)),default_placeholder_1=__webpack_require__(59339);class Drawer extends react_1.Component{constructor(){super(...arguments);this.state={isOpen:this.props.open||!1},this.ref=react_create_ref_1.default(),this.toggle=evt=>{const{isOpen}=this.state,nextOpen=!isOpen;this.isControlled||this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.close=evt=>{const{isOpen}=this.state,nextOpen=!1;!this.isControlled&&isOpen&&this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.open=evt=>{const{isOpen}=this.state,nextOpen=!0;!this.isControlled&&!isOpen&&this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(nextProps){this.props.open!==nextProps.open&&nextProps.open!==void 0&&this.setState({isOpen:nextProps.open})}get isControlled(){return this.props.open!==void 0}render(){const _a=this.props,{placeholder,children,PlaceholderComponent=default_placeholder_1.DefaultPlaceholder,clickOutside,onMouseEnter,onMouseLeave,open,hoverToOpen,clickPlaceholderToggles,clickToggles,onChange,onPlaceholderToggle,onContainerToggle,onContaineeToggle,onClickOutside}=_a,rest=__rest(_a,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen}=this.state;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Container,Object.assign({},rest,{ref:this.ref,open:isOpen,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),children,react_1.default.createElement(PlaceholderComponent,{onClick:this.handlePlaceholderClick},placeholder),react_1.default.createElement(base_ui_hook_use_click_outside_1.ClickOutside,{targetRef:this.ref,enabled:!!clickOutside&&isOpen,handler:this.handleClickOutside}))}}exports.Drawer=Drawer,Drawer.defaultProps={PlaceholderComponent:default_placeholder_1.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},914: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__(40953),exports)},42527: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.DefaultPlaceholder=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),drawer_module_scss_1=__importDefault(__webpack_require__(9592));function DefaultPlaceholder(props){return react_1.default.createElement("div",Object.assign({},props,{className:(0,classnames_1.default)(props.className,drawer_module_scss_1.default.placeholder)}))}exports.DefaultPlaceholder=DefaultPlaceholder},9931: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]}),__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.Drawer=void 0;const react_1=__importStar(__webpack_require__(59496)),base_ui_surfaces_abs_container_1=__webpack_require__(63146),base_ui_hook_use_click_outside_1=__webpack_require__(31354),react_create_ref_1=__importDefault(__webpack_require__(32398)),default_placeholder_1=__webpack_require__(42527);class Drawer extends react_1.Component{constructor(){super(...arguments);this.state={isOpen:this.props.open||!1},this.ref=(0,react_create_ref_1.default)(),this.toggle=evt=>{const{isOpen}=this.state,nextOpen=!isOpen;this.isControlled||this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.close=evt=>{const{isOpen}=this.state,nextOpen=!1;!this.isControlled&&isOpen&&this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.open=evt=>{const{isOpen}=this.state,nextOpen=!0;!this.isControlled&&!isOpen&&this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(nextProps){this.props.open!==nextProps.open&&nextProps.open!==void 0&&this.setState({isOpen:nextProps.open})}get isControlled(){return this.props.open!==void 0}render(){const _a=this.props,{placeholderContent="",children,clickOutside,onMouseEnter,onMouseLeave,open,hoverToOpen,clickPlaceholderToggles,clickToggles,onChange,onPlaceholderToggle,onContainerToggle,onContaineeToggle,onClickOutside}=_a,rest=__rest(_a,["placeholderContent","children","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen}=this.state;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Container,Object.assign({},rest,{forwardRef:this.ref,open:isOpen,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),children,react_1.default.createElement(default_placeholder_1.DefaultPlaceholder,{onClick:this.handlePlaceholderClick},placeholderContent),react_1.default.createElement(base_ui_hook_use_click_outside_1.ClickOutside,{targetRef:this.ref,enabled:!!clickOutside&&isOpen,handler:this.handleClickOutside}))}}exports.Drawer=Drawer,Drawer.defaultProps={clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},38073: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__(9931),exports)},56007: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__(81154),exports)},81154: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.HoverSplitter=void 0;const base_ui_surfaces_split_pane_splitter_1=__webpack_require__(74601),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),splitter_module_scss_1=__importDefault(__webpack_require__(80410));function HoverSplitter(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(base_ui_surfaces_split_pane_splitter_1.Splitter,Object.assign({},rest,{className:classnames_1.default(splitter_module_scss_1.default.hoverSplitter,className)}),react_1.default.createElement("div",{className:splitter_module_scss_1.default.highlighter}),children)}exports.HoverSplitter=HoverSplitter},20949: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__(14783),exports)},14783:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default_layout=exports.layoutToggleMap=exports.Layout=exports.LayoutFeatures=void 0;var LayoutFeatures;(function(LayoutFeatures2){LayoutFeatures2.row="row",LayoutFeatures2.column="column",LayoutFeatures2.reverse="reverse",LayoutFeatures2.first="first",LayoutFeatures2.last="last"})(LayoutFeatures=exports.LayoutFeatures||(exports.LayoutFeatures={}));var Layout;(function(Layout2){Layout2.row="row",Layout2.rowReverse="row reverse",Layout2.column="column",Layout2.columnReverse="column reverse",Layout2.top="column first",Layout2.bottom="column last",Layout2.topReverse="column reverse first",Layout2.bottomReverse="column reverse last ",Layout2.left="row first",Layout2.right="row last",Layout2.leftReverse="row reverse first",Layout2.rightReverse="row reverse last"})(Layout=exports.Layout||(exports.Layout={})),exports.layoutToggleMap={[Layout.columnReverse]:Layout.row,[Layout.row]:Layout.columnReverse},exports.default_layout=Layout.row},16433: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__(78250),exports)},78250: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.Pane=void 0;const base_ui_surfaces_split_pane_layout_1=__webpack_require__(20949),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),pane_module_scss_1=__importDefault(__webpack_require__(57207));function Pane(_a){var{size,style,layout,className}=_a,rest=__rest(_a,["size","style","layout","className"]);const runtimeStyles={},sizeProp=layoutToStyle(layout);return sizeProp&&size!==void 0&&(runtimeStyles[sizeProp]=size,runtimeStyles.flexShrink=0),size===void 0&&(runtimeStyles.flexGrow=1,runtimeStyles.flexBasis=0),react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(pane_module_scss_1.default.pane,className),style:Object.assign(Object.assign({},style),runtimeStyles)}))}exports.Pane=Pane;function layoutToStyle(layout){if(!!layout){if(layout.includes(base_ui_surfaces_split_pane_layout_1.LayoutFeatures.column))return"height";if(layout.includes(base_ui_surfaces_split_pane_layout_1.LayoutFeatures.row))return"width"}}},49582:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.calcSplit=void 0;const base_ui_surfaces_split_pane_layout_1=__webpack_require__(20949);function calcSplit(snapshot,layout,defaultSize){let splitSize=calcPixels(snapshot,layout,defaultSize);return layout.includes(base_ui_surfaces_split_pane_layout_1.LayoutFeatures.reverse)&&splitSize.reverse(),(splitSize[0]===void 0||splitSize[1]===void 0)&&(splitSize=autoCalcComplementary(splitSize)),splitSize}exports.calcSplit=calcSplit;function autoCalcComplementary([a,b]){return a===void 0&&b===void 0?[void 0,void 0]:b===void 0?[a,calcComplemetSize(a)]:a===void 0?[calcComplemetSize(b),b]:[a,b]}function calcComplemetSize(size){if(size!==void 0){if(typeof size=="number")return`calc(100% - ${size}px)`;if(size.endsWith("px"))return`calc(100% - ${size})`;if(size.endsWith("%")){const sizeAsNumber=+size.replace("%","");return Number.isNaN(sizeAsNumber)?void 0:`${100-sizeAsNumber}%`}if(!Number.isNaN(+size))return`calc(100% - ${size}px)`}}function calcPixels(snapshot,layout,defaultSize){const{row,column,first,last}=base_ui_surfaces_split_pane_layout_1.LayoutFeatures,features=new Set(layout.split(" "));return features.has(first)?["100%","0%"]:features.has(last)?["0%","100%"]:features.has(row)?snapshot?.x===void 0?calcDefaultSize(defaultSize):typeof defaultSize=="string"&&defaultSize.endsWith("%")?[`${100*snapshot.x/snapshot.width}%`,void 0]:[snapshot.x,void 0]:features.has(column)?snapshot?.y===void 0?calcDefaultSize(defaultSize):typeof defaultSize=="string"&&defaultSize.endsWith("%")?[`${100*snapshot.y/snapshot.height}%`,void 0]:[snapshot.y,void 0]:[void 0,void 0]}function calcDefaultSize(defaultSize){return defaultSize?typeof defaultSize=="number"&&defaultSize<0?[void 0,-defaultSize]:typeof defaultSize=="string"&&defaultSize.startsWith("-")?[void 0,defaultSize.substring(1)]:[defaultSize,void 0]:[void 0,void 0]}},4792: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}),exports.SplitPane=void 0,__exportStar(__webpack_require__(20949),exports),__exportStar(__webpack_require__(16433),exports),__exportStar(__webpack_require__(74601),exports);var split_pane_1=__webpack_require__(5283);Object.defineProperty(exports,"SplitPane",{enumerable:!0,get:function(){return split_pane_1.SplitPane}})},22808:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.limit=void 0;function limit(value,min,max){return min!==void 0&&value<min?min:max!==void 0&&value>max?max:value}exports.limit=limit},5283: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.SplitPane=void 0;const base_ui_surfaces_split_pane_layout_1=__webpack_require__(20949),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),calc_split_1=__webpack_require__(49582),split_pane_module_scss_1=__importDefault(__webpack_require__(30069)),use_drag_tracker_1=__webpack_require__(48550);function SplitPane(_a){var{layout=base_ui_surfaces_split_pane_layout_1.Layout.column,size="38%",className,children}=_a,rest=__rest(_a,["layout","size","className","children"]);const containerRef=react_1.default.createRef(),[snapshot,isDragging,setDragging]=use_drag_tracker_1.useDragTracker(containerRef),[A,B]=calc_split_1.calcSplit(snapshot,layout,size),[left,splitter,right]=children,leftWithSize=react_1.default.cloneElement(left,{size:A,layout}),rightWithSize=react_1.default.cloneElement(right,{size:B,layout}),splitterWithDrag=react_1.default.cloneElement(splitter,{onDragging:setDragging,isDragging});return react_1.default.createElement("div",Object.assign({},rest,{ref:containerRef,className:classnames_1.default(isDragging&&split_pane_module_scss_1.default.isDragging,split_pane_module_scss_1.default.splitPane,className),"data-is-dragging":isDragging,"data-split-layout":layout}),leftWithSize,splitterWithDrag,rightWithSize)}exports.SplitPane=SplitPane},32209:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toRelativePosition=void 0;const limit_1=__webpack_require__(22808);function toRelativePosition({clientX,clientY,element}){const boundingRect=element.getBoundingClientRect(),{left,top,width=1,height=1}=boundingRect,x=limit_1.limit(clientX-left,0,width),y=limit_1.limit(clientY-top,0,height);return{x,y,width,height}}exports.toRelativePosition=toRelativePosition},48550:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDragTracker=void 0;const react_1=__webpack_require__(59496),to_relative_position_1=__webpack_require__(32209),use_pointer_drag_1=__webpack_require__(65411);function useDragTracker(containerRef){const[snapshot,setSnapshot]=react_1.useState(void 0),handleDrag=react_1.useCallback(({clientX,clientY})=>{if(!containerRef.current)return;const position=to_relative_position_1.toRelativePosition({clientX,clientY,element:containerRef.current});setSnapshot(position)},[containerRef]),[isDragging,setDragging]=use_pointer_drag_1.useDragListener(handleDrag);return[snapshot,isDragging,setDragging]}exports.useDragTracker=useDragTracker},65411:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDragListener=void 0;const react_1=__webpack_require__(59496);function useDragListener(onDrag){const draggingState=react_1.useState(!1),[isDragging,setDragging]=draggingState;return react_1.useEffect(()=>{const handleTouchMove=e=>{const{touches}=e,mainTouch=touches[0];onDrag(mainTouch)},handleMouseMove=e=>{onDrag(e)},handleDragEnded=()=>{setDragging(!1)},handleMouseEnter=e=>{e&&e.buttons===1||handleDragEnded()};return isDragging&&(document.addEventListener("mousemove",handleMouseMove),document.addEventListener("mouseup",handleDragEnded),document.addEventListener("mouseenter",handleMouseEnter),document.addEventListener("touchend",handleDragEnded),document.addEventListener("touchmove",handleTouchMove),document.addEventListener("touchcancel",handleDragEnded)),()=>{document.removeEventListener("mousemove",handleMouseMove),document.removeEventListener("mouseup",handleDragEnded),document.removeEventListener("mouseenter",handleMouseEnter),document.removeEventListener("touchend",handleDragEnded),document.removeEventListener("touchmove",handleTouchMove),document.removeEventListener("touchcancel",handleDragEnded)}},[isDragging,onDrag]),draggingState}exports.useDragListener=useDragListener},74601: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__(14630),exports)},14630: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.Splitter=void 0;const classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),splitter_module_scss_1=__importDefault(__webpack_require__(28532));function Splitter(_a){var{onDragging,isDragging,className}=_a,rest=__rest(_a,["onDragging","isDragging","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(splitter_module_scss_1.default.splitter,className),onMouseDown:()=>onDragging?.(!0),onTouchStart:()=>onDragging?.(!0)}))}exports.Splitter=Splitter},20141: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.Heading=void 0;const react_1=__importDefault(__webpack_require__(59496));function Heading(props){const{element}=props,rest=__rest(props,["element"]),Element=element||"h1";return react_1.default.createElement(Element,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},rest))}exports.Heading=Heading,Heading.defaultProps={element:"h1"}},77739: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__(20141),exports)},57441: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.Heading=void 0;const react_1=__importDefault(__webpack_require__(59496));function Heading(_a){var{element="h1"}=_a,rest=__rest(_a,["element"]);const Element=element;return react_1.default.createElement(Element,Object.assign({"data-bit-id":"teambit.base-ui/text/heading"},rest))}exports.Heading=Heading},18660:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Heading=void 0;var heading_1=__webpack_require__(57441);Object.defineProperty(exports,"Heading",{enumerable:!0,get:function(){return heading_1.Heading}})},925: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__(37917),exports)},37917: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.mutedText=exports.MutedText=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),muted_text_module_scss_1=__importDefault(__webpack_require__(89718));function MutedText(props){return react_1.default.createElement("span",Object.assign({},props,{className:classnames_1.default(muted_text_module_scss_1.default.mutedText,props.className)}))}exports.MutedText=MutedText,exports.mutedText=muted_text_module_scss_1.default.mutedText},7954:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PossibleSizes=exports.Paragraph=void 0;var paragraph_1=__webpack_require__(65320);Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:function(){return paragraph_1.Paragraph}}),Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return paragraph_1.PossibleSizes}})},65320: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.Paragraph=exports.PossibleSizes=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_sizes_1=__webpack_require__(62086);Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return base_ui_theme_sizes_1.PossibleSizes}});const base_ui_text_text_sizes_1=__webpack_require__(75589);function Paragraph(_a){var{className,size,element:Element}=_a,rest=__rest(_a,["className","size","element"]);return react_1.default.createElement(Element,Object.assign({className:classnames_1.default(base_ui_text_text_sizes_1.textSize[size],className),"data-bit-id":"teambit.base-ui/text/paragraph"},rest))}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},71491:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PossibleSizes=exports.Paragraph=void 0;var paragraph_1=__webpack_require__(33909);Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:function(){return paragraph_1.Paragraph}}),Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return paragraph_1.PossibleSizes}})},33909: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.Paragraph=exports.PossibleSizes=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_sizes_1=__webpack_require__(62086);Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return base_ui_theme_sizes_1.PossibleSizes}});const base_ui_text_text_sizes_1=__webpack_require__(75589);function Paragraph(_a){var{className,size,element:Element}=_a,rest=__rest(_a,["className","size","element"]);return react_1.default.createElement(Element,Object.assign({className:classnames_1.default(base_ui_text_text_sizes_1.textSize[size],className),"data-bit-id":"teambit.base-ui/text/paragraph"},rest))}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},75589: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.textSize=void 0;const text_sizes_module_scss_1=__importDefault(__webpack_require__(29753)),sizes={xxs:text_sizes_module_scss_1.default.xxs,xs:text_sizes_module_scss_1.default.xs,sm:text_sizes_module_scss_1.default.sm,md:text_sizes_module_scss_1.default.md,lg:text_sizes_module_scss_1.default.lg,xl:text_sizes_module_scss_1.default.xl,xxl:text_sizes_module_scss_1.default.xxl};exports.textSize=sizes},64899: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__(45448),exports)},45448: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.themedText=exports.ThemedText=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),themed_text_module_scss_1=__importDefault(__webpack_require__(92177));function ThemedText(props){return react_1.default.createElement("span",Object.assign({},props,{className:classnames_1.default(props.className,themed_text_module_scss_1.default.themedText),"data-bit-id":"teambit.base-ui/text/themed-text"}))}exports.ThemedText=ThemedText,exports.themedText=themed_text_module_scss_1.default.themedText},63411: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.colorPalette=void 0;const accent_color_module_scss_1=__importDefault(__webpack_require__(8331));exports.colorPalette={primary:accent_color_module_scss_1.default.primary,complementary:accent_color_module_scss_1.default.complementary,neutral:accent_color_module_scss_1.default.neutral,neutralHeavy:accent_color_module_scss_1.default.emphasized,error:accent_color_module_scss_1.default.impulsive,warning:accent_color_module_scss_1.default.hungry,success:accent_color_module_scss_1.default.success,action:accent_color_module_scss_1.default.impulsive,consider:accent_color_module_scss_1.default.hungry,continue:accent_color_module_scss_1.default.success,process:accent_color_module_scss_1.default.process}},66509: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.buildStepPalette=void 0;const accent_color_module_scss_1=__importDefault(__webpack_require__(8331));exports.buildStepPalette={success:accent_color_module_scss_1.default.success,failure:accent_color_module_scss_1.default.impulsive,pending:accent_color_module_scss_1.default.neutral,processing:accent_color_module_scss_1.default.process,skipped:accent_color_module_scss_1.default.hungry,unknown:accent_color_module_scss_1.default.neutral,SUCCESS:accent_color_module_scss_1.default.success,FAILURE:accent_color_module_scss_1.default.impulsive,PENDING:accent_color_module_scss_1.default.neutral,PROCESSING:accent_color_module_scss_1.default.process,SKIPPED:accent_color_module_scss_1.default.hungry,UNKNOWN:accent_color_module_scss_1.default.neutral}},11796:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.buildStepPalette=exports.colorPalette=void 0;var accent_color_1=__webpack_require__(63411);Object.defineProperty(exports,"colorPalette",{enumerable:!0,get:function(){return accent_color_1.colorPalette}});var build_step_accents_1=__webpack_require__(66509);Object.defineProperty(exports,"buildStepPalette",{enumerable:!0,get:function(){return build_step_accents_1.buildStepPalette}})},58280: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.brands=void 0;const brand_definition_module_scss_1=__importDefault(__webpack_require__(49942)),{brands}=brand_definition_module_scss_1.default;exports.brands=brands},19829: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.primaryPalette=void 0;const color_definition_module_scss_1=__importDefault(__webpack_require__(16588)),{primaryPalette}=color_definition_module_scss_1.default;exports.primaryPalette=primaryPalette},12880: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.darkMode=void 0;const dark_theme_module_scss_1=__importDefault(__webpack_require__(44085));exports.darkMode=dark_theme_module_scss_1.default.darkMod},23895: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.bookFont=void 0;const book_font_module_scss_1=__importDefault(__webpack_require__(49646)),{bookFont}=book_font_module_scss_1.default;exports.bookFont=bookFont},31165: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__(30120),exports)},30120: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.Roboto=void 0;const react_1=__importDefault(__webpack_require__(59496)),Roboto=()=>react_1.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"});exports.Roboto=Roboto},50662: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.headingMargins=void 0;const heading_margin_definition_module_scss_1=__importDefault(__webpack_require__(40426)),{headingMargins}=heading_margin_definition_module_scss_1.default;exports.headingMargins=headingMargins},6722: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.shadowTheme=void 0;const shadow_definition_module_scss_1=__importDefault(__webpack_require__(17107)),{shadowTheme}=shadow_definition_module_scss_1.default;exports.shadowTheme=shadowTheme},65548: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.textFontSize=exports.headingFontSize=void 0;const size_definition_module_scss_1=__importDefault(__webpack_require__(36075)),{headingFontSize,textFontSize}=size_definition_module_scss_1.default;exports.headingFontSize=headingFontSize,exports.textFontSize=textFontSize},62086:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PossibleSizes=void 0;var PossibleSizes;(function(PossibleSizes2){PossibleSizes2.xxs="xxs",PossibleSizes2.xs="xs",PossibleSizes2.sm="sm",PossibleSizes2.md="md",PossibleSizes2.lg="lg",PossibleSizes2.xl="xl",PossibleSizes2.xxl="xxl"})(PossibleSizes=exports.PossibleSizes||(exports.PossibleSizes={}))},625:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Theme=void 0;var theme_provider_1=__webpack_require__(710);Object.defineProperty(exports,"Theme",{enumerable:!0,get:function(){return theme_provider_1.Theme}})},710: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.Theme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_size_definition_1=__webpack_require__(65548),base_ui_theme_shadow_definition_1=__webpack_require__(6722),base_ui_theme_color_definition_1=__webpack_require__(19829),base_ui_theme_brand_definition_1=__webpack_require__(58280),base_ui_theme_heading_margin_definition_1=__webpack_require__(50662),base_ui_theme_fonts_book_1=__webpack_require__(23895),texts_module_scss_1=__importDefault(__webpack_require__(84522));function Theme(props){return react_1.default.createElement("div",Object.assign({},props,{className:classnames_1.default(base_ui_theme_size_definition_1.headingFontSize,base_ui_theme_size_definition_1.textFontSize,base_ui_theme_fonts_book_1.bookFont,base_ui_theme_shadow_definition_1.shadowTheme,base_ui_theme_color_definition_1.primaryPalette,base_ui_theme_brand_definition_1.brands,base_ui_theme_heading_margin_definition_1.headingMargins,texts_module_scss_1.default.defaults,props.className)}))}exports.Theme=Theme},72149: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.default=void 0;var time_ago_1=__webpack_require__(49651);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(time_ago_1).default}})},49651: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});const javascript_time_ago_1=__importDefault(__webpack_require__(38419)),en_1=__importDefault(__webpack_require__(36192));exports.default=date=>{const now=new Date,versionDate=new Date(date);javascript_time_ago_1.default.addLocale(en_1.default);const timeAgo=new javascript_time_ago_1.default("en-EN"),diff=new Date(now.getTime()-versionDate.getTime()),res=timeAgo.format(now.getTime()-diff.getTime());return res.slice(0,2)==="a "?`${res[0].toUpperCase()}${res.slice(1)}`:res}},57419: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.BadgeSection=exports.ComponentOverview=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_layout_page_frame_1=__webpack_require__(68459),documenter_ui_heading_1=__webpack_require__(37742),documenter_ui_label_list_1=__webpack_require__(13232),documenter_ui_section_1=__webpack_require__(94761),documenter_ui_copy_box_1=__webpack_require__(8584),design_ui_separator_1=__webpack_require__(12563),design_navigation_content_tabs_1=__webpack_require__(12712),documenter_ui_sub_title_1=__webpack_require__(36408),ui_foundation_ui_is_browser_1=__webpack_require__(92900),base_react_layout_row_1=__webpack_require__(90658),docs_1=__webpack_require__(84723),component_overview_module_scss_1=__importDefault(__webpack_require__(71767));function ComponentOverview(_a){var{displayName,abstract,titleBadges,labels,packageName,elementsUrl,componentDescriptor,component}=_a,rest=__rest(_a,["displayName","abstract","titleBadges","labels","packageName","elementsUrl","componentDescriptor","component"]);const componentId=component?.id,tabsComponentId=[{component:function(){return react_1.default.createElement("span",null,"Component ID")},content:react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,{className:component_overview_module_scss_1.default.copyBox},componentId?componentId.toStringWithoutVersion():"")},{component:function(){return react_1.default.createElement("span",null,"Package")},content:react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,{className:component_overview_module_scss_1.default.copyBox},packageName)}];let finalElementsUrl=elementsUrl;if(finalElementsUrl&&!finalElementsUrl.startsWith("http")){const origin=ui_foundation_ui_is_browser_1.isBrowser?window.location.origin:void 0;finalElementsUrl=origin&&elementsUrl?`${origin}${elementsUrl}`:void 0,finalElementsUrl&&tabsComponentId.push({component:function(){return react_1.default.createElement("span",null,"Elements url")},content:react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,{className:component_overview_module_scss_1.default.copyBox},finalElementsUrl)})}return react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement("div",{className:base_ui_layout_page_frame_1.textColumn},react_1.default.createElement(base_react_layout_row_1.Row,{className:component_overview_module_scss_1.default.titleRow},react_1.default.createElement("div",{className:component_overview_module_scss_1.default.componentTitle},react_1.default.createElement(documenter_ui_heading_1.H1,{className:component_overview_module_scss_1.default.title},displayName)),react_1.default.createElement(BadgeSection,{position:docs_1.BadgePosition.Title,componentDescriptor,component,badges:titleBadges})),react_1.default.createElement(base_react_layout_row_1.Row,null,abstract&&react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(documenter_ui_sub_title_1.Subtitle,{className:component_overview_module_scss_1.default.subTitle},abstract),react_1.default.createElement(BadgeSection,{position:docs_1.BadgePosition.SubTitle,componentDescriptor,component,badges:titleBadges}))),react_1.default.createElement(base_react_layout_row_1.Row,null,react_1.default.createElement(documenter_ui_label_list_1.LabelList,null,labels),react_1.default.createElement(BadgeSection,{position:docs_1.BadgePosition.Labels,componentDescriptor,component,badges:titleBadges})),react_1.default.createElement(base_react_layout_row_1.Row,null,react_1.default.createElement("div",{className:component_overview_module_scss_1.default.contentTabs},react_1.default.createElement(design_navigation_content_tabs_1.ContentTabs,{priority:"folder",tabs:tabsComponentId,navClassName:component_overview_module_scss_1.default.nav,tabClassName:component_overview_module_scss_1.default.tab})),react_1.default.createElement(BadgeSection,{position:docs_1.BadgePosition.Package,componentDescriptor,component,badges:titleBadges}))),react_1.default.createElement(design_ui_separator_1.Separator,{isPresentational:!0}))}exports.ComponentOverview=ComponentOverview;function BadgeSection({badges,position,componentDescriptor,component}){var _a,_b;return react_1.default.createElement("div",{className:component_overview_module_scss_1.default.badgeContainer},(_b=(_a=badges?.filter(badge=>position===docs_1.BadgePosition.Title&&!badge.position||badge.position===position))===null||_a===void 0?void 0:_a.sort((a,b)=>a?.weight-b?.weight))===null||_b===void 0?void 0:_b.map((titleBadge,index)=>react_1.default.createElement(titleBadge.component,{key:index,componentDescriptor,legacyComponentModel:component})))}exports.BadgeSection=BadgeSection},20884:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BadgeSection=exports.ComponentOverview=void 0;var component_overview_1=__webpack_require__(57419);Object.defineProperty(exports,"ComponentOverview",{enumerable:!0,get:function(){return component_overview_1.ComponentOverview}}),Object.defineProperty(exports,"BadgeSection",{enumerable:!0,get:function(){return component_overview_1.BadgeSection}})},36791:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useFetchDocs=void 0;var use_fetch_docs_1=__webpack_require__(1692);Object.defineProperty(exports,"useFetchDocs",{enumerable:!0,get:function(){return use_fetch_docs_1.useFetchDocs}})},1692:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useFetchDocs=void 0;const react_1=__webpack_require__(59496),graphql_hooks_use_query_light_1=__webpack_require__(95791),GQL_SERVER="/graphql",DOCS_QUERY=(0,graphql_hooks_use_query_light_1.gql)`
|
13
13
|
query getComponentDocs($id: String!) {
|
14
14
|
getHost {
|
15
15
|
id # for gql caching
|
@@ -27,15 +27,15 @@
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
}
|
30
|
-
`;function useFetchDocs(componentId){const variables={id:componentId},request=(0,graphql_hooks_use_query_light_1.useQuery)(DOCS_QUERY,{variables,server:GQL_SERVER});return(0,react_1.useMemo)(()=>{var _a;return Object.assign(Object.assign({},request),{data:request.data&&{docs:(_a=request.data)===null||_a===void 0?void 0:_a.getHost.getDocs}})},[request])}exports.useFetchDocs=useFetchDocs},76777:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Labels=exports.VersionLabel=void 0;var version_label_1=__webpack_require__(66777);Object.defineProperty(exports,"VersionLabel",{enumerable:!0,get:function(){return version_label_1.VersionLabel}}),Object.defineProperty(exports,"Labels",{enumerable:!0,get:function(){return version_label_1.Labels}})},66777: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.Labels=exports.VersionLabel=void 0;const design_ui_pill_label_1=__webpack_require__(44458),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),version_label_module_scss_1=__importDefault(__webpack_require__(2398));function VersionLabel(_a){var{status,className}=_a,rest=__rest(_a,["status","className"]);return react_1.default.createElement(design_ui_pill_label_1.PillLabel,Object.assign({},rest,{className:(0,classnames_1.default)(version_label_module_scss_1.default.label,version_label_module_scss_1.default[status],className)}),status.replace(/-/g," "))}exports.VersionLabel=VersionLabel;function Labels({isCurrent,isLatest}){return react_1.default.createElement("div",{className:version_label_module_scss_1.default.labelContainer},isLatest&&react_1.default.createElement(VersionLabel,{className:version_label_module_scss_1.default.versionLabel,status:"latest"}),isCurrent&&react_1.default.createElement(VersionLabel,{className:version_label_module_scss_1.default.versionLabel,status:"current"}),!isLatest&&!isCurrent&&react_1.default.createElement("div",{className:version_label_module_scss_1.default.emptyLabel}))}exports.Labels=Labels},74135: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},67922:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;var humanize_1=__webpack_require__(74135);Object.defineProperty(exports,"humanizeCompositionId",{enumerable:!0,get:function(){return humanize_1.humanizeCompositionId}})},96279: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.CompositionErrorFallback=exports.CompositionCard=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_error_boundary_1=__webpack_require__(75340),base_ui_surfaces_card_1=__webpack_require__(19537),base_ui_theme_accent_color_1=__webpack_require__(11796),react_ui_error_fallback_1=__webpack_require__(80617),compositions_model_composition_id_1=__webpack_require__(67922),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_text_themed_text_1=__webpack_require__(64899),composition_card_module_scss_1=__importDefault(__webpack_require__(62850));function CompositionCard(_a){var{Composition,name,link,className}=_a,rest=__rest(_a,["Composition","name","link","className"]);const{canvas,compositionName}=Composition,humanizedName=(0,react_1.useMemo)(()=>compositionName||(0,compositions_model_composition_id_1.humanizeCompositionId)(name),[name,compositionName]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({elevation:"low",className:(0,classnames_1.default)(className,composition_card_module_scss_1.default.compositionCard)},rest),react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:CompositionErrorFallback},react_1.default.createElement("div",{style:canvas,className:composition_card_module_scss_1.default.compositionContainer},react_1.default.createElement(Composition,null))),react_1.default.createElement("div",{className:(0,classnames_1.default)(composition_card_module_scss_1.default.title,base_ui_theme_accent_color_1.colorPalette.neutralHeavy,base_ui_text_themed_text_1.themedText)},react_1.default.createElement("span",null,humanizedName),link&&react_1.default.createElement("a",{className:composition_card_module_scss_1.default.linkToComposition,target:"_blank",rel:"noopener noreferrer",href:link},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"open-tab"}))))}exports.CompositionCard=CompositionCard;function CompositionErrorFallback(props){return react_1.default.createElement(react_ui_error_fallback_1.ErrorFallback,Object.assign({},props,{className:(0,classnames_1.default)(props.className,composition_card_module_scss_1.default.compositionCardError)}))}exports.CompositionErrorFallback=CompositionErrorFallback},85240:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCard=void 0;var composition_card_1=__webpack_require__(96279);Object.defineProperty(exports,"CompositionCard",{enumerable:!0,get:function(){return composition_card_1.CompositionCard}})},80638: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.CompositionsMenuBar=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),lodash_flatten_1=__importDefault(__webpack_require__(11549)),compositions_menu_bar_module_scss_1=__importDefault(__webpack_require__(28641));function CompositionsMenuBar(_a){var{className,menuBarWidgets,children}=_a,rest=__rest(_a,["className","menuBarWidgets","children"]);const widgetsStart=(0,react_1.useMemo)(()=>(0,lodash_flatten_1.default)(menuBarWidgets?.values()).filter(({location})=>location==="start").map(({content},idx)=>react_1.default.createElement(react_1.default.Fragment,{key:idx},content)),[menuBarWidgets]),widgetsEnd=(0,react_1.useMemo)(()=>(0,lodash_flatten_1.default)(menuBarWidgets?.values()).filter(({location})=>location==="end").map(({content},idx)=>react_1.default.createElement(react_1.default.Fragment,{key:idx},content)),[menuBarWidgets]);return!widgetsStart.length&&!widgetsEnd.length?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,compositions_menu_bar_module_scss_1.default.compositionsMenuBar)}),!!(widgetsStart?.length||children)&&react_1.default.createElement("div",null,widgetsStart," ",children),react_1.default.createElement("div",{className:compositions_menu_bar_module_scss_1.default.spacer}),!!widgetsEnd?.length&&react_1.default.createElement("div",null,widgetsEnd))}exports.CompositionsMenuBar=CompositionsMenuBar},10421:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsMenuBar=void 0;var compositions_menu_bar_1=__webpack_require__(80638);Object.defineProperty(exports,"CompositionsMenuBar",{enumerable:!0,get:function(){return compositions_menu_bar_1.CompositionsMenuBar}})},18433: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.CompositionsOverview=void 0;const react_1=__importDefault(__webpack_require__(59496)),compositions_ui_composition_card_1=__webpack_require__(85240),compositions_overview_module_scss_1=__importDefault(__webpack_require__(44730));function CompositionsOverview({compositions,compositionCardClass}){return react_1.default.createElement("div",{className:compositions_overview_module_scss_1.default.background},compositions&&Object.entries(compositions).map(([key,composition])=>react_1.default.createElement(compositions_ui_composition_card_1.CompositionCard,{key,Composition:composition,name:key,className:compositionCardClass})))}exports.CompositionsOverview=CompositionsOverview},31314:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsOverview=void 0;var compositions_overview_1=__webpack_require__(18433);Object.defineProperty(exports,"CompositionsOverview",{enumerable:!0,get:function(){return compositions_overview_1.CompositionsOverview}})},77972:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePreviewQueryParams=exports.usePreview=exports.CompositionContextProvider=void 0;var use_composition_1=__webpack_require__(49493);Object.defineProperty(exports,"CompositionContextProvider",{enumerable:!0,get:function(){return use_composition_1.CompositionContextProvider}}),Object.defineProperty(exports,"usePreview",{enumerable:!0,get:function(){return use_composition_1.usePreview}});var use_preview_query_params_1=__webpack_require__(54335);Object.defineProperty(exports,"usePreviewQueryParams",{enumerable:!0,get:function(){return use_preview_query_params_1.usePreviewQueryParams}})},49493: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.usePreview=exports.CompositionContextProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),CompositionsCtx=(0,react_1.createContext)({queryParams:{},setQueryParams:()=>{}});function CompositionContextProvider({children,queryParams,setQueryParams}){const state=(0,react_1.useMemo)(()=>({queryParams,setQueryParams}),[queryParams,setQueryParams]);return react_1.default.createElement(CompositionsCtx.Provider,{value:state},children)}exports.CompositionContextProvider=CompositionContextProvider;function usePreview(){return(0,react_1.useContext)(CompositionsCtx)}exports.usePreview=usePreview},54335:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePreviewQueryParams=void 0;const react_1=__webpack_require__(59496),use_composition_1=__webpack_require__(49493);function usePreviewQueryParams(paramName){const ctx=(0,use_composition_1.usePreview)(),param=ctx.queryParams[paramName],setQueryParam=(0,react_1.useCallback)(value=>ctx.setQueryParams(state=>Object.assign(Object.assign({},state),{[paramName]:value})),[paramName]);return[param,setQueryParam]}exports.usePreviewQueryParams=usePreviewQueryParams},70029: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__(34211),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},89332:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;var icon_1=__webpack_require__(70029);Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return icon_1.Icon}})},79967: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__(34211),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},29284:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;var icon_1=__webpack_require__(79967);Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return icon_1.Icon}})},79390: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.ButtonsPlugin=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),design_ui_icon_button_1=__webpack_require__(73486),buttons_plugin_module_scss_1=__importDefault(__webpack_require__(18266));function ButtonsPlugin(_a){var{onClear,onSubmit,disabledSubmit,submitText="Done",loading,submitClassName,className}=_a,rest=__rest(_a,["onClear","onSubmit","disabledSubmit","submitText","loading","submitClassName","className"]);return!onClear&&!onSubmit?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(buttons_plugin_module_scss_1.default.buttonsHolder,className)}),onClear&&react_1.default.createElement("div",{className:buttons_plugin_module_scss_1.default.clearText,onClick:onClear},"Clear"),onSubmit&&react_1.default.createElement(design_ui_icon_button_1.IconButton,{priority:"cta",onClick:onSubmit,loading,disabled:disabledSubmit,className:submitClassName},submitText))}exports.ButtonsPlugin=ButtonsPlugin},8827:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ButtonsPlugin=void 0;var buttons_plugin_1=__webpack_require__(79390);Object.defineProperty(exports,"ButtonsPlugin",{enumerable:!0,get:function(){return buttons_plugin_1.ButtonsPlugin}})},8044: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__(19803)),base_ui_surfaces_drawer_1=__webpack_require__(38073),base_ui_surfaces_abs_container_1=__webpack_require__(63146),base_ui_css_components_elevation_1=__webpack_require__(75210),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(79300),placeholder_1=__webpack_require__(23723),dropdown_module_scss_1=__importDefault(__webpack_require__(36813));function Dropdown(_a){var{children,position="bottom",elevation="low",roundness="small",margin=4,placeholderContent="",dropClass,placeholderBorder=!0,topPlugin,bottomPlugin,clickToggles=!1,className}=_a,rest=__rest(_a,["children","position","elevation","roundness","margin","placeholderContent","dropClass","placeholderBorder","topPlugin","bottomPlugin","clickToggles","className"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({margin,className:(0,classnames_1.default)(!placeholderBorder&&dropdown_module_scss_1.default.removePlaceholderBorder,className),placeholderContent:typeof placeholderContent=="string"?react_1.default.createElement(placeholder_1.Placeholder,null,placeholderContent):placeholderContent,clickToggles},rest),react_1.default.createElement(DropdownMenu,{position,elevation,roundness,className:dropClass},topPlugin,children,bottomPlugin))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="low",roundness="small"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:(0,classnames_1.default)(dropdown_module_scss_1.default.dropdownMenu,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)}))}},64718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=__webpack_unused_export__=exports.Lt=void 0;var dropdown_1=__webpack_require__(8044);Object.defineProperty(exports,"Lt",{enumerable:!0,get:function(){return dropdown_1.Dropdown}});var placeholder_1=__webpack_require__(23723);__webpack_unused_export__={enumerable:!0,get:function(){return placeholder_1.Placeholder}};var buttons_plugin_1=__webpack_require__(8827);__webpack_unused_export__={enumerable:!0,get:function(){return buttons_plugin_1.ButtonsPlugin}}},23723: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.Placeholder=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),design_inputs_selectors_menu_item_1=__webpack_require__(47699),dropdown_module_scss_1=__importDefault(__webpack_require__(36813));function Placeholder(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(design_inputs_selectors_menu_item_1.MenuItem,Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.dropdownPlaceholder,className)},rest),children," ",react_1.default.createElement(FatArrowDown,null))}exports.Placeholder=Placeholder;function FatArrowDown(){return react_1.default.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react_1.default.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"var(--on-surface-color, #2b2b2b)"}))}},47699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.iconClass=exports.MenuItem=void 0;var menu_item_1=__webpack_require__(48975);Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:function(){return menu_item_1.MenuItem}}),Object.defineProperty(exports,"iconClass",{enumerable:!0,get:function(){return menu_item_1.iconClass}})},48975: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.MenuItem=exports.iconClass=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),menu_item_module_scss_1=__importDefault(__webpack_require__(61303));exports.iconClass=menu_item_module_scss_1.default.withIcon,exports.MenuItem=(0,react_1.forwardRef)((_a,ref)=>{var{children,className,icon,active,onClick,interactive=!!onClick}=_a,rest=__rest(_a,["children","className","icon","active","onClick","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{ref,onClick,className:(0,classnames_1.default)(className,menu_item_module_scss_1.default.menuItem,interactive&&menu_item_module_scss_1.default.interactive,active&&menu_item_module_scss_1.default.active,icon&&menu_item_module_scss_1.default.withIcon)}),icon,children)})},53142:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=exports.sN=void 0;var menu_item_1=__webpack_require__(86781);Object.defineProperty(exports,"sN",{enumerable:!0,get:function(){return menu_item_1.MenuItem}}),__webpack_unused_export__={enumerable:!0,get:function(){return menu_item_1.iconClass}}},86781: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.MenuItem=exports.iconClass=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),menu_item_module_scss_1=__importDefault(__webpack_require__(50490));exports.iconClass=menu_item_module_scss_1.default.withIcon,exports.MenuItem=(0,react_1.forwardRef)((_a,ref)=>{var{children,className,icon,active,onClick,interactive=!!onClick}=_a,rest=__rest(_a,["children","className","icon","active","onClick","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{ref,onClick,className:(0,classnames_1.default)(className,menu_item_module_scss_1.default.menuItem,interactive&&menu_item_module_scss_1.default.interactive,active&&menu_item_module_scss_1.default.active,icon&&menu_item_module_scss_1.default.withIcon)}),icon,children)})},12712:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ContentTabs:()=>ContentTabs});var react=__webpack_require__(59496),classnames2=__webpack_require__(19803),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(64718),design_inputs_selectors_menu_item_dist=__webpack_require__(47699);const tab_line_module={tabLine:"tab-line_tabLine__YIR0x"};var __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};const TabLine=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,borderPosition,className}=_a,rest=__rest(_a,["selectedTab","borderPosition","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,setBorderStyle(styleObj)}},[selectedTab]),react.createElement("div",Object.assign({"data-position":borderPosition,className:classnames_default()(tab_line_module.tabLine,className),style:borderStyles,ref},rest))}),tab_folder_module={tabFolder:"tab-folder_tabFolder__2AK_3"};var tab_folder_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};const TabFolder=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,className}=_a,rest=tab_folder_rest(_a,["selectedTab","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,setBorderStyle(styleObj)}},[selectedTab]),react.createElement("div",Object.assign({className:classnames_default()(tab_folder_module.tabFolder,className),style:borderStyles,ref},rest))}),responsive_navbar_module={tab:"responsive-navbar_tab__4e8ei",active:"responsive-navbar_active__-nBEB",navTabs:"responsive-navbar_navTabs__1ZcG0",overflow:"responsive-navbar_overflow__3XQBY",more:"responsive-navbar_more__2I-eW",dots:"responsive-navbar_dots__fJjat",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__xWb5p",item:"responsive-navbar_item__1RKmi",menuItem:"responsive-navbar_menuItem__3VVyN",hidden:"responsive-navbar_hidden__2CJgM"};var responsive_navbar_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};function ResponsiveNavbar(_a){var{defaultActiveIndex=0,onSelect,navClassName,tabClassName,borderPosition="bottom",tabs,dropdownPosition="bottom-end",priority}=_a,rest=responsive_navbar_rest(_a,["defaultActiveIndex","onSelect","navClassName","tabClassName","borderPosition","tabs","dropdownPosition","priority"]);const[tabIndex,setTabIndex]=(0,react.useState)(defaultActiveIndex),[selectedTab,setSelectedTab]=(0,react.useState)(void 0),moreBtnRef=(0,react.useRef)(null),containerRef=(0,react.useRef)(null),tabLineRef=(0,react.useRef)(null),primaryTabRefs=(0,react.useRef)([]),secondaryTabRefs=(0,react.useRef)([]);(0,react.useEffect)(()=>(setSelectedTab(primaryTabRefs.current[tabIndex]),toggleTabs(),window.addEventListener("resize",toggleTabs),()=>window.removeEventListener("resize",toggleTabs)),[tabIndex,selectedTab,tabs]);const onTabSelect=index=>{onSelect&&onSelect(index),setTabIndex(index)};(0,react.useEffect)(()=>{setTabIndex(defaultActiveIndex)},[defaultActiveIndex]);const resetStyle=()=>{var _a2,_b,_c;(_a2=containerRef.current)===null||_a2===void 0||_a2.classList.remove(responsive_navbar_module.overflow),(_b=moreBtnRef.current)===null||_b===void 0||_b.classList.remove(responsive_navbar_module.hidden),(_c=tabLineRef.current)===null||_c===void 0||_c.classList.remove(responsive_navbar_module.hidden),primaryTabRefs.current.forEach((contentTabRef,index)=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)}),secondaryTabRefs.current.forEach((contentTabRef,index)=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)})},getAllWidthBefore=currentElIndex=>{let width=0;return primaryTabRefs.current.forEach((el,index)=>{index<=currentElIndex&&(width+=el.offsetWidth)}),width},toggleTabs=()=>{var _a2,_b,_c,_d;resetStyle();const containerRefWidth=((_a2=containerRef.current)===null||_a2===void 0?void 0:_a2.offsetWidth)||0,buttonWidth=((_b=moreBtnRef.current)===null||_b===void 0?void 0:_b.offsetWidth)||0;let hiddenItems=[];for(let index=primaryTabRefs.current.length-1;index>0;index--){const tabRef=primaryTabRefs.current[index],allWidthBefore=getAllWidthBefore(index);containerRefWidth-buttonWidth<=allWidthBefore+buttonWidth&&(tabRef===selectedTab&&((_c=tabLineRef.current)===null||_c===void 0||_c.classList.add(responsive_navbar_module.hidden)),tabRef.classList.add(responsive_navbar_module.hidden),hiddenItems.push(index))}hiddenItems.length?secondaryTabRefs.current.forEach((tabRef,index)=>{hiddenItems.includes(index)||tabRef.classList.add(responsive_navbar_module.hidden)}):(_d=moreBtnRef.current)===null||_d===void 0||_d.classList.add(responsive_navbar_module.hidden)},getTabStyle=()=>{switch(priority){case"none":return null;case"line":return react.createElement(TabLine,{borderPosition,selectedTab,className:tabClassName,ref:tabLineRef});case"folder":return react.createElement(TabFolder,{selectedTab,className:tabClassName,ref:tabLineRef});default:return react.createElement(TabLine,{borderPosition,selectedTab,className:tabClassName,ref:tabLineRef})}};return react.createElement("nav",Object.assign({},rest,{className:classnames_default()(responsive_navbar_module.navTabs,responsive_navbar_module.overflow,navClassName),ref:containerRef}),tabs.map((tab,index)=>react.createElement("div",{className:classnames_default()(responsive_navbar_module.tab,index===tabIndex&&responsive_navbar_module.active),"data-priority":priority,onClick:e=>onTabSelect(index),key:`tab-${index}`,ref:ref=>ref&&(primaryTabRefs.current[index]=ref)},react.createElement(tab.component,{isInMenu:!1}))),getTabStyle(),react.createElement("div",{className:classnames_default()(responsive_navbar_module.more,responsive_navbar_module.hidden),ref:moreBtnRef},react.createElement(dist.Lt,{placeholderContent:react.createElement("div",{className:responsive_navbar_module.dots,"data-priority":"menu"},react.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:responsive_navbar_module.secondaryTabContainer,position:dropdownPosition,clickToggles:!0,margin:8},tabs.map((tab,index)=>react.createElement("div",{key:`dropdown-${index}`,ref:ref=>ref&&(secondaryTabRefs.current[index]=ref),className:responsive_navbar_module.item},react.createElement(design_inputs_selectors_menu_item_dist.MenuItem,{className:responsive_navbar_module.menuItem,active:index===tabIndex,onClick:e=>onTabSelect(index)},react.createElement(tab.component,{isInMenu:!0})))))))}var content_tabs_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};function ContentTabs(_a){var{defaultActiveIndex=0,tabs=[],onSelect}=_a,rest=content_tabs_rest(_a,["defaultActiveIndex","tabs","onSelect"]);const[activeTab,setActiveTab]=(0,react.useState)(defaultActiveIndex),titles=tabs.map(tab=>({component:({isInMenu})=>react.createElement(tab.component,{isInMenu})}));return react.createElement(react.Fragment,null,react.createElement(ResponsiveNavbar,Object.assign({},rest,{tabs:titles,defaultActiveIndex,onSelect:activeIndex=>{setActiveTab(activeIndex),onSelect&&onSelect(activeIndex)}})),tabs[activeTab].content)}},76055:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ResponsiveNavbar:()=>ResponsiveNavbar});var react=__webpack_require__(59496),node_modules_classnames=__webpack_require__(97754),classnames_default=__webpack_require__.n(node_modules_classnames),dist=__webpack_require__(38073),base_ui_surfaces_abs_container_dist=__webpack_require__(63146),base_ui_css_components_elevation_dist=__webpack_require__(75210),base_ui_css_components_roundness_dist=__webpack_require__(69725),base_ui_surfaces_background_dist=__webpack_require__(84733),design_inputs_selectors_menu_item_dist=__webpack_require__(53142);const dropdown_module={dropdownPlaceholder:"dropdown_dropdownPlaceholder__MHg6W",removePlaceholderBorder:"dropdown_removePlaceholderBorder__MTpKq",dropdownMenu:"dropdown_dropdownMenu__3TkHb"};var __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};function Placeholder(_a){var{dropdownIcon,children,className}=_a,rest=__rest(_a,["dropdownIcon","children","className"]);return react.createElement(design_inputs_selectors_menu_item_dist.sN,Object.assign({className:classnames_default()(dropdown_module.dropdownPlaceholder,className)},rest),children," ",dropdownIcon||react.createElement(FatArrowDown,null))}function FatArrowDown(){return react.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"var(--on-surface-color, #2b2b2b)"}))}var dropdown_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};function Dropdown(_a){var{children,position="bottom",elevation="low",roundness="small",margin=4,placeholderContent="",dropClass,placeholderBorder=!0,topPlugin,bottomPlugin,clickToggles=!1,className}=_a,rest=dropdown_rest(_a,["children","position","elevation","roundness","margin","placeholderContent","dropClass","placeholderBorder","topPlugin","bottomPlugin","clickToggles","className"]);return react.createElement(dist.Drawer,Object.assign({},rest,{margin,className:classnames_default()(!placeholderBorder&&dropdown_module.removePlaceholderBorder,className),placeholderContent:typeof placeholderContent=="string"?react.createElement(Placeholder,null,placeholderContent):placeholderContent,clickToggles}),react.createElement(DropdownMenu,{position,elevation,roundness,className:dropClass},topPlugin,children,bottomPlugin))}function DropdownMenu(_a){var{className,elevation="low",roundness="small"}=_a,rest=dropdown_rest(_a,["className","elevation","roundness"]);return react.createElement(base_ui_surfaces_abs_container_dist.Containee,Object.assign({},rest,{className:classnames_default()(dropdown_module.dropdownMenu,base_ui_surfaces_background_dist.backgrounds.layer,base_ui_css_components_elevation_dist.elevationClass[elevation],base_ui_css_components_roundness_dist.roundnessClass[roundness],className)}))}var design_ui_icon_button_dist=__webpack_require__(53330);const buttons_plugin_module={buttonsHolder:"buttons-plugin_buttonsHolder__2iJ4V",clearText:"buttons-plugin_clearText__1SGIw"};var buttons_plugin_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};function ButtonsPlugin(_a){var{onClear,onSubmit,disabledSubmit,submitText="Done",loading,submitClassName,className}=_a,rest=buttons_plugin_rest(_a,["onClear","onSubmit","disabledSubmit","submitText","loading","submitClassName","className"]);return!onClear&&!onSubmit?null:React.createElement("div",Object.assign({},rest,{className:classnames(styles.buttonsHolder,className)}),onClear&&React.createElement("div",{className:styles.clearText,onClick:onClear},"Clear"),onSubmit&&React.createElement(IconButton,{priority:"cta",onClick:onSubmit,loading,disabled:disabledSubmit,className:submitClassName},submitText))}var _teambit_design_inputs_selectors_menu_item_dist=__webpack_require__(47699);const tab_line_module={tabLine:"tab-line_tabLine__2c3_P"};var tab_line_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};const TabLine=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,borderPosition,enableAnimation=!1,className}=_a,rest=tab_line_rest(_a,["selectedTab","borderPosition","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({"data-position":borderPosition,className:classnames_default()(tab_line_module.tabLine,className),style:borderStyles,ref},rest))}),tab_folder_module={tabFolder:"tab-folder_tabFolder__35v1T",folderStyle:"tab-folder_folderStyle__ew9LK"};var tab_folder_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};const TabFolder=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,enableAnimation=!1,className}=_a,rest=tab_folder_rest(_a,["selectedTab","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({className:classnames_default()(tab_folder_module.tabFolder,tab_folder_module.folderStyle,className),style:borderStyles,ref},rest))}),tab_inner_module={tabInner:"tab-inner_tabInner__2IrpL",innerStyle:"tab-inner_innerStyle__33QKz"};var tab_inner_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};const TabInner=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,enableAnimation=!1,className}=_a,rest=tab_inner_rest(_a,["selectedTab","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({className:classnames_default()(tab_inner_module.tabInner,tab_inner_module.innerStyle,className),style:borderStyles,ref},rest))}),responsive_navbar_module={tabInner:"responsive-navbar_tabInner__16bL1",innerStyle:"responsive-navbar_innerStyle__3xR_w",tab:"responsive-navbar_tab__3OfOO",noAnimation:"responsive-navbar_noAnimation__xUk4C",tabFolder:"responsive-navbar_tabFolder__aFI07",folderStyle:"responsive-navbar_folderStyle__3Y-H8",active:"responsive-navbar_active__2FFZ6",lineStyle:"responsive-navbar_lineStyle__3l7tB",navTabs:"responsive-navbar_navTabs__11iK0",overflow:"responsive-navbar_overflow__2lNG8",more:"responsive-navbar_more__3sKBI",dots:"responsive-navbar_dots__17Uli",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__185RW",item:"responsive-navbar_item__3_RqG",menuItem:"responsive-navbar_menuItem__1jKHW",hidden:"responsive-navbar_hidden__yUoKr"};var responsive_navbar_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};const ResponsiveNavbar=react.memo(_ResponsiveNavbar);function _ResponsiveNavbar(_a){var{defaultActiveIndex=0,onSelect,navClassName,tabClassName,secondaryNavClassName,borderPosition="bottom",tabs,dropdownPosition="bottom-end",priority="line",alwaysShowActiveTab=!1,children}=_a,rest=responsive_navbar_rest(_a,["defaultActiveIndex","onSelect","navClassName","tabClassName","secondaryNavClassName","borderPosition","tabs","dropdownPosition","priority","alwaysShowActiveTab","children"]);const[tabIndex,setTabIndex]=(0,react.useState)(defaultActiveIndex),[selectedTab,setSelectedTab]=(0,react.useState)(void 0),[enableAnimation,setEnableAnimation]=(0,react.useState)(!1),moreBtnRef=(0,react.useRef)(null),containerRef=(0,react.useRef)(null),tabLineRef=(0,react.useRef)(null),primaryTabRefs=(0,react.useRef)([]),secondaryTabRefs=(0,react.useRef)([]),resetStyle=()=>{var _a2,_b,_c;(_a2=containerRef.current)===null||_a2===void 0||_a2.classList.remove(responsive_navbar_module.overflow),(_b=moreBtnRef.current)===null||_b===void 0||_b.classList.remove(responsive_navbar_module.hidden),(_c=tabLineRef.current)===null||_c===void 0||_c.classList.remove(responsive_navbar_module.hidden),primaryTabRefs.current.forEach(contentTabRef=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)}),secondaryTabRefs.current.forEach(contentTabRef=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)})},toggleTabs=(_tabIndex=tabIndex)=>{var _a2,_b,_c;resetStyle();const hiddenItems=new Set,containerRefWidth=((_a2=containerRef.current)===null||_a2===void 0?void 0:_a2.offsetWidth)||0,buttonWidth=((_b=moreBtnRef.current)===null||_b===void 0?void 0:_b.offsetWidth)||0;let availableWidth=containerRefWidth-buttonWidth;if(alwaysShowActiveTab&&primaryTabRefs.current[_tabIndex]){const activeTab=primaryTabRefs.current[_tabIndex];activeTab.classList.remove(responsive_navbar_module.hidden),activeTab.classList.add(responsive_navbar_module.active),availableWidth-=activeTab.offsetWidth}primaryTabRefs.current.forEach((tabRef,index)=>{(index!==_tabIndex||!alwaysShowActiveTab)&&(availableWidth-=tabRef.offsetWidth,availableWidth<buttonWidth&&!tabRef.classList.contains(responsive_navbar_module.hidden)&&(tabRef.classList.add(responsive_navbar_module.hidden),hiddenItems.add(index)))}),(_c=moreBtnRef.current)===null||_c===void 0||_c.classList.toggle(responsive_navbar_module.hidden,hiddenItems.size===0),secondaryTabRefs.current.forEach((tabRef,index)=>{tabRef.classList.toggle(responsive_navbar_module.hidden,!hiddenItems.has(index)),alwaysShowActiveTab&&tabRef.classList.remove(responsive_navbar_module.active)}),!primaryTabRefs.current.filter((_,index)=>!hiddenItems.has(index))[tabIndex]&&setSelectedTab(primaryTabRefs.current[_tabIndex])};(0,react.useEffect)(()=>{const handleResize=()=>{toggleTabs()},resizeObserver=new ResizeObserver(handleResize);return containerRef.current&&resizeObserver.observe(containerRef.current),setTimeout(()=>{setEnableAnimation(!0)},100),toggleTabs(),()=>{resizeObserver.disconnect()}},[tabIndex]),(0,react.useEffect)(()=>{enableAnimation&&(setSelectedTab(primaryTabRefs.current[tabIndex]),toggleTabs())},[enableAnimation]);const onTabSelect=index=>{onSelect&&onSelect(index),setTabIndex(index),setSelectedTab(primaryTabRefs.current[index]),primaryTabRefs.current.forEach((tabRef,i)=>{i!==index&&tabRef.classList.remove(responsive_navbar_module.active),primaryTabRefs.current[index].classList.add(responsive_navbar_module.active)}),toggleTabs(index)};(0,react.useEffect)(()=>{defaultActiveIndex!==tabIndex&&(setTabIndex(defaultActiveIndex),setSelectedTab(primaryTabRefs.current[defaultActiveIndex]),toggleTabs(defaultActiveIndex))},[defaultActiveIndex]);const getTabStyle=()=>{switch(priority){case"none":return null;case"line":return react.createElement(TabLine,{borderPosition,selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});case"folder":return react.createElement(TabFolder,{selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});case"inner":return react.createElement(TabInner,{selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});default:return react.createElement(TabLine,{borderPosition,selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef})}};return react.createElement("nav",Object.assign({},rest,{className:classnames_default()(responsive_navbar_module.navTabs,responsive_navbar_module.overflow,navClassName),ref:containerRef}),tabs.map((tab,index)=>{const{component,tabProps}=tab,tabRest=responsive_navbar_rest(tab,["component","tabProps"]),showTabLine=priority==="line"&&enableAnimation;return react.createElement("div",Object.assign({},tabRest,{className:classnames_default()(responsive_navbar_module.tab,!enableAnimation&&responsive_navbar_module.noAnimation,tab.className),"data-priority":priority,onClick:()=>onTabSelect(index),key:`tab-${index}`,ref:ref=>ref&&(primaryTabRefs.current[index]=ref)}),react.createElement(tab.component,{menuItemProps:tabProps?.menuItemProps,isInMenu:!1}),react.createElement(TabLine,{borderPosition,className:classnames_default()(responsive_navbar_module.lineStyle,showTabLine&&responsive_navbar_module.visible)}))}),!alwaysShowActiveTab&&getTabStyle(),react.createElement("div",{className:classnames_default()(responsive_navbar_module.more,responsive_navbar_module.hidden),ref:moreBtnRef},react.createElement(Dropdown,{placeholderContent:react.createElement("div",{className:classnames_default()(responsive_navbar_module.dots),"data-priority":"menu"},react.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:classnames_default()(responsive_navbar_module.secondaryTabContainer,secondaryNavClassName),position:dropdownPosition,clickToggles:!0,margin:8},tabs.map((tab,index)=>{const{component,tabProps}=tab,tabRest=responsive_navbar_rest(tab,["component","tabProps"]),isActive=index===tabIndex;return react.createElement("div",Object.assign({},tabRest,{key:`dropdown-${index}`,ref:ref=>ref&&(secondaryTabRefs.current[index]=ref),className:classnames_default()(responsive_navbar_module.item,tab.className)}),react.createElement(_teambit_design_inputs_selectors_menu_item_dist.MenuItem,{className:classnames_default()(responsive_navbar_module.menuItem),active:isActive,onClick:()=>onTabSelect(index)},react.createElement(tab.component,{menuItemProps:tabProps?.menuItemProps,isInMenu:!0})))}))),children)}},63125: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.IconFont=void 0;const react_1=__importDefault(__webpack_require__(59496)),EMBED_LINK="https://d1azc1qln24ryf.cloudfront.net/158286/Bit/style-cf.css";function IconFont(props){const{query="cr084i"}=props;return react_1.default.createElement("link",{rel:"stylesheet",href:`${EMBED_LINK}?${query}`})}exports.IconFont=IconFont},3886:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconFont=void 0;var icon_font_1=__webpack_require__(63125);Object.defineProperty(exports,"IconFont",{enumerable:!0,get:function(){return icon_font_1.IconFont}})},85678: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.IconFont=void 0;const react_1=__importDefault(__webpack_require__(59496)),EMBED_LINK="https://cdn.icomoon.io/158286/Bit/style.css";function IconFont(props){const{query="d4g8l8"}=props;return react_1.default.createElement("link",{rel:"stylesheet",href:`${EMBED_LINK}?${query}`})}exports.IconFont=IconFont},22975:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconFont=void 0;var icon_font_1=__webpack_require__(85678);Object.defineProperty(exports,"IconFont",{enumerable:!0,get:function(){return icon_font_1.IconFont}})},81974: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.useTheme=exports.BaseTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_react_theme_theme_provider_1=__webpack_require__(14111),design_theme_icons_font_1=__webpack_require__(3886),theme_default_values_1=__webpack_require__(52690),legacy_tokens_1=__webpack_require__(564),circular_font_1=__webpack_require__(21613),base_theme_module_scss_1=__importDefault(__webpack_require__(2657)),ICON_MOON_VERSION="mxd7i0",{useTheme,ThemeProvider}=(0,base_react_theme_theme_provider_1.createTheme)({theme:theme_default_values_1.baseThemeDefaults});exports.useTheme=useTheme;function BaseTheme(_a){var{children,className}=_a,props=__rest(_a,["children","className"]);return react_1.default.createElement(ThemeProvider,Object.assign({},props,{className:(0,classnames_1.default)(circular_font_1.circularFont,base_theme_module_scss_1.default.theme,className)}),react_1.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"}),react_1.default.createElement(design_theme_icons_font_1.IconFont,{query:ICON_MOON_VERSION}),react_1.default.createElement(LegacyThemeProvider,null,children))}exports.BaseTheme=BaseTheme;function LegacyThemeProvider({children}){const theme=useTheme();return react_1.default.createElement("div",{style:(0,legacy_tokens_1.getLegacyTokens)(theme)},children)}},21613: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.circularFont=void 0;const circular_font_module_scss_1=__importDefault(__webpack_require__(95942));exports.circularFont=circular_font_module_scss_1.default.circularFont},80256:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BaseTheme=exports.useTheme=exports.baseThemeDefaults=void 0;var theme_default_values_1=__webpack_require__(52690);Object.defineProperty(exports,"baseThemeDefaults",{enumerable:!0,get:function(){return theme_default_values_1.baseThemeDefaults}});var base_theme_1=__webpack_require__(81974);Object.defineProperty(exports,"useTheme",{enumerable:!0,get:function(){return base_theme_1.useTheme}}),Object.defineProperty(exports,"BaseTheme",{enumerable:!0,get:function(){return base_theme_1.BaseTheme}})},564:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getLegacyTokens=void 0;function getLegacyTokens(theme){return{"--bit-text-color-light":theme.onBackgroundMediumColor,"--bit-text-color":theme.onBackgroundColor,"--bit-text-color-heavy":theme.onBackgroundHighColor,"--bit-text-inactive":theme.onBackgroundLowColor,"--bit-text-inactive-heavy":theme.onBackgroundLowColor,"--bit-bg-bedrock":theme.backgroundColor,"--bit-bg-color":theme.surfaceNeutralColor,"--bit-bg-heavy":theme.surfaceNeutralHoverColor,"--bit-bg-heaviest":theme.surfaceNeutralActiveColor,"--bit-bg-dent":theme.surfaceNeutralHoverColor,"--bit-bg-tooltip":theme.surfaceNeutralColor,"--bit-bg-tooltip-heavy":theme.surfaceNeutralHoverColor,"--bit-bg-navigation":theme.surfaceNeutralHoverColor,"--bit-bg-overlay":theme.surfaceNeutralColor,"--bit-bg-modal":theme.surfaceNeutralColor,"--bit-border-color-lightest":theme.borderMediumColor,"--bit-border-color-light":theme.borderMediumHoverColor,"--bit-border-color":theme.borderHighColor,"--bit-border-color-heavy":theme.borderHighActiveColor,"--bit-accent-color":theme.primaryColor,"--bit-text-on-accent":theme.onPrimaryColor,"--bit-accent-text":theme.primaryColor,"--bit-accent-bg":theme.surfaceHoverColor,"--bit-accent-bg-heavy":theme.surfaceActiveColor,"--bit-shadow-none":"none","--bit-shadow-faint":"0 2px 10px 0 rgba(0, 0, 0, 0.1)","--bit-shadow-resting":"0px 0px 4px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.08)","--bit-shadow-raised-low":"0 -1px 1px 0 rgba(0, 0, 0, 0.09), 0 2px 2px 0 rgba(0, 0, 0, 0.23)","--bit-shadow-hover-low":"0 2px 8px 0 rgba(0, 0, 0, 0.2)","--bit-shadow-hover-medium":"0 0 20px 0 rgba(0, 0, 0, 0.12), 0 2px 6px 0 rgba(0, 0, 0, 0.24)","--bit-shadow-hover-high":"0px 11px 29px 0px rgba(0, 0, 0, 0.23)","--bit-p-xxs":"12px","--bit-p-xs":"14px","--bit-p-sm":"15px","--bit-p-md":"16px","--bit-p-lg":"18px","--bit-p-xl":"20px","--bit-p-xxl":"24px","--bit-h-xxs":"16px","--bit-h-xs":"18px","--bit-h-sm":"24px","--bit-h-md":"26px","--bit-h-lg":"36px","--bit-h-xl":"40px","--bit-h-xxl":"50px","--bit-accent-primary-color":theme.primaryColor,"--bit-accent-primary-bg":theme.primarySurfaceColor,"--bit-accent-hunger-color":theme.warningColor,"--bit-accent-hunger-bg":theme.warningSurfaceColor,"--bit-accent-impulsive-color":theme.negativeColor,"--bit-accent-impulsive-bg":theme.negativeSurfaceColor,"--bit-accent-process-color":theme.processColor,"--bit-accent-success-color":theme.positiveColor,"--bit-accent-success-bg":theme.positiveSurfaceColor}}exports.getLegacyTokens=getLegacyTokens},52690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.baseThemeDefaults=void 0,exports.baseThemeDefaults={backgroundColor:"#FFFFFF",onBackgroundColor:"#2B2B2B",onBackgroundLowColor:"#9598A1",onBackgroundMediumColor:"#707279",onBackgroundHighColor:"#2B2B2B",primaryColor:"#6C5CE7",onPrimaryColor:"#FFFFFF",borderMediumColor:"#EDEDED",borderMediumHoverColor:"#CECECE",borderMediumFocusColor:"#C6C6C6",borderMediumActiveColor:"#AFAFAF",borderHighColor:"#BABEC9",borderHighHoverColor:"#A3A6B0",borderHighFocusColor:"#9DA1A9",borderHighActiveColor:"#8C8F96",borderPrimaryColor:"#6C5CE7",borderPrimaryHoverColor:"#8376EB",borderPrimaryFocusColor:"#897DEC",borderPrimaryActiveColor:"#8F83ED",surfaceColor:"#FFFFFF",surfaceHoverColor:"#EDEBFC",surfaceActiveColor:"#DCD8F9",surfaceFocusColor:"#E2DEFA",onSurfaceColor:"#2B2B2B",onSurfaceMediumColor:"#707279",onSurfaceLowColor:"#9598A1",surface01Color:"#FFFBFF",surface02Color:"#F7F2FD",surfacePrimaryColor:"#140068",surfacePrimaryHoverColor:"#3A2980",surfacePrimaryActiveColor:"#433386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFFFF",surfaceNeutralColor:"#FFFFFF",surfaceNeutralHoverColor:"#F4F5F6",surfaceNeutralFocusColor:"#F1F2F4",surfaceNeutralActiveColor:"#EEEFF2",onSurfaceNeutralHighColor:"#2B2B2B",onSurfaceNeutralMediumColor:"#707279",onSurfaceNeutralLowColor:"#9598A1",positiveColor:"#37B26C",negativeColor:"#E62E5C",warningColor:"#FFC640",processColor:"#0984E3",primarySurfaceColor:"#F6F5FE",positiveSurfaceColor:"#F3FAF6",negativeSurfaceColor:"#FDF2F5",warningSurfaceColor:"#FFFCF4",processSurfaceColor:"#F0F8FD"}},57153: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.DarkThemeIcon=void 0;const react_1=__importDefault(__webpack_require__(59496));function DarkThemeIcon(props){return react_1.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},props),react_1.default.createElement("path",{d:"M3 11C2.80222 11 2.60888 11.0587 2.44443 11.1685C2.27998 11.2784 2.15181 11.4346 2.07612 11.6173C2.00043 11.8 1.98063 12.0011 2.01922 12.1951C2.0578 12.3891 2.15304 12.5673 2.29289 12.7071C2.43275 12.847 2.61093 12.9422 2.80491 12.9808C2.99889 13.0194 3.19996 12.9996 3.38268 12.9239C3.56541 12.8482 3.72159 12.72 3.83147 12.5556C3.94135 12.3911 4 12.1978 4 12C4 11.7348 3.89464 11.4804 3.70711 11.2929C3.51957 11.1054 3.26522 11 3 11ZM4.93 17.66C4.78955 17.7996 4.69372 17.9778 4.65465 18.1719C4.61559 18.3661 4.63504 18.5674 4.71055 18.7505C4.78607 18.9336 4.91423 19.0901 5.07881 19.2003C5.24339 19.3104 5.43697 19.3692 5.635 19.3692C5.83304 19.3692 6.02661 19.3104 6.19119 19.2003C6.35577 19.0901 6.48394 18.9336 6.55945 18.7505C6.63496 18.5674 6.65442 18.3661 6.61535 18.1719C6.57628 17.9778 6.48045 17.7996 6.34 17.66C6.15264 17.4737 5.89919 17.3692 5.635 17.3692C5.37081 17.3692 5.11736 17.4737 4.93 17.66V17.66ZM6.34 6.34C6.48045 6.20039 6.57628 6.02221 6.61535 5.82807C6.65442 5.63393 6.63496 5.43256 6.55945 5.24948C6.48394 5.06641 6.35577 4.90988 6.19119 4.79974C6.02661 4.68959 5.83304 4.63079 5.635 4.63079C5.43697 4.63079 5.24339 4.68959 5.07881 4.79974C4.91423 4.90988 4.78607 5.06641 4.71055 5.24948C4.63504 5.43256 4.61559 5.63393 4.65465 5.82807C4.69372 6.02221 4.78955 6.20039 4.93 6.34C5.11736 6.52625 5.37081 6.63079 5.635 6.63079C5.89919 6.63079 6.15264 6.52625 6.34 6.34ZM12 4C12.1978 4 12.3911 3.94135 12.5556 3.83147C12.72 3.72159 12.8482 3.56541 12.9239 3.38268C12.9996 3.19996 13.0194 2.99889 12.9808 2.80491C12.9422 2.61093 12.847 2.43275 12.7071 2.29289C12.5673 2.15304 12.3891 2.0578 12.1951 2.01922C12.0011 1.98063 11.8 2.00043 11.6173 2.07612C11.4346 2.15181 11.2784 2.27998 11.1685 2.44443C11.0587 2.60888 11 2.80222 11 3C11 3.26522 11.1054 3.51957 11.2929 3.70711C11.4804 3.89464 11.7348 4 12 4ZM17.66 17.66C17.5196 17.7996 17.4237 17.9778 17.3847 18.1719C17.3456 18.3661 17.365 18.5674 17.4406 18.7505C17.5161 18.9336 17.6442 19.0901 17.8088 19.2003C17.9734 19.3104 18.167 19.3692 18.365 19.3692C18.563 19.3692 18.7566 19.3104 18.9212 19.2003C19.0858 19.0901 19.2139 18.9336 19.2894 18.7505C19.365 18.5674 19.3844 18.3661 19.3453 18.1719C19.3063 17.9778 19.2104 17.7996 19.07 17.66C18.8826 17.4737 18.6292 17.3692 18.365 17.3692C18.1008 17.3692 17.8474 17.4737 17.66 17.66V17.66ZM21 11C20.8022 11 20.6089 11.0587 20.4444 11.1685C20.28 11.2784 20.1518 11.4346 20.0761 11.6173C20.0004 11.8 19.9806 12.0011 20.0192 12.1951C20.0578 12.3891 20.153 12.5673 20.2929 12.7071C20.4327 12.847 20.6109 12.9422 20.8049 12.9808C20.9989 13.0194 21.2 12.9996 21.3827 12.9239C21.5654 12.8482 21.7216 12.72 21.8315 12.5556C21.9414 12.3911 22 12.1978 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM17.66 4.93C17.5196 5.06961 17.4237 5.24779 17.3847 5.44193C17.3456 5.63607 17.365 5.83744 17.4406 6.02052C17.5161 6.20359 17.6442 6.36012 17.8088 6.47026C17.9734 6.58041 18.167 6.63921 18.365 6.63921C18.563 6.63921 18.7566 6.58041 18.9212 6.47026C19.0858 6.36012 19.2139 6.20359 19.2894 6.02052C19.365 5.83744 19.3844 5.63607 19.3453 5.44193C19.3063 5.24779 19.2104 5.06961 19.07 4.93C18.8826 4.74375 18.6292 4.63921 18.365 4.63921C18.1008 4.63921 17.8474 4.74375 17.66 4.93V4.93ZM12 20C11.8022 20 11.6089 20.0586 11.4444 20.1685C11.28 20.2784 11.1518 20.4346 11.0761 20.6173C11.0004 20.8 10.9806 21.0011 11.0192 21.1951C11.0578 21.3891 11.153 21.5673 11.2929 21.7071C11.4327 21.847 11.6109 21.9422 11.8049 21.9808C11.9989 22.0194 12.2 21.9996 12.3827 21.9239C12.5654 21.8482 12.7216 21.72 12.8315 21.5556C12.9414 21.3911 13 21.1978 13 21C13 20.7348 12.8946 20.4804 12.7071 20.2929C12.5196 20.1054 12.2652 20 12 20ZM12 6C10.8133 6 9.65327 6.35189 8.66658 7.01118C7.67988 7.67047 6.91085 8.60754 6.45672 9.7039C6.0026 10.8003 5.88378 12.0067 6.11529 13.1705C6.3468 14.3344 6.91824 15.4035 7.75736 16.2426C8.59648 17.0818 9.66557 17.6532 10.8295 17.8847C11.9933 18.1162 13.1997 17.9974 14.2961 17.5433C15.3925 17.0892 16.3295 16.3201 16.9888 15.3334C17.6481 14.3467 18 13.1867 18 12C18 10.4087 17.3679 8.88258 16.2426 7.75736C15.1174 6.63214 13.5913 6 12 6ZM12 16C11.2089 16 10.4355 15.7654 9.77772 15.3259C9.11992 14.8864 8.60723 14.2616 8.30448 13.5307C8.00173 12.7998 7.92252 11.9956 8.07686 11.2196C8.2312 10.4437 8.61216 9.73098 9.17157 9.17157C9.73098 8.61216 10.4437 8.2312 11.2196 8.07686C11.9956 7.92252 12.7998 8.00173 13.5307 8.30448C14.2616 8.60723 14.8864 9.11992 15.3259 9.77772C15.7654 10.4355 16 11.2089 16 12C16 13.0609 15.5786 14.0783 14.8284 14.8284C14.0783 15.5786 13.0609 16 12 16Z",fill:"currentColor"}))}exports.DarkThemeIcon=DarkThemeIcon},59283: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.DarkTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_themes_base_theme_1=__webpack_require__(80256),dark_theme_values_1=__webpack_require__(40690),dark_theme_icon_1=__webpack_require__(57153);function DarkTheme(props){return react_1.default.createElement(design_themes_base_theme_1.BaseTheme,Object.assign({},props,{overrides:dark_theme_values_1.darkThemeValues}))}exports.DarkTheme=DarkTheme,DarkTheme.Icon=dark_theme_icon_1.DarkThemeIcon,DarkTheme.themeName="dark"},40690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.darkThemeValues=void 0,exports.darkThemeValues={backgroundColor:"#121212",onBackgroundColor:"#EDEDED",onBackgroundLowColor:"#848483",onBackgroundMediumColor:"#A3A3A2",onBackgroundHighColor:"#EDEDED",primaryColor:"#6A57FD",onPrimaryColor:"#FFFFFF",borderMediumColor:"#3D3D3C",borderMediumHoverColor:"#A3A6B0",borderMediumFocusColor:"#9DA1A9",borderMediumActiveColor:"#8C8F96",borderHighColor:"#515150",borderHighHoverColor:"#6D6D6C",borderHighFocusColor:"#747473",borderHighActiveColor:"#898988",borderPrimaryColor:"#A9A0FF",borderPrimaryHoverColor:"#B7AFFF",borderPrimaryFocusColor:"#BAB3FF",borderPrimaryActiveColor:"#C4BEFF",surfaceColor:"#121212",surfaceHoverColor:"#2C2B36",surfaceActiveColor:"#373546",surfaceFocusColor:"#31303E",onSurfaceColor:"#FFFBFF",onSurfaceMediumColor:"#A3A3A2",onSurfaceLowColor:"#282828",surface01Color:"#1C1B1F",surface02Color:"#262438",surfacePrimaryColor:"#130068",surfacePrimaryHoverColor:"#392980",surfacePrimaryActiveColor:"#423386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFBFF",surfaceNeutralColor:"#121212",surfaceNeutralHoverColor:"#383838",surfaceNeutralFocusColor:"#414141",surfaceNeutralActiveColor:"#4B4B4B",onSurfaceNeutralHighColor:"#FFFBFF",onSurfaceNeutralMediumColor:"#A3A3A2",onSurfaceNeutralLowColor:"#282828",positiveColor:"#378751",negativeColor:"#B6344F",warningColor:"#BB8C25",processColor:"#2174C6",primarySurfaceColor:"#252338",positiveSurfaceColor:"#0C1E12",negativeSurfaceColor:"#280B11",warningSurfaceColor:"#291F08",processSurfaceColor:"#071A2C"}},62398:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DarkThemeIcon=exports.DarkTheme=exports.darkThemeValues=void 0;var dark_theme_values_1=__webpack_require__(40690);Object.defineProperty(exports,"darkThemeValues",{enumerable:!0,get:function(){return dark_theme_values_1.darkThemeValues}});var dark_theme_1=__webpack_require__(59283);Object.defineProperty(exports,"DarkTheme",{enumerable:!0,get:function(){return dark_theme_1.DarkTheme}});var dark_theme_icon_1=__webpack_require__(57153);Object.defineProperty(exports,"DarkThemeIcon",{enumerable:!0,get:function(){return dark_theme_icon_1.DarkThemeIcon}})},86592:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LightThemeIcon=exports.lightThemeValues=exports.LightTheme=void 0;var light_theme_1=__webpack_require__(30012);Object.defineProperty(exports,"LightTheme",{enumerable:!0,get:function(){return light_theme_1.LightTheme}}),Object.defineProperty(exports,"lightThemeValues",{enumerable:!0,get:function(){return light_theme_1.lightThemeValues}});var light_theme_icon_1=__webpack_require__(3988);Object.defineProperty(exports,"LightThemeIcon",{enumerable:!0,get:function(){return light_theme_icon_1.LightThemeIcon}})},3988: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.LightThemeIcon=void 0;const react_1=__importDefault(__webpack_require__(59496));function LightThemeIcon(props){return react_1.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},props),react_1.default.createElement("path",{d:"M5 12C5 11.7348 4.89464 11.4804 4.70711 11.2929C4.51957 11.1054 4.26522 11 4 11H3C2.73478 11 2.48043 11.1054 2.29289 11.2929C2.10536 11.4804 2 11.7348 2 12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8946 2.73478 13 3 13H4C4.26522 13 4.51957 12.8946 4.70711 12.7071C4.89464 12.5196 5 12.2652 5 12ZM5.64 17L4.93 17.71C4.74375 17.8974 4.63921 18.1508 4.63921 18.415C4.63921 18.6792 4.74375 18.9326 4.93 19.12C5.11736 19.3063 5.37081 19.4108 5.635 19.4108C5.89919 19.4108 6.15264 19.3063 6.34 19.12L7.05 18.41C7.21383 18.2187 7.29943 17.9726 7.28971 17.7209C7.27999 17.4693 7.17566 17.2305 6.99756 17.0524C6.81947 16.8743 6.58073 16.77 6.32905 16.7603C6.07738 16.7506 5.8313 16.8362 5.64 17V17ZM12 5C12.2652 5 12.5196 4.89464 12.7071 4.70711C12.8946 4.51957 13 4.26522 13 4V3C13 2.73478 12.8946 2.48043 12.7071 2.29289C12.5196 2.10536 12.2652 2 12 2C11.7348 2 11.4804 2.10536 11.2929 2.29289C11.1054 2.48043 11 2.73478 11 3V4C11 4.26522 11.1054 4.51957 11.2929 4.70711C11.4804 4.89464 11.7348 5 12 5ZM17.66 7.34C17.9223 7.3389 18.1737 7.23474 18.36 7.05L19.07 6.34C19.1747 6.25035 19.2597 6.14003 19.3197 6.01597C19.3797 5.89191 19.4135 5.75677 19.4188 5.61905C19.4241 5.48133 19.4009 5.344 19.3506 5.21568C19.3004 5.08735 19.2241 4.9708 19.1266 4.87335C19.0292 4.77589 18.9126 4.69964 18.7843 4.64936C18.656 4.59909 18.5187 4.57588 18.3809 4.5812C18.2432 4.58652 18.1081 4.62025 17.984 4.68027C17.86 4.7403 17.7496 4.82532 17.66 4.93L17 5.64C16.8137 5.82736 16.7092 6.08081 16.7092 6.345C16.7092 6.60919 16.8137 6.86264 17 7.05C17.1763 7.22536 17.4116 7.32875 17.66 7.34V7.34ZM5.66 7.05C5.84626 7.23474 6.09766 7.3389 6.36 7.34C6.49161 7.34076 6.62207 7.31554 6.74391 7.26577C6.86574 7.21601 6.97656 7.14268 7.07 7.05C7.25625 6.86264 7.36079 6.60919 7.36079 6.345C7.36079 6.08081 7.25625 5.82736 7.07 5.64L6.36 4.93C6.26742 4.8361 6.15725 4.76136 6.03578 4.71005C5.91432 4.65873 5.78393 4.63184 5.65207 4.63091C5.52021 4.62998 5.38946 4.65503 5.26728 4.70463C5.14511 4.75424 5.0339 4.82742 4.94 4.92C4.8461 5.01258 4.77136 5.12275 4.72005 5.24422C4.66873 5.36568 4.64184 5.49607 4.64091 5.62793C4.63903 5.89423 4.74302 6.15037 4.93 6.34L5.66 7.05ZM21 11H20C19.7348 11 19.4804 11.1054 19.2929 11.2929C19.1054 11.4804 19 11.7348 19 12C19 12.2652 19.1054 12.5196 19.2929 12.7071C19.4804 12.8946 19.7348 13 20 13H21C21.2652 13 21.5196 12.8946 21.7071 12.7071C21.8946 12.5196 22 12.2652 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM18.36 17C18.17 16.8943 17.9508 16.8534 17.7355 16.8835C17.5202 16.9136 17.3205 17.0131 17.1668 17.1668C17.0131 17.3205 16.9136 17.5202 16.8835 17.7355C16.8534 17.9508 16.8943 18.17 17 18.36L17.71 19.07C17.8974 19.2563 18.1508 19.3608 18.415 19.3608C18.6792 19.3608 18.9326 19.2563 19.12 19.07C19.3063 18.8826 19.4108 18.6292 19.4108 18.365C19.4108 18.1008 19.3063 17.8474 19.12 17.66L18.36 17ZM12 6.5C10.9122 6.5 9.84883 6.82257 8.94436 7.42692C8.03989 8.03126 7.33494 8.89025 6.91866 9.89524C6.50238 10.9002 6.39346 12.0061 6.60568 13.073C6.8179 14.1399 7.34172 15.1199 8.11091 15.8891C8.8801 16.6583 9.86011 17.1821 10.927 17.3943C11.9939 17.6065 13.0998 17.4976 14.1048 17.0813C15.1098 16.6651 15.9687 15.9601 16.5731 15.0556C17.1774 14.1512 17.5 13.0878 17.5 12C17.4974 10.5421 16.917 9.14471 15.8862 8.11383C14.8553 7.08295 13.4579 6.50264 12 6.5ZM12 15.5C11.3078 15.5 10.6311 15.2947 10.0555 14.9101C9.47993 14.5256 9.03133 13.9789 8.76642 13.3394C8.50151 12.6999 8.4322 11.9961 8.56725 11.3172C8.7023 10.6382 9.03564 10.0146 9.52513 9.52513C10.0146 9.03564 10.6382 8.7023 11.3172 8.56725C11.9961 8.4322 12.6999 8.50151 13.3394 8.76642C13.9789 9.03133 14.5256 9.47993 14.9101 10.0555C15.2947 10.6311 15.5 11.3078 15.5 12C15.5 12.9283 15.1313 13.8185 14.4749 14.4749C13.8185 15.1313 12.9283 15.5 12 15.5V15.5ZM12 19C11.7348 19 11.4804 19.1054 11.2929 19.2929C11.1054 19.4804 11 19.7348 11 20V21C11 21.2652 11.1054 21.5196 11.2929 21.7071C11.4804 21.8946 11.7348 22 12 22C12.2652 22 12.5196 21.8946 12.7071 21.7071C12.8946 21.5196 13 21.2652 13 21V20C13 19.7348 12.8946 19.4804 12.7071 19.2929C12.5196 19.1054 12.2652 19 12 19Z",fill:"currentColor"}))}exports.LightThemeIcon=LightThemeIcon},30012: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.LightTheme=exports.lightThemeValues=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_themes_base_theme_1=__webpack_require__(80256),light_theme_icon_1=__webpack_require__(3988);exports.lightThemeValues=design_themes_base_theme_1.baseThemeDefaults;function LightTheme(props){return react_1.default.createElement(design_themes_base_theme_1.BaseTheme,Object.assign({},props))}exports.LightTheme=LightTheme,LightTheme.Icon=light_theme_icon_1.LightThemeIcon,LightTheme.themeName="light"},95484:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LightAndDarkThemes=exports.DefaultThemeProvider=void 0;const design_themes_base_theme_1=__webpack_require__(80256),design_themes_light_theme_1=__webpack_require__(86592),design_themes_dark_theme_1=__webpack_require__(62398);exports.DefaultThemeProvider=design_themes_base_theme_1.BaseTheme,exports.LightAndDarkThemes=[design_themes_light_theme_1.LightTheme,design_themes_dark_theme_1.DarkTheme]},68960:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ThemeToggler=exports.ThemeSwitcher=void 0;var theme_switcher_1=__webpack_require__(79033);Object.defineProperty(exports,"ThemeSwitcher",{enumerable:!0,get:function(){return theme_switcher_1.ThemeSwitcher}});var theme_toggler_1=__webpack_require__(46003);Object.defineProperty(exports,"ThemeToggler",{enumerable:!0,get:function(){return theme_toggler_1.ThemeToggler}})},79033: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.ThemeSwitcher=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_themes_theme_switcher_1=__webpack_require__(15567),default_themes_1=__webpack_require__(95484);function ThemeSwitcher(_a){var{themes=default_themes_1.LightAndDarkThemes}=_a,props=__rest(_a,["themes"]);return react_1.default.createElement(base_react_themes_theme_switcher_1.ThemeSwitcher,Object.assign({themes},props))}exports.ThemeSwitcher=ThemeSwitcher},46003: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.ThemeToggler=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_themes_theme_switcher_1=__webpack_require__(15567),theme_toggler_module_scss_1=__importDefault(__webpack_require__(81226));function ThemeToggler(){const themePicker=(0,base_react_themes_theme_switcher_1.useThemePicker)(),setNextTheme=(0,base_react_themes_theme_switcher_1.useNextTheme)();if(!themePicker)return null;const currentTheme=themePicker.current;if(!currentTheme)return null;const{Icon,displayName}=currentTheme;return Icon?react_1.default.createElement(Icon,{className:theme_toggler_module_scss_1.default.toggler,onClick:setNextTheme}):react_1.default.createElement("div",{className:theme_toggler_module_scss_1.default.toggler,onClick:setNextTheme},displayName)}exports.ThemeToggler=ThemeToggler},66286: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.AlertCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_card_1=__webpack_require__(19537),design_ui_elements_level_icon_1=__webpack_require__(39994),base_ui_surfaces_background_1=__webpack_require__(84733),documenter_ui_heading_1=__webpack_require__(37742),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_separator_1=__webpack_require__(12563),alert_card_module_scss_1=__importDefault(__webpack_require__(76164));function AlertCard(_a){var{title,titleSize="xxs",children,className,level}=_a,rest=__rest(_a,["title","titleSize","children","className","level"]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({className:(0,classnames_1.default)(base_ui_surfaces_background_1.backgrounds.dent,alert_card_module_scss_1.default.card,className)},rest),react_1.default.createElement("div",{className:(0,classnames_1.default)(alert_card_module_scss_1.default.heading,className)},react_1.default.createElement(design_ui_elements_level_icon_1.LevelIcon,{level,className:(0,classnames_1.default)(alert_card_module_scss_1.default.icon,className)}),react_1.default.createElement(documenter_ui_heading_1.H3,{size:titleSize,className:(0,classnames_1.default)(alert_card_module_scss_1.default.title,className)},title)),react_1.default.createElement(design_ui_separator_1.Separator,{isPresentational:!0,className:(0,classnames_1.default)(alert_card_module_scss_1.default.separator,className)}),children)}exports.AlertCard=AlertCard},35682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AlertCard=void 0;var alert_card_1=__webpack_require__(66286);Object.defineProperty(exports,"AlertCard",{enumerable:!0,get:function(){return alert_card_1.AlertCard}})},39994:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LevelIcon=void 0;var level_icon_1=__webpack_require__(40942);Object.defineProperty(exports,"LevelIcon",{enumerable:!0,get:function(){return level_icon_1.LevelIcon}})},40942: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.LevelIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_theme_accent_color_1=__webpack_require__(11796),level_icon_module_scss_1=__importDefault(__webpack_require__(70976));function LevelIcon(_a){var{level,className}=_a,rest=__rest(_a,["level","className"]);return level==="error"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"error-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.action,className)},rest)):level==="info"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"info-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.process,className)},rest)):level==="warning"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"warn-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.consider,className)},rest)):level==="success"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"billing-checkmark",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.continue,className)},rest)):null}exports.LevelIcon=LevelIcon},55611: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.EmptyBox=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),empty_box_module_scss_1=__importDefault(__webpack_require__(22135));function EmptyBox(_a){var{title,link,linkText,className}=_a,rest=__rest(_a,["title","link","linkText","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(empty_box_module_scss_1.default.emptyCompositions,className)}),react_1.default.createElement("div",{className:empty_box_module_scss_1.default.innerBorder},react_1.default.createElement("div",null,title),react_1.default.createElement("a",{href:link,target:"_blank",rel:"noopener noreferrer"},linkText,react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"arrow_right"}))))}exports.EmptyBox=EmptyBox},89673:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EmptyBox=void 0;var empty_box_1=__webpack_require__(55611);Object.defineProperty(exports,"EmptyBox",{enumerable:!0,get:function(){return empty_box_1.EmptyBox}})},85913: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.ContactIcons=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_navigation_link_1=__webpack_require__(6231),community_constants_links_1=__webpack_require__(93042),styles2={link:{textDecoration:"none",lineHeight:"inherit",color:"unset"},logo:{width:"24px",height:"24px",margin:"0 13px"}};function ContactIcons(props){const style={props};return react_1.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},styles2.iconLine),style)},props),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.slack},react_1.default.createElement("img",{alt:"slack",style:styles2.logo,src:"https://static.bit.dev/harmony/slack-round-icon.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.github},react_1.default.createElement("img",{alt:"github",style:styles2.logo,src:"https://static.bit.dev/harmony/github.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.docs},react_1.default.createElement("img",{alt:"bit docs",style:styles2.logo,src:"https://static.bit.dev/bit-logo.svg"})))}exports.ContactIcons=ContactIcons},73737: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.ErrorPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),styles2={errorPage:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"auto",padding:"24px",textAlign:"center"},title:{fontWeight:"bold",margin:"0 0 24px 0"},img:{maxWidth:"700px",marginBottom:"24px",width:"100%"}},inlineStyles=`
|
30
|
+
`;function useFetchDocs(componentId){const variables={id:componentId},request=(0,graphql_hooks_use_query_light_1.useQuery)(DOCS_QUERY,{variables,server:GQL_SERVER});return(0,react_1.useMemo)(()=>{var _a;return Object.assign(Object.assign({},request),{data:request.data&&{docs:(_a=request.data)===null||_a===void 0?void 0:_a.getHost.getDocs}})},[request])}exports.useFetchDocs=useFetchDocs},76777:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Labels=exports.VersionLabel=void 0;var version_label_1=__webpack_require__(66777);Object.defineProperty(exports,"VersionLabel",{enumerable:!0,get:function(){return version_label_1.VersionLabel}}),Object.defineProperty(exports,"Labels",{enumerable:!0,get:function(){return version_label_1.Labels}})},66777: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.Labels=exports.VersionLabel=void 0;const design_ui_pill_label_1=__webpack_require__(44458),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),version_label_module_scss_1=__importDefault(__webpack_require__(2398));function VersionLabel(_a){var{status,className}=_a,rest=__rest(_a,["status","className"]);return react_1.default.createElement(design_ui_pill_label_1.PillLabel,Object.assign({},rest,{className:(0,classnames_1.default)(version_label_module_scss_1.default.label,version_label_module_scss_1.default[status],className)}),status.replace(/-/g," "))}exports.VersionLabel=VersionLabel;function Labels({isCurrent,isLatest}){return react_1.default.createElement("div",{className:version_label_module_scss_1.default.labelContainer},isLatest&&react_1.default.createElement(VersionLabel,{className:version_label_module_scss_1.default.versionLabel,status:"latest"}),isCurrent&&react_1.default.createElement(VersionLabel,{className:version_label_module_scss_1.default.versionLabel,status:"current"}),!isLatest&&!isCurrent&&react_1.default.createElement("div",{className:version_label_module_scss_1.default.emptyLabel}))}exports.Labels=Labels},74135: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},67922:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;var humanize_1=__webpack_require__(74135);Object.defineProperty(exports,"humanizeCompositionId",{enumerable:!0,get:function(){return humanize_1.humanizeCompositionId}})},96279: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.CompositionErrorFallback=exports.CompositionCard=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_error_boundary_1=__webpack_require__(75340),base_ui_surfaces_card_1=__webpack_require__(19537),base_ui_theme_accent_color_1=__webpack_require__(11796),react_ui_error_fallback_1=__webpack_require__(80617),compositions_model_composition_id_1=__webpack_require__(67922),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_text_themed_text_1=__webpack_require__(64899),composition_card_module_scss_1=__importDefault(__webpack_require__(62850));function CompositionCard(_a){var{Composition,name,link,className}=_a,rest=__rest(_a,["Composition","name","link","className"]);const{canvas,compositionName}=Composition,humanizedName=(0,react_1.useMemo)(()=>compositionName||(0,compositions_model_composition_id_1.humanizeCompositionId)(name),[name,compositionName]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({elevation:"low",className:(0,classnames_1.default)(className,composition_card_module_scss_1.default.compositionCard)},rest),react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:CompositionErrorFallback},react_1.default.createElement("div",{style:canvas,className:composition_card_module_scss_1.default.compositionContainer},react_1.default.createElement(Composition,null))),react_1.default.createElement("div",{className:(0,classnames_1.default)(composition_card_module_scss_1.default.title,base_ui_theme_accent_color_1.colorPalette.neutralHeavy,base_ui_text_themed_text_1.themedText)},react_1.default.createElement("span",null,humanizedName),link&&react_1.default.createElement("a",{className:composition_card_module_scss_1.default.linkToComposition,target:"_blank",rel:"noopener noreferrer",href:link},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"open-tab"}))))}exports.CompositionCard=CompositionCard;function CompositionErrorFallback(props){return react_1.default.createElement(react_ui_error_fallback_1.ErrorFallback,Object.assign({},props,{className:(0,classnames_1.default)(props.className,composition_card_module_scss_1.default.compositionCardError)}))}exports.CompositionErrorFallback=CompositionErrorFallback},85240:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCard=void 0;var composition_card_1=__webpack_require__(96279);Object.defineProperty(exports,"CompositionCard",{enumerable:!0,get:function(){return composition_card_1.CompositionCard}})},80638: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.CompositionsMenuBar=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),lodash_flatten_1=__importDefault(__webpack_require__(11549)),compositions_menu_bar_module_scss_1=__importDefault(__webpack_require__(28641));function CompositionsMenuBar(_a){var{className,menuBarWidgets,children}=_a,rest=__rest(_a,["className","menuBarWidgets","children"]);const widgetsStart=(0,react_1.useMemo)(()=>(0,lodash_flatten_1.default)(menuBarWidgets?.values()).filter(({location})=>location==="start").map(({content},idx)=>react_1.default.createElement(react_1.default.Fragment,{key:idx},content)),[menuBarWidgets]),widgetsEnd=(0,react_1.useMemo)(()=>(0,lodash_flatten_1.default)(menuBarWidgets?.values()).filter(({location})=>location==="end").map(({content},idx)=>react_1.default.createElement(react_1.default.Fragment,{key:idx},content)),[menuBarWidgets]);return!widgetsStart.length&&!widgetsEnd.length?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,compositions_menu_bar_module_scss_1.default.compositionsMenuBar)}),!!(widgetsStart?.length||children)&&react_1.default.createElement("div",null,widgetsStart," ",children),react_1.default.createElement("div",{className:compositions_menu_bar_module_scss_1.default.spacer}),!!widgetsEnd?.length&&react_1.default.createElement("div",null,widgetsEnd))}exports.CompositionsMenuBar=CompositionsMenuBar},10421:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsMenuBar=void 0;var compositions_menu_bar_1=__webpack_require__(80638);Object.defineProperty(exports,"CompositionsMenuBar",{enumerable:!0,get:function(){return compositions_menu_bar_1.CompositionsMenuBar}})},85144: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.CompositionsOverview=void 0;const react_1=__importDefault(__webpack_require__(59496)),compositions_ui_composition_card_1=__webpack_require__(85240),compositions_overview_module_scss_1=__importDefault(__webpack_require__(44730));function CompositionsOverview({compositions,compositionCardClass}){return react_1.default.createElement("div",{className:compositions_overview_module_scss_1.default.background},compositions&&Object.entries(compositions).map(([key,composition])=>react_1.default.createElement(compositions_ui_composition_card_1.CompositionCard,{key,Composition:composition,name:key,className:compositionCardClass})))}exports.CompositionsOverview=CompositionsOverview},31314:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsOverview=void 0;var compositions_overview_1=__webpack_require__(85144);Object.defineProperty(exports,"CompositionsOverview",{enumerable:!0,get:function(){return compositions_overview_1.CompositionsOverview}})},77972:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePreviewQueryParams=exports.usePreview=exports.CompositionContextProvider=void 0;var use_composition_1=__webpack_require__(49493);Object.defineProperty(exports,"CompositionContextProvider",{enumerable:!0,get:function(){return use_composition_1.CompositionContextProvider}}),Object.defineProperty(exports,"usePreview",{enumerable:!0,get:function(){return use_composition_1.usePreview}});var use_preview_query_params_1=__webpack_require__(54335);Object.defineProperty(exports,"usePreviewQueryParams",{enumerable:!0,get:function(){return use_preview_query_params_1.usePreviewQueryParams}})},49493: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.usePreview=exports.CompositionContextProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),CompositionsCtx=(0,react_1.createContext)({queryParams:{},setQueryParams:()=>{}});function CompositionContextProvider({children,queryParams,setQueryParams}){const state=(0,react_1.useMemo)(()=>({queryParams,setQueryParams}),[queryParams,setQueryParams]);return react_1.default.createElement(CompositionsCtx.Provider,{value:state},children)}exports.CompositionContextProvider=CompositionContextProvider;function usePreview(){return(0,react_1.useContext)(CompositionsCtx)}exports.usePreview=usePreview},54335:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.usePreviewQueryParams=void 0;const react_1=__webpack_require__(59496),use_composition_1=__webpack_require__(49493);function usePreviewQueryParams(paramName){const ctx=(0,use_composition_1.usePreview)(),param=ctx.queryParams[paramName],setQueryParam=(0,react_1.useCallback)(value=>ctx.setQueryParams(state=>Object.assign(Object.assign({},state),{[paramName]:value})),[paramName]);return[param,setQueryParam]}exports.usePreviewQueryParams=usePreviewQueryParams},70029: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__(34211),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},89332:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;var icon_1=__webpack_require__(70029);Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return icon_1.Icon}})},79967: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__(34211),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},29284:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;var icon_1=__webpack_require__(79967);Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return icon_1.Icon}})},79390: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.ButtonsPlugin=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),design_ui_icon_button_1=__webpack_require__(73486),buttons_plugin_module_scss_1=__importDefault(__webpack_require__(18266));function ButtonsPlugin(_a){var{onClear,onSubmit,disabledSubmit,submitText="Done",loading,submitClassName,className}=_a,rest=__rest(_a,["onClear","onSubmit","disabledSubmit","submitText","loading","submitClassName","className"]);return!onClear&&!onSubmit?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(buttons_plugin_module_scss_1.default.buttonsHolder,className)}),onClear&&react_1.default.createElement("div",{className:buttons_plugin_module_scss_1.default.clearText,onClick:onClear},"Clear"),onSubmit&&react_1.default.createElement(design_ui_icon_button_1.IconButton,{priority:"cta",onClick:onSubmit,loading,disabled:disabledSubmit,className:submitClassName},submitText))}exports.ButtonsPlugin=ButtonsPlugin},8827:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ButtonsPlugin=void 0;var buttons_plugin_1=__webpack_require__(79390);Object.defineProperty(exports,"ButtonsPlugin",{enumerable:!0,get:function(){return buttons_plugin_1.ButtonsPlugin}})},8044: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__(19803)),base_ui_surfaces_drawer_1=__webpack_require__(38073),base_ui_surfaces_abs_container_1=__webpack_require__(63146),base_ui_css_components_elevation_1=__webpack_require__(75210),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(79300),placeholder_1=__webpack_require__(23723),dropdown_module_scss_1=__importDefault(__webpack_require__(36813));function Dropdown(_a){var{children,position="bottom",elevation="low",roundness="small",margin=4,placeholderContent="",dropClass,placeholderBorder=!0,topPlugin,bottomPlugin,clickToggles=!1,className}=_a,rest=__rest(_a,["children","position","elevation","roundness","margin","placeholderContent","dropClass","placeholderBorder","topPlugin","bottomPlugin","clickToggles","className"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({margin,className:(0,classnames_1.default)(!placeholderBorder&&dropdown_module_scss_1.default.removePlaceholderBorder,className),placeholderContent:typeof placeholderContent=="string"?react_1.default.createElement(placeholder_1.Placeholder,null,placeholderContent):placeholderContent,clickToggles},rest),react_1.default.createElement(DropdownMenu,{position,elevation,roundness,className:dropClass},topPlugin,children,bottomPlugin))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="low",roundness="small"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:(0,classnames_1.default)(dropdown_module_scss_1.default.dropdownMenu,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)}))}},64718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=__webpack_unused_export__=exports.Lt=void 0;var dropdown_1=__webpack_require__(8044);Object.defineProperty(exports,"Lt",{enumerable:!0,get:function(){return dropdown_1.Dropdown}});var placeholder_1=__webpack_require__(23723);__webpack_unused_export__={enumerable:!0,get:function(){return placeholder_1.Placeholder}};var buttons_plugin_1=__webpack_require__(8827);__webpack_unused_export__={enumerable:!0,get:function(){return buttons_plugin_1.ButtonsPlugin}}},23723: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.Placeholder=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),design_inputs_selectors_menu_item_1=__webpack_require__(47699),dropdown_module_scss_1=__importDefault(__webpack_require__(36813));function Placeholder(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(design_inputs_selectors_menu_item_1.MenuItem,Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.dropdownPlaceholder,className)},rest),children," ",react_1.default.createElement(FatArrowDown,null))}exports.Placeholder=Placeholder;function FatArrowDown(){return react_1.default.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react_1.default.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"var(--on-surface-color, #2b2b2b)"}))}},47699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.iconClass=exports.MenuItem=void 0;var menu_item_1=__webpack_require__(48975);Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:function(){return menu_item_1.MenuItem}}),Object.defineProperty(exports,"iconClass",{enumerable:!0,get:function(){return menu_item_1.iconClass}})},48975: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.MenuItem=exports.iconClass=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),menu_item_module_scss_1=__importDefault(__webpack_require__(61303));exports.iconClass=menu_item_module_scss_1.default.withIcon,exports.MenuItem=(0,react_1.forwardRef)((_a,ref)=>{var{children,className,icon,active,onClick,interactive=!!onClick}=_a,rest=__rest(_a,["children","className","icon","active","onClick","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{ref,onClick,className:(0,classnames_1.default)(className,menu_item_module_scss_1.default.menuItem,interactive&&menu_item_module_scss_1.default.interactive,active&&menu_item_module_scss_1.default.active,icon&&menu_item_module_scss_1.default.withIcon)}),icon,children)})},53142:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=exports.sN=void 0;var menu_item_1=__webpack_require__(86781);Object.defineProperty(exports,"sN",{enumerable:!0,get:function(){return menu_item_1.MenuItem}}),__webpack_unused_export__={enumerable:!0,get:function(){return menu_item_1.iconClass}}},86781: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.MenuItem=exports.iconClass=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),menu_item_module_scss_1=__importDefault(__webpack_require__(50490));exports.iconClass=menu_item_module_scss_1.default.withIcon,exports.MenuItem=(0,react_1.forwardRef)((_a,ref)=>{var{children,className,icon,active,onClick,interactive=!!onClick}=_a,rest=__rest(_a,["children","className","icon","active","onClick","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{ref,onClick,className:(0,classnames_1.default)(className,menu_item_module_scss_1.default.menuItem,interactive&&menu_item_module_scss_1.default.interactive,active&&menu_item_module_scss_1.default.active,icon&&menu_item_module_scss_1.default.withIcon)}),icon,children)})},12712:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ContentTabs:()=>ContentTabs});var react=__webpack_require__(59496),classnames2=__webpack_require__(19803),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(64718),design_inputs_selectors_menu_item_dist=__webpack_require__(47699);const tab_line_module={tabLine:"tab-line_tabLine__YIR0x"};var __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};const TabLine=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,borderPosition,className}=_a,rest=__rest(_a,["selectedTab","borderPosition","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,setBorderStyle(styleObj)}},[selectedTab]),react.createElement("div",Object.assign({"data-position":borderPosition,className:classnames_default()(tab_line_module.tabLine,className),style:borderStyles,ref},rest))}),tab_folder_module={tabFolder:"tab-folder_tabFolder__2AK_3"};var tab_folder_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};const TabFolder=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,className}=_a,rest=tab_folder_rest(_a,["selectedTab","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,setBorderStyle(styleObj)}},[selectedTab]),react.createElement("div",Object.assign({className:classnames_default()(tab_folder_module.tabFolder,className),style:borderStyles,ref},rest))}),responsive_navbar_module={tab:"responsive-navbar_tab__4e8ei",active:"responsive-navbar_active__-nBEB",navTabs:"responsive-navbar_navTabs__1ZcG0",overflow:"responsive-navbar_overflow__3XQBY",more:"responsive-navbar_more__2I-eW",dots:"responsive-navbar_dots__fJjat",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__xWb5p",item:"responsive-navbar_item__1RKmi",menuItem:"responsive-navbar_menuItem__3VVyN",hidden:"responsive-navbar_hidden__2CJgM"};var responsive_navbar_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};function ResponsiveNavbar(_a){var{defaultActiveIndex=0,onSelect,navClassName,tabClassName,borderPosition="bottom",tabs,dropdownPosition="bottom-end",priority}=_a,rest=responsive_navbar_rest(_a,["defaultActiveIndex","onSelect","navClassName","tabClassName","borderPosition","tabs","dropdownPosition","priority"]);const[tabIndex,setTabIndex]=(0,react.useState)(defaultActiveIndex),[selectedTab,setSelectedTab]=(0,react.useState)(void 0),moreBtnRef=(0,react.useRef)(null),containerRef=(0,react.useRef)(null),tabLineRef=(0,react.useRef)(null),primaryTabRefs=(0,react.useRef)([]),secondaryTabRefs=(0,react.useRef)([]);(0,react.useEffect)(()=>(setSelectedTab(primaryTabRefs.current[tabIndex]),toggleTabs(),window.addEventListener("resize",toggleTabs),()=>window.removeEventListener("resize",toggleTabs)),[tabIndex,selectedTab,tabs]);const onTabSelect=index=>{onSelect&&onSelect(index),setTabIndex(index)};(0,react.useEffect)(()=>{setTabIndex(defaultActiveIndex)},[defaultActiveIndex]);const resetStyle=()=>{var _a2,_b,_c;(_a2=containerRef.current)===null||_a2===void 0||_a2.classList.remove(responsive_navbar_module.overflow),(_b=moreBtnRef.current)===null||_b===void 0||_b.classList.remove(responsive_navbar_module.hidden),(_c=tabLineRef.current)===null||_c===void 0||_c.classList.remove(responsive_navbar_module.hidden),primaryTabRefs.current.forEach((contentTabRef,index)=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)}),secondaryTabRefs.current.forEach((contentTabRef,index)=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)})},getAllWidthBefore=currentElIndex=>{let width=0;return primaryTabRefs.current.forEach((el,index)=>{index<=currentElIndex&&(width+=el.offsetWidth)}),width},toggleTabs=()=>{var _a2,_b,_c,_d;resetStyle();const containerRefWidth=((_a2=containerRef.current)===null||_a2===void 0?void 0:_a2.offsetWidth)||0,buttonWidth=((_b=moreBtnRef.current)===null||_b===void 0?void 0:_b.offsetWidth)||0;let hiddenItems=[];for(let index=primaryTabRefs.current.length-1;index>0;index--){const tabRef=primaryTabRefs.current[index],allWidthBefore=getAllWidthBefore(index);containerRefWidth-buttonWidth<=allWidthBefore+buttonWidth&&(tabRef===selectedTab&&((_c=tabLineRef.current)===null||_c===void 0||_c.classList.add(responsive_navbar_module.hidden)),tabRef.classList.add(responsive_navbar_module.hidden),hiddenItems.push(index))}hiddenItems.length?secondaryTabRefs.current.forEach((tabRef,index)=>{hiddenItems.includes(index)||tabRef.classList.add(responsive_navbar_module.hidden)}):(_d=moreBtnRef.current)===null||_d===void 0||_d.classList.add(responsive_navbar_module.hidden)},getTabStyle=()=>{switch(priority){case"none":return null;case"line":return react.createElement(TabLine,{borderPosition,selectedTab,className:tabClassName,ref:tabLineRef});case"folder":return react.createElement(TabFolder,{selectedTab,className:tabClassName,ref:tabLineRef});default:return react.createElement(TabLine,{borderPosition,selectedTab,className:tabClassName,ref:tabLineRef})}};return react.createElement("nav",Object.assign({},rest,{className:classnames_default()(responsive_navbar_module.navTabs,responsive_navbar_module.overflow,navClassName),ref:containerRef}),tabs.map((tab,index)=>react.createElement("div",{className:classnames_default()(responsive_navbar_module.tab,index===tabIndex&&responsive_navbar_module.active),"data-priority":priority,onClick:e=>onTabSelect(index),key:`tab-${index}`,ref:ref=>ref&&(primaryTabRefs.current[index]=ref)},react.createElement(tab.component,{isInMenu:!1}))),getTabStyle(),react.createElement("div",{className:classnames_default()(responsive_navbar_module.more,responsive_navbar_module.hidden),ref:moreBtnRef},react.createElement(dist.Lt,{placeholderContent:react.createElement("div",{className:responsive_navbar_module.dots,"data-priority":"menu"},react.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:responsive_navbar_module.secondaryTabContainer,position:dropdownPosition,clickToggles:!0,margin:8},tabs.map((tab,index)=>react.createElement("div",{key:`dropdown-${index}`,ref:ref=>ref&&(secondaryTabRefs.current[index]=ref),className:responsive_navbar_module.item},react.createElement(design_inputs_selectors_menu_item_dist.MenuItem,{className:responsive_navbar_module.menuItem,active:index===tabIndex,onClick:e=>onTabSelect(index)},react.createElement(tab.component,{isInMenu:!0})))))))}var content_tabs_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};function ContentTabs(_a){var{defaultActiveIndex=0,tabs=[],onSelect}=_a,rest=content_tabs_rest(_a,["defaultActiveIndex","tabs","onSelect"]);const[activeTab,setActiveTab]=(0,react.useState)(defaultActiveIndex),titles=tabs.map(tab=>({component:({isInMenu})=>react.createElement(tab.component,{isInMenu})}));return react.createElement(react.Fragment,null,react.createElement(ResponsiveNavbar,Object.assign({},rest,{tabs:titles,defaultActiveIndex,onSelect:activeIndex=>{setActiveTab(activeIndex),onSelect&&onSelect(activeIndex)}})),tabs[activeTab].content)}},76055:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ResponsiveNavbar:()=>ResponsiveNavbar});var react=__webpack_require__(59496),node_modules_classnames=__webpack_require__(97754),classnames_default=__webpack_require__.n(node_modules_classnames),dist=__webpack_require__(38073),base_ui_surfaces_abs_container_dist=__webpack_require__(63146),base_ui_css_components_elevation_dist=__webpack_require__(75210),base_ui_css_components_roundness_dist=__webpack_require__(69725),base_ui_surfaces_background_dist=__webpack_require__(84733),design_inputs_selectors_menu_item_dist=__webpack_require__(53142);const dropdown_module={dropdownPlaceholder:"dropdown_dropdownPlaceholder__MHg6W",removePlaceholderBorder:"dropdown_removePlaceholderBorder__MTpKq",dropdownMenu:"dropdown_dropdownMenu__3TkHb"};var __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};function Placeholder(_a){var{dropdownIcon,children,className}=_a,rest=__rest(_a,["dropdownIcon","children","className"]);return react.createElement(design_inputs_selectors_menu_item_dist.sN,Object.assign({className:classnames_default()(dropdown_module.dropdownPlaceholder,className)},rest),children," ",dropdownIcon||react.createElement(FatArrowDown,null))}function FatArrowDown(){return react.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},react.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"var(--on-surface-color, #2b2b2b)"}))}var dropdown_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};function Dropdown(_a){var{children,position="bottom",elevation="low",roundness="small",margin=4,placeholderContent="",dropClass,placeholderBorder=!0,topPlugin,bottomPlugin,clickToggles=!1,className}=_a,rest=dropdown_rest(_a,["children","position","elevation","roundness","margin","placeholderContent","dropClass","placeholderBorder","topPlugin","bottomPlugin","clickToggles","className"]);return react.createElement(dist.Drawer,Object.assign({},rest,{margin,className:classnames_default()(!placeholderBorder&&dropdown_module.removePlaceholderBorder,className),placeholderContent:typeof placeholderContent=="string"?react.createElement(Placeholder,null,placeholderContent):placeholderContent,clickToggles}),react.createElement(DropdownMenu,{position,elevation,roundness,className:dropClass},topPlugin,children,bottomPlugin))}function DropdownMenu(_a){var{className,elevation="low",roundness="small"}=_a,rest=dropdown_rest(_a,["className","elevation","roundness"]);return react.createElement(base_ui_surfaces_abs_container_dist.Containee,Object.assign({},rest,{className:classnames_default()(dropdown_module.dropdownMenu,base_ui_surfaces_background_dist.backgrounds.layer,base_ui_css_components_elevation_dist.elevationClass[elevation],base_ui_css_components_roundness_dist.roundnessClass[roundness],className)}))}var design_ui_icon_button_dist=__webpack_require__(53330);const buttons_plugin_module={buttonsHolder:"buttons-plugin_buttonsHolder__2iJ4V",clearText:"buttons-plugin_clearText__1SGIw"};var buttons_plugin_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};function ButtonsPlugin(_a){var{onClear,onSubmit,disabledSubmit,submitText="Done",loading,submitClassName,className}=_a,rest=buttons_plugin_rest(_a,["onClear","onSubmit","disabledSubmit","submitText","loading","submitClassName","className"]);return!onClear&&!onSubmit?null:React.createElement("div",Object.assign({},rest,{className:classnames(styles.buttonsHolder,className)}),onClear&&React.createElement("div",{className:styles.clearText,onClick:onClear},"Clear"),onSubmit&&React.createElement(IconButton,{priority:"cta",onClick:onSubmit,loading,disabled:disabledSubmit,className:submitClassName},submitText))}var _teambit_design_inputs_selectors_menu_item_dist=__webpack_require__(47699);const tab_line_module={tabLine:"tab-line_tabLine__2c3_P"};var tab_line_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};const TabLine=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,borderPosition,enableAnimation=!1,className}=_a,rest=tab_line_rest(_a,["selectedTab","borderPosition","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({"data-position":borderPosition,className:classnames_default()(tab_line_module.tabLine,className),style:borderStyles,ref},rest))}),tab_folder_module={tabFolder:"tab-folder_tabFolder__35v1T",folderStyle:"tab-folder_folderStyle__ew9LK"};var tab_folder_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};const TabFolder=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,enableAnimation=!1,className}=_a,rest=tab_folder_rest(_a,["selectedTab","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({className:classnames_default()(tab_folder_module.tabFolder,tab_folder_module.folderStyle,className),style:borderStyles,ref},rest))}),tab_inner_module={tabInner:"tab-inner_tabInner__2IrpL",innerStyle:"tab-inner_innerStyle__33QKz"};var tab_inner_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};const TabInner=(0,react.forwardRef)((_a,ref)=>{var{selectedTab,enableAnimation=!1,className}=_a,rest=tab_inner_rest(_a,["selectedTab","enableAnimation","className"]);const[borderStyles,setBorderStyle]=(0,react.useState)({width:void 0,transform:void 0,transition:void 0});return(0,react.useEffect)(()=>{if(selectedTab){const styleObj={width:void 0,transform:void 0,transition:void 0},offset=selectedTab.offsetLeft;styleObj.width=`${selectedTab.offsetWidth}px`,styleObj.transform=`translateX(${offset}px)`,enableAnimation&&(styleObj.transition="transform 150ms ease-in-out, width 150ms ease-in-out"),setBorderStyle(styleObj)}},[selectedTab,enableAnimation]),react.createElement("div",Object.assign({className:classnames_default()(tab_inner_module.tabInner,tab_inner_module.innerStyle,className),style:borderStyles,ref},rest))}),responsive_navbar_module={tabInner:"responsive-navbar_tabInner__16bL1",innerStyle:"responsive-navbar_innerStyle__3xR_w",tab:"responsive-navbar_tab__3OfOO",noAnimation:"responsive-navbar_noAnimation__xUk4C",tabFolder:"responsive-navbar_tabFolder__aFI07",folderStyle:"responsive-navbar_folderStyle__3Y-H8",active:"responsive-navbar_active__2FFZ6",lineStyle:"responsive-navbar_lineStyle__3l7tB",navTabs:"responsive-navbar_navTabs__11iK0",overflow:"responsive-navbar_overflow__2lNG8",more:"responsive-navbar_more__3sKBI",dots:"responsive-navbar_dots__17Uli",secondaryTabContainer:"responsive-navbar_secondaryTabContainer__185RW",item:"responsive-navbar_item__3_RqG",menuItem:"responsive-navbar_menuItem__1jKHW",hidden:"responsive-navbar_hidden__yUoKr"};var responsive_navbar_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};const ResponsiveNavbar=react.memo(_ResponsiveNavbar);function _ResponsiveNavbar(_a){var{defaultActiveIndex=0,onSelect,navClassName,tabClassName,secondaryNavClassName,borderPosition="bottom",tabs,dropdownPosition="bottom-end",priority="line",alwaysShowActiveTab=!1,children}=_a,rest=responsive_navbar_rest(_a,["defaultActiveIndex","onSelect","navClassName","tabClassName","secondaryNavClassName","borderPosition","tabs","dropdownPosition","priority","alwaysShowActiveTab","children"]);const[tabIndex,setTabIndex]=(0,react.useState)(defaultActiveIndex),[selectedTab,setSelectedTab]=(0,react.useState)(void 0),[enableAnimation,setEnableAnimation]=(0,react.useState)(!1),moreBtnRef=(0,react.useRef)(null),containerRef=(0,react.useRef)(null),tabLineRef=(0,react.useRef)(null),primaryTabRefs=(0,react.useRef)([]),secondaryTabRefs=(0,react.useRef)([]),resetStyle=()=>{var _a2,_b,_c;(_a2=containerRef.current)===null||_a2===void 0||_a2.classList.remove(responsive_navbar_module.overflow),(_b=moreBtnRef.current)===null||_b===void 0||_b.classList.remove(responsive_navbar_module.hidden),(_c=tabLineRef.current)===null||_c===void 0||_c.classList.remove(responsive_navbar_module.hidden),primaryTabRefs.current.forEach(contentTabRef=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)}),secondaryTabRefs.current.forEach(contentTabRef=>{contentTabRef.classList.remove(responsive_navbar_module.hidden)})},toggleTabs=(_tabIndex=tabIndex)=>{var _a2,_b,_c;resetStyle();const hiddenItems=new Set,containerRefWidth=((_a2=containerRef.current)===null||_a2===void 0?void 0:_a2.offsetWidth)||0,buttonWidth=((_b=moreBtnRef.current)===null||_b===void 0?void 0:_b.offsetWidth)||0;let availableWidth=containerRefWidth-buttonWidth;if(alwaysShowActiveTab&&primaryTabRefs.current[_tabIndex]){const activeTab=primaryTabRefs.current[_tabIndex];activeTab.classList.remove(responsive_navbar_module.hidden),activeTab.classList.add(responsive_navbar_module.active),availableWidth-=activeTab.offsetWidth}primaryTabRefs.current.forEach((tabRef,index)=>{(index!==_tabIndex||!alwaysShowActiveTab)&&(availableWidth-=tabRef.offsetWidth,availableWidth<buttonWidth&&!tabRef.classList.contains(responsive_navbar_module.hidden)&&(tabRef.classList.add(responsive_navbar_module.hidden),hiddenItems.add(index)))}),(_c=moreBtnRef.current)===null||_c===void 0||_c.classList.toggle(responsive_navbar_module.hidden,hiddenItems.size===0),secondaryTabRefs.current.forEach((tabRef,index)=>{tabRef.classList.toggle(responsive_navbar_module.hidden,!hiddenItems.has(index)),alwaysShowActiveTab&&tabRef.classList.remove(responsive_navbar_module.active)}),!primaryTabRefs.current.filter((_,index)=>!hiddenItems.has(index))[tabIndex]&&setSelectedTab(primaryTabRefs.current[_tabIndex])};(0,react.useEffect)(()=>{const handleResize=()=>{toggleTabs()},resizeObserver=new ResizeObserver(handleResize);return containerRef.current&&resizeObserver.observe(containerRef.current),setTimeout(()=>{setEnableAnimation(!0)},100),toggleTabs(),()=>{resizeObserver.disconnect()}},[tabIndex]),(0,react.useEffect)(()=>{enableAnimation&&(setSelectedTab(primaryTabRefs.current[tabIndex]),toggleTabs())},[enableAnimation]);const onTabSelect=index=>{onSelect&&onSelect(index),setTabIndex(index),setSelectedTab(primaryTabRefs.current[index]),primaryTabRefs.current.forEach((tabRef,i)=>{i!==index&&tabRef.classList.remove(responsive_navbar_module.active),primaryTabRefs.current[index].classList.add(responsive_navbar_module.active)}),toggleTabs(index)};(0,react.useEffect)(()=>{defaultActiveIndex!==tabIndex&&(setTabIndex(defaultActiveIndex),setSelectedTab(primaryTabRefs.current[defaultActiveIndex]),toggleTabs(defaultActiveIndex))},[defaultActiveIndex]);const getTabStyle=()=>{switch(priority){case"none":return null;case"line":return react.createElement(TabLine,{borderPosition,selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});case"folder":return react.createElement(TabFolder,{selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});case"inner":return react.createElement(TabInner,{selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef});default:return react.createElement(TabLine,{borderPosition,selectedTab,enableAnimation,className:tabClassName,ref:tabLineRef})}};return react.createElement("nav",Object.assign({},rest,{className:classnames_default()(responsive_navbar_module.navTabs,responsive_navbar_module.overflow,navClassName),ref:containerRef}),tabs.map((tab,index)=>{const{component,tabProps}=tab,tabRest=responsive_navbar_rest(tab,["component","tabProps"]),showTabLine=priority==="line"&&enableAnimation;return react.createElement("div",Object.assign({},tabRest,{className:classnames_default()(responsive_navbar_module.tab,!enableAnimation&&responsive_navbar_module.noAnimation,tab.className),"data-priority":priority,onClick:()=>onTabSelect(index),key:`tab-${index}`,ref:ref=>ref&&(primaryTabRefs.current[index]=ref)}),react.createElement(tab.component,{menuItemProps:tabProps?.menuItemProps,isInMenu:!1}),react.createElement(TabLine,{borderPosition,className:classnames_default()(responsive_navbar_module.lineStyle,showTabLine&&responsive_navbar_module.visible)}))}),!alwaysShowActiveTab&&getTabStyle(),react.createElement("div",{className:classnames_default()(responsive_navbar_module.more,responsive_navbar_module.hidden),ref:moreBtnRef},react.createElement(Dropdown,{placeholderContent:react.createElement("div",{className:classnames_default()(responsive_navbar_module.dots),"data-priority":"menu"},react.createElement("img",{src:"https://static.bit.dev/bit-icons/more-h.svg"})),dropClass:classnames_default()(responsive_navbar_module.secondaryTabContainer,secondaryNavClassName),position:dropdownPosition,clickToggles:!0,margin:8},tabs.map((tab,index)=>{const{component,tabProps}=tab,tabRest=responsive_navbar_rest(tab,["component","tabProps"]),isActive=index===tabIndex;return react.createElement("div",Object.assign({},tabRest,{key:`dropdown-${index}`,ref:ref=>ref&&(secondaryTabRefs.current[index]=ref),className:classnames_default()(responsive_navbar_module.item,tab.className)}),react.createElement(_teambit_design_inputs_selectors_menu_item_dist.MenuItem,{className:classnames_default()(responsive_navbar_module.menuItem),active:isActive,onClick:()=>onTabSelect(index)},react.createElement(tab.component,{menuItemProps:tabProps?.menuItemProps,isInMenu:!0})))}))),children)}},63125: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.IconFont=void 0;const react_1=__importDefault(__webpack_require__(59496)),EMBED_LINK="https://d1azc1qln24ryf.cloudfront.net/158286/Bit/style-cf.css";function IconFont(props){const{query="cr084i"}=props;return react_1.default.createElement("link",{rel:"stylesheet",href:`${EMBED_LINK}?${query}`})}exports.IconFont=IconFont},3886:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconFont=void 0;var icon_font_1=__webpack_require__(63125);Object.defineProperty(exports,"IconFont",{enumerable:!0,get:function(){return icon_font_1.IconFont}})},85678: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.IconFont=void 0;const react_1=__importDefault(__webpack_require__(59496)),EMBED_LINK="https://cdn.icomoon.io/158286/Bit/style.css";function IconFont(props){const{query="d4g8l8"}=props;return react_1.default.createElement("link",{rel:"stylesheet",href:`${EMBED_LINK}?${query}`})}exports.IconFont=IconFont},22975:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconFont=void 0;var icon_font_1=__webpack_require__(85678);Object.defineProperty(exports,"IconFont",{enumerable:!0,get:function(){return icon_font_1.IconFont}})},81974: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.useTheme=exports.BaseTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_react_theme_theme_provider_1=__webpack_require__(14111),design_theme_icons_font_1=__webpack_require__(3886),theme_default_values_1=__webpack_require__(52690),legacy_tokens_1=__webpack_require__(564),circular_font_1=__webpack_require__(21613),base_theme_module_scss_1=__importDefault(__webpack_require__(2657)),ICON_MOON_VERSION="mxd7i0",{useTheme,ThemeProvider}=(0,base_react_theme_theme_provider_1.createTheme)({theme:theme_default_values_1.baseThemeDefaults});exports.useTheme=useTheme;function BaseTheme(_a){var{children,className}=_a,props=__rest(_a,["children","className"]);return react_1.default.createElement(ThemeProvider,Object.assign({},props,{className:(0,classnames_1.default)(circular_font_1.circularFont,base_theme_module_scss_1.default.theme,className)}),react_1.default.createElement("link",{href:"https://fonts.googleapis.com/css?family=Roboto+Mono",rel:"stylesheet"}),react_1.default.createElement(design_theme_icons_font_1.IconFont,{query:ICON_MOON_VERSION}),react_1.default.createElement(LegacyThemeProvider,null,children))}exports.BaseTheme=BaseTheme;function LegacyThemeProvider({children}){const theme=useTheme();return react_1.default.createElement("div",{style:(0,legacy_tokens_1.getLegacyTokens)(theme)},children)}},21613: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.circularFont=void 0;const circular_font_module_scss_1=__importDefault(__webpack_require__(95942));exports.circularFont=circular_font_module_scss_1.default.circularFont},80256:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BaseTheme=exports.useTheme=exports.baseThemeDefaults=void 0;var theme_default_values_1=__webpack_require__(52690);Object.defineProperty(exports,"baseThemeDefaults",{enumerable:!0,get:function(){return theme_default_values_1.baseThemeDefaults}});var base_theme_1=__webpack_require__(81974);Object.defineProperty(exports,"useTheme",{enumerable:!0,get:function(){return base_theme_1.useTheme}}),Object.defineProperty(exports,"BaseTheme",{enumerable:!0,get:function(){return base_theme_1.BaseTheme}})},564:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getLegacyTokens=void 0;function getLegacyTokens(theme){return{"--bit-text-color-light":theme.onBackgroundMediumColor,"--bit-text-color":theme.onBackgroundColor,"--bit-text-color-heavy":theme.onBackgroundHighColor,"--bit-text-inactive":theme.onBackgroundLowColor,"--bit-text-inactive-heavy":theme.onBackgroundLowColor,"--bit-bg-bedrock":theme.backgroundColor,"--bit-bg-color":theme.surfaceNeutralColor,"--bit-bg-heavy":theme.surfaceNeutralHoverColor,"--bit-bg-heaviest":theme.surfaceNeutralActiveColor,"--bit-bg-dent":theme.surfaceNeutralHoverColor,"--bit-bg-tooltip":theme.surfaceNeutralColor,"--bit-bg-tooltip-heavy":theme.surfaceNeutralHoverColor,"--bit-bg-navigation":theme.surfaceNeutralHoverColor,"--bit-bg-overlay":theme.surfaceNeutralColor,"--bit-bg-modal":theme.surfaceNeutralColor,"--bit-border-color-lightest":theme.borderMediumColor,"--bit-border-color-light":theme.borderMediumHoverColor,"--bit-border-color":theme.borderHighColor,"--bit-border-color-heavy":theme.borderHighActiveColor,"--bit-accent-color":theme.primaryColor,"--bit-text-on-accent":theme.onPrimaryColor,"--bit-accent-text":theme.primaryColor,"--bit-accent-bg":theme.surfaceHoverColor,"--bit-accent-bg-heavy":theme.surfaceActiveColor,"--bit-shadow-none":"none","--bit-shadow-faint":"0 2px 10px 0 rgba(0, 0, 0, 0.1)","--bit-shadow-resting":"0px 0px 4px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.08)","--bit-shadow-raised-low":"0 -1px 1px 0 rgba(0, 0, 0, 0.09), 0 2px 2px 0 rgba(0, 0, 0, 0.23)","--bit-shadow-hover-low":"0 2px 8px 0 rgba(0, 0, 0, 0.2)","--bit-shadow-hover-medium":"0 0 20px 0 rgba(0, 0, 0, 0.12), 0 2px 6px 0 rgba(0, 0, 0, 0.24)","--bit-shadow-hover-high":"0px 11px 29px 0px rgba(0, 0, 0, 0.23)","--bit-p-xxs":"12px","--bit-p-xs":"14px","--bit-p-sm":"15px","--bit-p-md":"16px","--bit-p-lg":"18px","--bit-p-xl":"20px","--bit-p-xxl":"24px","--bit-h-xxs":"16px","--bit-h-xs":"18px","--bit-h-sm":"24px","--bit-h-md":"26px","--bit-h-lg":"36px","--bit-h-xl":"40px","--bit-h-xxl":"50px","--bit-accent-primary-color":theme.primaryColor,"--bit-accent-primary-bg":theme.primarySurfaceColor,"--bit-accent-hunger-color":theme.warningColor,"--bit-accent-hunger-bg":theme.warningSurfaceColor,"--bit-accent-impulsive-color":theme.negativeColor,"--bit-accent-impulsive-bg":theme.negativeSurfaceColor,"--bit-accent-process-color":theme.processColor,"--bit-accent-success-color":theme.positiveColor,"--bit-accent-success-bg":theme.positiveSurfaceColor}}exports.getLegacyTokens=getLegacyTokens},52690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.baseThemeDefaults=void 0,exports.baseThemeDefaults={backgroundColor:"#FFFFFF",onBackgroundColor:"#2B2B2B",onBackgroundLowColor:"#9598A1",onBackgroundMediumColor:"#707279",onBackgroundHighColor:"#2B2B2B",primaryColor:"#6C5CE7",onPrimaryColor:"#FFFFFF",borderMediumColor:"#EDEDED",borderMediumHoverColor:"#CECECE",borderMediumFocusColor:"#C6C6C6",borderMediumActiveColor:"#AFAFAF",borderHighColor:"#BABEC9",borderHighHoverColor:"#A3A6B0",borderHighFocusColor:"#9DA1A9",borderHighActiveColor:"#8C8F96",borderPrimaryColor:"#6C5CE7",borderPrimaryHoverColor:"#8376EB",borderPrimaryFocusColor:"#897DEC",borderPrimaryActiveColor:"#8F83ED",surfaceColor:"#FFFFFF",surfaceHoverColor:"#EDEBFC",surfaceActiveColor:"#DCD8F9",surfaceFocusColor:"#E2DEFA",onSurfaceColor:"#2B2B2B",onSurfaceMediumColor:"#707279",onSurfaceLowColor:"#9598A1",surface01Color:"#FFFBFF",surface02Color:"#F7F2FD",surfacePrimaryColor:"#140068",surfacePrimaryHoverColor:"#3A2980",surfacePrimaryActiveColor:"#433386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFFFF",surfaceNeutralColor:"#FFFFFF",surfaceNeutralHoverColor:"#F4F5F6",surfaceNeutralFocusColor:"#F1F2F4",surfaceNeutralActiveColor:"#EEEFF2",onSurfaceNeutralHighColor:"#2B2B2B",onSurfaceNeutralMediumColor:"#707279",onSurfaceNeutralLowColor:"#9598A1",positiveColor:"#37B26C",negativeColor:"#E62E5C",warningColor:"#FFC640",processColor:"#0984E3",primarySurfaceColor:"#F6F5FE",positiveSurfaceColor:"#F3FAF6",negativeSurfaceColor:"#FDF2F5",warningSurfaceColor:"#FFFCF4",processSurfaceColor:"#F0F8FD"}},57153: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.DarkThemeIcon=void 0;const react_1=__importDefault(__webpack_require__(59496));function DarkThemeIcon(props){return react_1.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},props),react_1.default.createElement("path",{d:"M3 11C2.80222 11 2.60888 11.0587 2.44443 11.1685C2.27998 11.2784 2.15181 11.4346 2.07612 11.6173C2.00043 11.8 1.98063 12.0011 2.01922 12.1951C2.0578 12.3891 2.15304 12.5673 2.29289 12.7071C2.43275 12.847 2.61093 12.9422 2.80491 12.9808C2.99889 13.0194 3.19996 12.9996 3.38268 12.9239C3.56541 12.8482 3.72159 12.72 3.83147 12.5556C3.94135 12.3911 4 12.1978 4 12C4 11.7348 3.89464 11.4804 3.70711 11.2929C3.51957 11.1054 3.26522 11 3 11ZM4.93 17.66C4.78955 17.7996 4.69372 17.9778 4.65465 18.1719C4.61559 18.3661 4.63504 18.5674 4.71055 18.7505C4.78607 18.9336 4.91423 19.0901 5.07881 19.2003C5.24339 19.3104 5.43697 19.3692 5.635 19.3692C5.83304 19.3692 6.02661 19.3104 6.19119 19.2003C6.35577 19.0901 6.48394 18.9336 6.55945 18.7505C6.63496 18.5674 6.65442 18.3661 6.61535 18.1719C6.57628 17.9778 6.48045 17.7996 6.34 17.66C6.15264 17.4737 5.89919 17.3692 5.635 17.3692C5.37081 17.3692 5.11736 17.4737 4.93 17.66V17.66ZM6.34 6.34C6.48045 6.20039 6.57628 6.02221 6.61535 5.82807C6.65442 5.63393 6.63496 5.43256 6.55945 5.24948C6.48394 5.06641 6.35577 4.90988 6.19119 4.79974C6.02661 4.68959 5.83304 4.63079 5.635 4.63079C5.43697 4.63079 5.24339 4.68959 5.07881 4.79974C4.91423 4.90988 4.78607 5.06641 4.71055 5.24948C4.63504 5.43256 4.61559 5.63393 4.65465 5.82807C4.69372 6.02221 4.78955 6.20039 4.93 6.34C5.11736 6.52625 5.37081 6.63079 5.635 6.63079C5.89919 6.63079 6.15264 6.52625 6.34 6.34ZM12 4C12.1978 4 12.3911 3.94135 12.5556 3.83147C12.72 3.72159 12.8482 3.56541 12.9239 3.38268C12.9996 3.19996 13.0194 2.99889 12.9808 2.80491C12.9422 2.61093 12.847 2.43275 12.7071 2.29289C12.5673 2.15304 12.3891 2.0578 12.1951 2.01922C12.0011 1.98063 11.8 2.00043 11.6173 2.07612C11.4346 2.15181 11.2784 2.27998 11.1685 2.44443C11.0587 2.60888 11 2.80222 11 3C11 3.26522 11.1054 3.51957 11.2929 3.70711C11.4804 3.89464 11.7348 4 12 4ZM17.66 17.66C17.5196 17.7996 17.4237 17.9778 17.3847 18.1719C17.3456 18.3661 17.365 18.5674 17.4406 18.7505C17.5161 18.9336 17.6442 19.0901 17.8088 19.2003C17.9734 19.3104 18.167 19.3692 18.365 19.3692C18.563 19.3692 18.7566 19.3104 18.9212 19.2003C19.0858 19.0901 19.2139 18.9336 19.2894 18.7505C19.365 18.5674 19.3844 18.3661 19.3453 18.1719C19.3063 17.9778 19.2104 17.7996 19.07 17.66C18.8826 17.4737 18.6292 17.3692 18.365 17.3692C18.1008 17.3692 17.8474 17.4737 17.66 17.66V17.66ZM21 11C20.8022 11 20.6089 11.0587 20.4444 11.1685C20.28 11.2784 20.1518 11.4346 20.0761 11.6173C20.0004 11.8 19.9806 12.0011 20.0192 12.1951C20.0578 12.3891 20.153 12.5673 20.2929 12.7071C20.4327 12.847 20.6109 12.9422 20.8049 12.9808C20.9989 13.0194 21.2 12.9996 21.3827 12.9239C21.5654 12.8482 21.7216 12.72 21.8315 12.5556C21.9414 12.3911 22 12.1978 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM17.66 4.93C17.5196 5.06961 17.4237 5.24779 17.3847 5.44193C17.3456 5.63607 17.365 5.83744 17.4406 6.02052C17.5161 6.20359 17.6442 6.36012 17.8088 6.47026C17.9734 6.58041 18.167 6.63921 18.365 6.63921C18.563 6.63921 18.7566 6.58041 18.9212 6.47026C19.0858 6.36012 19.2139 6.20359 19.2894 6.02052C19.365 5.83744 19.3844 5.63607 19.3453 5.44193C19.3063 5.24779 19.2104 5.06961 19.07 4.93C18.8826 4.74375 18.6292 4.63921 18.365 4.63921C18.1008 4.63921 17.8474 4.74375 17.66 4.93V4.93ZM12 20C11.8022 20 11.6089 20.0586 11.4444 20.1685C11.28 20.2784 11.1518 20.4346 11.0761 20.6173C11.0004 20.8 10.9806 21.0011 11.0192 21.1951C11.0578 21.3891 11.153 21.5673 11.2929 21.7071C11.4327 21.847 11.6109 21.9422 11.8049 21.9808C11.9989 22.0194 12.2 21.9996 12.3827 21.9239C12.5654 21.8482 12.7216 21.72 12.8315 21.5556C12.9414 21.3911 13 21.1978 13 21C13 20.7348 12.8946 20.4804 12.7071 20.2929C12.5196 20.1054 12.2652 20 12 20ZM12 6C10.8133 6 9.65327 6.35189 8.66658 7.01118C7.67988 7.67047 6.91085 8.60754 6.45672 9.7039C6.0026 10.8003 5.88378 12.0067 6.11529 13.1705C6.3468 14.3344 6.91824 15.4035 7.75736 16.2426C8.59648 17.0818 9.66557 17.6532 10.8295 17.8847C11.9933 18.1162 13.1997 17.9974 14.2961 17.5433C15.3925 17.0892 16.3295 16.3201 16.9888 15.3334C17.6481 14.3467 18 13.1867 18 12C18 10.4087 17.3679 8.88258 16.2426 7.75736C15.1174 6.63214 13.5913 6 12 6ZM12 16C11.2089 16 10.4355 15.7654 9.77772 15.3259C9.11992 14.8864 8.60723 14.2616 8.30448 13.5307C8.00173 12.7998 7.92252 11.9956 8.07686 11.2196C8.2312 10.4437 8.61216 9.73098 9.17157 9.17157C9.73098 8.61216 10.4437 8.2312 11.2196 8.07686C11.9956 7.92252 12.7998 8.00173 13.5307 8.30448C14.2616 8.60723 14.8864 9.11992 15.3259 9.77772C15.7654 10.4355 16 11.2089 16 12C16 13.0609 15.5786 14.0783 14.8284 14.8284C14.0783 15.5786 13.0609 16 12 16Z",fill:"currentColor"}))}exports.DarkThemeIcon=DarkThemeIcon},59283: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.DarkTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_themes_base_theme_1=__webpack_require__(80256),dark_theme_values_1=__webpack_require__(40690),dark_theme_icon_1=__webpack_require__(57153);function DarkTheme(props){return react_1.default.createElement(design_themes_base_theme_1.BaseTheme,Object.assign({},props,{overrides:dark_theme_values_1.darkThemeValues}))}exports.DarkTheme=DarkTheme,DarkTheme.Icon=dark_theme_icon_1.DarkThemeIcon,DarkTheme.themeName="dark"},40690:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.darkThemeValues=void 0,exports.darkThemeValues={backgroundColor:"#121212",onBackgroundColor:"#EDEDED",onBackgroundLowColor:"#848483",onBackgroundMediumColor:"#A3A3A2",onBackgroundHighColor:"#EDEDED",primaryColor:"#6A57FD",onPrimaryColor:"#FFFFFF",borderMediumColor:"#3D3D3C",borderMediumHoverColor:"#A3A6B0",borderMediumFocusColor:"#9DA1A9",borderMediumActiveColor:"#8C8F96",borderHighColor:"#515150",borderHighHoverColor:"#6D6D6C",borderHighFocusColor:"#747473",borderHighActiveColor:"#898988",borderPrimaryColor:"#A9A0FF",borderPrimaryHoverColor:"#B7AFFF",borderPrimaryFocusColor:"#BAB3FF",borderPrimaryActiveColor:"#C4BEFF",surfaceColor:"#121212",surfaceHoverColor:"#2C2B36",surfaceActiveColor:"#373546",surfaceFocusColor:"#31303E",onSurfaceColor:"#FFFBFF",onSurfaceMediumColor:"#A3A3A2",onSurfaceLowColor:"#282828",surface01Color:"#1C1B1F",surface02Color:"#262438",surfacePrimaryColor:"#130068",surfacePrimaryHoverColor:"#392980",surfacePrimaryActiveColor:"#423386",surfacePrimaryFocusColor:"#4C3D8C",onSurfacePrimaryColor:"#FFFBFF",surfaceNeutralColor:"#121212",surfaceNeutralHoverColor:"#383838",surfaceNeutralFocusColor:"#414141",surfaceNeutralActiveColor:"#4B4B4B",onSurfaceNeutralHighColor:"#FFFBFF",onSurfaceNeutralMediumColor:"#A3A3A2",onSurfaceNeutralLowColor:"#282828",positiveColor:"#378751",negativeColor:"#B6344F",warningColor:"#BB8C25",processColor:"#2174C6",primarySurfaceColor:"#252338",positiveSurfaceColor:"#0C1E12",negativeSurfaceColor:"#280B11",warningSurfaceColor:"#291F08",processSurfaceColor:"#071A2C"}},62398:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DarkThemeIcon=exports.DarkTheme=exports.darkThemeValues=void 0;var dark_theme_values_1=__webpack_require__(40690);Object.defineProperty(exports,"darkThemeValues",{enumerable:!0,get:function(){return dark_theme_values_1.darkThemeValues}});var dark_theme_1=__webpack_require__(59283);Object.defineProperty(exports,"DarkTheme",{enumerable:!0,get:function(){return dark_theme_1.DarkTheme}});var dark_theme_icon_1=__webpack_require__(57153);Object.defineProperty(exports,"DarkThemeIcon",{enumerable:!0,get:function(){return dark_theme_icon_1.DarkThemeIcon}})},86592:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LightThemeIcon=exports.lightThemeValues=exports.LightTheme=void 0;var light_theme_1=__webpack_require__(30012);Object.defineProperty(exports,"LightTheme",{enumerable:!0,get:function(){return light_theme_1.LightTheme}}),Object.defineProperty(exports,"lightThemeValues",{enumerable:!0,get:function(){return light_theme_1.lightThemeValues}});var light_theme_icon_1=__webpack_require__(3988);Object.defineProperty(exports,"LightThemeIcon",{enumerable:!0,get:function(){return light_theme_icon_1.LightThemeIcon}})},3988: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.LightThemeIcon=void 0;const react_1=__importDefault(__webpack_require__(59496));function LightThemeIcon(props){return react_1.default.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},props),react_1.default.createElement("path",{d:"M5 12C5 11.7348 4.89464 11.4804 4.70711 11.2929C4.51957 11.1054 4.26522 11 4 11H3C2.73478 11 2.48043 11.1054 2.29289 11.2929C2.10536 11.4804 2 11.7348 2 12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8946 2.73478 13 3 13H4C4.26522 13 4.51957 12.8946 4.70711 12.7071C4.89464 12.5196 5 12.2652 5 12ZM5.64 17L4.93 17.71C4.74375 17.8974 4.63921 18.1508 4.63921 18.415C4.63921 18.6792 4.74375 18.9326 4.93 19.12C5.11736 19.3063 5.37081 19.4108 5.635 19.4108C5.89919 19.4108 6.15264 19.3063 6.34 19.12L7.05 18.41C7.21383 18.2187 7.29943 17.9726 7.28971 17.7209C7.27999 17.4693 7.17566 17.2305 6.99756 17.0524C6.81947 16.8743 6.58073 16.77 6.32905 16.7603C6.07738 16.7506 5.8313 16.8362 5.64 17V17ZM12 5C12.2652 5 12.5196 4.89464 12.7071 4.70711C12.8946 4.51957 13 4.26522 13 4V3C13 2.73478 12.8946 2.48043 12.7071 2.29289C12.5196 2.10536 12.2652 2 12 2C11.7348 2 11.4804 2.10536 11.2929 2.29289C11.1054 2.48043 11 2.73478 11 3V4C11 4.26522 11.1054 4.51957 11.2929 4.70711C11.4804 4.89464 11.7348 5 12 5ZM17.66 7.34C17.9223 7.3389 18.1737 7.23474 18.36 7.05L19.07 6.34C19.1747 6.25035 19.2597 6.14003 19.3197 6.01597C19.3797 5.89191 19.4135 5.75677 19.4188 5.61905C19.4241 5.48133 19.4009 5.344 19.3506 5.21568C19.3004 5.08735 19.2241 4.9708 19.1266 4.87335C19.0292 4.77589 18.9126 4.69964 18.7843 4.64936C18.656 4.59909 18.5187 4.57588 18.3809 4.5812C18.2432 4.58652 18.1081 4.62025 17.984 4.68027C17.86 4.7403 17.7496 4.82532 17.66 4.93L17 5.64C16.8137 5.82736 16.7092 6.08081 16.7092 6.345C16.7092 6.60919 16.8137 6.86264 17 7.05C17.1763 7.22536 17.4116 7.32875 17.66 7.34V7.34ZM5.66 7.05C5.84626 7.23474 6.09766 7.3389 6.36 7.34C6.49161 7.34076 6.62207 7.31554 6.74391 7.26577C6.86574 7.21601 6.97656 7.14268 7.07 7.05C7.25625 6.86264 7.36079 6.60919 7.36079 6.345C7.36079 6.08081 7.25625 5.82736 7.07 5.64L6.36 4.93C6.26742 4.8361 6.15725 4.76136 6.03578 4.71005C5.91432 4.65873 5.78393 4.63184 5.65207 4.63091C5.52021 4.62998 5.38946 4.65503 5.26728 4.70463C5.14511 4.75424 5.0339 4.82742 4.94 4.92C4.8461 5.01258 4.77136 5.12275 4.72005 5.24422C4.66873 5.36568 4.64184 5.49607 4.64091 5.62793C4.63903 5.89423 4.74302 6.15037 4.93 6.34L5.66 7.05ZM21 11H20C19.7348 11 19.4804 11.1054 19.2929 11.2929C19.1054 11.4804 19 11.7348 19 12C19 12.2652 19.1054 12.5196 19.2929 12.7071C19.4804 12.8946 19.7348 13 20 13H21C21.2652 13 21.5196 12.8946 21.7071 12.7071C21.8946 12.5196 22 12.2652 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929C21.5196 11.1054 21.2652 11 21 11ZM18.36 17C18.17 16.8943 17.9508 16.8534 17.7355 16.8835C17.5202 16.9136 17.3205 17.0131 17.1668 17.1668C17.0131 17.3205 16.9136 17.5202 16.8835 17.7355C16.8534 17.9508 16.8943 18.17 17 18.36L17.71 19.07C17.8974 19.2563 18.1508 19.3608 18.415 19.3608C18.6792 19.3608 18.9326 19.2563 19.12 19.07C19.3063 18.8826 19.4108 18.6292 19.4108 18.365C19.4108 18.1008 19.3063 17.8474 19.12 17.66L18.36 17ZM12 6.5C10.9122 6.5 9.84883 6.82257 8.94436 7.42692C8.03989 8.03126 7.33494 8.89025 6.91866 9.89524C6.50238 10.9002 6.39346 12.0061 6.60568 13.073C6.8179 14.1399 7.34172 15.1199 8.11091 15.8891C8.8801 16.6583 9.86011 17.1821 10.927 17.3943C11.9939 17.6065 13.0998 17.4976 14.1048 17.0813C15.1098 16.6651 15.9687 15.9601 16.5731 15.0556C17.1774 14.1512 17.5 13.0878 17.5 12C17.4974 10.5421 16.917 9.14471 15.8862 8.11383C14.8553 7.08295 13.4579 6.50264 12 6.5ZM12 15.5C11.3078 15.5 10.6311 15.2947 10.0555 14.9101C9.47993 14.5256 9.03133 13.9789 8.76642 13.3394C8.50151 12.6999 8.4322 11.9961 8.56725 11.3172C8.7023 10.6382 9.03564 10.0146 9.52513 9.52513C10.0146 9.03564 10.6382 8.7023 11.3172 8.56725C11.9961 8.4322 12.6999 8.50151 13.3394 8.76642C13.9789 9.03133 14.5256 9.47993 14.9101 10.0555C15.2947 10.6311 15.5 11.3078 15.5 12C15.5 12.9283 15.1313 13.8185 14.4749 14.4749C13.8185 15.1313 12.9283 15.5 12 15.5V15.5ZM12 19C11.7348 19 11.4804 19.1054 11.2929 19.2929C11.1054 19.4804 11 19.7348 11 20V21C11 21.2652 11.1054 21.5196 11.2929 21.7071C11.4804 21.8946 11.7348 22 12 22C12.2652 22 12.5196 21.8946 12.7071 21.7071C12.8946 21.5196 13 21.2652 13 21V20C13 19.7348 12.8946 19.4804 12.7071 19.2929C12.5196 19.1054 12.2652 19 12 19Z",fill:"currentColor"}))}exports.LightThemeIcon=LightThemeIcon},30012: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.LightTheme=exports.lightThemeValues=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_themes_base_theme_1=__webpack_require__(80256),light_theme_icon_1=__webpack_require__(3988);exports.lightThemeValues=design_themes_base_theme_1.baseThemeDefaults;function LightTheme(props){return react_1.default.createElement(design_themes_base_theme_1.BaseTheme,Object.assign({},props))}exports.LightTheme=LightTheme,LightTheme.Icon=light_theme_icon_1.LightThemeIcon,LightTheme.themeName="light"},95484:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LightAndDarkThemes=exports.DefaultThemeProvider=void 0;const design_themes_base_theme_1=__webpack_require__(80256),design_themes_light_theme_1=__webpack_require__(86592),design_themes_dark_theme_1=__webpack_require__(62398);exports.DefaultThemeProvider=design_themes_base_theme_1.BaseTheme,exports.LightAndDarkThemes=[design_themes_light_theme_1.LightTheme,design_themes_dark_theme_1.DarkTheme]},68960:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ThemeToggler=exports.ThemeSwitcher=void 0;var theme_switcher_1=__webpack_require__(79033);Object.defineProperty(exports,"ThemeSwitcher",{enumerable:!0,get:function(){return theme_switcher_1.ThemeSwitcher}});var theme_toggler_1=__webpack_require__(46003);Object.defineProperty(exports,"ThemeToggler",{enumerable:!0,get:function(){return theme_toggler_1.ThemeToggler}})},79033: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.ThemeSwitcher=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_themes_theme_switcher_1=__webpack_require__(15567),default_themes_1=__webpack_require__(95484);function ThemeSwitcher(_a){var{themes=default_themes_1.LightAndDarkThemes}=_a,props=__rest(_a,["themes"]);return react_1.default.createElement(base_react_themes_theme_switcher_1.ThemeSwitcher,Object.assign({themes},props))}exports.ThemeSwitcher=ThemeSwitcher},46003: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.ThemeToggler=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_themes_theme_switcher_1=__webpack_require__(15567),theme_toggler_module_scss_1=__importDefault(__webpack_require__(81226));function ThemeToggler(){const themePicker=(0,base_react_themes_theme_switcher_1.useThemePicker)(),setNextTheme=(0,base_react_themes_theme_switcher_1.useNextTheme)();if(!themePicker)return null;const currentTheme=themePicker.current;if(!currentTheme)return null;const{Icon,displayName}=currentTheme;return Icon?react_1.default.createElement(Icon,{className:theme_toggler_module_scss_1.default.toggler,onClick:setNextTheme}):react_1.default.createElement("div",{className:theme_toggler_module_scss_1.default.toggler,onClick:setNextTheme},displayName)}exports.ThemeToggler=ThemeToggler},66286: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.AlertCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_card_1=__webpack_require__(19537),design_ui_elements_level_icon_1=__webpack_require__(39994),base_ui_surfaces_background_1=__webpack_require__(84733),documenter_ui_heading_1=__webpack_require__(37742),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_separator_1=__webpack_require__(12563),alert_card_module_scss_1=__importDefault(__webpack_require__(76164));function AlertCard(_a){var{title,titleSize="xxs",children,className,level}=_a,rest=__rest(_a,["title","titleSize","children","className","level"]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({className:(0,classnames_1.default)(base_ui_surfaces_background_1.backgrounds.dent,alert_card_module_scss_1.default.card,className)},rest),react_1.default.createElement("div",{className:(0,classnames_1.default)(alert_card_module_scss_1.default.heading,className)},react_1.default.createElement(design_ui_elements_level_icon_1.LevelIcon,{level,className:(0,classnames_1.default)(alert_card_module_scss_1.default.icon,className)}),react_1.default.createElement(documenter_ui_heading_1.H3,{size:titleSize,className:(0,classnames_1.default)(alert_card_module_scss_1.default.title,className)},title)),react_1.default.createElement(design_ui_separator_1.Separator,{isPresentational:!0,className:(0,classnames_1.default)(alert_card_module_scss_1.default.separator,className)}),children)}exports.AlertCard=AlertCard},35682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AlertCard=void 0;var alert_card_1=__webpack_require__(66286);Object.defineProperty(exports,"AlertCard",{enumerable:!0,get:function(){return alert_card_1.AlertCard}})},39994:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LevelIcon=void 0;var level_icon_1=__webpack_require__(40942);Object.defineProperty(exports,"LevelIcon",{enumerable:!0,get:function(){return level_icon_1.LevelIcon}})},40942: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.LevelIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_theme_accent_color_1=__webpack_require__(11796),level_icon_module_scss_1=__importDefault(__webpack_require__(70976));function LevelIcon(_a){var{level,className}=_a,rest=__rest(_a,["level","className"]);return level==="error"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"error-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.action,className)},rest)):level==="info"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"info-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.process,className)},rest)):level==="warning"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"warn-circle",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.consider,className)},rest)):level==="success"?react_1.default.createElement(evangelist_elements_icon_1.Icon,Object.assign({of:"billing-checkmark",role:"img","aria-label":level,className:(0,classnames_1.default)(level_icon_module_scss_1.default.notificationIcon,base_ui_theme_accent_color_1.colorPalette.continue,className)},rest)):null}exports.LevelIcon=LevelIcon},55611: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.EmptyBox=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),empty_box_module_scss_1=__importDefault(__webpack_require__(22135));function EmptyBox(_a){var{title,link,linkText,className}=_a,rest=__rest(_a,["title","link","linkText","className"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(empty_box_module_scss_1.default.emptyCompositions,className)}),react_1.default.createElement("div",{className:empty_box_module_scss_1.default.innerBorder},react_1.default.createElement("div",null,title),react_1.default.createElement("a",{href:link,target:"_blank",rel:"noopener noreferrer"},linkText,react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"arrow_right"}))))}exports.EmptyBox=EmptyBox},89673:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EmptyBox=void 0;var empty_box_1=__webpack_require__(55611);Object.defineProperty(exports,"EmptyBox",{enumerable:!0,get:function(){return empty_box_1.EmptyBox}})},85913: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.ContactIcons=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_navigation_link_1=__webpack_require__(6231),community_constants_links_1=__webpack_require__(93042),styles2={link:{textDecoration:"none",lineHeight:"inherit",color:"unset"},logo:{width:"24px",height:"24px",margin:"0 13px"}};function ContactIcons(props){const style={props};return react_1.default.createElement("div",Object.assign({style:Object.assign(Object.assign({},styles2.iconLine),style)},props),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.slack},react_1.default.createElement("img",{alt:"slack",style:styles2.logo,src:"https://static.bit.dev/harmony/slack-round-icon.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.github},react_1.default.createElement("img",{alt:"github",style:styles2.logo,src:"https://static.bit.dev/harmony/github.svg"})),react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,style:styles2.link,href:community_constants_links_1.links.docs},react_1.default.createElement("img",{alt:"bit docs",style:styles2.logo,src:"https://static.bit.dev/bit-logo.svg"})))}exports.ContactIcons=ContactIcons},73737: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.ErrorPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),styles2={errorPage:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",margin:"auto",padding:"24px",textAlign:"center"},title:{fontWeight:"bold",margin:"0 0 24px 0"},img:{maxWidth:"700px",marginBottom:"24px",width:"100%"}},inlineStyles=`
|
31
31
|
.bit-error-page-title { font-size: 36px; }
|
32
32
|
@media screen and (max-width: 480px) { .bit-error-page-title { font-size: 24px; } }
|
33
|
-
`;function ErrorPage(_a){var{code,title,style,children}=_a,rest=__rest(_a,["code","title","style","children"]);return react_1.default.createElement("div",Object.assign({},rest,{style:Object.assign(Object.assign({},styles2.errorPage),style)}),react_1.default.createElement("style",null,inlineStyles),react_1.default.createElement("h1",{style:styles2.title,className:"bit-error-page-title"},title),react_1.default.createElement("img",{alt:"error",style:styles2.img,src:`https://static.bit.dev/harmony/${code}.svg`}),children)}exports.ErrorPage=ErrorPage},74345: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.ContactIcons=void 0,__exportStar(__webpack_require__(73737),exports);var contact_footer_1=__webpack_require__(85913);Object.defineProperty(exports,"ContactIcons",{enumerable:!0,get:function(){return contact_footer_1.ContactIcons}})},31751: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.IconButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),base_ui_elements_icon_1=__webpack_require__(34211),icon_button_module_scss_1=__importDefault(__webpack_require__(3205)),sizes_module_scss_1=__importDefault(__webpack_require__(354));function IconButton2(_a){var{icon,className,children,iconClass,active,priority="ghost",size="m"}=_a,rest=__rest(_a,["icon","className","children","iconClass","active","priority","size"]);return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.iconButton,sizes_module_scss_1.default.buttonSizes,active&&icon_button_module_scss_1.default.active,icon&&!children&&icon_button_module_scss_1.default.iconOnly,className),"data-priority":priority,"data-size":size}),icon&&react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.icon,active&&icon_button_module_scss_1.default.active,children&&icon_button_module_scss_1.default.margin,iconClass),of:`bitcon-${icon}`}),children)}exports.IconButton=IconButton2},53330:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconButton=void 0;var icon_button_1=__webpack_require__(31751);Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return icon_button_1.IconButton}})},86440: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.IconButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),icon_button_module_scss_1=__importDefault(__webpack_require__(73952)),sizes_module_scss_1=__importDefault(__webpack_require__(58002));function IconButton2(_a){var{icon,className,children,active,priority="ghost",size="s",border=!0}=_a,rest=__rest(_a,["icon","className","children","active","priority","size","border"]);return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.iconButton,sizes_module_scss_1.default.buttonSizes,active&&icon_button_module_scss_1.default.active,icon&&!children&&icon_button_module_scss_1.default.iconOnly,icon&&children&&icon_button_module_scss_1.default.margin,icon&&icon_button_module_scss_1.default.withIcon,!border&&icon_button_module_scss_1.default.withoutBorder,className),"data-priority":priority,"data-size":size}),icon,children)}exports.IconButton=IconButton2},73486:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconButton=void 0;var icon_button_1=__webpack_require__(86440);Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return icon_button_1.IconButton}})},11276:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OptionButton=void 0;var option_button_1=__webpack_require__(37502);Object.defineProperty(exports,"OptionButton",{enumerable:!0,get:function(){return option_button_1.OptionButton}})},37502: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.OptionButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),design_elements_icon_1=__webpack_require__(89332),option_button_module_scss_1=__importDefault(__webpack_require__(98691));function OptionButton(_a){var{icon,className,active,children}=_a,rest=__rest(_a,["icon","className","active","children"]);const iconNode=icon?react_1.default.createElement(design_elements_icon_1.Icon,{of:icon}):null;return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(className,option_button_module_scss_1.default.optionButton,active&&option_button_module_scss_1.default.active)}),iconNode,children)}exports.OptionButton=OptionButton},96352:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NotFoundPage=void 0;var not_found_page_1=__webpack_require__(96781);Object.defineProperty(exports,"NotFoundPage",{enumerable:!0,get:function(){return not_found_page_1.NotFoundPage}})},96781: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.NotFoundPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_error_page_1=__webpack_require__(74345);function NotFoundPage(_a){var rest=__rest(_a,[]);return react_1.default.createElement(design_ui_error_page_1.ErrorPage,Object.assign({},rest,{code:404,title:"Page not found"}),react_1.default.createElement(design_ui_error_page_1.ContactIcons,null))}exports.NotFoundPage=NotFoundPage},83698:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ServerErrorPage=void 0;var server_error_page_1=__webpack_require__(31664);Object.defineProperty(exports,"ServerErrorPage",{enumerable:!0,get:function(){return server_error_page_1.ServerErrorPage}})},31664: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.ServerErrorPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_error_page_1=__webpack_require__(74345);function ServerErrorPage(_a){var rest=__rest(_a,[]);return react_1.default.createElement(design_ui_error_page_1.ErrorPage,Object.assign({},rest,{code:500,title:"Internal server error"}),react_1.default.createElement(design_ui_error_page_1.ContactIcons,null))}exports.ServerErrorPage=ServerErrorPage},44458:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PillLabel=void 0;var pill_label_1=__webpack_require__(87888);Object.defineProperty(exports,"PillLabel",{enumerable:!0,get:function(){return pill_label_1.PillLabel}})},87888: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.PillLabel=void 0;const classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),pill_label_module_scss_1=__importDefault(__webpack_require__(41957));function PillLabel({children,className}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(pill_label_module_scss_1.default.pillLabel,className)},children)}exports.PillLabel=PillLabel},12563:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(85706);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},85706: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 classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),documenter_ui_separator_1=__webpack_require__(67826),separator_module_scss_1=__importDefault(__webpack_require__(53692));function Separator(_a){var{className,isPresentational}=_a,rest=__rest(_a,["className","isPresentational"]);return isPresentational?react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(separator_module_scss_1.default.separator,className)},rest)):react_1.default.createElement(documenter_ui_separator_1.Separator,Object.assign({className:(0,classnames_1.default)(className)},rest))}exports.Separator=Separator},43754: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.letterBgColors=exports.letterColors=void 0;var letter_colors_module_scss_1=__webpack_require__(35304);Object.defineProperty(exports,"letterColors",{enumerable:!0,get:function(){return __importDefault(letter_colors_module_scss_1).default}});var letter_bg_colors_module_scss_1=__webpack_require__(1540);Object.defineProperty(exports,"letterBgColors",{enumerable:!0,get:function(){return __importDefault(letter_bg_colors_module_scss_1).default}})},85334: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.Ellipsis=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ellipsis_module_scss_1=__importDefault(__webpack_require__(63315));function Ellipsis(props){return react_1.default.createElement("div",Object.assign({},props,{className:(0,classnames_1.default)(props.className,ellipsis_module_scss_1.default.ellipsisDiv)}))}exports.Ellipsis=Ellipsis},2997: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.Ellipsis=exports.ellipsis=void 0;const ellipsis_module_scss_1=__importDefault(__webpack_require__(63315));exports.ellipsis=ellipsis_module_scss_1.default.ellipsis;var ellipsis_1=__webpack_require__(85334);Object.defineProperty(exports,"Ellipsis",{enumerable:!0,get:function(){return ellipsis_1.Ellipsis}})},21770:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.classes=exports.MenuItem=void 0;var item_1=__webpack_require__(94);Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:function(){return item_1.MenuItem}}),Object.defineProperty(exports,"classes",{enumerable:!0,get:function(){return item_1.classes}})},94: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.MenuItem=exports.classes=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(86144),classnames_1=__importDefault(__webpack_require__(97754)),item_module_scss_1=__importDefault(__webpack_require__(77233));exports.classes={menuItem:item_module_scss_1.default.menuItem,interactive:item_module_scss_1.default.interactive,active:item_module_scss_1.default.active,icon:item_module_scss_1.default.icon};function MenuItem(_a){var{children,className,icon,active,interactive}=_a,rest=__rest(_a,["children","className","icon","active","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,exports.classes.menuItem,interactive&&exports.classes.interactive,active&&exports.classes.active)}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:exports.classes.icon}),children)}exports.MenuItem=MenuItem,MenuItem.defaultProps={interactive:!0}},41787:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuLinkItem=void 0;var link_item_1=__webpack_require__(75554);Object.defineProperty(exports,"MenuLinkItem",{enumerable:!0,get:function(){return link_item_1.MenuLinkItem}})},75554: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.MenuLinkItem=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),base_react_navigation_link_1=__webpack_require__(98560),design_ui_surfaces_menu_item_1=__webpack_require__(21770),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496));function MenuLinkItem(_a){var{href,children,icon,active,isActive,className,activeClassName}=_a,rest=__rest(_a,["href","children","icon","active","isActive","className","activeClassName"]);const _active=active??(typeof isActive=="function"?isActive():void 0);return react_1.default.createElement(base_react_navigation_link_1.Link,Object.assign({},rest,{href,className:(0,classnames_1.default)(className,design_ui_surfaces_menu_item_1.classes.menuItem,!!href&&design_ui_surfaces_menu_item_1.classes.interactive),activeClassName:(0,classnames_1.default)(activeClassName,design_ui_surfaces_menu_item_1.classes.active),active:_active}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:design_ui_surfaces_menu_item_1.classes.icon}),children)}exports.MenuLinkItem=MenuLinkItem},70597:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MessageCard=void 0;var message_card_1=__webpack_require__(27046);Object.defineProperty(exports,"MessageCard",{enumerable:!0,get:function(){return message_card_1.MessageCard}})},27046: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.MessageCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_surfaces_card_1=__webpack_require__(19537),message_card_module_scss_1=__importDefault(__webpack_require__(16752));function MessageCard(_a){var{icon,title,className,children,iconClass,roundness="small",elevation="none"}=_a,rest=__rest(_a,["icon","title","className","children","iconClass","roundness","elevation"]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({},rest,{roundness,elevation,className:(0,classnames_1.default)(message_card_module_scss_1.default.messageCard,className)}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:(0,classnames_1.default)(message_card_module_scss_1.default.icon,iconClass)}),react_1.default.createElement("div",{className:message_card_module_scss_1.default.textBox},react_1.default.createElement("div",null,title),children))}exports.MessageCard=MessageCard},56493:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StatusMessageCard=void 0;var status_message_card_1=__webpack_require__(38112);Object.defineProperty(exports,"StatusMessageCard",{enumerable:!0,get:function(){return status_message_card_1.StatusMessageCard}})},38112: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.StatusMessageCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_message_card_1=__webpack_require__(70597),status_message_card_module_scss_1=__importDefault(__webpack_require__(75011));function StatusMessageCard(_a){var{status}=_a,rest=__rest(_a,["status"]);const lowerCaseStatus=status.toLowerCase(),iconProps=getStatusIcon(lowerCaseStatus);return react_1.default.createElement(design_ui_surfaces_message_card_1.MessageCard,Object.assign({},iconProps,rest))}exports.StatusMessageCard=StatusMessageCard;function getStatusIcon(status){const iconPrefix="Ripple";if(!!status)switch(status){case"success":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"failure":return{icon:`${iconPrefix}-failed`,iconClass:status_message_card_module_scss_1.default[status]};case"pending":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"processing":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"skipped":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};default:return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]}}}},4426:(__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__(36133);Object.defineProperty(exports,"Tooltip",{enumerable:!0,get:function(){return tooltip_1.Tooltip}});var shared_instance_1=__webpack_require__(87012);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__(80422);Object.defineProperty(exports,"SingletonTooltipProvider",{enumerable:!0,get:function(){return singleton_instance_1.SingletonTooltipProvider}});var mount_point_1=__webpack_require__(23235);Object.defineProperty(exports,"TooltipMountPoint",{enumerable:!0,get:function(){return mount_point_1.TooltipMountPoint}});var react_1=__webpack_require__(33224);Object.defineProperty(exports,"useSingleton",{enumerable:!0,get:function(){return react_1.useSingleton}}),Object.defineProperty(exports,"tippy",{enumerable:!0,get:function(){return react_1.tippy}})},23235: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},87012: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},80422: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__(33224),shared_instance_1=__webpack_require__(87012),tooltip_1=__webpack_require__(36133);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},36133: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)),base_ui_theme_dark_theme_1=__webpack_require__(12880),react_2=__importDefault(__webpack_require__(33224)),tippy_js_1=__webpack_require__(48199);__webpack_require__(94329),__webpack_require__(44712);const mount_point_1=__webpack_require__(23235),shared_instance_1=__webpack_require__(87012);__webpack_require__(55837);const THEME="teambit",popperOptions={modifiers:[{name:"arrow",options:{padding:5}}]};function Tooltip(_a){var{children,breakline,singleton,className}=_a,rest=__rest(_a,["children","breakline","singleton","className"]);const ctxInstance=(0,shared_instance_1.useCtxTooltipInstance)(),_singleton=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:_singleton}),child)}exports.Tooltip=Tooltip},56680:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocPropList=void 0;const doc_prop_1=__webpack_require__(57746);class DocPropList{constructor(docProps){this.docProps=docProps}get(name){return this.docProps.find(docProp=>docProp.name===name)}static from(object){const props=Object.keys(object).map(key=>{if(!!object[key])return new doc_prop_1.DocProp(key,object[key])}).filter(prop=>!!prop);return new DocPropList(props)}}exports.DocPropList=DocPropList},57746:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocProp=void 0;class DocProp{constructor(name,value){this.name=name,this.value=value}getAs(){return this.value}}exports.DocProp=DocProp},28008:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Doc=void 0;const doc_prop_list_1=__webpack_require__(56680);class Doc{constructor(filePath,props){this.filePath=filePath,this.props=props}toObject(){return{filePath:this.filePath,props:this.props.docProps}}get description(){var _a;const value=(_a=this.props.get("description"))===null||_a===void 0?void 0:_a.value;return value||""}get labels(){var _a;const value=(_a=this.props.get("labels"))===null||_a===void 0?void 0:_a.value;return value||[]}get displayName(){return this.props.get("displayName")}static from(path,propObject){return new Doc(path,doc_prop_list_1.DocPropList.from(propObject))}}exports.Doc=Doc},87628:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocPropList=exports.DocProp=exports.Doc=void 0;var doc_1=__webpack_require__(28008);Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return doc_1.Doc}});var doc_prop_1=__webpack_require__(57746);Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return doc_prop_1.DocProp}});var doc_prop_list_1=__webpack_require__(56680);Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return doc_prop_list_1.DocPropList}})},22401:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Playground=void 0;var react_playground_1=__webpack_require__(81149);Object.defineProperty(exports,"Playground",{enumerable:!0,get:function(){return react_playground_1.Playground}})},81149: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.Playground=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_live_1=__webpack_require__(48612),base_ui_surfaces_split_pane_split_pane_1=__webpack_require__(4792),base_ui_surfaces_split_pane_hover_splitter_1=__webpack_require__(56007),react_use_dimensions_1=__importDefault(__webpack_require__(95144)),use_debounce_1=__webpack_require__(85830),oceanicNext_1=__importDefault(__webpack_require__(3809)),base_ui_input_error_1=__webpack_require__(75006),react_playground_module_scss_1=__importDefault(__webpack_require__(13932));function Playground(_a){var{code,scope,style,className}=_a,rest=__rest(_a,["code","scope","style","className"]);const _code=(0,react_1.useMemo)(()=>code?.toString().replace(/\n$/,"").trim(),[code]),[ref,{width}]=(0,react_use_dimensions_1.default)(),isColumn=+(0,use_debounce_1.useDebounce)(width,300,{leading:!0})[0]<=500,placement=isColumn?base_ui_surfaces_split_pane_split_pane_1.Layout.columnReverse:base_ui_surfaces_split_pane_split_pane_1.Layout.row;return width?react_1.default.createElement(react_live_1.LiveProvider,{code:_code,scope,theme:oceanicNext_1.default},react_1.default.createElement("div",Object.assign({ref,className:(0,classnames_1.default)(className,react_playground_module_scss_1.default.playground,isColumn?react_playground_module_scss_1.default.column:react_playground_module_scss_1.default.row)},rest),react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.SplitPane,{className:react_playground_module_scss_1.default.main,size:"50%",layout:placement},react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.Pane,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.codePane)},react_1.default.createElement(react_live_1.LiveEditor,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.editor)})),react_1.default.createElement(base_ui_surfaces_split_pane_hover_splitter_1.HoverSplitter,{className:react_playground_module_scss_1.default.splitter}),react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.Pane,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.previewPane)},react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(react_live_1.LivePreview,{className:react_playground_module_scss_1.default.previewBox}),react_1.default.createElement(react_live_1.LiveError,{className:(0,classnames_1.default)(base_ui_input_error_1.Error,react_playground_module_scss_1.default.error)})))))):react_1.default.createElement("div",{ref})}exports.Playground=Playground},41185:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.links=exports.docsUrl=void 0,exports.docsUrl="https://bit.dev/docs",exports.links={scopedRegistry:`${exports.docsUrl}/packages/npmrc`,installBit:`${exports.docsUrl}/getting-started/installing-bit/installing-bit`,createCompositions:`${exports.docsUrl}/dev-services-overview/compositions/compositions-overview`,testComponents:`${exports.docsUrl}/dev-services-overview/tester/tester-overview`,bitIntroduction:`${exports.docsUrl}/quick-start`,whatIsBit:`${exports.docsUrl}/quick-start`,tagComponentVersion:`${exports.docsUrl}/components/tags`}},53365:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=exports.Ok=void 0;var documentation_links_1=__webpack_require__(41185);Object.defineProperty(exports,"Ok",{enumerable:!0,get:function(){return documentation_links_1.links}}),__webpack_unused_export__={enumerable:!0,get:function(){return documentation_links_1.docsUrl}}},71717: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.h6=exports.h5=exports.h4=exports.h3=exports.h2=exports.h1=exports.createHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_linked_heading_1=__webpack_require__(98422),create_heading_module_scss_1=__importDefault(__webpack_require__(2054));function createHeading(size,element){return function(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);const isMainHeading=size==="lg"||size==="md";return react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,Object.assign({},rest,{className:(0,classnames_1.default)(className,create_heading_module_scss_1.default.mdxLinkedHeading,isMainHeading&&create_heading_module_scss_1.default.mainHeadingStyles),size,element}),children)}}exports.createHeading=createHeading,exports.h1=createHeading("lg","h1"),exports.h2=createHeading("md","h2"),exports.h3=createHeading("sm","h3"),exports.h4=createHeading("xs","h4"),exports.h5=createHeading("xxs","h5"),exports.h6=createHeading("xxs","h6")},47363:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.h6=exports.h5=exports.h4=exports.h3=exports.h2=exports.h1=exports.createHeading=void 0;var create_heading_1=__webpack_require__(71717);Object.defineProperty(exports,"createHeading",{enumerable:!0,get:function(){return create_heading_1.createHeading}}),Object.defineProperty(exports,"h1",{enumerable:!0,get:function(){return create_heading_1.h1}}),Object.defineProperty(exports,"h2",{enumerable:!0,get:function(){return create_heading_1.h2}}),Object.defineProperty(exports,"h3",{enumerable:!0,get:function(){return create_heading_1.h3}}),Object.defineProperty(exports,"h4",{enumerable:!0,get:function(){return create_heading_1.h4}}),Object.defineProperty(exports,"h5",{enumerable:!0,get:function(){return create_heading_1.h5}}),Object.defineProperty(exports,"h6",{enumerable:!0,get:function(){return create_heading_1.h6}})},56621:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;var snippet_1=__webpack_require__(17182);Object.defineProperty(exports,"Snippet",{enumerable:!0,get:function(){return snippet_1.Snippet}})},17182: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.Snippet=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_code_snippet_1=__webpack_require__(75510),documenter_code_react_playground_1=__webpack_require__(22401),snippet_module_scss_1=__importDefault(__webpack_require__(31103));function Snippet({children,scope,live}){return live?react_1.default.createElement(documenter_code_react_playground_1.Playground,{className:snippet_module_scss_1.default.snippet,code:children,scope}):react_1.default.createElement(documenter_ui_code_snippet_1.CodeSnippet,{className:snippet_module_scss_1.default.snippet},children)}exports.Snippet=Snippet},51455:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultMdxComponents=void 0;const documenter_ui_block_quote_1=__webpack_require__(97047),documenter_ui_bold_1=__webpack_require__(70624),documenter_routing_external_link_1=__webpack_require__(45073),documenter_markdown_heading_1=__webpack_require__(47363),documenter_ui_image_1=__webpack_require__(34296),documenter_ui_inline_code_1=__webpack_require__(83216),documenter_ui_italic_1=__webpack_require__(64106),documenter_ui_ol_1=__webpack_require__(28244),documenter_ui_paragraph_1=__webpack_require__(36404),documenter_ui_separator_1=__webpack_require__(3324),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56621),documenter_ui_sup_1=__webpack_require__(91254),documenter_ui_table_base_table_1=__webpack_require__(32119),documenter_ui_table_td_1=__webpack_require__(77246),documenter_ui_table_tr_1=__webpack_require__(98548),documenter_ui_ul_1=__webpack_require__(21211);exports.defaultMdxComponents={h1:documenter_markdown_heading_1.h1,h2:documenter_markdown_heading_1.h2,h3:documenter_markdown_heading_1.h3,h4:documenter_markdown_heading_1.h4,h5:documenter_markdown_heading_1.h5,h6:documenter_markdown_heading_1.h6,p:documenter_ui_paragraph_1.Paragraph,code:documenter_markdown_hybrid_live_code_snippet_1.Snippet,a:documenter_routing_external_link_1.ExternalLink,inlineCode:documenter_ui_inline_code_1.InlineCode,ol:documenter_ui_ol_1.Ol,ul:documenter_ui_ul_1.Ul,hr:documenter_ui_separator_1.Separator,thematicBreak:documenter_ui_separator_1.Separator,img:documenter_ui_image_1.Image,strong:documenter_ui_bold_1.Bold,em:documenter_ui_italic_1.Italic,pre:({children})=>children,sup:documenter_ui_sup_1.Sup,table:documenter_ui_table_base_table_1.Table,tr:documenter_ui_table_tr_1.Tr,td:documenter_ui_table_td_1.Td,blockquote:documenter_ui_block_quote_1.BlockQuote}},53333:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultMdxComponents=void 0;var components_1=__webpack_require__(51455);Object.defineProperty(exports,"defaultMdxComponents",{enumerable:!0,get:function(){return components_1.defaultMdxComponents}})},81123:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},exports.f=void 0;var mdx_layout_1=__webpack_require__(17016);Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return mdx_layout_1.MDXLayout}})},17016: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.MDXLayout=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_2=__webpack_require__(49613),components_1=__webpack_require__(53333),mdx_layout_module_scss_1=__importDefault(__webpack_require__(9117));function MDXLayout(_a){var{children,components,className}=_a,rest=__rest(_a,["children","components","className"]);const _components=(0,react_1.useMemo)(()=>Object.assign(Object.assign({},components_1.defaultMdxComponents),components),[components_1.defaultMdxComponents,components]);return react_1.default.createElement(react_2.MDXProvider,{components:_components},react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(mdx_layout_module_scss_1.default.mdxContent,className)},rest),children))}exports.MDXLayout=MDXLayout},41381: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.ExternalLink=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),external_link_module_scss_1=__importDefault(__webpack_require__(62124));function ExternalLink(_a){var{href,children,className}=_a,rest=__rest(_a,["href","children","className"]);return react_1.default.createElement("a",Object.assign({},rest,{target:"_blank",href,className:(0,classnames_1.default)(external_link_module_scss_1.default.link,className)}),children)}exports.ExternalLink=ExternalLink},45073: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__(41381),exports)},18170: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__(95191),exports)},95191: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.ThemeContext=exports.ThemeDocumenter=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_theme_provider_1=__webpack_require__(625),base_ui_theme_fonts_roboto_1=__webpack_require__(31165),sizes_module_scss_1=__importDefault(__webpack_require__(22488)),global_module_scss_1=__importDefault(__webpack_require__(68009));function ThemeDocumenter(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(base_ui_theme_theme_provider_1.Theme,Object.assign({},rest,{className:classnames_1.default(className,sizes_module_scss_1.default.heading,global_module_scss_1.default.overrides)}),react_1.default.createElement(base_ui_theme_fonts_roboto_1.Roboto,null),children)}exports.ThemeDocumenter=ThemeDocumenter,exports.ThemeContext=ThemeDocumenter},53856: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.Anchor=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(4748),anchor_module_scss_1=__importDefault(__webpack_require__(44103));function Anchor(props){const href=props.href&&`#${props.href}`;return react_1.default.createElement("a",Object.assign({},props,{id:props.href,href,className:(0,classnames_1.default)(props.className,anchor_module_scss_1.default.anchor)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"anchor",className:anchor_module_scss_1.default.anchorIcon}))}exports.Anchor=Anchor},70319: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__(53856),exports)},32481: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.Anchor=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(4748),anchor_module_scss_1=__importDefault(__webpack_require__(72389));function Anchor(props){const href=props.href&&`#${props.href}`;return react_1.default.createElement("a",Object.assign({},props,{id:props.href,href,className:(0,classnames_1.default)(props.className,anchor_module_scss_1.default.anchor)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"anchor",className:anchor_module_scss_1.default.anchorIcon}))}exports.Anchor=Anchor},88820: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__(32481),exports)},7385: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.BlockQuote=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),block_quote_module_scss_1=__importDefault(__webpack_require__(26351));function BlockQuote(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);return react_1.default.createElement("blockquote",Object.assign({},rest,{className:(0,classnames_1.default)(block_quote_module_scss_1.default.blockQuote,className)}),children)}exports.BlockQuote=BlockQuote},97047:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BlockQuote=void 0;var block_quote_1=__webpack_require__(7385);Object.defineProperty(exports,"BlockQuote",{enumerable:!0,get:function(){return block_quote_1.BlockQuote}})},45940: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.Bold=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),bold_module_scss_1=__importDefault(__webpack_require__(39898));function Bold(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("strong",Object.assign({},rest,{className:(0,classnames_1.default)(bold_module_scss_1.default.bold,className)}),children)}exports.Bold=Bold},70624:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Bold=void 0;var bold_1=__webpack_require__(45940);Object.defineProperty(exports,"Bold",{enumerable:!0,get:function(){return bold_1.Bold}})},26700: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]}),__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.CodeSnippet=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),copy_to_clipboard_1=__importDefault(__webpack_require__(15912)),prism_light_1=__importDefault(__webpack_require__(56944)),tsx_1=__importDefault(__webpack_require__(6522)),vsc_dark_plus_1=__importDefault(__webpack_require__(27116)),documenter_ui_copied_message_1=__webpack_require__(13380),code_snippet_module_scss_1=__importDefault(__webpack_require__(13857));prism_light_1.default.registerLanguage("tsx",tsx_1.default);const customStyles={fontFamily:"roboto mono",fontSize:12};function CodeSnippet(_a){var{className,frameClass,theme=vsc_dark_plus_1.default,language="tsx",children}=_a,rest=__rest(_a,["className","frameClass","theme","language","children"]);const[isCopied,setIsCopied]=(0,react_1.useState)(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),(0,copy_to_clipboard_1.default)(children.toString())},trimmedChildren=(0,react_1.useMemo)(()=>children.trim(),[children]);return react_1.default.createElement("div",{className:(0,classnames_1.default)(code_snippet_module_scss_1.default.snippetWrapper,className)},react_1.default.createElement(Highlighter,Object.assign({},rest,{className:(0,classnames_1.default)(code_snippet_module_scss_1.default.codeSnippet,frameClass),language,style:theme,customStyle:customStyles}),trimmedChildren),react_1.default.createElement("div",{className:code_snippet_module_scss_1.default.copy},react_1.default.createElement(documenter_ui_copied_message_1.CopiedMessage,{show:isCopied}),react_1.default.createElement("img",{src:"https://static.bit.cloud/Community/icons/copy.svg",onClick:handleClick,className:code_snippet_module_scss_1.default.copyIcon,alt:"Copy"})))}exports.CodeSnippet=CodeSnippet;const Highlighter=(0,react_1.memo)(function(props){return react_1.default.createElement(prism_light_1.default,Object.assign({},props))})},75510: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__(26700),exports)},47928: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.CopiedMessage=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),copied_message_module_scss_1=__importDefault(__webpack_require__(39537));function CopiedMessage(_a){var{className,show=!1}=_a,rest=__rest(_a,["className","show"]);return react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(copied_message_module_scss_1.default.copiedMessage,{[copied_message_module_scss_1.default.showMessage]:show},className)}),"Copied")}exports.CopiedMessage=CopiedMessage},13380: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__(47928),exports)},8584:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CopyBox:()=>CopyBox});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),copy_to_clipboard=__webpack_require__(15912),copy_to_clipboard_default=__webpack_require__.n(copy_to_clipboard),classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2);const copied_message_module={copiedMessage:"copied-message_copiedMessage__bwPvJ",showMessage:"copied-message_showMessage__2YJyu"};function CopiedMessage({className,show=!1,...rest}){return(0,jsx_runtime.jsx)("span",{...rest,className:classnames_default()(copied_message_module.copiedMessage,{[copied_message_module.showMessage]:show},className),children:"Copied"})}var dist=__webpack_require__(4748),base_ui_layout_grid_component_dist=__webpack_require__(95420);const copy_box_module={copyBox:"copy-box_copyBox__2qsgZ",leftSection:"copy-box_leftSection__2Y7zw",button:"copy-box_button__2HWwC",rightSection:"copy-box_rightSection__1sJiH",copyIcon:"copy-box_copyIcon__xGsr9"};function CopyBox({children,className,...rest}){const[isCopied,setIsCopied]=(0,react.useState)(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),copy_to_clipboard_default()(children)};return(0,jsx_runtime.jsxs)(base_ui_layout_grid_component_dist.r,{colMd:2,className:classnames_default()(copy_box_module.copyBox,className),...rest,children:[(0,jsx_runtime.jsx)("div",{className:copy_box_module.leftSection,children}),(0,jsx_runtime.jsxs)("div",{className:copy_box_module.rightSection,children:[(0,jsx_runtime.jsx)(CopiedMessage,{show:isCopied}),(0,jsx_runtime.jsx)("button",{type:"button",className:copy_box_module.button,onClick:handleClick,children:(0,jsx_runtime.jsx)(dist.Icon,{className:copy_box_module.copyIcon,of:"copy-cmp"})})]})]})}},79625: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(77739),heading_sizes_module_scss_1=__importDefault(__webpack_require__(5416)),heading_module_scss_1=__importDefault(__webpack_require__(69872));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:classnames_1.default(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:classnames_1.default(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:classnames_1.default(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:classnames_1.default(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:classnames_1.default(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:classnames_1.default(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},37742: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__(79625),exports)},24182: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(18660),heading_sizes_module_scss_1=__importDefault(__webpack_require__(90684)),heading_module_scss_1=__importDefault(__webpack_require__(47609));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},82483:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;var heading_1=__webpack_require__(24182);Object.defineProperty(exports,"H1",{enumerable:!0,get:function(){return heading_1.H1}}),Object.defineProperty(exports,"H2",{enumerable:!0,get:function(){return heading_1.H2}}),Object.defineProperty(exports,"H3",{enumerable:!0,get:function(){return heading_1.H3}}),Object.defineProperty(exports,"H4",{enumerable:!0,get:function(){return heading_1.H4}}),Object.defineProperty(exports,"H5",{enumerable:!0,get:function(){return heading_1.H5}}),Object.defineProperty(exports,"H6",{enumerable:!0,get:function(){return heading_1.H6}})},37525: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(18660),heading_sizes_module_scss_1=__importDefault(__webpack_require__(32165)),heading_module_scss_1=__importDefault(__webpack_require__(9948));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},94700:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;var heading_1=__webpack_require__(37525);Object.defineProperty(exports,"H1",{enumerable:!0,get:function(){return heading_1.H1}}),Object.defineProperty(exports,"H2",{enumerable:!0,get:function(){return heading_1.H2}}),Object.defineProperty(exports,"H3",{enumerable:!0,get:function(){return heading_1.H3}}),Object.defineProperty(exports,"H4",{enumerable:!0,get:function(){return heading_1.H4}}),Object.defineProperty(exports,"H5",{enumerable:!0,get:function(){return heading_1.H5}}),Object.defineProperty(exports,"H6",{enumerable:!0,get:function(){return heading_1.H6}})},419: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.HighlightedText=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_inline_code_1=__webpack_require__(22998);function HighlightedText(props){return react_1.default.createElement(documenter_ui_inline_code_1.InlineCode,Object.assign({},props,{highlight:!0}))}exports.HighlightedText=HighlightedText},90074: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__(419),exports)},10158: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.Image=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),image_module_scss_1=__importDefault(__webpack_require__(66147));function Image(_a){var{src,className}=_a,rest=__rest(_a,["src","className"]);return react_1.default.createElement("img",Object.assign({},rest,{src,className:(0,classnames_1.default)(image_module_scss_1.default.img,className)}))}exports.Image=Image},34296:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var image_1=__webpack_require__(10158);Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return image_1.Image}})},22998:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InlineCode=void 0;var inline_code_1=__webpack_require__(3640);Object.defineProperty(exports,"InlineCode",{enumerable:!0,get:function(){return inline_code_1.InlineCode}})},3640: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.InlineCode=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),inline_code_module_scss_1=__importDefault(__webpack_require__(52599));function InlineCode(_a){var{children,highlight,className}=_a,rest=__rest(_a,["children","highlight","className"]);return react_1.default.createElement("code",Object.assign({},rest,{className:classnames_1.default(inline_code_module_scss_1.default.inlineCode,highlight&&inline_code_module_scss_1.default.highlight,className)}),children)}exports.InlineCode=InlineCode},83216:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InlineCode=void 0;var inline_code_1=__webpack_require__(68434);Object.defineProperty(exports,"InlineCode",{enumerable:!0,get:function(){return inline_code_1.InlineCode}})},68434: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.InlineCode=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),inline_code_module_scss_1=__importDefault(__webpack_require__(20018));function InlineCode(_a){var{children,highlight,className}=_a,rest=__rest(_a,["children","highlight","className"]);return react_1.default.createElement("code",Object.assign({},rest,{className:(0,classnames_1.default)(inline_code_module_scss_1.default.inlineCode,highlight&&inline_code_module_scss_1.default.highlight,className)}),children)}exports.InlineCode=InlineCode},64106:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Italic=void 0;var italic_1=__webpack_require__(19281);Object.defineProperty(exports,"Italic",{enumerable:!0,get:function(){return italic_1.Italic}})},19281: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.Italic=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),italic_module_scss_1=__importDefault(__webpack_require__(49826));function Italic(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("em",Object.assign({},rest,{className:(0,classnames_1.default)(italic_module_scss_1.default.italic,className)}),children)}exports.Italic=Italic},13232: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__(63527),exports)},63527: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.LabelList=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_label_1=__webpack_require__(18688),label_list_module_scss_1=__importDefault(__webpack_require__(66098));function LabelList(_a){var{children,className,labelClass,onPick}=_a,rest=__rest(_a,["children","className","labelClass","onPick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(className,label_list_module_scss_1.default.labelList)}),children&&children.map(label=>react_1.default.createElement(documenter_ui_label_1.Label,{className:labelClass,key:label,onPick},label)))}exports.LabelList=LabelList},18688: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__(16161),exports)},16161: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.Label=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),label_module_scss_1=__importDefault(__webpack_require__(42409));function Label(_a){var{onPick,onClick,className}=_a,rest=__rest(_a,["onPick","onClick","className"]);const handleClick=e=>(onPick&&onPick(rest.children),onClick&&onClick(e));return react_1.default.createElement("div",Object.assign({},rest,{onClick:handleClick,className:classnames_1.default(className,label_module_scss_1.default.label)}))}exports.Label=Label},19058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LinkedHeading=void 0;var linked_heading_1=__webpack_require__(26181);Object.defineProperty(exports,"LinkedHeading",{enumerable:!0,get:function(){return linked_heading_1.LinkedHeading}})},26181: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.LinkedHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_heading_1=__webpack_require__(82483),documenter_ui_anchor_1=__webpack_require__(70319),linked_heading_module_scss_1=__importDefault(__webpack_require__(83338));function LinkedHeading(_a){var{children,link,size,element="h3",className}=_a,rest=__rest(_a,["children","link","size","element","className"]);const Element=headerElement(element);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(linked_heading_module_scss_1.default.linkedHeading,className)},rest),react_1.default.createElement(Element,{className:linked_heading_module_scss_1.default.heading,size,id:link},children),link&&react_1.default.createElement(documenter_ui_anchor_1.Anchor,{className:linked_heading_module_scss_1.default.anchor,href:link}))}exports.LinkedHeading=LinkedHeading;const headerElement=element=>{switch(element){case"h1":return documenter_ui_heading_1.H1;case"h2":return documenter_ui_heading_1.H2;case"h3":return documenter_ui_heading_1.H3;case"h4":return documenter_ui_heading_1.H4;case"h5":return documenter_ui_heading_1.H5;case"h6":return documenter_ui_heading_1.H6;default:return documenter_ui_heading_1.H3}}},98422:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LinkedHeading=void 0;var linked_heading_1=__webpack_require__(27053);Object.defineProperty(exports,"LinkedHeading",{enumerable:!0,get:function(){return linked_heading_1.LinkedHeading}})},27053: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.LinkedHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_heading_1=__webpack_require__(94700),documenter_ui_anchor_1=__webpack_require__(88820),linked_heading_module_scss_1=__importDefault(__webpack_require__(39970));function LinkedHeading(_a){var{children,link,size,element="h3",className}=_a,rest=__rest(_a,["children","link","size","element","className"]);const Element=headerElement(element);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(linked_heading_module_scss_1.default.linkedHeading,className)},rest),react_1.default.createElement(Element,{className:linked_heading_module_scss_1.default.heading,size,id:link},children),link&&react_1.default.createElement(documenter_ui_anchor_1.Anchor,{className:linked_heading_module_scss_1.default.anchor,href:link}))}exports.LinkedHeading=LinkedHeading;const headerElement=element=>{switch(element){case"h1":return documenter_ui_heading_1.H1;case"h2":return documenter_ui_heading_1.H2;case"h3":return documenter_ui_heading_1.H3;case"h4":return documenter_ui_heading_1.H4;case"h5":return documenter_ui_heading_1.H5;case"h6":return documenter_ui_heading_1.H6;default:return documenter_ui_heading_1.H3}}},28244:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ol=void 0;var ol_1=__webpack_require__(42896);Object.defineProperty(exports,"Ol",{enumerable:!0,get:function(){return ol_1.Ol}})},42896: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.Ol=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ol_module_scss_1=__importDefault(__webpack_require__(58801));function Ol(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ol",Object.assign({},rest,{className:(0,classnames_1.default)(ol_module_scss_1.default.ol,className)}),children)}exports.Ol=Ol},543: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__(3586),exports)},3586: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.Paragraph=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_paragraph_1=__webpack_require__(7954),base_ui_theme_sizes_1=__webpack_require__(62086),paragraph_module_scss_1=__importDefault(__webpack_require__(98298));function Paragraph(_a){var{children,className,size}=_a,rest=__rest(_a,["children","className","size"]);const paragraphSize=size?base_ui_theme_sizes_1.PossibleSizes[size]:base_ui_theme_sizes_1.PossibleSizes.md;return react_1.default.createElement(base_ui_text_paragraph_1.Paragraph,Object.assign({size:paragraphSize},rest,{className:classnames_1.default(paragraph_module_scss_1.default.paragraph,className)}),children)}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},36404: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__(85344),exports)},85344: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.Paragraph=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_paragraph_1=__webpack_require__(71491),base_ui_theme_sizes_1=__webpack_require__(62086),paragraph_module_scss_1=__importDefault(__webpack_require__(1549));function Paragraph(_a){var{children,className,size}=_a,rest=__rest(_a,["children","className","size"]);const paragraphSize=size?base_ui_theme_sizes_1.PossibleSizes[size]:base_ui_theme_sizes_1.PossibleSizes.md;return react_1.default.createElement(base_ui_text_paragraph_1.Paragraph,Object.assign({size:paragraphSize},rest,{className:(0,classnames_1.default)(paragraph_module_scss_1.default.paragraph,className)}),children)}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},3405:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{PropTable:()=>PropTable});var jsx_runtime=__webpack_require__(4637),es=__webpack_require__(95144),react=__webpack_require__(59496);function useDebouncedCallback(callback,delay,options){options===void 0&&(options={});var maxWait=options.maxWait,maxWaitHandler=(0,react.useRef)(null),maxWaitArgs=(0,react.useRef)([]),leading=options.leading,trailing=options.trailing===void 0?!0:options.trailing,leadingCall=(0,react.useRef)(!1),functionTimeoutHandler=(0,react.useRef)(null),isComponentUnmounted=(0,react.useRef)(!1),debouncedFunction=(0,react.useRef)(callback);debouncedFunction.current=callback;var cancelDebouncedCallback=(0,react.useCallback)(function(){clearTimeout(functionTimeoutHandler.current),clearTimeout(maxWaitHandler.current),maxWaitHandler.current=null,maxWaitArgs.current=[],functionTimeoutHandler.current=null,leadingCall.current=!1},[]);(0,react.useEffect)(function(){return isComponentUnmounted.current=!1,function(){isComponentUnmounted.current=!0}},[]);var debouncedCallback=(0,react.useCallback)(function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];maxWaitArgs.current=args,clearTimeout(functionTimeoutHandler.current),leadingCall.current&&(leadingCall.current=!1),!functionTimeoutHandler.current&&leading&&!leadingCall.current&&(debouncedFunction.current.apply(debouncedFunction,args),leadingCall.current=!0),functionTimeoutHandler.current=setTimeout(function(){var shouldCallFunction=!0;leading&&leadingCall.current&&(shouldCallFunction=!1),cancelDebouncedCallback(),!isComponentUnmounted.current&&trailing&&shouldCallFunction&&debouncedFunction.current.apply(debouncedFunction,args)},delay),maxWait&&!maxWaitHandler.current&&trailing&&(maxWaitHandler.current=setTimeout(function(){var args2=maxWaitArgs.current;cancelDebouncedCallback(),isComponentUnmounted.current||debouncedFunction.current.apply(null,args2)},maxWait))},[maxWait,delay,cancelDebouncedCallback,leading,trailing]),callPending=(0,react.useCallback)(function(){!functionTimeoutHandler.current||(debouncedFunction.current.apply(null,maxWaitArgs.current),cancelDebouncedCallback())},[cancelDebouncedCallback]);return[debouncedCallback,cancelDebouncedCallback,callPending]}function valueEquality(left,right){return left===right}function useDebounce(value,delay,options){var eq=options&&options.equalityFn?options.equalityFn:valueEquality,_a=(0,react.useState)(value),state=_a[0],dispatch=_a[1],_b=useDebouncedCallback((0,react.useCallback)(function(value2){return dispatch(value2)},[]),delay,options),callback=_b[0],cancel=_b[1],callPending=_b[2],previousValue=(0,react.useRef)(value);return(0,react.useEffect)(function(){eq(previousValue.current,value)||(callback(value),previousValue.current=value)},[value,callback,eq]),[state,cancel,callPending]}var classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(95420);const table_heading_column_module={headingColumn:"table-heading-column_headingColumn__2HRSD"};function HeadingColumn({children,className,...rest}){return(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_heading_column_module.headingColumn,className),...rest,children:(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_heading_column_module.title),children})})}const table_heading_row_module={titleRow:"table-heading-row_titleRow__3KBMP",hide:"table-heading-row_hide__1A6im",titleCol:"table-heading-row_titleCol__1UtXq"};function HeadingRow({headings,colNumber,isListView=!1,className,...rest}){return(0,jsx_runtime.jsx)(dist.r,{...rest,col:colNumber,className:classnames_default()(table_heading_row_module.titleRow,{[table_heading_row_module.hide]:isListView},className),children:headings.map(title=>title==="required"?null:(0,jsx_runtime.jsx)(HeadingColumn,{className:table_heading_row_module.titleCol,children:title},title))})}const table_column_module={tableColumn:"table-column_tableColumn__3UL0s"};function TableColumn({children,className,...rest}){return(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_column_module.tableColumn,className),...rest,children})}var objectWithoutProperties=__webpack_require__(2141);function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _iterableToArray(iter){if(typeof Symbol<"u"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _unsupportedIterableToArray(o,minLen){if(!!o){if(typeof o=="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
33
|
+
`;function ErrorPage(_a){var{code,title,style,children}=_a,rest=__rest(_a,["code","title","style","children"]);return react_1.default.createElement("div",Object.assign({},rest,{style:Object.assign(Object.assign({},styles2.errorPage),style)}),react_1.default.createElement("style",null,inlineStyles),react_1.default.createElement("h1",{style:styles2.title,className:"bit-error-page-title"},title),react_1.default.createElement("img",{alt:"error",style:styles2.img,src:`https://static.bit.dev/harmony/${code}.svg`}),children)}exports.ErrorPage=ErrorPage},74345: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.ContactIcons=void 0,__exportStar(__webpack_require__(73737),exports);var contact_footer_1=__webpack_require__(85913);Object.defineProperty(exports,"ContactIcons",{enumerable:!0,get:function(){return contact_footer_1.ContactIcons}})},31751: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.IconButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),base_ui_elements_icon_1=__webpack_require__(34211),icon_button_module_scss_1=__importDefault(__webpack_require__(3205)),sizes_module_scss_1=__importDefault(__webpack_require__(354));function IconButton2(_a){var{icon,className,children,iconClass,active,priority="ghost",size="m"}=_a,rest=__rest(_a,["icon","className","children","iconClass","active","priority","size"]);return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.iconButton,sizes_module_scss_1.default.buttonSizes,active&&icon_button_module_scss_1.default.active,icon&&!children&&icon_button_module_scss_1.default.iconOnly,className),"data-priority":priority,"data-size":size}),icon&&react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.icon,active&&icon_button_module_scss_1.default.active,children&&icon_button_module_scss_1.default.margin,iconClass),of:`bitcon-${icon}`}),children)}exports.IconButton=IconButton2},53330:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconButton=void 0;var icon_button_1=__webpack_require__(31751);Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return icon_button_1.IconButton}})},86440: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.IconButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(19803)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),icon_button_module_scss_1=__importDefault(__webpack_require__(73952)),sizes_module_scss_1=__importDefault(__webpack_require__(58002));function IconButton2(_a){var{icon,className,children,active,priority="ghost",size="s",border=!0}=_a,rest=__rest(_a,["icon","className","children","active","priority","size","border"]);return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(icon_button_module_scss_1.default.iconButton,sizes_module_scss_1.default.buttonSizes,active&&icon_button_module_scss_1.default.active,icon&&!children&&icon_button_module_scss_1.default.iconOnly,icon&&children&&icon_button_module_scss_1.default.margin,icon&&icon_button_module_scss_1.default.withIcon,!border&&icon_button_module_scss_1.default.withoutBorder,className),"data-priority":priority,"data-size":size}),icon,children)}exports.IconButton=IconButton2},73486:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.IconButton=void 0;var icon_button_1=__webpack_require__(86440);Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return icon_button_1.IconButton}})},11276:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OptionButton=void 0;var option_button_1=__webpack_require__(37502);Object.defineProperty(exports,"OptionButton",{enumerable:!0,get:function(){return option_button_1.OptionButton}})},37502: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.OptionButton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_input_button_1=__importDefault(__webpack_require__(22319)),design_elements_icon_1=__webpack_require__(89332),option_button_module_scss_1=__importDefault(__webpack_require__(98691));function OptionButton(_a){var{icon,className,active,children}=_a,rest=__rest(_a,["icon","className","active","children"]);const iconNode=icon?react_1.default.createElement(design_elements_icon_1.Icon,{of:icon}):null;return react_1.default.createElement(base_ui_input_button_1.default,Object.assign({},rest,{className:(0,classnames_1.default)(className,option_button_module_scss_1.default.optionButton,active&&option_button_module_scss_1.default.active)}),iconNode,children)}exports.OptionButton=OptionButton},96352:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NotFoundPage=void 0;var not_found_page_1=__webpack_require__(96781);Object.defineProperty(exports,"NotFoundPage",{enumerable:!0,get:function(){return not_found_page_1.NotFoundPage}})},96781: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.NotFoundPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_error_page_1=__webpack_require__(74345);function NotFoundPage(_a){var rest=__rest(_a,[]);return react_1.default.createElement(design_ui_error_page_1.ErrorPage,Object.assign({},rest,{code:404,title:"Page not found"}),react_1.default.createElement(design_ui_error_page_1.ContactIcons,null))}exports.NotFoundPage=NotFoundPage},83698:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ServerErrorPage=void 0;var server_error_page_1=__webpack_require__(31664);Object.defineProperty(exports,"ServerErrorPage",{enumerable:!0,get:function(){return server_error_page_1.ServerErrorPage}})},31664: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.ServerErrorPage=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_error_page_1=__webpack_require__(74345);function ServerErrorPage(_a){var rest=__rest(_a,[]);return react_1.default.createElement(design_ui_error_page_1.ErrorPage,Object.assign({},rest,{code:500,title:"Internal server error"}),react_1.default.createElement(design_ui_error_page_1.ContactIcons,null))}exports.ServerErrorPage=ServerErrorPage},44458:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PillLabel=void 0;var pill_label_1=__webpack_require__(87888);Object.defineProperty(exports,"PillLabel",{enumerable:!0,get:function(){return pill_label_1.PillLabel}})},87888: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.PillLabel=void 0;const classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),pill_label_module_scss_1=__importDefault(__webpack_require__(41957));function PillLabel({children,className}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(pill_label_module_scss_1.default.pillLabel,className)},children)}exports.PillLabel=PillLabel},12563:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(85706);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},85706: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 classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),documenter_ui_separator_1=__webpack_require__(67826),separator_module_scss_1=__importDefault(__webpack_require__(53692));function Separator(_a){var{className,isPresentational}=_a,rest=__rest(_a,["className","isPresentational"]);return isPresentational?react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(separator_module_scss_1.default.separator,className)},rest)):react_1.default.createElement(documenter_ui_separator_1.Separator,Object.assign({className:(0,classnames_1.default)(className)},rest))}exports.Separator=Separator},43754: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.letterBgColors=exports.letterColors=void 0;var letter_colors_module_scss_1=__webpack_require__(35304);Object.defineProperty(exports,"letterColors",{enumerable:!0,get:function(){return __importDefault(letter_colors_module_scss_1).default}});var letter_bg_colors_module_scss_1=__webpack_require__(1540);Object.defineProperty(exports,"letterBgColors",{enumerable:!0,get:function(){return __importDefault(letter_bg_colors_module_scss_1).default}})},85334: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.Ellipsis=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ellipsis_module_scss_1=__importDefault(__webpack_require__(63315));function Ellipsis(props){return react_1.default.createElement("div",Object.assign({},props,{className:(0,classnames_1.default)(props.className,ellipsis_module_scss_1.default.ellipsisDiv)}))}exports.Ellipsis=Ellipsis},2997: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.Ellipsis=exports.ellipsis=void 0;const ellipsis_module_scss_1=__importDefault(__webpack_require__(63315));exports.ellipsis=ellipsis_module_scss_1.default.ellipsis;var ellipsis_1=__webpack_require__(85334);Object.defineProperty(exports,"Ellipsis",{enumerable:!0,get:function(){return ellipsis_1.Ellipsis}})},21770:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.classes=exports.MenuItem=void 0;var item_1=__webpack_require__(94);Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:function(){return item_1.MenuItem}}),Object.defineProperty(exports,"classes",{enumerable:!0,get:function(){return item_1.classes}})},94: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.MenuItem=exports.classes=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(86144),classnames_1=__importDefault(__webpack_require__(97754)),item_module_scss_1=__importDefault(__webpack_require__(77233));exports.classes={menuItem:item_module_scss_1.default.menuItem,interactive:item_module_scss_1.default.interactive,active:item_module_scss_1.default.active,icon:item_module_scss_1.default.icon};function MenuItem(_a){var{children,className,icon,active,interactive}=_a,rest=__rest(_a,["children","className","icon","active","interactive"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,exports.classes.menuItem,interactive&&exports.classes.interactive,active&&exports.classes.active)}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:exports.classes.icon}),children)}exports.MenuItem=MenuItem,MenuItem.defaultProps={interactive:!0}},41787:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuLinkItem=void 0;var link_item_1=__webpack_require__(75554);Object.defineProperty(exports,"MenuLinkItem",{enumerable:!0,get:function(){return link_item_1.MenuLinkItem}})},75554: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.MenuLinkItem=void 0;const evangelist_elements_icon_1=__webpack_require__(86144),base_react_navigation_link_1=__webpack_require__(98560),design_ui_surfaces_menu_item_1=__webpack_require__(21770),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496));function MenuLinkItem(_a){var{href,children,icon,active,isActive,className,activeClassName}=_a,rest=__rest(_a,["href","children","icon","active","isActive","className","activeClassName"]);const _active=active??(typeof isActive=="function"?isActive():void 0);return react_1.default.createElement(base_react_navigation_link_1.Link,Object.assign({},rest,{href,className:(0,classnames_1.default)(className,design_ui_surfaces_menu_item_1.classes.menuItem,!!href&&design_ui_surfaces_menu_item_1.classes.interactive),activeClassName:(0,classnames_1.default)(activeClassName,design_ui_surfaces_menu_item_1.classes.active),active:_active}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:design_ui_surfaces_menu_item_1.classes.icon}),children)}exports.MenuLinkItem=MenuLinkItem},70597:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MessageCard=void 0;var message_card_1=__webpack_require__(84705);Object.defineProperty(exports,"MessageCard",{enumerable:!0,get:function(){return message_card_1.MessageCard}})},84705: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.MessageCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(86144),base_ui_surfaces_card_1=__webpack_require__(19537),message_card_module_scss_1=__importDefault(__webpack_require__(16752));function MessageCard(_a){var{icon,title,className,children,iconClass,roundness="small",elevation="none"}=_a,rest=__rest(_a,["icon","title","className","children","iconClass","roundness","elevation"]);return react_1.default.createElement(base_ui_surfaces_card_1.Card,Object.assign({},rest,{roundness,elevation,className:(0,classnames_1.default)(message_card_module_scss_1.default.messageCard,className)}),icon&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:(0,classnames_1.default)(message_card_module_scss_1.default.icon,iconClass)}),react_1.default.createElement("div",{className:message_card_module_scss_1.default.textBox},react_1.default.createElement("div",null,title),children))}exports.MessageCard=MessageCard},56493:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StatusMessageCard=void 0;var status_message_card_1=__webpack_require__(38112);Object.defineProperty(exports,"StatusMessageCard",{enumerable:!0,get:function(){return status_message_card_1.StatusMessageCard}})},38112: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.StatusMessageCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_message_card_1=__webpack_require__(70597),status_message_card_module_scss_1=__importDefault(__webpack_require__(75011));function StatusMessageCard(_a){var{status}=_a,rest=__rest(_a,["status"]);const lowerCaseStatus=status.toLowerCase(),iconProps=getStatusIcon(lowerCaseStatus);return react_1.default.createElement(design_ui_surfaces_message_card_1.MessageCard,Object.assign({},iconProps,rest))}exports.StatusMessageCard=StatusMessageCard;function getStatusIcon(status){const iconPrefix="Ripple";if(!!status)switch(status){case"success":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"failure":return{icon:`${iconPrefix}-failed`,iconClass:status_message_card_module_scss_1.default[status]};case"pending":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"processing":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};case"skipped":return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]};default:return{icon:`${iconPrefix}-${status}`,iconClass:status_message_card_module_scss_1.default[status]}}}},4426:(__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__(36133);Object.defineProperty(exports,"Tooltip",{enumerable:!0,get:function(){return tooltip_1.Tooltip}});var shared_instance_1=__webpack_require__(87012);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__(80422);Object.defineProperty(exports,"SingletonTooltipProvider",{enumerable:!0,get:function(){return singleton_instance_1.SingletonTooltipProvider}});var mount_point_1=__webpack_require__(23235);Object.defineProperty(exports,"TooltipMountPoint",{enumerable:!0,get:function(){return mount_point_1.TooltipMountPoint}});var react_1=__webpack_require__(33224);Object.defineProperty(exports,"useSingleton",{enumerable:!0,get:function(){return react_1.useSingleton}}),Object.defineProperty(exports,"tippy",{enumerable:!0,get:function(){return react_1.tippy}})},23235: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},87012: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},80422: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__(33224),shared_instance_1=__webpack_require__(87012),tooltip_1=__webpack_require__(36133);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},36133: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)),base_ui_theme_dark_theme_1=__webpack_require__(12880),react_2=__importDefault(__webpack_require__(33224)),tippy_js_1=__webpack_require__(48199);__webpack_require__(94329),__webpack_require__(44712);const mount_point_1=__webpack_require__(23235),shared_instance_1=__webpack_require__(87012);__webpack_require__(55837);const THEME="teambit",popperOptions={modifiers:[{name:"arrow",options:{padding:5}}]};function Tooltip(_a){var{children,breakline,singleton,className}=_a,rest=__rest(_a,["children","breakline","singleton","className"]);const ctxInstance=(0,shared_instance_1.useCtxTooltipInstance)(),_singleton=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:_singleton}),child)}exports.Tooltip=Tooltip},56680:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocPropList=void 0;const doc_prop_1=__webpack_require__(57746);class DocPropList{constructor(docProps){this.docProps=docProps}get(name){return this.docProps.find(docProp=>docProp.name===name)}static from(object){const props=Object.keys(object).map(key=>{if(!!object[key])return new doc_prop_1.DocProp(key,object[key])}).filter(prop=>!!prop);return new DocPropList(props)}}exports.DocPropList=DocPropList},57746:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocProp=void 0;class DocProp{constructor(name,value){this.name=name,this.value=value}getAs(){return this.value}}exports.DocProp=DocProp},28008:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Doc=void 0;const doc_prop_list_1=__webpack_require__(56680);class Doc{constructor(filePath,props){this.filePath=filePath,this.props=props}toObject(){return{filePath:this.filePath,props:this.props.docProps}}get description(){var _a;const value=(_a=this.props.get("description"))===null||_a===void 0?void 0:_a.value;return value||""}get labels(){var _a;const value=(_a=this.props.get("labels"))===null||_a===void 0?void 0:_a.value;return value||[]}get displayName(){return this.props.get("displayName")}static from(path,propObject){return new Doc(path,doc_prop_list_1.DocPropList.from(propObject))}}exports.Doc=Doc},87628:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocPropList=exports.DocProp=exports.Doc=void 0;var doc_1=__webpack_require__(28008);Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return doc_1.Doc}});var doc_prop_1=__webpack_require__(57746);Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return doc_prop_1.DocProp}});var doc_prop_list_1=__webpack_require__(56680);Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return doc_prop_list_1.DocPropList}})},22401:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Playground=void 0;var react_playground_1=__webpack_require__(81149);Object.defineProperty(exports,"Playground",{enumerable:!0,get:function(){return react_playground_1.Playground}})},81149: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.Playground=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_live_1=__webpack_require__(48612),base_ui_surfaces_split_pane_split_pane_1=__webpack_require__(4792),base_ui_surfaces_split_pane_hover_splitter_1=__webpack_require__(56007),react_use_dimensions_1=__importDefault(__webpack_require__(95144)),use_debounce_1=__webpack_require__(85830),oceanicNext_1=__importDefault(__webpack_require__(3809)),base_ui_input_error_1=__webpack_require__(75006),react_playground_module_scss_1=__importDefault(__webpack_require__(13932));function Playground(_a){var{code,scope,style,className}=_a,rest=__rest(_a,["code","scope","style","className"]);const _code=(0,react_1.useMemo)(()=>code?.toString().replace(/\n$/,"").trim(),[code]),[ref,{width}]=(0,react_use_dimensions_1.default)(),isColumn=+(0,use_debounce_1.useDebounce)(width,300,{leading:!0})[0]<=500,placement=isColumn?base_ui_surfaces_split_pane_split_pane_1.Layout.columnReverse:base_ui_surfaces_split_pane_split_pane_1.Layout.row;return width?react_1.default.createElement(react_live_1.LiveProvider,{code:_code,scope,theme:oceanicNext_1.default},react_1.default.createElement("div",Object.assign({ref,className:(0,classnames_1.default)(className,react_playground_module_scss_1.default.playground,isColumn?react_playground_module_scss_1.default.column:react_playground_module_scss_1.default.row)},rest),react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.SplitPane,{className:react_playground_module_scss_1.default.main,size:"50%",layout:placement},react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.Pane,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.codePane)},react_1.default.createElement(react_live_1.LiveEditor,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.editor)})),react_1.default.createElement(base_ui_surfaces_split_pane_hover_splitter_1.HoverSplitter,{className:react_playground_module_scss_1.default.splitter}),react_1.default.createElement(base_ui_surfaces_split_pane_split_pane_1.Pane,{className:(0,classnames_1.default)(react_playground_module_scss_1.default.previewPane)},react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(react_live_1.LivePreview,{className:react_playground_module_scss_1.default.previewBox}),react_1.default.createElement(react_live_1.LiveError,{className:(0,classnames_1.default)(base_ui_input_error_1.Error,react_playground_module_scss_1.default.error)})))))):react_1.default.createElement("div",{ref})}exports.Playground=Playground},41185:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.links=exports.docsUrl=void 0,exports.docsUrl="https://bit.dev/docs",exports.links={scopedRegistry:`${exports.docsUrl}/packages/npmrc`,installBit:`${exports.docsUrl}/getting-started/installing-bit/installing-bit`,createCompositions:`${exports.docsUrl}/dev-services-overview/compositions/compositions-overview`,testComponents:`${exports.docsUrl}/dev-services-overview/tester/tester-overview`,bitIntroduction:`${exports.docsUrl}/quick-start`,whatIsBit:`${exports.docsUrl}/quick-start`,tagComponentVersion:`${exports.docsUrl}/components/tags`}},53365:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},__webpack_unused_export__=exports.Ok=void 0;var documentation_links_1=__webpack_require__(41185);Object.defineProperty(exports,"Ok",{enumerable:!0,get:function(){return documentation_links_1.links}}),__webpack_unused_export__={enumerable:!0,get:function(){return documentation_links_1.docsUrl}}},71717: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.h6=exports.h5=exports.h4=exports.h3=exports.h2=exports.h1=exports.createHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_linked_heading_1=__webpack_require__(98422),create_heading_module_scss_1=__importDefault(__webpack_require__(2054));function createHeading(size,element){return function(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);const isMainHeading=size==="lg"||size==="md";return react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,Object.assign({},rest,{className:(0,classnames_1.default)(className,create_heading_module_scss_1.default.mdxLinkedHeading,isMainHeading&&create_heading_module_scss_1.default.mainHeadingStyles),size,element}),children)}}exports.createHeading=createHeading,exports.h1=createHeading("lg","h1"),exports.h2=createHeading("md","h2"),exports.h3=createHeading("sm","h3"),exports.h4=createHeading("xs","h4"),exports.h5=createHeading("xxs","h5"),exports.h6=createHeading("xxs","h6")},47363:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.h6=exports.h5=exports.h4=exports.h3=exports.h2=exports.h1=exports.createHeading=void 0;var create_heading_1=__webpack_require__(71717);Object.defineProperty(exports,"createHeading",{enumerable:!0,get:function(){return create_heading_1.createHeading}}),Object.defineProperty(exports,"h1",{enumerable:!0,get:function(){return create_heading_1.h1}}),Object.defineProperty(exports,"h2",{enumerable:!0,get:function(){return create_heading_1.h2}}),Object.defineProperty(exports,"h3",{enumerable:!0,get:function(){return create_heading_1.h3}}),Object.defineProperty(exports,"h4",{enumerable:!0,get:function(){return create_heading_1.h4}}),Object.defineProperty(exports,"h5",{enumerable:!0,get:function(){return create_heading_1.h5}}),Object.defineProperty(exports,"h6",{enumerable:!0,get:function(){return create_heading_1.h6}})},56621:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;var snippet_1=__webpack_require__(17182);Object.defineProperty(exports,"Snippet",{enumerable:!0,get:function(){return snippet_1.Snippet}})},17182: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.Snippet=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_code_snippet_1=__webpack_require__(75510),documenter_code_react_playground_1=__webpack_require__(22401),snippet_module_scss_1=__importDefault(__webpack_require__(31103));function Snippet({children,scope,live}){return live?react_1.default.createElement(documenter_code_react_playground_1.Playground,{className:snippet_module_scss_1.default.snippet,code:children,scope}):react_1.default.createElement(documenter_ui_code_snippet_1.CodeSnippet,{className:snippet_module_scss_1.default.snippet},children)}exports.Snippet=Snippet},51455:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultMdxComponents=void 0;const documenter_ui_block_quote_1=__webpack_require__(97047),documenter_ui_bold_1=__webpack_require__(70624),documenter_routing_external_link_1=__webpack_require__(45073),documenter_markdown_heading_1=__webpack_require__(47363),documenter_ui_image_1=__webpack_require__(34296),documenter_ui_inline_code_1=__webpack_require__(83216),documenter_ui_italic_1=__webpack_require__(64106),documenter_ui_ol_1=__webpack_require__(28244),documenter_ui_paragraph_1=__webpack_require__(36404),documenter_ui_separator_1=__webpack_require__(3324),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56621),documenter_ui_sup_1=__webpack_require__(91254),documenter_ui_table_base_table_1=__webpack_require__(32119),documenter_ui_table_td_1=__webpack_require__(77246),documenter_ui_table_tr_1=__webpack_require__(98548),documenter_ui_ul_1=__webpack_require__(21211);exports.defaultMdxComponents={h1:documenter_markdown_heading_1.h1,h2:documenter_markdown_heading_1.h2,h3:documenter_markdown_heading_1.h3,h4:documenter_markdown_heading_1.h4,h5:documenter_markdown_heading_1.h5,h6:documenter_markdown_heading_1.h6,p:documenter_ui_paragraph_1.Paragraph,code:documenter_markdown_hybrid_live_code_snippet_1.Snippet,a:documenter_routing_external_link_1.ExternalLink,inlineCode:documenter_ui_inline_code_1.InlineCode,ol:documenter_ui_ol_1.Ol,ul:documenter_ui_ul_1.Ul,hr:documenter_ui_separator_1.Separator,thematicBreak:documenter_ui_separator_1.Separator,img:documenter_ui_image_1.Image,strong:documenter_ui_bold_1.Bold,em:documenter_ui_italic_1.Italic,pre:({children})=>children,sup:documenter_ui_sup_1.Sup,table:documenter_ui_table_base_table_1.Table,tr:documenter_ui_table_tr_1.Tr,td:documenter_ui_table_td_1.Td,blockquote:documenter_ui_block_quote_1.BlockQuote}},53333:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultMdxComponents=void 0;var components_1=__webpack_require__(51455);Object.defineProperty(exports,"defaultMdxComponents",{enumerable:!0,get:function(){return components_1.defaultMdxComponents}})},81123:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__={value:!0},exports.f=void 0;var mdx_layout_1=__webpack_require__(17016);Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return mdx_layout_1.MDXLayout}})},17016: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.MDXLayout=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_2=__webpack_require__(49613),components_1=__webpack_require__(53333),mdx_layout_module_scss_1=__importDefault(__webpack_require__(9117));function MDXLayout(_a){var{children,components,className}=_a,rest=__rest(_a,["children","components","className"]);const _components=(0,react_1.useMemo)(()=>Object.assign(Object.assign({},components_1.defaultMdxComponents),components),[components_1.defaultMdxComponents,components]);return react_1.default.createElement(react_2.MDXProvider,{components:_components},react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(mdx_layout_module_scss_1.default.mdxContent,className)},rest),children))}exports.MDXLayout=MDXLayout},41381: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.ExternalLink=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),external_link_module_scss_1=__importDefault(__webpack_require__(62124));function ExternalLink(_a){var{href,children,className}=_a,rest=__rest(_a,["href","children","className"]);return react_1.default.createElement("a",Object.assign({},rest,{target:"_blank",href,className:(0,classnames_1.default)(external_link_module_scss_1.default.link,className)}),children)}exports.ExternalLink=ExternalLink},45073: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__(41381),exports)},18170: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__(95191),exports)},95191: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.ThemeContext=exports.ThemeDocumenter=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_theme_theme_provider_1=__webpack_require__(625),base_ui_theme_fonts_roboto_1=__webpack_require__(31165),sizes_module_scss_1=__importDefault(__webpack_require__(22488)),global_module_scss_1=__importDefault(__webpack_require__(68009));function ThemeDocumenter(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(base_ui_theme_theme_provider_1.Theme,Object.assign({},rest,{className:classnames_1.default(className,sizes_module_scss_1.default.heading,global_module_scss_1.default.overrides)}),react_1.default.createElement(base_ui_theme_fonts_roboto_1.Roboto,null),children)}exports.ThemeDocumenter=ThemeDocumenter,exports.ThemeContext=ThemeDocumenter},53856: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.Anchor=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(4748),anchor_module_scss_1=__importDefault(__webpack_require__(44103));function Anchor(props){const href=props.href&&`#${props.href}`;return react_1.default.createElement("a",Object.assign({},props,{id:props.href,href,className:(0,classnames_1.default)(props.className,anchor_module_scss_1.default.anchor)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"anchor",className:anchor_module_scss_1.default.anchorIcon}))}exports.Anchor=Anchor},70319: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__(53856),exports)},32481: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.Anchor=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(4748),anchor_module_scss_1=__importDefault(__webpack_require__(72389));function Anchor(props){const href=props.href&&`#${props.href}`;return react_1.default.createElement("a",Object.assign({},props,{id:props.href,href,className:(0,classnames_1.default)(props.className,anchor_module_scss_1.default.anchor)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"anchor",className:anchor_module_scss_1.default.anchorIcon}))}exports.Anchor=Anchor},88820: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__(32481),exports)},7385: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.BlockQuote=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),block_quote_module_scss_1=__importDefault(__webpack_require__(26351));function BlockQuote(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);return react_1.default.createElement("blockquote",Object.assign({},rest,{className:(0,classnames_1.default)(block_quote_module_scss_1.default.blockQuote,className)}),children)}exports.BlockQuote=BlockQuote},97047:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BlockQuote=void 0;var block_quote_1=__webpack_require__(7385);Object.defineProperty(exports,"BlockQuote",{enumerable:!0,get:function(){return block_quote_1.BlockQuote}})},45940: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.Bold=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),bold_module_scss_1=__importDefault(__webpack_require__(39898));function Bold(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("strong",Object.assign({},rest,{className:(0,classnames_1.default)(bold_module_scss_1.default.bold,className)}),children)}exports.Bold=Bold},70624:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Bold=void 0;var bold_1=__webpack_require__(45940);Object.defineProperty(exports,"Bold",{enumerable:!0,get:function(){return bold_1.Bold}})},26700: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]}),__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.CodeSnippet=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),copy_to_clipboard_1=__importDefault(__webpack_require__(15912)),prism_light_1=__importDefault(__webpack_require__(56944)),tsx_1=__importDefault(__webpack_require__(6522)),vsc_dark_plus_1=__importDefault(__webpack_require__(27116)),documenter_ui_copied_message_1=__webpack_require__(13380),code_snippet_module_scss_1=__importDefault(__webpack_require__(13857));prism_light_1.default.registerLanguage("tsx",tsx_1.default);const customStyles={fontFamily:"roboto mono",fontSize:12};function CodeSnippet(_a){var{className,frameClass,theme=vsc_dark_plus_1.default,language="tsx",children}=_a,rest=__rest(_a,["className","frameClass","theme","language","children"]);const[isCopied,setIsCopied]=(0,react_1.useState)(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),(0,copy_to_clipboard_1.default)(children.toString())},trimmedChildren=(0,react_1.useMemo)(()=>children.trim(),[children]);return react_1.default.createElement("div",{className:(0,classnames_1.default)(code_snippet_module_scss_1.default.snippetWrapper,className)},react_1.default.createElement(Highlighter,Object.assign({},rest,{className:(0,classnames_1.default)(code_snippet_module_scss_1.default.codeSnippet,frameClass),language,style:theme,customStyle:customStyles}),trimmedChildren),react_1.default.createElement("div",{className:code_snippet_module_scss_1.default.copy},react_1.default.createElement(documenter_ui_copied_message_1.CopiedMessage,{show:isCopied}),react_1.default.createElement("img",{src:"https://static.bit.cloud/Community/icons/copy.svg",onClick:handleClick,className:code_snippet_module_scss_1.default.copyIcon,alt:"Copy"})))}exports.CodeSnippet=CodeSnippet;const Highlighter=(0,react_1.memo)(function(props){return react_1.default.createElement(prism_light_1.default,Object.assign({},props))})},75510: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__(26700),exports)},47928: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.CopiedMessage=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),copied_message_module_scss_1=__importDefault(__webpack_require__(39537));function CopiedMessage(_a){var{className,show=!1}=_a,rest=__rest(_a,["className","show"]);return react_1.default.createElement("span",Object.assign({},rest,{className:(0,classnames_1.default)(copied_message_module_scss_1.default.copiedMessage,{[copied_message_module_scss_1.default.showMessage]:show},className)}),"Copied")}exports.CopiedMessage=CopiedMessage},13380: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__(47928),exports)},8584:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CopyBox:()=>CopyBox});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),copy_to_clipboard=__webpack_require__(15912),copy_to_clipboard_default=__webpack_require__.n(copy_to_clipboard),classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2);const copied_message_module={copiedMessage:"copied-message_copiedMessage__bwPvJ",showMessage:"copied-message_showMessage__2YJyu"};function CopiedMessage({className,show=!1,...rest}){return(0,jsx_runtime.jsx)("span",{...rest,className:classnames_default()(copied_message_module.copiedMessage,{[copied_message_module.showMessage]:show},className),children:"Copied"})}var dist=__webpack_require__(4748),base_ui_layout_grid_component_dist=__webpack_require__(95420);const copy_box_module={copyBox:"copy-box_copyBox__2qsgZ",leftSection:"copy-box_leftSection__2Y7zw",button:"copy-box_button__2HWwC",rightSection:"copy-box_rightSection__1sJiH",copyIcon:"copy-box_copyIcon__xGsr9"};function CopyBox({children,className,...rest}){const[isCopied,setIsCopied]=(0,react.useState)(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),copy_to_clipboard_default()(children)};return(0,jsx_runtime.jsxs)(base_ui_layout_grid_component_dist.r,{colMd:2,className:classnames_default()(copy_box_module.copyBox,className),...rest,children:[(0,jsx_runtime.jsx)("div",{className:copy_box_module.leftSection,children}),(0,jsx_runtime.jsxs)("div",{className:copy_box_module.rightSection,children:[(0,jsx_runtime.jsx)(CopiedMessage,{show:isCopied}),(0,jsx_runtime.jsx)("button",{type:"button",className:copy_box_module.button,onClick:handleClick,children:(0,jsx_runtime.jsx)(dist.Icon,{className:copy_box_module.copyIcon,of:"copy-cmp"})})]})]})}},79625: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(77739),heading_sizes_module_scss_1=__importDefault(__webpack_require__(5416)),heading_module_scss_1=__importDefault(__webpack_require__(69872));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:classnames_1.default(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:classnames_1.default(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:classnames_1.default(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:classnames_1.default(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:classnames_1.default(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:classnames_1.default(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},37742: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__(79625),exports)},24182: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(18660),heading_sizes_module_scss_1=__importDefault(__webpack_require__(90684)),heading_module_scss_1=__importDefault(__webpack_require__(47609));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},82483:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;var heading_1=__webpack_require__(24182);Object.defineProperty(exports,"H1",{enumerable:!0,get:function(){return heading_1.H1}}),Object.defineProperty(exports,"H2",{enumerable:!0,get:function(){return heading_1.H2}}),Object.defineProperty(exports,"H3",{enumerable:!0,get:function(){return heading_1.H3}}),Object.defineProperty(exports,"H4",{enumerable:!0,get:function(){return heading_1.H4}}),Object.defineProperty(exports,"H5",{enumerable:!0,get:function(){return heading_1.H5}}),Object.defineProperty(exports,"H6",{enumerable:!0,get:function(){return heading_1.H6}})},37525: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.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_heading_1=__webpack_require__(18660),heading_sizes_module_scss_1=__importDefault(__webpack_require__(32165)),heading_module_scss_1=__importDefault(__webpack_require__(9948));function H1(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h1"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h1,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H1=H1;function H2(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h2"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h2,heading_sizes_module_scss_1.default[props.size||"lg"],props.className)}))}exports.H2=H2;function H3(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h3"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h3,heading_sizes_module_scss_1.default[props.size||"md"],props.className)}))}exports.H3=H3;function H4(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h4"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h4,heading_sizes_module_scss_1.default[props.size||"sm"],props.className)}))}exports.H4=H4;function H5(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h5"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h5,heading_sizes_module_scss_1.default[props.size||"xs"],props.className)}))}exports.H5=H5;function H6(props){return react_1.default.createElement(base_ui_text_heading_1.Heading,Object.assign({element:"h6"},props,{className:(0,classnames_1.default)(heading_module_scss_1.default.h6,heading_sizes_module_scss_1.default[props.size||"xxs"],props.className)}))}exports.H6=H6},94700:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.H6=exports.H5=exports.H4=exports.H3=exports.H2=exports.H1=void 0;var heading_1=__webpack_require__(37525);Object.defineProperty(exports,"H1",{enumerable:!0,get:function(){return heading_1.H1}}),Object.defineProperty(exports,"H2",{enumerable:!0,get:function(){return heading_1.H2}}),Object.defineProperty(exports,"H3",{enumerable:!0,get:function(){return heading_1.H3}}),Object.defineProperty(exports,"H4",{enumerable:!0,get:function(){return heading_1.H4}}),Object.defineProperty(exports,"H5",{enumerable:!0,get:function(){return heading_1.H5}}),Object.defineProperty(exports,"H6",{enumerable:!0,get:function(){return heading_1.H6}})},419: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.HighlightedText=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_inline_code_1=__webpack_require__(22998);function HighlightedText(props){return react_1.default.createElement(documenter_ui_inline_code_1.InlineCode,Object.assign({},props,{highlight:!0}))}exports.HighlightedText=HighlightedText},90074: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__(419),exports)},10158: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.Image=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),image_module_scss_1=__importDefault(__webpack_require__(66147));function Image(_a){var{src,className}=_a,rest=__rest(_a,["src","className"]);return react_1.default.createElement("img",Object.assign({},rest,{src,className:(0,classnames_1.default)(image_module_scss_1.default.img,className)}))}exports.Image=Image},34296:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var image_1=__webpack_require__(10158);Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return image_1.Image}})},22998:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InlineCode=void 0;var inline_code_1=__webpack_require__(3640);Object.defineProperty(exports,"InlineCode",{enumerable:!0,get:function(){return inline_code_1.InlineCode}})},3640: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.InlineCode=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),inline_code_module_scss_1=__importDefault(__webpack_require__(52599));function InlineCode(_a){var{children,highlight,className}=_a,rest=__rest(_a,["children","highlight","className"]);return react_1.default.createElement("code",Object.assign({},rest,{className:classnames_1.default(inline_code_module_scss_1.default.inlineCode,highlight&&inline_code_module_scss_1.default.highlight,className)}),children)}exports.InlineCode=InlineCode},83216:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InlineCode=void 0;var inline_code_1=__webpack_require__(68434);Object.defineProperty(exports,"InlineCode",{enumerable:!0,get:function(){return inline_code_1.InlineCode}})},68434: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.InlineCode=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),inline_code_module_scss_1=__importDefault(__webpack_require__(20018));function InlineCode(_a){var{children,highlight,className}=_a,rest=__rest(_a,["children","highlight","className"]);return react_1.default.createElement("code",Object.assign({},rest,{className:(0,classnames_1.default)(inline_code_module_scss_1.default.inlineCode,highlight&&inline_code_module_scss_1.default.highlight,className)}),children)}exports.InlineCode=InlineCode},64106:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Italic=void 0;var italic_1=__webpack_require__(19281);Object.defineProperty(exports,"Italic",{enumerable:!0,get:function(){return italic_1.Italic}})},19281: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.Italic=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),italic_module_scss_1=__importDefault(__webpack_require__(49826));function Italic(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("em",Object.assign({},rest,{className:(0,classnames_1.default)(italic_module_scss_1.default.italic,className)}),children)}exports.Italic=Italic},13232: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__(63527),exports)},63527: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.LabelList=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_label_1=__webpack_require__(18688),label_list_module_scss_1=__importDefault(__webpack_require__(66098));function LabelList(_a){var{children,className,labelClass,onPick}=_a,rest=__rest(_a,["children","className","labelClass","onPick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:classnames_1.default(className,label_list_module_scss_1.default.labelList)}),children&&children.map(label=>react_1.default.createElement(documenter_ui_label_1.Label,{className:labelClass,key:label,onPick},label)))}exports.LabelList=LabelList},18688: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__(16161),exports)},16161: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.Label=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),label_module_scss_1=__importDefault(__webpack_require__(42409));function Label(_a){var{onPick,onClick,className}=_a,rest=__rest(_a,["onPick","onClick","className"]);const handleClick=e=>(onPick&&onPick(rest.children),onClick&&onClick(e));return react_1.default.createElement("div",Object.assign({},rest,{onClick:handleClick,className:classnames_1.default(className,label_module_scss_1.default.label)}))}exports.Label=Label},19058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LinkedHeading=void 0;var linked_heading_1=__webpack_require__(26181);Object.defineProperty(exports,"LinkedHeading",{enumerable:!0,get:function(){return linked_heading_1.LinkedHeading}})},26181: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.LinkedHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_heading_1=__webpack_require__(82483),documenter_ui_anchor_1=__webpack_require__(70319),linked_heading_module_scss_1=__importDefault(__webpack_require__(83338));function LinkedHeading(_a){var{children,link,size,element="h3",className}=_a,rest=__rest(_a,["children","link","size","element","className"]);const Element=headerElement(element);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(linked_heading_module_scss_1.default.linkedHeading,className)},rest),react_1.default.createElement(Element,{className:linked_heading_module_scss_1.default.heading,size,id:link},children),link&&react_1.default.createElement(documenter_ui_anchor_1.Anchor,{className:linked_heading_module_scss_1.default.anchor,href:link}))}exports.LinkedHeading=LinkedHeading;const headerElement=element=>{switch(element){case"h1":return documenter_ui_heading_1.H1;case"h2":return documenter_ui_heading_1.H2;case"h3":return documenter_ui_heading_1.H3;case"h4":return documenter_ui_heading_1.H4;case"h5":return documenter_ui_heading_1.H5;case"h6":return documenter_ui_heading_1.H6;default:return documenter_ui_heading_1.H3}}},98422:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LinkedHeading=void 0;var linked_heading_1=__webpack_require__(27053);Object.defineProperty(exports,"LinkedHeading",{enumerable:!0,get:function(){return linked_heading_1.LinkedHeading}})},27053: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.LinkedHeading=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),documenter_ui_heading_1=__webpack_require__(94700),documenter_ui_anchor_1=__webpack_require__(88820),linked_heading_module_scss_1=__importDefault(__webpack_require__(39970));function LinkedHeading(_a){var{children,link,size,element="h3",className}=_a,rest=__rest(_a,["children","link","size","element","className"]);const Element=headerElement(element);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(linked_heading_module_scss_1.default.linkedHeading,className)},rest),react_1.default.createElement(Element,{className:linked_heading_module_scss_1.default.heading,size,id:link},children),link&&react_1.default.createElement(documenter_ui_anchor_1.Anchor,{className:linked_heading_module_scss_1.default.anchor,href:link}))}exports.LinkedHeading=LinkedHeading;const headerElement=element=>{switch(element){case"h1":return documenter_ui_heading_1.H1;case"h2":return documenter_ui_heading_1.H2;case"h3":return documenter_ui_heading_1.H3;case"h4":return documenter_ui_heading_1.H4;case"h5":return documenter_ui_heading_1.H5;case"h6":return documenter_ui_heading_1.H6;default:return documenter_ui_heading_1.H3}}},28244:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ol=void 0;var ol_1=__webpack_require__(42896);Object.defineProperty(exports,"Ol",{enumerable:!0,get:function(){return ol_1.Ol}})},42896: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.Ol=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ol_module_scss_1=__importDefault(__webpack_require__(58801));function Ol(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ol",Object.assign({},rest,{className:(0,classnames_1.default)(ol_module_scss_1.default.ol,className)}),children)}exports.Ol=Ol},543: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__(3586),exports)},3586: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.Paragraph=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_paragraph_1=__webpack_require__(7954),base_ui_theme_sizes_1=__webpack_require__(62086),paragraph_module_scss_1=__importDefault(__webpack_require__(98298));function Paragraph(_a){var{children,className,size}=_a,rest=__rest(_a,["children","className","size"]);const paragraphSize=size?base_ui_theme_sizes_1.PossibleSizes[size]:base_ui_theme_sizes_1.PossibleSizes.md;return react_1.default.createElement(base_ui_text_paragraph_1.Paragraph,Object.assign({size:paragraphSize},rest,{className:classnames_1.default(paragraph_module_scss_1.default.paragraph,className)}),children)}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},36404: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__(85344),exports)},85344: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.Paragraph=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_paragraph_1=__webpack_require__(71491),base_ui_theme_sizes_1=__webpack_require__(62086),paragraph_module_scss_1=__importDefault(__webpack_require__(1549));function Paragraph(_a){var{children,className,size}=_a,rest=__rest(_a,["children","className","size"]);const paragraphSize=size?base_ui_theme_sizes_1.PossibleSizes[size]:base_ui_theme_sizes_1.PossibleSizes.md;return react_1.default.createElement(base_ui_text_paragraph_1.Paragraph,Object.assign({size:paragraphSize},rest,{className:(0,classnames_1.default)(paragraph_module_scss_1.default.paragraph,className)}),children)}exports.Paragraph=Paragraph,Paragraph.defaultProps={size:"md",element:"p"}},3405:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{PropTable:()=>PropTable});var jsx_runtime=__webpack_require__(4637),es=__webpack_require__(95144),react=__webpack_require__(59496);function useDebouncedCallback(callback,delay,options){options===void 0&&(options={});var maxWait=options.maxWait,maxWaitHandler=(0,react.useRef)(null),maxWaitArgs=(0,react.useRef)([]),leading=options.leading,trailing=options.trailing===void 0?!0:options.trailing,leadingCall=(0,react.useRef)(!1),functionTimeoutHandler=(0,react.useRef)(null),isComponentUnmounted=(0,react.useRef)(!1),debouncedFunction=(0,react.useRef)(callback);debouncedFunction.current=callback;var cancelDebouncedCallback=(0,react.useCallback)(function(){clearTimeout(functionTimeoutHandler.current),clearTimeout(maxWaitHandler.current),maxWaitHandler.current=null,maxWaitArgs.current=[],functionTimeoutHandler.current=null,leadingCall.current=!1},[]);(0,react.useEffect)(function(){return isComponentUnmounted.current=!1,function(){isComponentUnmounted.current=!0}},[]);var debouncedCallback=(0,react.useCallback)(function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];maxWaitArgs.current=args,clearTimeout(functionTimeoutHandler.current),leadingCall.current&&(leadingCall.current=!1),!functionTimeoutHandler.current&&leading&&!leadingCall.current&&(debouncedFunction.current.apply(debouncedFunction,args),leadingCall.current=!0),functionTimeoutHandler.current=setTimeout(function(){var shouldCallFunction=!0;leading&&leadingCall.current&&(shouldCallFunction=!1),cancelDebouncedCallback(),!isComponentUnmounted.current&&trailing&&shouldCallFunction&&debouncedFunction.current.apply(debouncedFunction,args)},delay),maxWait&&!maxWaitHandler.current&&trailing&&(maxWaitHandler.current=setTimeout(function(){var args2=maxWaitArgs.current;cancelDebouncedCallback(),isComponentUnmounted.current||debouncedFunction.current.apply(null,args2)},maxWait))},[maxWait,delay,cancelDebouncedCallback,leading,trailing]),callPending=(0,react.useCallback)(function(){!functionTimeoutHandler.current||(debouncedFunction.current.apply(null,maxWaitArgs.current),cancelDebouncedCallback())},[cancelDebouncedCallback]);return[debouncedCallback,cancelDebouncedCallback,callPending]}function valueEquality(left,right){return left===right}function useDebounce(value,delay,options){var eq=options&&options.equalityFn?options.equalityFn:valueEquality,_a=(0,react.useState)(value),state=_a[0],dispatch=_a[1],_b=useDebouncedCallback((0,react.useCallback)(function(value2){return dispatch(value2)},[]),delay,options),callback=_b[0],cancel=_b[1],callPending=_b[2],previousValue=(0,react.useRef)(value);return(0,react.useEffect)(function(){eq(previousValue.current,value)||(callback(value),previousValue.current=value)},[value,callback,eq]),[state,cancel,callPending]}var classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(95420);const table_heading_column_module={headingColumn:"table-heading-column_headingColumn__2HRSD"};function HeadingColumn({children,className,...rest}){return(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_heading_column_module.headingColumn,className),...rest,children:(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_heading_column_module.title),children})})}const table_heading_row_module={titleRow:"table-heading-row_titleRow__3KBMP",hide:"table-heading-row_hide__1A6im",titleCol:"table-heading-row_titleCol__1UtXq"};function HeadingRow({headings,colNumber,isListView=!1,className,...rest}){return(0,jsx_runtime.jsx)(dist.r,{...rest,col:colNumber,className:classnames_default()(table_heading_row_module.titleRow,{[table_heading_row_module.hide]:isListView},className),children:headings.map(title=>title==="required"?null:(0,jsx_runtime.jsx)(HeadingColumn,{className:table_heading_row_module.titleCol,children:title},title))})}const table_column_module={tableColumn:"table-column_tableColumn__3UL0s"};function TableColumn({children,className,...rest}){return(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_column_module.tableColumn,className),...rest,children})}var objectWithoutProperties=__webpack_require__(2141);function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _iterableToArray(iter){if(typeof Symbol<"u"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _unsupportedIterableToArray(o,minLen){if(!!o){if(typeof o=="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
34
34
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}var objectSpread=__webpack_require__(76004),esm_extends=__webpack_require__(97605);function powerSetPermutations(arr){var arrLength=arr.length;if(arrLength===0||arrLength===1)return arr;if(arrLength===2)return[arr[0],arr[1],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0])];if(arrLength===3)return[arr[0],arr[1],arr[2],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0])];if(arrLength>=4)return[arr[0],arr[1],arr[2],arr[3],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3]),"".concat(arr[3],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1],".").concat(arr[0])]}var classNameCombinations={};function getClassNameCombinations(classNames){if(classNames.length===0||classNames.length===1)return classNames;var key=classNames.join(".");return classNameCombinations[key]||(classNameCombinations[key]=powerSetPermutations(classNames)),classNameCombinations[key]}function createStyleObject(classNames){var elementStyle=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0,nonTokenClassNames=classNames.filter(function(className){return className!=="token"}),classNamesCombinations=getClassNameCombinations(nonTokenClassNames);return classNamesCombinations.reduce(function(styleObject,className){return(0,objectSpread.Z)({},styleObject,stylesheet[className])},elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map(function(child,i){return createElement({node:child,stylesheet,useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})})}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=_ref$style===void 0?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if(type==="text")return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),props;if(!useInlineStyles)props=(0,objectSpread.Z)({},properties,{className:createClassNameString(properties.className)});else{var allStylesheetSelectors=Object.keys(stylesheet).reduce(function(classes,selector){return selector.split(".").forEach(function(className2){classes.includes(className2)||classes.push(className2)}),classes},[]),startingClassName=properties.className&&properties.className.includes("token")?["token"]:[],className=properties.className&&startingClassName.concat(properties.className.filter(function(className2){return!allStylesheetSelectors.includes(className2)}));props=(0,objectSpread.Z)({},properties,{className:createClassNameString(className)||void 0,style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)})}var children=childrenCreator(node.children);return react.createElement(TagName,(0,esm_extends.Z)({key},props),children)}}const checkForListedLanguage=function(astGenerator,language){var langs=astGenerator.listLanguages();return langs.indexOf(language)!==-1};var newLineRegex=/\n/g;function getNewLines(str){return str.match(newLineRegex)}function getAllLineNumbers(_ref){var lines=_ref.lines,startingLineNumber=_ref.startingLineNumber,style=_ref.style;return lines.map(function(_,i){var number=i+startingLineNumber;return react.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:typeof style=="function"?style(number):style},"".concat(number,`
|
35
35
|
`))})}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(`
|
36
36
|
`),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(`
|
37
37
|
`);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,`
|
38
|
-
`)};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__uJTIg",singleColumn:"table-row_singleColumn__270nv",mobileTitle:"table-row_mobileTitle__1pxM_",show:"table-row_show__1_PHA",column:"table-row_column__3g5Rl",columnContent:"table-row_columnContent__2FGiz",title:"table-row_title__2ZRm6",required:"table-row_required__sopS8",name:"table-row_name__2BJJ5",type:"table-row_type__VO1ZU",typeColumn:"table-row_typeColumn__ku2je",highlighted:"table-row_highlighted__35EZw",default:"table-row_default__219bg",breakWord:"table-row_breakWord__5IzcJ"};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__Ajr4h"};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}},94761: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__(85416),exports)},85416: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__(6502));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},67826:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(12162);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},12162: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__(16964));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},3324:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(44267);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},44267: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__(9156));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},36408: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__(46882),exports)},46882: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__(925),documenter_ui_paragraph_1=__webpack_require__(543),sub_title_module_scss_1=__importDefault(__webpack_require__(98300));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},91254:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;var sup_1=__webpack_require__(75331);Object.defineProperty(exports,"Sup",{enumerable:!0,get:function(){return sup_1.Sup}})},75331: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__(95954));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},61411: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__(60072));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},32119:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(61411);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},77246:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;var td_1=__webpack_require__(39938);Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return td_1.Td}})},39938: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__(59091));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},98548:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;var tr_1=__webpack_require__(14279);Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return tr_1.Tr}})},14279: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__(93706));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},21211:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(30352);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},30352: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__(49835));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},30377: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__(47446));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},28562: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__(34211),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},86144: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__(28562),exports)},47290: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__(34211),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},4748: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__(47290),exports)},54875: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__(914),base_ui_surfaces_abs_container_1=__webpack_require__(67737),base_ui_css_components_elevation_1=__webpack_require__(63368),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(84733),dropdown_module_scss_1=__importDefault(__webpack_require__(33607)),evangelist_css_components_fade_in_out_1=__webpack_require__(30377);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"}},30566: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__(54875),exports)},36748: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__(58156),exports),__exportStar(__webpack_require__(85211),exports),__exportStar(__webpack_require__(17089),exports)},17089: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__(89151),exports)},89151: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__(67737),arrow_module_scss_1=__importDefault(__webpack_require__(34232)),arrow_position_module_scss_1=__importDefault(__webpack_require__(98397)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(80790));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},85211: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__(74975),exports)},74975: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__(67737),base_ui_css_components_elevation_1=__webpack_require__(63368),base_ui_css_components_roundness_1=__webpack_require__(69725),tooltip_card_module_scss_1=__importDefault(__webpack_require__(85624)),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"}},58156: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__(914),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_css_components_fade_in_out_1=__webpack_require__(30377),tooltip_card_1=__webpack_require__(85211),tooltip_arrow_1=__webpack_require__(17089),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(93954));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"}},95791:(__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__(29896);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__(13935);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}})},13935:(__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},29896:(__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__(17584),use_deep_compare_1=__webpack_require__(85587),server_context_1=__webpack_require__(13935);var graphql_request_2=__webpack_require__(17584);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},53298:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;var lanes_model_1=__webpack_require__(7935);Object.defineProperty(exports,"LanesModel",{enumerable:!0,get:function(){return lanes_model_1.LanesModel}})},7935:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;const component_1=__webpack_require__(68211),lane_id_1=__webpack_require__(2538),component_id_1=__webpack_require__(99978),path_to_regexp_1=__webpack_require__(51419),lodash_1=__webpack_require__(32699);class LanesModel{static mapToLaneModel(laneData){var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k;const{id,laneComponentIds=[],readmeComponent,hash,createdAt,displayName,updatedAt,createdBy:createdByData,updatedBy:updatedByData,dependents=[]}=laneData,componentIds=laneComponentIds?.map(laneComponentId=>component_id_1.ComponentID.fromObject(laneComponentId))||[],readmeComponentModel=readmeComponent&&component_1.ComponentModel.from(Object.assign({},readmeComponent)),createdAtDate=createdAt&&new Date(+createdAt)||void 0,createdBy=createdByData?{name:(_a=createdByData?.name)!==null&&_a!==void 0?_a:void 0,email:(_b=createdByData.email)!==null&&_b!==void 0?_b:void 0,username:(_c=createdByData?.username)!==null&&_c!==void 0?_c:void 0,displayName:(_d=createdByData?.displayName)!==null&&_d!==void 0?_d:void 0,profileImage:(_e=createdByData.profileImage)!==null&&_e!==void 0?_e:void 0}:void 0,updatedAtDate=updatedAt&&new Date(+updatedAt)||void 0,updatedBy=updatedByData?.name?{name:(_f=updatedByData?.name)!==null&&_f!==void 0?_f:void 0,username:(_g=updatedByData?.username)!==null&&_g!==void 0?_g:void 0,displayName:(_h=updatedByData?.displayName)!==null&&_h!==void 0?_h:void 0,email:(_j=updatedByData.email)!==null&&_j!==void 0?_j:void 0,profileImage:(_k=updatedByData.profileImage)!==null&&_k!==void 0?_k:void 0}:void 0;return{id:lane_id_1.LaneId.from(id.name,id.scope),components:componentIds,readmeComponent:readmeComponentModel,createdAt:createdAtDate,updatedAt:updatedAtDate,displayName,hash,updatedBy,createdBy,dependents:dependents?.map(dependent=>component_id_1.ComponentID.fromObject(dependent))}}static groupLaneIdsByScope(laneIds){const grouped=new Map;return laneIds.forEach(laneId=>{const{scope}=laneId;if(!grouped.has(scope))grouped.set(scope,[laneId]);else{const existing=grouped.get(scope);grouped.set(scope,[...existing,laneId])}}),grouped}static groupLanesByScope(lanes){const grouped=new Map;return lanes.forEach(lane=>{const{scope}=lane.id;if(!grouped.has(scope))grouped.set(scope,[lane]);else{const existing=grouped.get(scope);grouped.set(scope,[...existing,lane])}}),grouped}static groupByComponentNameAndId(lanes){const byName=new Map,byId=new Map;return lanes.forEach(lane=>{const{components}=lane;components.forEach(component=>{const name=component.fullName,id=component.toString(),existingByName=byName.get(name)||[],existingById=byId.get(id)||[];existingByName.push(lane),existingById.push(lane),byName.set(name,existingByName),byId.set(id,existingById)})}),{byName,byId}}static from({data,scope,viewedLaneId}){var _a,_b,_c,_d,_e;const lanes=((_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.map(lane=>LanesModel.mapToLaneModel(lane)))||[],currentLane=!((_c=data?.lanes)===null||_c===void 0)&&_c.current?LanesModel.mapToLaneModel(data.lanes.current):void 0,defaultLane=!((_d=data?.lanes)===null||_d===void 0)&&_d.default?LanesModel.mapToLaneModel(data.lanes.default):scope&&LanesModel.mapToLaneModel({id:{name:"main",scope},hash:""})||lanes.find(lane=>lane.id.isDefault())||void 0,viewedLane=viewedLaneId?lanes.find(lane=>lane.id.isEqual(viewedLaneId)):((_e=data?.lanes)===null||_e===void 0?void 0:_e.viewedLane)&&LanesModel.mapToLaneModel(data.lanes.viewedLane[0])||currentLane||defaultLane;return new LanesModel({lanes,currentLane,defaultLane,viewedLane})}constructor({lanes=[],viewedLane,currentLane,defaultLane}){this.getLaneComponentUrlByVersion=(componentId,laneId,addScopeMetadataInUrl)=>{var _a;const defaultLane2=this.getDefaultLane();if(!componentId.version||!laneId||!defaultLane2||laneId&&this.currentLane&&laneId.isEqual(this.currentLane.id))return LanesModel.getMainComponentUrl(componentId,void 0,addScopeMetadataInUrl);const lane=(_a=this.getLanesByComponentId(componentId))===null||_a===void 0?void 0:_a.find(l=>l.id.isEqual(laneId));return lane?lane.id.isDefault()?LanesModel.getMainComponentUrl(componentId,void 0,addScopeMetadataInUrl):LanesModel.getLaneComponentUrl(componentId,lane.id,addScopeMetadataInUrl):defaultLane2.components.find(c=>c.isEqual(componentId))?LanesModel.getMainComponentUrl(componentId,laneId,addScopeMetadataInUrl):void 0},this.setViewedLane=viewedLaneId=>{this.viewedLane=viewedLaneId?this.lanes.find(lane=>lane.id.isEqual(viewedLaneId)):void 0},this.setViewedOrDefaultLane=viewedLaneId=>{this.viewedLane=viewedLaneId?this.lanes.find(lane=>lane.id.isEqual(viewedLaneId)):this.getDefaultLane()},this.resolveComponentFromUrl=(idFromUrl,laneId)=>{var _a;const comps=((_a=laneId&&this.lanes.find(lane=>lane.id.isEqual(laneId))||this.viewedLane)===null||_a===void 0?void 0:_a.components)||[];return idFromUrl.includes(".")?comps.find(component=>component.toStringWithoutVersion()===idFromUrl):comps.find(component=>component.fullName===idFromUrl)},this.getDefaultLane=()=>this.defaultLane,this.getNonMainLanes=()=>this.lanes.filter(lane=>!lane.id.isDefault()),this.isInViewedLane=(componentId,includeVersion)=>{var _a,_b;return includeVersion?(_a=this.viewedLane)===null||_a===void 0?void 0:_a.components.some(comp=>includeVersion&&comp.isEqual(componentId)):(_b=this.viewedLane)===null||_b===void 0?void 0:_b.components.some(comp=>includeVersion&&comp.isEqual(componentId,{ignoreVersion:!0}))},this.isViewingCurrentLane=()=>this.currentLane&&this.viewedLane&&this.currentLane.id.isEqual(this.viewedLane.id),this.isViewingDefaultLane=()=>this.viewedLane&&this.viewedLane.id.isDefault(),this.isViewingNonDefaultLane=()=>this.viewedLane&&!this.viewedLane.id.isDefault(),this.getLanesByComponentName=componentId=>this.lanesByComponentName.get(componentId.fullName),this.getLanesByComponentId=componentId=>this.lanesByComponentId.get(componentId.toString()),this.isComponentOnMain=(componentId,includeVersion)=>{var _a,_b;return includeVersion?!!(!((_a=this.getLanesByComponentId(componentId))===null||_a===void 0)&&_a.some(lane=>lane.id.isDefault())):!!(!((_b=this.getLanesByComponentName(componentId))===null||_b===void 0)&&_b.some(lane=>lane.id.isDefault()))},this.isComponentOnMainButNotOnLane=(componentId,includeVersion,laneId)=>this.isComponentOnMain(componentId,includeVersion)&&!this.isComponentOnNonDefaultLanes(componentId,includeVersion,laneId),this.isComponentOnLaneButNotOnMain=(componentId,includeVersion,laneId)=>!this.isComponentOnMain(componentId,includeVersion)&&this.isComponentOnNonDefaultLanes(componentId,includeVersion,laneId),this.isComponentOnNonDefaultLanes=(componentId,includeVersion,laneId)=>{var _a,_b;return includeVersion?!!(!((_a=this.getLanesByComponentId(componentId))===null||_a===void 0)&&_a.some(lane=>!lane.id.isDefault()&&(!laneId||lane.id.isEqual(laneId)))):!!(!((_b=this.getLanesByComponentName(componentId))===null||_b===void 0)&&_b.some(lane=>!lane.id.isDefault()&&(!laneId||lane.id.isEqual(laneId))))},this.isComponentDependent=(componentId,includeVersion,laneId)=>{var _a,_b;const lane=laneId?this.lanes.find(l=>l.id.isEqual(laneId)):this.viewedLane;return lane?includeVersion?!!(!((_a=lane.dependents)===null||_a===void 0)&&_a.some(dep=>dep.isEqual(componentId))):!!(!((_b=lane.dependents)===null||_b===void 0)&&_b.some(dep=>dep.isEqual(componentId,{ignoreVersion:!0}))):!1},this.viewedLane=viewedLane,this.currentLane=currentLane,this.defaultLane=defaultLane;const allUniqueLanes=(0,lodash_1.compact)((0,lodash_1.uniqBy)([...lanes,this.defaultLane,this.currentLane,this.viewedLane],lane=>lane?.id.toString()));this.lanes=allUniqueLanes,this.laneIdsByScope=LanesModel.groupLaneIdsByScope(this.lanes.map(lane=>lane.id));const{byId,byName}=LanesModel.groupByComponentNameAndId(this.lanes);this.lanesByComponentId=byId,this.lanesByComponentName=byName}addLanes(newLanes=[]){this.lanes=LanesModel.concatLanes(this.lanes,newLanes),this.laneIdsByScope=LanesModel.groupLaneIdsByScope(this.lanes.map(lane=>lane.id));const{byId,byName}=LanesModel.groupByComponentNameAndId(this.lanes);this.lanesByComponentId=byId,this.lanesByComponentName=byName}static concatLanes(lanes=[],newLanes=[]){return(0,lodash_1.compact)((0,lodash_1.uniqBy)([...lanes,...newLanes],lane=>lane?.id.toString()))}}exports.LanesModel=LanesModel,LanesModel.lanesPrefix="~lane",LanesModel.baseLaneComponentRoute="/~component",LanesModel.lanePath=":scopeId/:laneId",LanesModel.laneUrlParamsKey="lane",LanesModel.laneFromPathRegex=(0,path_to_regexp_1.pathToRegexp)(`${LanesModel.lanesPrefix}/${LanesModel.lanePath}`,void 0,{end:!1,start:!1}),LanesModel.getLaneIdFromPathname=(pathname,urlSearchParams)=>{const matches=LanesModel.laneFromPathRegex.exec(pathname);if(matches){const[,scopeId,laneId]=matches;return lane_id_1.LaneId.from(laneId,scopeId)}if(urlSearchParams){const laneIdQueryParam=urlSearchParams.get(LanesModel.laneUrlParamsKey);return laneIdQueryParam?lane_id_1.LaneId.parse(laneIdQueryParam):void 0}},LanesModel.getLaneUrl=(laneId,relative)=>`${relative?"":"/"}${LanesModel.lanesPrefix}/${laneId.toString()}`,LanesModel.getLaneComponentUrl=(componentId,laneId,addScopeMetadataInUrl)=>{const isExternalComponent=componentId.scope!==laneId.scope,laneUrl=LanesModel.getLaneUrl(laneId),queryParams=new URLSearchParams;return componentId.version&&queryParams.set("version",componentId.version),addScopeMetadataInUrl&&queryParams.set("scope",componentId.scope),`${isExternalComponent?`${laneUrl}${LanesModel.baseLaneComponentRoute}/${componentId.toStringWithoutVersion()}`:`${laneUrl}${LanesModel.baseLaneComponentRoute}/${componentId.fullName}`}?${queryParams.toString()}`},LanesModel.getMainComponentUrl=(componentId,laneId,addScopeMetadataInUrl)=>{const componentUrl=componentId.fullName,queryParams=new URLSearchParams;return laneId&&queryParams.set(LanesModel.laneUrlParamsKey,laneId.toString()),addScopeMetadataInUrl&&queryParams.set("scope",componentId.scope),`${componentUrl}?${queryParams.toString()}`}},53199: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__(3805),exports)},3805: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__(17605),react_2=__webpack_require__(49613),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56621);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},32363:(__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__(81123),mdx_ui_docs_snippet_dist=__webpack_require__(53199),base_react_navigation_link_dist=__webpack_require__(6231);const link_module={link:"link_link__2k2Pc"};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})}},55751: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__(53330),base_ui_styles_flex_center_1=__webpack_require__(15764),error_fallback_module_scss_1=__importDefault(__webpack_require__(41722));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},80617:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(55751);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},12431: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__(44246),exports),__exportStar(__webpack_require__(55480),exports),__exportStar(__webpack_require__(21937),exports)},44246:(__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)},55480:(__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},21937:(__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__(44246);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},48474:(__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__(62079);Object.defineProperty(exports,"useDataQuery",{enumerable:!0,get:function(){return use_data_query_1.useDataQuery}})},62079:(__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__(53574),ui_foundation_ui_notifications_notification_context_1=__webpack_require__(24496),ui_foundation_ui_global_loader_1=__webpack_require__(12431);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&¬ifications.error(apolloErrorToString(error)),res}exports.useDataQuery=useDataQuery;function apolloErrorToString(error){return error.toString()}},87082:(__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__(19185);Object.defineProperty(exports,"useIsMobile",{enumerable:!0,get:function(){return use_is_mobile_1.useIsMobile}})},19185:(__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__(48870);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},48870:(__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__(9571);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}})},9571: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__(66154));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},46842:(__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__(95731);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}})},30984:(__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__(92900),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},95731: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__(47015)),key_characters_1=__webpack_require__(30984);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")}},69952:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;var main_dropdown_1=__webpack_require__(27333);Object.defineProperty(exports,"MainDropdown",{enumerable:!0,get:function(){return main_dropdown_1.MainDropdown}})},27333: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__(86144),evangelist_surfaces_tooltip_1=__webpack_require__(36748),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),lodash_1=__webpack_require__(32699),ui_foundation_ui_keycap_1=__webpack_require__(46842),main_dropdown_module_scss_1=__importDefault(__webpack_require__(71294));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)}},13202:(__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__(25417);Object.defineProperty(exports,"MenuWidgetIcon",{enumerable:!0,get:function(){return menu_widget_icon_1.MenuWidgetIcon}})},25417: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__(86144),design_ui_tooltip_1=__webpack_require__(4426),menu_widget_icon_module_scss_1=__importDefault(__webpack_require__(96540));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},24496: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__(37794),exports)},37794:(__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},46718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;var use_query_1=__webpack_require__(97304);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_1.useQuery}})},97304:(__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__(98560);function useQuery(){const{search}=(0,base_react_navigation_link_1.useLocation)()||{search:"/"};return new URLSearchParams(search)}exports.useQuery=useQuery},90655: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__(4141));exports.linkStyles=bottom_link_module_scss_1.default.link},62426: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__(30566),evangelist_elements_icon_1=__webpack_require__(86144),dropdown_module_scss_1=__importDefault(__webpack_require__(39240));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"}))}},53179:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;var dropdown_1=__webpack_require__(62426);Object.defineProperty(exports,"UseBoxDropdown",{enumerable:!0,get:function(){return dropdown_1.UseBoxDropdown}})},51114:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Import:()=>Import,Install:()=>Install,Menu:()=>Menu,Registry:()=>Registry});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(86144),lodash_orderby=__webpack_require__(30174),lodash_orderby_default=__webpack_require__.n(lodash_orderby),lodash_flatten=__webpack_require__(11549),lodash_flatten_default=__webpack_require__.n(lodash_flatten),ui_foundation_ui_use_box_tab_dist=__webpack_require__(92475);const menu_module={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",container:"menu_container__tazuJ",top:"menu_top__3fXao",title:"menu_title__3nqxE",drawer:"menu_drawer__3SlyN",tabs:"menu_tabs__3OJIQ",registry:"menu_registry__14OvX",importContent:"menu_importContent__zmzC0",bottom:"menu_bottom__8ddpJ",disabled:"menu_disabled__1IVjZ",warnIcon:"menu_warnIcon__1w7x5"};function Menu({methods,componentName,...rest}){const[activeTab,setActiveTab]=(0,react.useState)(0),OrderedMethods=(0,react.useMemo)(()=>lodash_orderby_default()(lodash_flatten_default()(methods),["order"]),[methods]),{Component}=OrderedMethods[activeTab]||{};return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(rest.className,menu_module.container),children:[(0,jsx_runtime.jsx)("div",{className:menu_module.top,children:(0,jsx_runtime.jsxs)("div",{className:menu_module.title,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"terminal"}),(0,jsx_runtime.jsx)("span",{children:`Use ${componentName}`})]})}),(0,jsx_runtime.jsx)("div",{className:menu_module.tabs,children:OrderedMethods.map(({Title},index)=>(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_dist.Tab,{isActive:activeTab===index,onClick:()=>setActiveTab(index),children:Title},index))}),Component]})}var ui_foundation_ui_use_box_tab_content_dist=__webpack_require__(66015),documenter_content_documentation_links_dist=__webpack_require__(53365),documenter_ui_copy_box_dist=__webpack_require__(8584),base_react_navigation_link_dist=__webpack_require__(6231),ui_foundation_ui_use_box_bottom_link_dist=__webpack_require__(90655);const bit_info_module={moreInfo:"bit-info_moreInfo__m-QRG"};function BitInfo({...rest}){return(0,jsx_runtime.jsx)("div",{...rest,children:(0,jsx_runtime.jsxs)(ui_foundation_ui_use_box_tab_content_dist.TabContent,{className:bit_info_module.moreInfo,bottom:(0,jsx_runtime.jsxs)(base_react_navigation_link_dist.Link,{external:!0,href:documenter_content_documentation_links_dist.Ok.installBit,className:ui_foundation_ui_use_box_bottom_link_dist.linkStyles,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"information-sign"}),(0,jsx_runtime.jsx)("span",{children:"Learn more"})]}),children:[(0,jsx_runtime.jsx)("div",{children:"Install bit"}),(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:"npx @teambit/bvm install"})]})})}var design_ui_tooltip_dist=__webpack_require__(4426);function TooltipCopybox({content,...rest}){return(0,jsx_runtime.jsx)(design_ui_tooltip_dist.Tooltip,{...rest,content,placement:"bottom",maxWidth:"",breakline:!0,children:(0,jsx_runtime.jsx)("div",{children:(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:content})})})}function Import({componentId,packageName,componentName,showInstallMethod=!0,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.ExpandableTabContent,{...rest,content:(0,jsx_runtime.jsxs)("div",{className:menu_module.importContent,children:[(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{className:classnames_default()(!showInstallMethod&&menu_module.disabled),children:[!showInstallMethod&&(0,jsx_runtime.jsx)(dist.Icon,{className:menu_module.warnIcon,of:"warn-circle"}),showInstallMethod&&`Add ${componentName} as a dependency`,!showInstallMethod&&"Installation unavailable: This component has not been built yet"]}),showInstallMethod&&(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit install ${packageName??""}`,disabled:!showInstallMethod})]}),(0,jsx_runtime.jsx)("div",{children:`Import ${componentName} to your workspace`}),(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit import ${componentId}`}),(0,jsx_runtime.jsx)("div",{children:`Fork ${componentName} to your workspace`}),(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit fork ${componentId}`})]}),drawerTitle:(0,jsx_runtime.jsxs)("div",{className:menu_module.bottom,children:[(0,jsx_runtime.jsx)(dist.Icon,{color:"yellow",of:"download"}),(0,jsx_runtime.jsx)("span",{children:"Install Bit on your computer"})]}),drawerContent:(0,jsx_runtime.jsx)(BitInfo,{})})}var documenter_ui_highlighted_text_dist=__webpack_require__(90074);function Registry({copyString,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.TabContent,{...rest,className:menu_module.registry,bottom:(0,jsx_runtime.jsxs)(base_react_navigation_link_dist.Link,{external:!0,href:documenter_content_documentation_links_dist.Ok.scopedRegistry,className:ui_foundation_ui_use_box_bottom_link_dist.linkStyles,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"information-sign"}),(0,jsx_runtime.jsx)("span",{children:"Learn more"})]}),children:(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:copyString})})}function Install({componentName,copyString,registryName,packageManager,config,isInstallable,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.ExpandableTabContent,{...rest,content:(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{className:classnames_default()(!isInstallable&&menu_module.disabled),children:[!isInstallable&&(0,jsx_runtime.jsx)(dist.Icon,{className:menu_module.warnIcon,of:"warn-circle"}),isInstallable&&`Install ${componentName} with ${packageManager}`,!isInstallable&&"Installation unavailable: This component has not been built yet"]}),isInstallable&&(0,jsx_runtime.jsx)(TooltipCopybox,{content:copyString,disabled:!isInstallable})]}),drawerTitle:registryName&&(0,jsx_runtime.jsxs)("div",{className:menu_module.bottom,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"settings"}),(0,jsx_runtime.jsxs)("span",{children:["Configure ",(0,jsx_runtime.jsx)(documenter_ui_highlighted_text_dist.HighlightedText,{children:registryName})," as a Scoped Registry"]})]}),drawerContent:registryName&&(0,jsx_runtime.jsx)(Registry,{copyString:config})})}},78227: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__(92341)),evangelist_elements_icon_1=__webpack_require__(86144),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(66015),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(90655),tab_content_module_scss_1=__importDefault(__webpack_require__(50185));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},66015:(__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__(58702);Object.defineProperty(exports,"TabContent",{enumerable:!0,get:function(){return tab_content_1.TabContent}});var expandable_tab_content_1=__webpack_require__(78227);Object.defineProperty(exports,"ExpandableTabContent",{enumerable:!0,get:function(){return expandable_tab_content_1.ExpandableTabContent}})},58702: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__(50185));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},92475:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;var tab_1=__webpack_require__(44245);Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return tab_1.Tab}})},44245: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__(94500));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},33224:(__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__(93338)(),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
|
+
`)};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__uJTIg",singleColumn:"table-row_singleColumn__270nv",mobileTitle:"table-row_mobileTitle__1pxM_",show:"table-row_show__1_PHA",column:"table-row_column__3g5Rl",columnContent:"table-row_columnContent__2FGiz",title:"table-row_title__2ZRm6",required:"table-row_required__sopS8",name:"table-row_name__2BJJ5",type:"table-row_type__VO1ZU",typeColumn:"table-row_typeColumn__ku2je",highlighted:"table-row_highlighted__35EZw",default:"table-row_default__219bg",breakWord:"table-row_breakWord__5IzcJ"};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__Ajr4h"};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}},94761: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__(85416),exports)},85416: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__(6502));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},67826:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(12162);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},12162: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__(16964));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},3324:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(44267);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},44267: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__(9156));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},36408: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__(46882),exports)},46882: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__(925),documenter_ui_paragraph_1=__webpack_require__(543),sub_title_module_scss_1=__importDefault(__webpack_require__(98300));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},91254:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;var sup_1=__webpack_require__(75331);Object.defineProperty(exports,"Sup",{enumerable:!0,get:function(){return sup_1.Sup}})},75331: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__(95954));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},61411: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__(60072));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},32119:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(61411);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},77246:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;var td_1=__webpack_require__(39938);Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return td_1.Td}})},39938: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__(59091));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},98548:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;var tr_1=__webpack_require__(14279);Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return tr_1.Tr}})},14279: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__(93706));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},21211:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(30352);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},30352: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__(49835));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},30377: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__(47446));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},28562: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__(34211),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},86144: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__(28562),exports)},47290: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__(34211),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},4748: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__(47290),exports)},54875: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__(914),base_ui_surfaces_abs_container_1=__webpack_require__(67737),base_ui_css_components_elevation_1=__webpack_require__(63368),base_ui_css_components_roundness_1=__webpack_require__(69725),base_ui_surfaces_background_1=__webpack_require__(84733),dropdown_module_scss_1=__importDefault(__webpack_require__(33607)),evangelist_css_components_fade_in_out_1=__webpack_require__(30377);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"}},30566: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__(54875),exports)},36748: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__(58156),exports),__exportStar(__webpack_require__(85211),exports),__exportStar(__webpack_require__(4930),exports)},4930: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__(89151),exports)},89151: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__(67737),arrow_module_scss_1=__importDefault(__webpack_require__(34232)),arrow_position_module_scss_1=__importDefault(__webpack_require__(98397)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(80790));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},85211: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__(74975),exports)},74975: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__(67737),base_ui_css_components_elevation_1=__webpack_require__(63368),base_ui_css_components_roundness_1=__webpack_require__(69725),tooltip_card_module_scss_1=__importDefault(__webpack_require__(85624)),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"}},58156: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__(914),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_css_components_fade_in_out_1=__webpack_require__(30377),tooltip_card_1=__webpack_require__(85211),tooltip_arrow_1=__webpack_require__(4930),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(93954));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"}},95791:(__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__(29896);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__(13935);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}})},13935:(__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},29896:(__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__(17584),use_deep_compare_1=__webpack_require__(85587),server_context_1=__webpack_require__(13935);var graphql_request_2=__webpack_require__(17584);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},53298:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;var lanes_model_1=__webpack_require__(7935);Object.defineProperty(exports,"LanesModel",{enumerable:!0,get:function(){return lanes_model_1.LanesModel}})},7935:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;const component_1=__webpack_require__(68211),lane_id_1=__webpack_require__(2538),component_id_1=__webpack_require__(99978),path_to_regexp_1=__webpack_require__(51419),lodash_1=__webpack_require__(32699);class LanesModel{static mapToLaneModel(laneData){var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k;const{id,laneComponentIds=[],readmeComponent,hash,createdAt,displayName,updatedAt,createdBy:createdByData,updatedBy:updatedByData,dependents=[]}=laneData,componentIds=laneComponentIds?.map(laneComponentId=>component_id_1.ComponentID.fromObject(laneComponentId))||[],readmeComponentModel=readmeComponent&&component_1.ComponentModel.from(Object.assign({},readmeComponent)),createdAtDate=createdAt&&new Date(+createdAt)||void 0,createdBy=createdByData?{name:(_a=createdByData?.name)!==null&&_a!==void 0?_a:void 0,email:(_b=createdByData.email)!==null&&_b!==void 0?_b:void 0,username:(_c=createdByData?.username)!==null&&_c!==void 0?_c:void 0,displayName:(_d=createdByData?.displayName)!==null&&_d!==void 0?_d:void 0,profileImage:(_e=createdByData.profileImage)!==null&&_e!==void 0?_e:void 0}:void 0,updatedAtDate=updatedAt&&new Date(+updatedAt)||void 0,updatedBy=updatedByData?.name?{name:(_f=updatedByData?.name)!==null&&_f!==void 0?_f:void 0,username:(_g=updatedByData?.username)!==null&&_g!==void 0?_g:void 0,displayName:(_h=updatedByData?.displayName)!==null&&_h!==void 0?_h:void 0,email:(_j=updatedByData.email)!==null&&_j!==void 0?_j:void 0,profileImage:(_k=updatedByData.profileImage)!==null&&_k!==void 0?_k:void 0}:void 0;return{id:lane_id_1.LaneId.from(id.name,id.scope),components:componentIds,readmeComponent:readmeComponentModel,createdAt:createdAtDate,updatedAt:updatedAtDate,displayName,hash,updatedBy,createdBy,dependents:dependents?.map(dependent=>component_id_1.ComponentID.fromObject(dependent))}}static groupLaneIdsByScope(laneIds){const grouped=new Map;return laneIds.forEach(laneId=>{const{scope}=laneId;if(!grouped.has(scope))grouped.set(scope,[laneId]);else{const existing=grouped.get(scope);grouped.set(scope,[...existing,laneId])}}),grouped}static groupLanesByScope(lanes){const grouped=new Map;return lanes.forEach(lane=>{const{scope}=lane.id;if(!grouped.has(scope))grouped.set(scope,[lane]);else{const existing=grouped.get(scope);grouped.set(scope,[...existing,lane])}}),grouped}static groupByComponentNameAndId(lanes){const byName=new Map,byId=new Map;return lanes.forEach(lane=>{const{components}=lane;components.forEach(component=>{const name=component.fullName,id=component.toString(),existingByName=byName.get(name)||[],existingById=byId.get(id)||[];existingByName.push(lane),existingById.push(lane),byName.set(name,existingByName),byId.set(id,existingById)})}),{byName,byId}}static from({data,scope,viewedLaneId}){var _a,_b,_c,_d,_e;const lanes=((_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.map(lane=>LanesModel.mapToLaneModel(lane)))||[],currentLane=!((_c=data?.lanes)===null||_c===void 0)&&_c.current?LanesModel.mapToLaneModel(data.lanes.current):void 0,defaultLane=!((_d=data?.lanes)===null||_d===void 0)&&_d.default?LanesModel.mapToLaneModel(data.lanes.default):scope&&LanesModel.mapToLaneModel({id:{name:"main",scope},hash:""})||lanes.find(lane=>lane.id.isDefault())||void 0,viewedLane=viewedLaneId?lanes.find(lane=>lane.id.isEqual(viewedLaneId)):((_e=data?.lanes)===null||_e===void 0?void 0:_e.viewedLane)&&LanesModel.mapToLaneModel(data.lanes.viewedLane[0])||currentLane||defaultLane;return new LanesModel({lanes,currentLane,defaultLane,viewedLane})}constructor({lanes=[],viewedLane,currentLane,defaultLane}){this.getLaneComponentUrlByVersion=(componentId,laneId,addScopeMetadataInUrl)=>{var _a;const defaultLane2=this.getDefaultLane();if(!componentId.version||!laneId||!defaultLane2||laneId&&this.currentLane&&laneId.isEqual(this.currentLane.id))return LanesModel.getMainComponentUrl(componentId,void 0,addScopeMetadataInUrl);const lane=(_a=this.getLanesByComponentId(componentId))===null||_a===void 0?void 0:_a.find(l=>l.id.isEqual(laneId));return lane?lane.id.isDefault()?LanesModel.getMainComponentUrl(componentId,void 0,addScopeMetadataInUrl):LanesModel.getLaneComponentUrl(componentId,lane.id,addScopeMetadataInUrl):defaultLane2.components.find(c=>c.isEqual(componentId))?LanesModel.getMainComponentUrl(componentId,laneId,addScopeMetadataInUrl):void 0},this.setViewedLane=viewedLaneId=>{this.viewedLane=viewedLaneId?this.lanes.find(lane=>lane.id.isEqual(viewedLaneId)):void 0},this.setViewedOrDefaultLane=viewedLaneId=>{this.viewedLane=viewedLaneId?this.lanes.find(lane=>lane.id.isEqual(viewedLaneId)):this.getDefaultLane()},this.resolveComponentFromUrl=(idFromUrl,laneId)=>{var _a;const comps=((_a=laneId&&this.lanes.find(lane=>lane.id.isEqual(laneId))||this.viewedLane)===null||_a===void 0?void 0:_a.components)||[];return idFromUrl.includes(".")?comps.find(component=>component.toStringWithoutVersion()===idFromUrl):comps.find(component=>component.fullName===idFromUrl)},this.getDefaultLane=()=>this.defaultLane,this.getNonMainLanes=()=>this.lanes.filter(lane=>!lane.id.isDefault()),this.isInViewedLane=(componentId,includeVersion)=>{var _a,_b;return includeVersion?(_a=this.viewedLane)===null||_a===void 0?void 0:_a.components.some(comp=>includeVersion&&comp.isEqual(componentId)):(_b=this.viewedLane)===null||_b===void 0?void 0:_b.components.some(comp=>includeVersion&&comp.isEqual(componentId,{ignoreVersion:!0}))},this.isViewingCurrentLane=()=>this.currentLane&&this.viewedLane&&this.currentLane.id.isEqual(this.viewedLane.id),this.isViewingDefaultLane=()=>this.viewedLane&&this.viewedLane.id.isDefault(),this.isViewingNonDefaultLane=()=>this.viewedLane&&!this.viewedLane.id.isDefault(),this.getLanesByComponentName=componentId=>this.lanesByComponentName.get(componentId.fullName),this.getLanesByComponentId=componentId=>this.lanesByComponentId.get(componentId.toString()),this.isComponentOnMain=(componentId,includeVersion)=>{var _a,_b;return includeVersion?!!(!((_a=this.getLanesByComponentId(componentId))===null||_a===void 0)&&_a.some(lane=>lane.id.isDefault())):!!(!((_b=this.getLanesByComponentName(componentId))===null||_b===void 0)&&_b.some(lane=>lane.id.isDefault()))},this.isComponentOnMainButNotOnLane=(componentId,includeVersion,laneId)=>this.isComponentOnMain(componentId,includeVersion)&&!this.isComponentOnNonDefaultLanes(componentId,includeVersion,laneId),this.isComponentOnLaneButNotOnMain=(componentId,includeVersion,laneId)=>!this.isComponentOnMain(componentId,includeVersion)&&this.isComponentOnNonDefaultLanes(componentId,includeVersion,laneId),this.isComponentOnNonDefaultLanes=(componentId,includeVersion,laneId)=>{var _a,_b;return includeVersion?!!(!((_a=this.getLanesByComponentId(componentId))===null||_a===void 0)&&_a.some(lane=>!lane.id.isDefault()&&(!laneId||lane.id.isEqual(laneId)))):!!(!((_b=this.getLanesByComponentName(componentId))===null||_b===void 0)&&_b.some(lane=>!lane.id.isDefault()&&(!laneId||lane.id.isEqual(laneId))))},this.isComponentDependent=(componentId,includeVersion,laneId)=>{var _a,_b;const lane=laneId?this.lanes.find(l=>l.id.isEqual(laneId)):this.viewedLane;return lane?includeVersion?!!(!((_a=lane.dependents)===null||_a===void 0)&&_a.some(dep=>dep.isEqual(componentId))):!!(!((_b=lane.dependents)===null||_b===void 0)&&_b.some(dep=>dep.isEqual(componentId,{ignoreVersion:!0}))):!1},this.viewedLane=viewedLane,this.currentLane=currentLane,this.defaultLane=defaultLane;const allUniqueLanes=(0,lodash_1.compact)((0,lodash_1.uniqBy)([...lanes,this.defaultLane,this.currentLane,this.viewedLane],lane=>lane?.id.toString()));this.lanes=allUniqueLanes,this.laneIdsByScope=LanesModel.groupLaneIdsByScope(this.lanes.map(lane=>lane.id));const{byId,byName}=LanesModel.groupByComponentNameAndId(this.lanes);this.lanesByComponentId=byId,this.lanesByComponentName=byName}addLanes(newLanes=[]){this.lanes=LanesModel.concatLanes(this.lanes,newLanes),this.laneIdsByScope=LanesModel.groupLaneIdsByScope(this.lanes.map(lane=>lane.id));const{byId,byName}=LanesModel.groupByComponentNameAndId(this.lanes);this.lanesByComponentId=byId,this.lanesByComponentName=byName}static concatLanes(lanes=[],newLanes=[]){return(0,lodash_1.compact)((0,lodash_1.uniqBy)([...lanes,...newLanes],lane=>lane?.id.toString()))}}exports.LanesModel=LanesModel,LanesModel.lanesPrefix="~lane",LanesModel.baseLaneComponentRoute="/~component",LanesModel.lanePath=":scopeId/:laneId",LanesModel.laneUrlParamsKey="lane",LanesModel.laneFromPathRegex=(0,path_to_regexp_1.pathToRegexp)(`${LanesModel.lanesPrefix}/${LanesModel.lanePath}`,void 0,{end:!1,start:!1}),LanesModel.getLaneIdFromPathname=(pathname,urlSearchParams)=>{const matches=LanesModel.laneFromPathRegex.exec(pathname);if(matches){const[,scopeId,laneId]=matches;return lane_id_1.LaneId.from(laneId,scopeId)}if(urlSearchParams){const laneIdQueryParam=urlSearchParams.get(LanesModel.laneUrlParamsKey);return laneIdQueryParam?lane_id_1.LaneId.parse(laneIdQueryParam):void 0}},LanesModel.getLaneUrl=(laneId,relative)=>`${relative?"":"/"}${LanesModel.lanesPrefix}/${laneId.toString()}`,LanesModel.getLaneComponentUrl=(componentId,laneId,addScopeMetadataInUrl)=>{const isExternalComponent=componentId.scope!==laneId.scope,laneUrl=LanesModel.getLaneUrl(laneId),queryParams=new URLSearchParams;return componentId.version&&queryParams.set("version",componentId.version),addScopeMetadataInUrl&&queryParams.set("scope",componentId.scope),`${isExternalComponent?`${laneUrl}${LanesModel.baseLaneComponentRoute}/${componentId.toStringWithoutVersion()}`:`${laneUrl}${LanesModel.baseLaneComponentRoute}/${componentId.fullName}`}?${queryParams.toString()}`},LanesModel.getMainComponentUrl=(componentId,laneId,addScopeMetadataInUrl)=>{const componentUrl=componentId.fullName,queryParams=new URLSearchParams;return laneId&&queryParams.set(LanesModel.laneUrlParamsKey,laneId.toString()),addScopeMetadataInUrl&&queryParams.set("scope",componentId.scope),`${componentUrl}?${queryParams.toString()}`}},53199: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__(3805),exports)},3805: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__(17605),react_2=__webpack_require__(49613),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56621);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},32363:(__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__(81123),mdx_ui_docs_snippet_dist=__webpack_require__(53199),base_react_navigation_link_dist=__webpack_require__(6231);const link_module={link:"link_link__2k2Pc"};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})}},55751: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__(53330),base_ui_styles_flex_center_1=__webpack_require__(15764),error_fallback_module_scss_1=__importDefault(__webpack_require__(41722));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},80617:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(55751);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},12431: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__(44246),exports),__exportStar(__webpack_require__(55480),exports),__exportStar(__webpack_require__(21937),exports)},44246:(__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)},55480:(__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},21937:(__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__(44246);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},48474:(__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__(62079);Object.defineProperty(exports,"useDataQuery",{enumerable:!0,get:function(){return use_data_query_1.useDataQuery}})},62079:(__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__(53574),ui_foundation_ui_notifications_notification_context_1=__webpack_require__(24496),ui_foundation_ui_global_loader_1=__webpack_require__(12431);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&¬ifications.error(apolloErrorToString(error)),res}exports.useDataQuery=useDataQuery;function apolloErrorToString(error){return error.toString()}},87082:(__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__(19185);Object.defineProperty(exports,"useIsMobile",{enumerable:!0,get:function(){return use_is_mobile_1.useIsMobile}})},19185:(__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__(48870);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},48870:(__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__(9571);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}})},9571: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__(66154));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},46842:(__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__(95731);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}})},30984:(__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__(92900),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},95731: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__(47015)),key_characters_1=__webpack_require__(30984);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")}},69952:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;var main_dropdown_1=__webpack_require__(61928);Object.defineProperty(exports,"MainDropdown",{enumerable:!0,get:function(){return main_dropdown_1.MainDropdown}})},61928: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__(86144),evangelist_surfaces_tooltip_1=__webpack_require__(36748),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),lodash_1=__webpack_require__(32699),ui_foundation_ui_keycap_1=__webpack_require__(46842),main_dropdown_module_scss_1=__importDefault(__webpack_require__(71294));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)}},13202:(__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__(25417);Object.defineProperty(exports,"MenuWidgetIcon",{enumerable:!0,get:function(){return menu_widget_icon_1.MenuWidgetIcon}})},25417: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__(86144),design_ui_tooltip_1=__webpack_require__(4426),menu_widget_icon_module_scss_1=__importDefault(__webpack_require__(96540));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},24496: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__(37794),exports)},37794:(__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},46718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;var use_query_1=__webpack_require__(97304);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_1.useQuery}})},97304:(__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__(98560);function useQuery(){const{search}=(0,base_react_navigation_link_1.useLocation)()||{search:"/"};return new URLSearchParams(search)}exports.useQuery=useQuery},90655: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__(4141));exports.linkStyles=bottom_link_module_scss_1.default.link},62426: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__(30566),evangelist_elements_icon_1=__webpack_require__(86144),dropdown_module_scss_1=__importDefault(__webpack_require__(39240));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"}))}},53179:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;var dropdown_1=__webpack_require__(62426);Object.defineProperty(exports,"UseBoxDropdown",{enumerable:!0,get:function(){return dropdown_1.UseBoxDropdown}})},51114:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Import:()=>Import,Install:()=>Install,Menu:()=>Menu,Registry:()=>Registry});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),classnames2=__webpack_require__(97754),classnames_default=__webpack_require__.n(classnames2),dist=__webpack_require__(86144),lodash_orderby=__webpack_require__(30174),lodash_orderby_default=__webpack_require__.n(lodash_orderby),lodash_flatten=__webpack_require__(11549),lodash_flatten_default=__webpack_require__.n(lodash_flatten),ui_foundation_ui_use_box_tab_dist=__webpack_require__(92475);const menu_module={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",container:"menu_container__tazuJ",top:"menu_top__3fXao",title:"menu_title__3nqxE",drawer:"menu_drawer__3SlyN",tabs:"menu_tabs__3OJIQ",registry:"menu_registry__14OvX",importContent:"menu_importContent__zmzC0",bottom:"menu_bottom__8ddpJ",disabled:"menu_disabled__1IVjZ",warnIcon:"menu_warnIcon__1w7x5"};function Menu({methods,componentName,...rest}){const[activeTab,setActiveTab]=(0,react.useState)(0),OrderedMethods=(0,react.useMemo)(()=>lodash_orderby_default()(lodash_flatten_default()(methods),["order"]),[methods]),{Component}=OrderedMethods[activeTab]||{};return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(rest.className,menu_module.container),children:[(0,jsx_runtime.jsx)("div",{className:menu_module.top,children:(0,jsx_runtime.jsxs)("div",{className:menu_module.title,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"terminal"}),(0,jsx_runtime.jsx)("span",{children:`Use ${componentName}`})]})}),(0,jsx_runtime.jsx)("div",{className:menu_module.tabs,children:OrderedMethods.map(({Title},index)=>(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_dist.Tab,{isActive:activeTab===index,onClick:()=>setActiveTab(index),children:Title},index))}),Component]})}var ui_foundation_ui_use_box_tab_content_dist=__webpack_require__(66015),documenter_content_documentation_links_dist=__webpack_require__(53365),documenter_ui_copy_box_dist=__webpack_require__(8584),base_react_navigation_link_dist=__webpack_require__(6231),ui_foundation_ui_use_box_bottom_link_dist=__webpack_require__(90655);const bit_info_module={moreInfo:"bit-info_moreInfo__m-QRG"};function BitInfo({...rest}){return(0,jsx_runtime.jsx)("div",{...rest,children:(0,jsx_runtime.jsxs)(ui_foundation_ui_use_box_tab_content_dist.TabContent,{className:bit_info_module.moreInfo,bottom:(0,jsx_runtime.jsxs)(base_react_navigation_link_dist.Link,{external:!0,href:documenter_content_documentation_links_dist.Ok.installBit,className:ui_foundation_ui_use_box_bottom_link_dist.linkStyles,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"information-sign"}),(0,jsx_runtime.jsx)("span",{children:"Learn more"})]}),children:[(0,jsx_runtime.jsx)("div",{children:"Install bit"}),(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:"npx @teambit/bvm install"})]})})}var design_ui_tooltip_dist=__webpack_require__(4426);function TooltipCopybox({content,...rest}){return(0,jsx_runtime.jsx)(design_ui_tooltip_dist.Tooltip,{...rest,content,placement:"bottom",maxWidth:"",breakline:!0,children:(0,jsx_runtime.jsx)("div",{children:(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:content})})})}function Import({componentId,packageName,componentName,showInstallMethod=!0,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.ExpandableTabContent,{...rest,content:(0,jsx_runtime.jsxs)("div",{className:menu_module.importContent,children:[(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{className:classnames_default()(!showInstallMethod&&menu_module.disabled),children:[!showInstallMethod&&(0,jsx_runtime.jsx)(dist.Icon,{className:menu_module.warnIcon,of:"warn-circle"}),showInstallMethod&&`Add ${componentName} as a dependency`,!showInstallMethod&&"Installation unavailable: This component has not been built yet"]}),showInstallMethod&&(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit install ${packageName??""}`,disabled:!showInstallMethod})]}),(0,jsx_runtime.jsx)("div",{children:`Import ${componentName} to your workspace`}),(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit import ${componentId}`}),(0,jsx_runtime.jsx)("div",{children:`Fork ${componentName} to your workspace`}),(0,jsx_runtime.jsx)(TooltipCopybox,{content:`bit fork ${componentId}`})]}),drawerTitle:(0,jsx_runtime.jsxs)("div",{className:menu_module.bottom,children:[(0,jsx_runtime.jsx)(dist.Icon,{color:"yellow",of:"download"}),(0,jsx_runtime.jsx)("span",{children:"Install Bit on your computer"})]}),drawerContent:(0,jsx_runtime.jsx)(BitInfo,{})})}var documenter_ui_highlighted_text_dist=__webpack_require__(90074);function Registry({copyString,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.TabContent,{...rest,className:menu_module.registry,bottom:(0,jsx_runtime.jsxs)(base_react_navigation_link_dist.Link,{external:!0,href:documenter_content_documentation_links_dist.Ok.scopedRegistry,className:ui_foundation_ui_use_box_bottom_link_dist.linkStyles,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"information-sign"}),(0,jsx_runtime.jsx)("span",{children:"Learn more"})]}),children:(0,jsx_runtime.jsx)(documenter_ui_copy_box_dist.CopyBox,{children:copyString})})}function Install({componentName,copyString,registryName,packageManager,config,isInstallable,...rest}){return(0,jsx_runtime.jsx)(ui_foundation_ui_use_box_tab_content_dist.ExpandableTabContent,{...rest,content:(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("div",{className:classnames_default()(!isInstallable&&menu_module.disabled),children:[!isInstallable&&(0,jsx_runtime.jsx)(dist.Icon,{className:menu_module.warnIcon,of:"warn-circle"}),isInstallable&&`Install ${componentName} with ${packageManager}`,!isInstallable&&"Installation unavailable: This component has not been built yet"]}),isInstallable&&(0,jsx_runtime.jsx)(TooltipCopybox,{content:copyString,disabled:!isInstallable})]}),drawerTitle:registryName&&(0,jsx_runtime.jsxs)("div",{className:menu_module.bottom,children:[(0,jsx_runtime.jsx)(dist.Icon,{of:"settings"}),(0,jsx_runtime.jsxs)("span",{children:["Configure ",(0,jsx_runtime.jsx)(documenter_ui_highlighted_text_dist.HighlightedText,{children:registryName})," as a Scoped Registry"]})]}),drawerContent:registryName&&(0,jsx_runtime.jsx)(Registry,{copyString:config})})}},78227: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__(92341)),evangelist_elements_icon_1=__webpack_require__(86144),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(66015),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(90655),tab_content_module_scss_1=__importDefault(__webpack_require__(50185));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},66015:(__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__(58702);Object.defineProperty(exports,"TabContent",{enumerable:!0,get:function(){return tab_content_1.TabContent}});var expandable_tab_content_1=__webpack_require__(78227);Object.defineProperty(exports,"ExpandableTabContent",{enumerable:!0,get:function(){return expandable_tab_content_1.ExpandableTabContent}})},58702: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__(50185));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},92475:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;var tab_1=__webpack_require__(44245);Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return tab_1.Tab}})},44245: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__(94500));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},33224:(__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__(93338)(),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,`
|
39
39
|
`)+'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(`
|
40
40
|
`);tmp2.shift();for(var tmp1=newErr.stack.split(`
|
41
41
|
`),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(`
|
@@ -360,10 +360,10 @@ ${namesToRegister.map(({variableName,uniqueLocalName})=>` reactHotLoader.regist
|
|
360
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]&®ex[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&®isterFlag(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(`
|
361
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(`
|
362
362
|
${issueTitle}${colon}
|
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__(66396),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__(
|
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__(66396),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__(28632),self_reference_1=__webpack_require__(55088),import_from_directory_1=__webpack_require__(12839),deprecated_dependencies_1=__webpack_require__(840),removed_env_1=__webpack_require__(84531);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,RemovedEnv:removed_env_1.RemovedEnv,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.
|
364
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},66396:(__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(`
|
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},
|
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__(53298),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(41787),evangelist_elements_icon_1=__webpack_require__(86144),lane_info_module_scss_1=__importDefault(__webpack_require__(42549));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__(2997),classnames_1=__importDefault(__webpack_require__(97754)),semver=__importStar(__webpack_require__(9131)),evangelist_elements_icon_1=__webpack_require__(86144),design_ui_time_ago_1=__webpack_require__(59453),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(20298),version_dropdown_placeholder_module_scss_1=__importDefault(__webpack_require__(50080));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__(41787),evangelist_surfaces_dropdown_1=__webpack_require__(30566),ui_foundation_ui_use_box_tab_1=__webpack_require__(92475),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(20298),classnames_1=__importDefault(__webpack_require__(97754)),version_dropdown_module_scss_1=__importDefault(__webpack_require__(63179)),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__(41787),design_ui_time_ago_1=__webpack_require__(59453),component_ui_version_label_1=__webpack_require__(76777),react_1=__importStar(__webpack_require__(59496)),design_ui_avatar_1=__webpack_require__(14452),design_ui_styles_ellipsis_1=__webpack_require__(2997),classnames_1=__importDefault(__webpack_require__(97754)),version_info_module_scss_1=__importDefault(__webpack_require__(72773));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=_interopRequireWildcard(__webpack_require__(18288));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(e){return e&&e.__esModule?e:{default:e}}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}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}`,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 homepage(){return this._state._consumer._getHomepage()}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)}isExported(){return this.factory.isExported(this.id)}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(e){return e&&e.__esModule?e:{default:e}}},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},2195:(__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__(48474);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(53574);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)`
|
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},28632:(__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},84531:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedEnv=void 0;const component_issue_1=__webpack_require__(50581);class RemovedEnv extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="the env of this component is deleted",this.solution='use "bit env set/replace" to set a new env or a different version of this env. to undo the delete, run "bit recover"',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data}}exports.RemovedEnv=RemovedEnv},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(`
|
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__(53298),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(41787),evangelist_elements_icon_1=__webpack_require__(86144),lane_info_module_scss_1=__importDefault(__webpack_require__(42549));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__(2997),classnames_1=__importDefault(__webpack_require__(97754)),semver=__importStar(__webpack_require__(9131)),evangelist_elements_icon_1=__webpack_require__(86144),design_ui_time_ago_1=__webpack_require__(59453),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(20298),version_dropdown_placeholder_module_scss_1=__importDefault(__webpack_require__(50080));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__(41787),evangelist_surfaces_dropdown_1=__webpack_require__(30566),ui_foundation_ui_use_box_tab_1=__webpack_require__(92475),design_ui_avatar_1=__webpack_require__(14452),base_ui_loaders_skeleton_1=__webpack_require__(20298),classnames_1=__importDefault(__webpack_require__(97754)),version_dropdown_module_scss_1=__importDefault(__webpack_require__(63179)),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__(41787),design_ui_time_ago_1=__webpack_require__(59453),component_ui_version_label_1=__webpack_require__(76777),react_1=__importStar(__webpack_require__(59496)),design_ui_avatar_1=__webpack_require__(14452),design_ui_styles_ellipsis_1=__webpack_require__(2997),classnames_1=__importDefault(__webpack_require__(97754)),version_info_module_scss_1=__importDefault(__webpack_require__(72773));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=_interopRequireWildcard(__webpack_require__(18288));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(e){return e&&e.__esModule?e:{default:e}}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}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}`,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 homepage(){return this._state._consumer._getHomepage()}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)}isExported(){return this.factory.isExported(this.id)}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(e){return e&&e.__esModule?e:{default:e}}},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__(48474);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(53574);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)`
|
367
367
|
{
|
368
368
|
getHost {
|
369
369
|
id # used for GQL caching
|
@@ -384,7 +384,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
|
|
384
384
|
}
|
385
385
|
}
|
386
386
|
}
|
387
|
-
`;function useComponentHost(){const{data,loading}=(0,_uiFoundationUiHooks().useDataQuery)(COMPONENT_HOST);return!data||loading?{}:{host:_componentHostModel().ComponentHostModel.from(data)}}},68211:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"AspectData",{enumerable:!0,get:function(){return _aspectEntry().AspectData}}),Object.defineProperty(exports,"AspectEntry",{enumerable:!0,get:function(){return _aspectEntry().AspectEntry}}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menu().CollapsibleMenuNav}}),Object.defineProperty(exports,"Component",{enumerable:!0,get:function(){return _component2().Component}}),Object.defineProperty(exports,"ComponentAspect",{enumerable:!0,get:function(){return _component().ComponentAspect}}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _componentContext().ComponentContext}}),Object.defineProperty(exports,"ComponentDescriptorContext",{enumerable:!0,get:function(){return _componentContext().ComponentDescriptorContext}}),Object.defineProperty(exports,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _context().ComponentDescriptorProvider}}),Object.defineProperty(exports,"ComponentFS",{enumerable:!0,get:function(){return _componentFs().default}}),Object.defineProperty(exports,"ComponentID",{enumerable:!0,get:function(){return _componentId().ComponentID}}),Object.defineProperty(exports,"ComponentLogsResult",{enumerable:!0,get:function(){return _ui().ComponentLogsResult}}),Object.defineProperty(exports,"ComponentMap",{enumerable:!0,get:function(){return _componentMap().ComponentMap}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _context().ComponentProvider}}),Object.defineProperty(exports,"Config",{enumerable:!0,get:function(){return _config().Config}}),Object.defineProperty(exports,"Filters",{enumerable:!0,get:function(){return _ui().Filters}}),Object.defineProperty(exports,"InvalidComponent",{enumerable:!0,get:function(){return _component2().InvalidComponent}}),Object.defineProperty(exports,"ResolveComponentIdFunc",{enumerable:!0,get:function(){return _aspectEntry().ResolveComponentIdFunc}}),Object.defineProperty(exports,"Snap",{enumerable:!0,get:function(){return _snap().Snap}}),Object.defineProperty(exports,"SnapProps",{enumerable:!0,get:function(){return _snap().SnapProps}}),Object.defineProperty(exports,"State",{enumerable:!0,get:function(){return _state().State}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return _tag().Tag}}),Object.defineProperty(exports,"TagMap",{enumerable:!0,get:function(){return _tagMap().TagMap}}),Object.defineProperty(exports,"TagProps",{enumerable:!0,get:function(){return _tag().TagProps}}),Object.defineProperty(exports,"TopBarNav",{enumerable:!0,get:function(){return _topBarNav().TopBarNav}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}}),Object.defineProperty(exports,"componentFields",{enumerable:!0,get:function(){return _ui().componentFields}}),Object.defineProperty(exports,"componentIdFields",{enumerable:!0,get:function(){return _ui().componentIdFields}}),Object.defineProperty(exports,"componentOverviewFields",{enumerable:!0,get:function(){return _ui().componentOverviewFields}}),exports.default=void 0,Object.defineProperty(exports,"useComponent",{enumerable:!0,get:function(){return _ui().useComponent}}),Object.defineProperty(exports,"useComponentDescriptor",{enumerable:!0,get:function(){return _componentContext().useComponentDescriptor}}),Object.defineProperty(exports,"useComponentHost",{enumerable:!0,get:function(){return _host().useComponentHost}}),Object.defineProperty(exports,"useComponentLogs",{enumerable:!0,get:function(){return _ui().useComponentLogs}}),Object.defineProperty(exports,"useIdFromLocation",{enumerable:!0,get:function(){return _ui().useIdFromLocation}});function _component(){const data=__webpack_require__(42259);return _component=function(){return data},data}function _host(){const data=__webpack_require__(2195);return _host=function(){return data},data}function _component2(){const data=__webpack_require__(60195);return _component2=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _componentFs(){const data=_interopRequireDefault(__webpack_require__(11846));return _componentFs=function(){return data},data}function _aspectEntry(){const data=__webpack_require__(69301);return _aspectEntry=function(){return data},data}function _snap(){const data=__webpack_require__(8801);return _snap=function(){return data},data}function _tag(){const data=__webpack_require__(13801);return _tag=function(){return data},data}function _state(){const data=__webpack_require__(49784);return _state=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}function _componentMap(){const data=__webpack_require__(12178);return _componentMap=function(){return data},data}function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _ui(){const data=__webpack_require__(4744);return _ui=function(){return data},data}function _menu(){const data=__webpack_require__(70820);return _menu=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _config(){const data=__webpack_require__(5075);return _config=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _default=exports.default=_component().ComponentAspect},8801:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snap=void 0;class Snap{constructor(hash,timestamp,parents,author,message){this.hash=hash,this.timestamp=timestamp,this.parents=parents,this.author=author,this.message=message}static fromObject(snapObject){const parents=snapObject.parents||[];return new Snap(snapObject.hash,new Date(parseInt(snapObject.timestamp)),parents,snapObject.author,snapObject.message)}toObject(){return{timestamp:this.timestamp.getTime().toString(),hash:this.hash,author:this.author,message:this.message,parents:this.parents}}}exports.Snap=Snap},49784:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.State=void 0;function _componentIssues(){const data=__webpack_require__(86853);return _componentIssues=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class State{constructor(config,_aspects,filesystem,dependencies,_consumer){this.config=config,this._aspects=_aspects,this.filesystem=filesystem,this.dependencies=dependencies,this._consumer=_consumer}get mainFile(){const file=this.filesystem.files.find(componentFile=>componentFile.relative===this._consumer.mainFile);if(!file)throw new(_exceptions()).MainFileNotFound(_componentId().ComponentID.fromLegacy(this._consumer.id),this._consumer.mainFile);return file}get hash(){return""}get issues(){return this._consumer.issues||=new(_componentIssues()).IssuesList}get isModified(){return this._consumer._isModified}get aspects(){return this._aspects}set aspects(aspects){this._aspects=aspects}}exports.State=State},50310:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TagMap=void 0;function _pkgModules(){const data=__webpack_require__(27580);return _pkgModules=function(){return data},data}function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class TagMap extends Map{byHash(hash){return Array.from(this.values()).find(currTag=>currTag.hash===hash)}getPreReleaseLatestTags(){const preReleaseTagsWithAllVersions=this.toArray().reduce((acc,current)=>{const preReleases=current.version.prerelease;return!preReleases.length||preReleases.length!==2||typeof preReleases[0]!="string"||(acc[preReleases[0]]||=[]).push(current.version.raw),acc},{});return Object.keys(preReleaseTagsWithAllVersions).reduce((acc,current)=>(acc[current]=(0,_semver().maxSatisfying)(preReleaseTagsWithAllVersions[current],"*",{includePrerelease:!0}),acc),{})}getHashMap(){const res=new Map;return this.forEach(tag=>{res.set(tag.hash,tag)}),res}getLatest(){const versions=this.toArray().map(tag=>tag.version.raw);if(this.isEmpty())throw new(_exceptions()).CouldNotFindLatest(versions);return(0,_pkgModules().getLatestVersion)(versions)}isEmpty(){return this.size===0}toArray(){return Array.from(this.values())}byVersion(version){return this.toArray().map(tag=>tag).find(tag=>tag.version.raw===version)}static fromArray(tags){const tuples=tags.map(tag=>[tag.version,tag]);return new TagMap(tuples)}static empty(){return new TagMap}}exports.TagMap=TagMap},47769:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return _tag().Tag}});function _tag(){const data=__webpack_require__(13801);return _tag=function(){return data},data}},13801:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tag=void 0;function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}class Tag{constructor(hash,version){this.hash=hash,this.version=version}toObject(){return{hash:this.hash,version:this.version.raw}}static fromObject(tag){return new Tag(tag.hash,new(_semver()).SemVer(tag.version))}}exports.Tag=Tag},6315:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentError=void 0;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _designUiPages(){const data=__webpack_require__(96352);return _designUiPages=function(){return data},data}function _designUiPages2(){const data=__webpack_require__(83698);return _designUiPages2=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ComponentError{constructor(code,message){this.code=code,this.message=message}renderError(){return this.code===404?_react().default.createElement(_designUiPages().NotFoundPage,null):_react().default.createElement(_designUiPages2().ServerErrorPage,null)}}exports.ComponentError=ComponentError},70145:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentError",{enumerable:!0,get:function(){return _componentError().ComponentError}});function _componentError(){const data=__webpack_require__(6315);return _componentError=function(){return data},data}},46265:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentModel=void 0;function _compositions(){const data=__webpack_require__(32552);return _compositions=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _tag(){const data=__webpack_require__(47769);return _tag=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}class ComponentModel{constructor(id,displayName,packageName,server,compositions,tags,buildStatus,issuesCount,status,deprecation,environment,description="",labels=[],host,size,latest,preview,logs){this.id=id,this.displayName=displayName,this.packageName=packageName,this.server=server,this.compositions=compositions,this.tags=tags,this.buildStatus=buildStatus,this.issuesCount=issuesCount,this.status=status,this.deprecation=deprecation,this.environment=environment,this.description=description,this.labels=labels,this.host=host,this.size=size,this.latest=latest,this.preview=preview,this.logs=logs}get version(){return this.id.version?this.id.version:"new"}static from({id,server,displayName,compositions=[],packageName,tags=[],deprecation,buildStatus,env,status,issuesCount,description,labels,host,latest,preview,size,logs}){return new ComponentModel(_componentId().ComponentID.fromObject(id),displayName,packageName,server,_compositions().Composition.fromArray(compositions),_tagMap().TagMap.fromArray(tags.map(tag=>_tag().Tag.fromObject(tag))),buildStatus,issuesCount,status,deprecation,env,description,labels,host,size,latest,preview,logs?.map(log=>log??{hash:"[error]",tag:"[error]",message:"",parents:[]}))}static fromArray(componentsProps){return componentsProps.map(rawComponent=>ComponentModel.from(rawComponent))}static empty(){return new ComponentModel(_componentId().ComponentID.fromObject({name:"root",scope:"temp"}),"","",{env:"",url:""},[],_tagMap().TagMap.empty())}}exports.ComponentModel=ComponentModel},77237:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentModelProps",{enumerable:!0,get:function(){return _componentModel().ComponentModelProps}});function _componentModel(){const data=__webpack_require__(46265);return _componentModel=function(){return data},data}},34146:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=Component;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _lodash(){const data=_interopRequireDefault(__webpack_require__(11549));return _lodash=function(){return data},data}function _uiFoundationUiReactRouter(){const data=__webpack_require__(24681);return _uiFoundationUiReactRouter=function(){return data},data}function _lodash2(){const data=__webpack_require__(32699);return _lodash2=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _(){const data=__webpack_require__(68211);return _=function(){return data},data}function _componentModule(){const data=_interopRequireDefault(__webpack_require__(42058));return _componentModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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 ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function getComponentIdStr(componentIdStr){return(0,_lodash2().isFunction)(componentIdStr)?componentIdStr():componentIdStr}function Component({routeSlot,overriddenRoutes,containerSlot,host,onComponentChange,componentIdStr,useComponent,path,useComponentFilters}){const idFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(),componentIdStrWithScopeFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(void 0,!0),_componentIdStr=getComponentIdStr(componentIdStr),componentId=_componentIdStr?_().ComponentID.fromString(_componentIdStr):void 0,resolvedComponentIdStr=path||idFromLocation,componentFiltersFromProps=useComponentFilters?.()||{},useComponentOptions={logFilters:_objectSpread(_objectSpread({},componentFiltersFromProps),componentFiltersFromProps.loading?{}:{log:_objectSpread({},componentFiltersFromProps.log)}),customUseComponent:useComponent},{component,componentDescriptor,error}=(0,_useComponent().useComponent)(host,componentId?.toString()||componentIdStrWithScopeFromLocation,useComponentOptions);(0,_react().useEffect)(()=>onComponentChange?.(component),[component]),(0,_react().useEffect)(()=>()=>onComponentChange?.(void 0),[]);const pageItems=(0,_react().useMemo)(()=>(0,_lodash().default)(containerSlot?.values()),[containerSlot]),before=(0,_react().useMemo)(()=>pageItems.filter(x=>x.type==="before").map(x=>x.content),[pageItems]),after=(0,_react().useMemo)(()=>pageItems.filter(x=>x.type==="after").map(x=>x.content),[pageItems]);return error?error?.renderError():component?_react().default.createElement(_context().ComponentDescriptorProvider,{componentDescriptor},_react().default.createElement(_context().ComponentProvider,{component},before,_react().default.createElement("div",{className:_componentModule().default.container},routeSlot&&_react().default.createElement(_uiFoundationUiReactRouter().SlotRouter,{parentPath:`${resolvedComponentIdStr}/*`,slot:routeSlot,routes:overriddenRoutes})),after)):_react().default.createElement("div",null)}},48841:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentDescriptor=exports.ComponentDescriptorContext=exports.ComponentContext=void 0;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}const ComponentContext=exports.ComponentContext=(0,_react().createContext)(_componentModel().ComponentModel.empty()),ComponentDescriptorContext=exports.ComponentDescriptorContext=(0,_react().createContext)(void 0),useComponentDescriptor=()=>(0,_react().useContext)(ComponentDescriptorContext);exports.useComponentDescriptor=useComponentDescriptor},9994:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentDescriptorProvider=ComponentDescriptorProvider,exports.ComponentProvider=ComponentProvider;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ComponentProvider({component,children}){return _react().default.createElement(_componentContext().ComponentContext.Provider,{value:component},children)}function ComponentDescriptorProvider({componentDescriptor,children}){return _react().default.createElement(_componentContext().ComponentDescriptorContext.Provider,{value:componentDescriptor},children)}},58431:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _componentContext().ComponentContext}}),Object.defineProperty(exports,"ComponentDescriptorContext",{enumerable:!0,get:function(){return _componentContext().ComponentDescriptorContext}}),Object.defineProperty(exports,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _componentProvider().ComponentDescriptorProvider}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _componentProvider().ComponentProvider}}),Object.defineProperty(exports,"useComponentDescriptor",{enumerable:!0,get:function(){return _componentContext().useComponentDescriptor}});function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _componentProvider(){const data=__webpack_require__(9994);return _componentProvider=function(){return data},data}},4744:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"COMPONENT_QUERY_LOG_FIELDS",{enumerable:!0,get:function(){return _useComponent2().COMPONENT_QUERY_LOG_FIELDS}}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menu().CollapsibleMenuNav}}),Object.defineProperty(exports,"Component",{enumerable:!0,get:function(){return _component().Component}}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _context().ComponentContext}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentModelProps",{enumerable:!0,get:function(){return _componentModel().ComponentModelProps}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _context().ComponentProvider}}),Object.defineProperty(exports,"ConsumeMethodSlot",{enumerable:!0,get:function(){return _menu().ConsumeMethodSlot}}),Object.defineProperty(exports,"GET_COMPONENT",{enumerable:!0,get:function(){return _useComponent2().GET_COMPONENT}}),Object.defineProperty(exports,"GET_COMPONENT_WITH_LOGS",{enumerable:!0,get:function(){return _useComponent2().GET_COMPONENT_WITH_LOGS}}),Object.defineProperty(exports,"MenuNavProps",{enumerable:!0,get:function(){return _menu().MenuNavProps}}),Object.defineProperty(exports,"TopBarNav",{enumerable:!0,get:function(){return _topBarNav().TopBarNav}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}}),Object.defineProperty(exports,"componentFields",{enumerable:!0,get:function(){return _useComponent2().componentFields}}),Object.defineProperty(exports,"componentFieldsWithLogs",{enumerable:!0,get:function(){return _useComponent2().componentFieldsWithLogs}}),Object.defineProperty(exports,"componentIdFields",{enumerable:!0,get:function(){return _useComponent2().componentIdFields}}),Object.defineProperty(exports,"componentOverviewFields",{enumerable:!0,get:function(){return _useComponent2().componentOverviewFields}}),Object.defineProperty(exports,"useComponent",{enumerable:!0,get:function(){return _useComponent().useComponent}}),Object.defineProperty(exports,"useComponentLogs",{enumerable:!0,get:function(){return _useComponentLogs().useComponentLogs}}),Object.defineProperty(exports,"useComponentQuery",{enumerable:!0,get:function(){return _useComponentQuery().useComponentQuery}}),Object.defineProperty(exports,"useIdFromLocation",{enumerable:!0,get:function(){return _useComponentFromLocation().useIdFromLocation}});function _menu(){const data=__webpack_require__(70820);return _menu=function(){return data},data}function _component(){const data=__webpack_require__(34146);return _component=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _useComponent2(){const data=__webpack_require__(86851);return _useComponent2=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(62589);return _useComponentQuery=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(11129);return _useComponentLogs=function(){return data},data}},70820:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menuNav().CollapsibleMenuNav}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"MenuNavProps",{enumerable:!0,get:function(){return _menuNav().MenuNavProps}}),Object.defineProperty(exports,"RightSideMenuItem",{enumerable:!0,get:function(){return _menu().RightSideMenuItem}}),Object.defineProperty(exports,"RightSideMenuSlot",{enumerable:!0,get:function(){return _menu().RightSideMenuSlot}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}});function _menuNav(){const data=__webpack_require__(58072);return _menuNav=function(){return data},data}function _menu(){const data=__webpack_require__(23813);return _menu=function(){return data},data}},58072:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CollapsibleMenuNav=CollapsibleMenuNav;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _designNavigation(){const data=__webpack_require__(76055);return _designNavigation=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(82769));return _menuModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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 ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function TopBarNavComponent({isInMenu,menuItemProps}){const widgetDisplayText=menuItemProps?.displayName&&isInMenu?menuItemProps?.displayName:void 0;return _react().default.createElement(_topBarNav().TopBarNav,_extends({},menuItemProps,{className:(0,_classnames().default)(menuItemProps?.className,_menuModule().default.topBarNav,isInMenu&&_menuModule().default.noBorder)}),widgetDisplayText||menuItemProps?.children)}function CollapsibleMenuNav({navigationSlot,widgetSlot,navPlugins=[],widgetPlugins=[],className,secondaryNavClassName,activeTabIndex,alwaysShowActiveTab,children}){const plugins=(0,_react().useMemo)(()=>((navPlugins.length>0?navPlugins:navigationSlot?.toArray())||[]).sort(sortFn),[navigationSlot,navPlugins]),widgets=(0,_react().useMemo)(()=>((widgetPlugins.length>0?widgetPlugins:widgetSlot?.toArray())||[]).sort(sortFn),[widgetSlot,widgetPlugins]),links=[...plugins,...widgets].map(([,menuItem],index)=>{const lastPluginStyle=plugins.length-1===index?{marginRight:"auto"}:{},firstWidgetStyle=plugins.length===index?{marginLeft:"auto"}:{};return{component:TopBarNavComponent,tabProps:{menuItemProps:menuItem.props},style:_objectSpread(_objectSpread({},firstWidgetStyle),lastPluginStyle),className:menuItem.props.className}});return _react().default.createElement(_designNavigation().ResponsiveNavbar,{navClassName:(0,_classnames().default)(_menuModule().default.tab,className),secondaryNavClassName,style:{width:"100%",height:"100%"},priority:"none",tabs:links,defaultActiveIndex:activeTabIndex,alwaysShowActiveTab},children)}function sortFn([,{order:first}],[,{order:second}]){return(first??0)-(second??0)}},23813:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentMenu=ComponentMenu,exports.VersionRelatedDropdowns=VersionRelatedDropdowns,exports.defaultLoadCurrentVersion=void 0,exports.defaultLoadVersions=defaultLoadVersions;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(12294);return _reactRouterDom=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function semver(){const data=_interopRequireWildcard(__webpack_require__(9131));return semver=function(){return data},data}function _componentUi(){const data=__webpack_require__(24636);return _componentUi=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(69952);return _uiFoundationUi=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(6231);return _baseReactNavigation=function(){return data},data}function _uiFoundationUiUseBox(){const data=__webpack_require__(53179);return _uiFoundationUiUseBox=function(){return data},data}function _lanesHooks(){const data=__webpack_require__(33461);return _lanesHooks=function(){return data},data}function _uiFoundationUiUseBox2(){const data=__webpack_require__(51114);return _uiFoundationUiUseBox2=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _menuNav(){const data=__webpack_require__(58072);return _menuNav=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(82769));return _menuModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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 ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function getComponentIdStr(componentIdStr){return(0,_lodash().isFunction)(componentIdStr)?componentIdStr():componentIdStr}function ComponentMenu({navigationSlot,widgetSlot,className,host,menuItemSlot,consumeMethodSlot,rightSideMenuSlot,componentIdStr,skipRightSide,RightNode,useComponent,path,useComponentFilters}){const idFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(),componentIdStrWithScopeFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(void 0,!0),_componentIdStr=getComponentIdStr(componentIdStr),componentId=_componentIdStr?_componentId().ComponentID.fromString(_componentIdStr):void 0,resolvedComponentIdStr=path||idFromLocation,mainMenuItems=(0,_react().useMemo)(()=>(0,_lodash().groupBy)((0,_lodash().flatten)(menuItemSlot.values()),"category"),[menuItemSlot]),rightSideItems=(0,_react().useMemo)(()=>(0,_lodash().orderBy)((0,_lodash().flatten)(rightSideMenuSlot.values()),"order"),[rightSideMenuSlot]),componentFilters=useComponentFilters?.()||{},useComponentVersions=defaultLoadVersions(host,componentId?.toString()||componentIdStrWithScopeFromLocation,componentFilters,useComponent),RightSide=_react().default.createElement("div",{className:_menuModule().default.rightSide},RightNode||_react().default.createElement(_react().default.Fragment,null,_react().default.createElement(VersionRelatedDropdowns,{host,consumeMethods:consumeMethodSlot,componentId:componentId?.toString()||idFromLocation,useComponent:useComponentVersions,componentFilters}),rightSideItems.map(({item})=>item),_react().default.createElement(_uiFoundationUi().MainDropdown,{className:_menuModule().default.hideOnMobile,menuItems:mainMenuItems})));return _react().default.createElement(_reactRouterDom().Routes,null,_react().default.createElement(_reactRouterDom().Route,{path:`${resolvedComponentIdStr}/*`,element:_react().default.createElement("div",{className:(0,_classnames().default)(_menuModule().default.topBar,className)},_react().default.createElement("div",{className:_menuModule().default.leftSide},_react().default.createElement(_menuNav().CollapsibleMenuNav,{navigationSlot,widgetSlot})),!skipRightSide&&_react().default.createElement("div",{className:_menuModule().default.rightSide},RightSide))}))}function defaultLoadVersions(host,componentId,componentFilters={},useComponent,loadingFromProps){return _react().default.useCallback(_props=>{const{skip,initialLoad}=_props||{},fetchOptions={logFilters:_objectSpread(_objectSpread({},componentFilters),{},{log:_objectSpread(_objectSpread({},componentFilters.log),{},{limit:initialLoad?3:void 0})}),skip:loadingFromProps||skip,customUseComponent:useComponent},{component,loading:loadingComponent,componentLogs={}}=(0,_useComponent().useComponent)(host,componentId,fetchOptions),logs=componentLogs?.logs,loading=_react().default.useMemo(()=>loadingComponent||loadingFromProps||componentLogs.loading,[loadingComponent,loadingFromProps,componentLogs.loading]),snaps=(0,_react().useMemo)(()=>(logs||[]).filter(log=>!log.tag).map(snap=>_objectSpread(_objectSpread({},snap),{},{version:snap.hash})),[logs]),tags=(0,_react().useMemo)(()=>{const tagLookup=new Map;return(logs||[]).filter(log=>log.tag).forEach(tag=>{tagLookup.set(tag?.tag,tag)}),(0,_lodash().compact)((component?.tags?.toArray()||[]).reverse().map(tag=>tagLookup.get(tag.version.version))).map(tag=>_objectSpread(_objectSpread({},tag),{},{version:tag.tag}))},[logs]);return{loading,id:component?.id,packageName:component?.packageName,latestVersion:component?.latest,currentVersion:component?.version,snaps,tags,buildStatus:component?.buildStatus}},[componentId,loadingFromProps,componentFilters])}const defaultLoadCurrentVersion=props=>_props=>{const{skip,version:_version}=_props||{},{snaps,tags,currentVersion,loading}=props.useComponent?.({skip,id:props.componentId})??{},version=_version??currentVersion;return _react().default.useMemo(()=>semver().valid(version),[loading,version])?_react().default.useMemo(()=>tags?.find(tag=>tag.tag===version),[loading,tags?.length,version]):_react().default.useMemo(()=>snaps?.find(snap=>snap.version===version),[loading,snaps?.length,version])};exports.defaultLoadCurrentVersion=defaultLoadCurrentVersion;function VersionRelatedDropdowns(props){const updatedPropsWithDefaults=_objectSpread(_objectSpread({},props),{},{useLanes:props.useLanes??_lanesHooks().useLanes,dropdownOptions:_objectSpread(_objectSpread({},props.dropdownOptions),{},{showVersionDetails:props?.dropdownOptions?.showVersionDetails??!0})}),loadVersion=defaultLoadCurrentVersion(updatedPropsWithDefaults),{useLanes,consumeMethods,className,dropdownOptions,host}=updatedPropsWithDefaults,{loading,id,tags,snaps,latest,packageName,currentVersion:_currentVersion}=props.useComponent?.({initialLoad:!0})||{},location=(0,_baseReactNavigation().useLocation)(),{lanesModel}=useLanes(),lanes=id?lanesModel?.getLanesByComponentId(id)?.filter(lane=>!lane.id.isDefault())||[]:[],viewedLane=lanesModel?.viewedLane?.id&&!lanesModel?.viewedLane?.id.isDefault()?lanesModel.viewedLane:void 0,isWorkspace=host==="teambit.workspace/workspace",isNew=tags?.length===0&&snaps?.length===0,localVersion=isWorkspace&&!isNew&&(!viewedLane||lanesModel?.isViewingCurrentLane()),currentVersion=isWorkspace&&!isNew&&!location?.search.includes("version")?"workspace":_currentVersion??"",consumeMethodProps=_react().default.useMemo(()=>id?{id,packageName:packageName??"",latest,options:{viewedLane,disableInstall:!packageName}}:void 0,[id,packageName,latest,viewedLane]),methods=useConsumeMethods(consumeMethods,consumeMethodProps),hasMethods=methods?.length>0;return _react().default.createElement(_react().default.Fragment,null,consumeMethods&&id&&hasMethods&&_react().default.createElement(_uiFoundationUiUseBox().UseBoxDropdown,{position:"bottom-end",className:(0,_classnames().default)(_menuModule().default.useBox,_menuModule().default.hideOnMobile),Menu:_react().default.createElement(_uiFoundationUiUseBox2().Menu,{methods,componentName:id.name})}),_react().default.createElement(_componentUi().VersionDropdown,{lanes,loading,useComponentVersions:props.useComponent,hasMoreVersions:!isNew,useCurrentVersionLog:loadVersion,localVersion,currentVersion,latestVersion:latest,currentLane:viewedLane,className,menuClassName:_menuModule().default.componentVersionMenu,getActiveTabIndex:dropdownOptions?.getActiveTabIndex,showVersionDetails:dropdownOptions?.showVersionDetails}))}function useConsumeMethods(consumeMethods,consumePluginProps){return(0,_react().useMemo)(()=>(0,_lodash().flatten)(consumeMethods?.values()).map(method=>{if(!!consumePluginProps)return method?.(consumePluginProps)}).filter(x=>!!x&&x.Component&&x.Title),[consumeMethods,consumePluginProps])}},82224:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _topBarNav=__webpack_require__(13264);Object.keys(_topBarNav).forEach(function(key){key==="default"||key==="__esModule"||key in exports&&exports[key]===_topBarNav[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _topBarNav[key]}})})},13264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TopBarNav=TopBarNav;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(12294);return _reactRouterDom=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(6231);return _baseReactNavigation=function(){return data},data}function _topBarNavModule(){const data=_interopRequireDefault(__webpack_require__(37987));return _topBarNavModule=function(){return data},data}const _excluded=["href","className","activeClassName","children","displayName","ignoreQueryParams"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function _objectWithoutProperties(e,t){if(e==null)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}function _objectWithoutPropertiesLoose(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}const Link=_baseReactNavigation().Link;function TopBarNav(_ref){let{href,className,activeClassName,children,displayName,ignoreQueryParams}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const{search}=(0,_reactRouterDom().useLocation)(),preventPassingDisplayNameToLink=displayName,target=href&&!ignoreQueryParams&&`${href}${search}`||href;return _react().default.createElement(Link,_extends({},rest,{className:(0,_classnames().default)(className,_topBarNavModule().default.topBarLink),activeClassName:(0,_classnames().default)(activeClassName,_topBarNavModule().default.active),href:target}),_react().default.createElement("div",null,children))}},39646:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIdFromLocation=useIdFromLocation;function _reactRouterDom(){const data=__webpack_require__(12294);return _reactRouterDom=function(){return data},data}const componentRegex=/^[\w/-]*[\w-]/;function useIdFromLocation(url,deriveScopeFromSearchParams){const params=(0,_reactRouterDom().useParams)(),[searchParams]=(0,_reactRouterDom().useSearchParams)(),scopeFromQueryParams=searchParams.get("scope")??void 0,splat=url||params["*"];if(!splat)return;const[maybeOrgWithScope,...maybeFullName]=splat.split("/"),hasScope=maybeOrgWithScope.split(".").length>1,fullNameFromUrl=hasScope?maybeFullName.join("/"):splat;let scope;hasScope&&(scope=maybeOrgWithScope),!hasScope&&deriveScopeFromSearchParams&&(scope=scopeFromQueryParams);const match=componentRegex.exec(fullNameFromUrl);if(!!match?.[0])return scope?`${scope}/${match[0]}`:match[0]}},11129:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentLogs=useComponentLogs,exports.useComponentLogsInit=useComponentLogsInit;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(48474);return _uiFoundationUiHooks=function(){return data},data}function _useComponent(){const data=__webpack_require__(86851);return _useComponent=function(){return data},data}function _componentError(){const data=__webpack_require__(70145);return _componentError=function(){return data},data}function _useComponent2(){const data=__webpack_require__(12645);return _useComponent2=function(){return data},data}function _(){const data=__webpack_require__(68211);return _=function(){return data},data}function useComponentLogs(componentId,host,filters,skipFromProps){const{variables,skip}=useComponentLogsInit(componentId,host,filters,skipFromProps),{data,error,loading}=(0,_uiFoundationUiHooks().useDataQuery)(_useComponent().GET_COMPONENT_WITH_LOGS,{variables,skip,errorPolicy:"all"}),rawComponent=data?.getHost?.get,rawCompLogs=rawComponent?.logs,componentError=error&&!data?new(_componentError()).ComponentError(500,error.message):!rawComponent&&!loading&&new(_componentError()).ComponentError(404)||void 0,idDepKey=rawComponent?.id?`${rawComponent?.id?.scope}/${rawComponent?.id?.name}@${rawComponent?.id?.version}}`:void 0,id=(0,_react().useMemo)(()=>rawComponent?_().ComponentID.fromObject(rawComponent.id):void 0,[idDepKey]);return{loading,id,packageName:rawComponent?.packageName,latest:rawComponent?.latest,error:componentError,componentLogs:{logs:rawCompLogs,loading}}}function useComponentLogsInit(componentId,host,filters,skip){const{log}=filters||{},{head:logHead,offset:logOffset,sort:logSort,limit:logLimit,type:logType,takeHeadFromComponent:logTakeHeadFromComponent}=log||{},variables={id:componentId,extensionId:host,logOffset:(0,_useComponent2().getOffsetValue)(logOffset,logLimit),logLimit,logType,logHead,logSort,logTakeHeadFromComponent};return{logOffset,variables,skip}}},62589:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentQuery=useComponentQuery;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(48474);return _uiFoundationUiHooks=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _componentDescriptor(){const data=__webpack_require__(57984);return _componentDescriptor=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _useComponent(){const data=__webpack_require__(86851);return _useComponent=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(11129);return _useComponentLogs=function(){return data},data}function _componentError(){const data=__webpack_require__(70145);return _componentError=function(){return data},data}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function useComponentQuery(componentId,host,filters,skip){const idRef=(0,_react().useRef)(componentId);idRef.current=componentId;const variables={id:componentId,extensionId:host},{data,error,loading,subscribeToMore}=(0,_uiFoundationUiHooks().useDataQuery)(_useComponent().GET_COMPONENT,{variables,skip,errorPolicy:"all"}),{loading:loadingLogs,componentLogs:{logs}={}}=(0,_useComponentLogs().useComponentLogs)(componentId,host,filters,skip),rawComponent=data?.getHost?.get;(0,_react().useEffect)(()=>{if(host!=="teambit.workspace/workspace")return()=>{};const unsubAddition=subscribeToMore({document:_useComponent().SUB_SUBSCRIPTION_ADDED,updateQuery:(prev,{subscriptionData})=>{const prevComponent=prev?.getHost?.get,addedComponent=subscriptionData?.data?.componentAdded?.component;return!addedComponent||prevComponent?prev:idRef.current===addedComponent.id.name?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:addedComponent})}):prev}}),unsubChanges=subscribeToMore({document:_useComponent().SUB_COMPONENT_CHANGED,updateQuery:(prev,{subscriptionData})=>{if(!subscriptionData.data)return prev;const prevComponent=prev?.getHost?.get,updatedComponent=subscriptionData?.data?.componentChanged?.component;return updatedComponent&&_componentId().ComponentID.isEqualObj(prevComponent?.id,updatedComponent?.id)?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:updatedComponent})}):prev}}),unsubRemoval=subscribeToMore({document:_useComponent().SUB_COMPONENT_REMOVED,updateQuery:(prev,{subscriptionData})=>{if(!subscriptionData.data)return prev;const prevComponent=prev?.getHost?.get,removedIds=subscriptionData?.data?.componentRemoved?.componentIds;return!prevComponent||!removedIds?.length?prev:removedIds.some(removedId=>_componentId().ComponentID.isEqualObj(removedId,prevComponent.id))?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:null})}):prev}});return()=>{unsubChanges(),unsubAddition(),unsubRemoval()}},[]);const idDepKey=rawComponent?.id?`${rawComponent?.id?.scope}/${rawComponent?.id?.name}@${rawComponent?.id?.version}}`:void 0,id=(0,_react().useMemo)(()=>rawComponent?_componentId().ComponentID.fromObject(rawComponent.id):void 0,[idDepKey]),componentError=error&&!data?new(_componentError()).ComponentError(500,error.message):!rawComponent&&!loading&&new(_componentError()).ComponentError(404)||void 0,component=(0,_react().useMemo)(()=>rawComponent?_componentModel().ComponentModel.from(_objectSpread(_objectSpread({},rawComponent),{},{host,logs})):void 0,[id?.toString(),logs]),componentDescriptor=(0,_react().useMemo)(()=>{const aspectList={entries:rawComponent?.aspects.map(aspectObject=>_objectSpread(_objectSpread({},aspectObject),{},{aspectId:aspectObject.id,aspectData:aspectObject.data}))};return id?_componentDescriptor().ComponentDescriptor.fromObject({id:id.toString(),aspectList}):void 0},[id?.toString()]);return(0,_react().useMemo)(()=>({componentDescriptor,component,componentLogs:{loading:loadingLogs,logs},error:componentError||void 0,loading}),[host,component,componentDescriptor,componentError])}},86851:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.componentOverviewFields=exports.componentIdFields=exports.componentFieldsWithLogs=exports.componentFields=exports.SUB_SUBSCRIPTION_ADDED=exports.SUB_COMPONENT_REMOVED=exports.SUB_COMPONENT_CHANGED=exports.GET_COMPONENT_WITH_LOGS=exports.GET_COMPONENT=exports.COMPONENT_QUERY_LOG_FIELDS=void 0;function _client(){const data=__webpack_require__(53574);return _client=function(){return data},data}const componentIdFields=exports.componentIdFields=(0,_client().gql)`
|
387
|
+
`;function useComponentHost(){const{data,loading}=(0,_uiFoundationUiHooks().useDataQuery)(COMPONENT_HOST);return!data||loading?{}:{host:_componentHostModel().ComponentHostModel.from(data)}}},68211:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"AspectData",{enumerable:!0,get:function(){return _aspectEntry().AspectData}}),Object.defineProperty(exports,"AspectEntry",{enumerable:!0,get:function(){return _aspectEntry().AspectEntry}}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menu().CollapsibleMenuNav}}),Object.defineProperty(exports,"Component",{enumerable:!0,get:function(){return _component2().Component}}),Object.defineProperty(exports,"ComponentAspect",{enumerable:!0,get:function(){return _component().ComponentAspect}}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _componentContext().ComponentContext}}),Object.defineProperty(exports,"ComponentDescriptorContext",{enumerable:!0,get:function(){return _componentContext().ComponentDescriptorContext}}),Object.defineProperty(exports,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _context().ComponentDescriptorProvider}}),Object.defineProperty(exports,"ComponentFS",{enumerable:!0,get:function(){return _componentFs().default}}),Object.defineProperty(exports,"ComponentID",{enumerable:!0,get:function(){return _componentId().ComponentID}}),Object.defineProperty(exports,"ComponentLogsResult",{enumerable:!0,get:function(){return _ui().ComponentLogsResult}}),Object.defineProperty(exports,"ComponentMap",{enumerable:!0,get:function(){return _componentMap().ComponentMap}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _context().ComponentProvider}}),Object.defineProperty(exports,"Config",{enumerable:!0,get:function(){return _config().Config}}),Object.defineProperty(exports,"Filters",{enumerable:!0,get:function(){return _ui().Filters}}),Object.defineProperty(exports,"InvalidComponent",{enumerable:!0,get:function(){return _component2().InvalidComponent}}),Object.defineProperty(exports,"ResolveComponentIdFunc",{enumerable:!0,get:function(){return _aspectEntry().ResolveComponentIdFunc}}),Object.defineProperty(exports,"Snap",{enumerable:!0,get:function(){return _snap().Snap}}),Object.defineProperty(exports,"SnapProps",{enumerable:!0,get:function(){return _snap().SnapProps}}),Object.defineProperty(exports,"State",{enumerable:!0,get:function(){return _state().State}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return _tag().Tag}}),Object.defineProperty(exports,"TagMap",{enumerable:!0,get:function(){return _tagMap().TagMap}}),Object.defineProperty(exports,"TagProps",{enumerable:!0,get:function(){return _tag().TagProps}}),Object.defineProperty(exports,"TopBarNav",{enumerable:!0,get:function(){return _topBarNav().TopBarNav}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}}),Object.defineProperty(exports,"componentFields",{enumerable:!0,get:function(){return _ui().componentFields}}),Object.defineProperty(exports,"componentIdFields",{enumerable:!0,get:function(){return _ui().componentIdFields}}),Object.defineProperty(exports,"componentOverviewFields",{enumerable:!0,get:function(){return _ui().componentOverviewFields}}),exports.default=void 0,Object.defineProperty(exports,"useComponent",{enumerable:!0,get:function(){return _ui().useComponent}}),Object.defineProperty(exports,"useComponentDescriptor",{enumerable:!0,get:function(){return _componentContext().useComponentDescriptor}}),Object.defineProperty(exports,"useComponentHost",{enumerable:!0,get:function(){return _host().useComponentHost}}),Object.defineProperty(exports,"useComponentLogs",{enumerable:!0,get:function(){return _ui().useComponentLogs}}),Object.defineProperty(exports,"useIdFromLocation",{enumerable:!0,get:function(){return _ui().useIdFromLocation}});function _component(){const data=__webpack_require__(42259);return _component=function(){return data},data}function _host(){const data=__webpack_require__(23384);return _host=function(){return data},data}function _component2(){const data=__webpack_require__(60195);return _component2=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _componentFs(){const data=_interopRequireDefault(__webpack_require__(11846));return _componentFs=function(){return data},data}function _aspectEntry(){const data=__webpack_require__(69301);return _aspectEntry=function(){return data},data}function _snap(){const data=__webpack_require__(8801);return _snap=function(){return data},data}function _tag(){const data=__webpack_require__(13801);return _tag=function(){return data},data}function _state(){const data=__webpack_require__(49784);return _state=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}function _componentMap(){const data=__webpack_require__(12178);return _componentMap=function(){return data},data}function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _ui(){const data=__webpack_require__(4744);return _ui=function(){return data},data}function _menu(){const data=__webpack_require__(70820);return _menu=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _config(){const data=__webpack_require__(5075);return _config=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _default=exports.default=_component().ComponentAspect},8801:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snap=void 0;class Snap{constructor(hash,timestamp,parents,author,message){this.hash=hash,this.timestamp=timestamp,this.parents=parents,this.author=author,this.message=message}static fromObject(snapObject){const parents=snapObject.parents||[];return new Snap(snapObject.hash,new Date(parseInt(snapObject.timestamp)),parents,snapObject.author,snapObject.message)}toObject(){return{timestamp:this.timestamp.getTime().toString(),hash:this.hash,author:this.author,message:this.message,parents:this.parents}}}exports.Snap=Snap},49784:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.State=void 0;function _componentIssues(){const data=__webpack_require__(86853);return _componentIssues=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class State{constructor(config,_aspects,filesystem,dependencies,_consumer){this.config=config,this._aspects=_aspects,this.filesystem=filesystem,this.dependencies=dependencies,this._consumer=_consumer}get mainFile(){const file=this.filesystem.files.find(componentFile=>componentFile.relative===this._consumer.mainFile);if(!file)throw new(_exceptions()).MainFileNotFound(_componentId().ComponentID.fromLegacy(this._consumer.id),this._consumer.mainFile);return file}get hash(){return""}get issues(){return this._consumer.issues||=new(_componentIssues()).IssuesList}get isModified(){return this._consumer._isModified}get aspects(){return this._aspects}set aspects(aspects){this._aspects=aspects}}exports.State=State},50310:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TagMap=void 0;function _pkgModules(){const data=__webpack_require__(27580);return _pkgModules=function(){return data},data}function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}function _exceptions(){const data=__webpack_require__(54428);return _exceptions=function(){return data},data}class TagMap extends Map{byHash(hash){return Array.from(this.values()).find(currTag=>currTag.hash===hash)}getPreReleaseLatestTags(){const preReleaseTagsWithAllVersions=this.toArray().reduce((acc,current)=>{const preReleases=current.version.prerelease;return!preReleases.length||preReleases.length!==2||typeof preReleases[0]!="string"||(acc[preReleases[0]]||=[]).push(current.version.raw),acc},{});return Object.keys(preReleaseTagsWithAllVersions).reduce((acc,current)=>(acc[current]=(0,_semver().maxSatisfying)(preReleaseTagsWithAllVersions[current],"*",{includePrerelease:!0}),acc),{})}getHashMap(){const res=new Map;return this.forEach(tag=>{res.set(tag.hash,tag)}),res}getLatest(){const versions=this.toArray().map(tag=>tag.version.raw);if(this.isEmpty())throw new(_exceptions()).CouldNotFindLatest(versions);return(0,_pkgModules().getLatestVersion)(versions)}isEmpty(){return this.size===0}toArray(){return Array.from(this.values())}byVersion(version){return this.toArray().map(tag=>tag).find(tag=>tag.version.raw===version)}static fromArray(tags){const tuples=tags.map(tag=>[tag.version,tag]);return new TagMap(tuples)}static empty(){return new TagMap}}exports.TagMap=TagMap},47769:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return _tag().Tag}});function _tag(){const data=__webpack_require__(13801);return _tag=function(){return data},data}},13801:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tag=void 0;function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}class Tag{constructor(hash,version){this.hash=hash,this.version=version}toObject(){return{hash:this.hash,version:this.version.raw}}static fromObject(tag){return new Tag(tag.hash,new(_semver()).SemVer(tag.version))}}exports.Tag=Tag},6315:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentError=void 0;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _designUiPages(){const data=__webpack_require__(96352);return _designUiPages=function(){return data},data}function _designUiPages2(){const data=__webpack_require__(83698);return _designUiPages2=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class ComponentError{constructor(code,message){this.code=code,this.message=message}renderError(){return this.code===404?_react().default.createElement(_designUiPages().NotFoundPage,null):_react().default.createElement(_designUiPages2().ServerErrorPage,null)}}exports.ComponentError=ComponentError},70145:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentError",{enumerable:!0,get:function(){return _componentError().ComponentError}});function _componentError(){const data=__webpack_require__(6315);return _componentError=function(){return data},data}},46265:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentModel=void 0;function _compositions(){const data=__webpack_require__(32552);return _compositions=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _tag(){const data=__webpack_require__(47769);return _tag=function(){return data},data}function _tagMap(){const data=__webpack_require__(50310);return _tagMap=function(){return data},data}class ComponentModel{constructor(id,displayName,packageName,server,compositions,tags,buildStatus,issuesCount,status,deprecation,environment,description="",labels=[],host,size,latest,preview,logs){this.id=id,this.displayName=displayName,this.packageName=packageName,this.server=server,this.compositions=compositions,this.tags=tags,this.buildStatus=buildStatus,this.issuesCount=issuesCount,this.status=status,this.deprecation=deprecation,this.environment=environment,this.description=description,this.labels=labels,this.host=host,this.size=size,this.latest=latest,this.preview=preview,this.logs=logs}get version(){return this.id.version?this.id.version:"new"}static from({id,server,displayName,compositions=[],packageName,tags=[],deprecation,buildStatus,env,status,issuesCount,description,labels,host,latest,preview,size,logs}){return new ComponentModel(_componentId().ComponentID.fromObject(id),displayName,packageName,server,_compositions().Composition.fromArray(compositions),_tagMap().TagMap.fromArray(tags.map(tag=>_tag().Tag.fromObject(tag))),buildStatus,issuesCount,status,deprecation,env,description,labels,host,size,latest,preview,logs?.map(log=>log??{hash:"[error]",tag:"[error]",message:"",parents:[]}))}static fromArray(componentsProps){return componentsProps.map(rawComponent=>ComponentModel.from(rawComponent))}static empty(){return new ComponentModel(_componentId().ComponentID.fromObject({name:"root",scope:"temp"}),"","",{env:"",url:""},[],_tagMap().TagMap.empty())}}exports.ComponentModel=ComponentModel},77237:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentModelProps",{enumerable:!0,get:function(){return _componentModel().ComponentModelProps}});function _componentModel(){const data=__webpack_require__(46265);return _componentModel=function(){return data},data}},34146:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=Component;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _lodash(){const data=_interopRequireDefault(__webpack_require__(11549));return _lodash=function(){return data},data}function _uiFoundationUiReactRouter(){const data=__webpack_require__(24681);return _uiFoundationUiReactRouter=function(){return data},data}function _lodash2(){const data=__webpack_require__(32699);return _lodash2=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _(){const data=__webpack_require__(68211);return _=function(){return data},data}function _componentModule(){const data=_interopRequireDefault(__webpack_require__(42058));return _componentModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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 ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function getComponentIdStr(componentIdStr){return(0,_lodash2().isFunction)(componentIdStr)?componentIdStr():componentIdStr}function Component({routeSlot,overriddenRoutes,containerSlot,host,onComponentChange,componentIdStr,useComponent,path,useComponentFilters}){const idFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(),componentIdStrWithScopeFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(void 0,!0),_componentIdStr=getComponentIdStr(componentIdStr),componentId=_componentIdStr?_().ComponentID.fromString(_componentIdStr):void 0,resolvedComponentIdStr=path||idFromLocation,componentFiltersFromProps=useComponentFilters?.()||{},useComponentOptions={logFilters:_objectSpread(_objectSpread({},componentFiltersFromProps),componentFiltersFromProps.loading?{}:{log:_objectSpread({},componentFiltersFromProps.log)}),customUseComponent:useComponent},{component,componentDescriptor,error}=(0,_useComponent().useComponent)(host,componentId?.toString()||componentIdStrWithScopeFromLocation,useComponentOptions);(0,_react().useEffect)(()=>onComponentChange?.(component),[component]),(0,_react().useEffect)(()=>()=>onComponentChange?.(void 0),[]);const pageItems=(0,_react().useMemo)(()=>(0,_lodash().default)(containerSlot?.values()),[containerSlot]),before=(0,_react().useMemo)(()=>pageItems.filter(x=>x.type==="before").map(x=>x.content),[pageItems]),after=(0,_react().useMemo)(()=>pageItems.filter(x=>x.type==="after").map(x=>x.content),[pageItems]);return error?error?.renderError():component?_react().default.createElement(_context().ComponentDescriptorProvider,{componentDescriptor},_react().default.createElement(_context().ComponentProvider,{component},before,_react().default.createElement("div",{className:_componentModule().default.container},routeSlot&&_react().default.createElement(_uiFoundationUiReactRouter().SlotRouter,{parentPath:`${resolvedComponentIdStr}/*`,slot:routeSlot,routes:overriddenRoutes})),after)):_react().default.createElement("div",null)}},48841:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentDescriptor=exports.ComponentDescriptorContext=exports.ComponentContext=void 0;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}const ComponentContext=exports.ComponentContext=(0,_react().createContext)(_componentModel().ComponentModel.empty()),ComponentDescriptorContext=exports.ComponentDescriptorContext=(0,_react().createContext)(void 0),useComponentDescriptor=()=>(0,_react().useContext)(ComponentDescriptorContext);exports.useComponentDescriptor=useComponentDescriptor},9994:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentDescriptorProvider=ComponentDescriptorProvider,exports.ComponentProvider=ComponentProvider;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ComponentProvider({component,children}){return _react().default.createElement(_componentContext().ComponentContext.Provider,{value:component},children)}function ComponentDescriptorProvider({componentDescriptor,children}){return _react().default.createElement(_componentContext().ComponentDescriptorContext.Provider,{value:componentDescriptor},children)}},58431:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _componentContext().ComponentContext}}),Object.defineProperty(exports,"ComponentDescriptorContext",{enumerable:!0,get:function(){return _componentContext().ComponentDescriptorContext}}),Object.defineProperty(exports,"ComponentDescriptorProvider",{enumerable:!0,get:function(){return _componentProvider().ComponentDescriptorProvider}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _componentProvider().ComponentProvider}}),Object.defineProperty(exports,"useComponentDescriptor",{enumerable:!0,get:function(){return _componentContext().useComponentDescriptor}});function _componentContext(){const data=__webpack_require__(48841);return _componentContext=function(){return data},data}function _componentProvider(){const data=__webpack_require__(9994);return _componentProvider=function(){return data},data}},4744:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"COMPONENT_QUERY_LOG_FIELDS",{enumerable:!0,get:function(){return _useComponent2().COMPONENT_QUERY_LOG_FIELDS}}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menu().CollapsibleMenuNav}}),Object.defineProperty(exports,"Component",{enumerable:!0,get:function(){return _component().Component}}),Object.defineProperty(exports,"ComponentContext",{enumerable:!0,get:function(){return _context().ComponentContext}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"ComponentModel",{enumerable:!0,get:function(){return _componentModel().ComponentModel}}),Object.defineProperty(exports,"ComponentModelProps",{enumerable:!0,get:function(){return _componentModel().ComponentModelProps}}),Object.defineProperty(exports,"ComponentProvider",{enumerable:!0,get:function(){return _context().ComponentProvider}}),Object.defineProperty(exports,"ConsumeMethodSlot",{enumerable:!0,get:function(){return _menu().ConsumeMethodSlot}}),Object.defineProperty(exports,"GET_COMPONENT",{enumerable:!0,get:function(){return _useComponent2().GET_COMPONENT}}),Object.defineProperty(exports,"GET_COMPONENT_WITH_LOGS",{enumerable:!0,get:function(){return _useComponent2().GET_COMPONENT_WITH_LOGS}}),Object.defineProperty(exports,"MenuNavProps",{enumerable:!0,get:function(){return _menu().MenuNavProps}}),Object.defineProperty(exports,"TopBarNav",{enumerable:!0,get:function(){return _topBarNav().TopBarNav}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}}),Object.defineProperty(exports,"componentFields",{enumerable:!0,get:function(){return _useComponent2().componentFields}}),Object.defineProperty(exports,"componentFieldsWithLogs",{enumerable:!0,get:function(){return _useComponent2().componentFieldsWithLogs}}),Object.defineProperty(exports,"componentIdFields",{enumerable:!0,get:function(){return _useComponent2().componentIdFields}}),Object.defineProperty(exports,"componentOverviewFields",{enumerable:!0,get:function(){return _useComponent2().componentOverviewFields}}),Object.defineProperty(exports,"useComponent",{enumerable:!0,get:function(){return _useComponent().useComponent}}),Object.defineProperty(exports,"useComponentLogs",{enumerable:!0,get:function(){return _useComponentLogs().useComponentLogs}}),Object.defineProperty(exports,"useComponentQuery",{enumerable:!0,get:function(){return _useComponentQuery().useComponentQuery}}),Object.defineProperty(exports,"useIdFromLocation",{enumerable:!0,get:function(){return _useComponentFromLocation().useIdFromLocation}});function _menu(){const data=__webpack_require__(70820);return _menu=function(){return data},data}function _component(){const data=__webpack_require__(34146);return _component=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _context(){const data=__webpack_require__(58431);return _context=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _useComponent2(){const data=__webpack_require__(86851);return _useComponent2=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(62589);return _useComponentQuery=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(11129);return _useComponentLogs=function(){return data},data}},70820:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"CollapsibleMenuNav",{enumerable:!0,get:function(){return _menuNav().CollapsibleMenuNav}}),Object.defineProperty(exports,"ComponentMenu",{enumerable:!0,get:function(){return _menu().ComponentMenu}}),Object.defineProperty(exports,"MenuNavProps",{enumerable:!0,get:function(){return _menuNav().MenuNavProps}}),Object.defineProperty(exports,"RightSideMenuItem",{enumerable:!0,get:function(){return _menu().RightSideMenuItem}}),Object.defineProperty(exports,"RightSideMenuSlot",{enumerable:!0,get:function(){return _menu().RightSideMenuSlot}}),Object.defineProperty(exports,"VersionRelatedDropdowns",{enumerable:!0,get:function(){return _menu().VersionRelatedDropdowns}});function _menuNav(){const data=__webpack_require__(58072);return _menuNav=function(){return data},data}function _menu(){const data=__webpack_require__(23813);return _menu=function(){return data},data}},58072:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CollapsibleMenuNav=CollapsibleMenuNav;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _designNavigation(){const data=__webpack_require__(76055);return _designNavigation=function(){return data},data}function _topBarNav(){const data=__webpack_require__(82224);return _topBarNav=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(82769));return _menuModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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 ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function TopBarNavComponent({isInMenu,menuItemProps}){const widgetDisplayText=menuItemProps?.displayName&&isInMenu?menuItemProps?.displayName:void 0;return _react().default.createElement(_topBarNav().TopBarNav,_extends({},menuItemProps,{className:(0,_classnames().default)(menuItemProps?.className,_menuModule().default.topBarNav,isInMenu&&_menuModule().default.noBorder)}),widgetDisplayText||menuItemProps?.children)}function CollapsibleMenuNav({navigationSlot,widgetSlot,navPlugins=[],widgetPlugins=[],className,secondaryNavClassName,activeTabIndex,alwaysShowActiveTab,children}){const plugins=(0,_react().useMemo)(()=>((navPlugins.length>0?navPlugins:navigationSlot?.toArray())||[]).sort(sortFn),[navigationSlot,navPlugins]),widgets=(0,_react().useMemo)(()=>((widgetPlugins.length>0?widgetPlugins:widgetSlot?.toArray())||[]).sort(sortFn),[widgetSlot,widgetPlugins]),links=[...plugins,...widgets].map(([,menuItem],index)=>{const lastPluginStyle=plugins.length-1===index?{marginRight:"auto"}:{},firstWidgetStyle=plugins.length===index?{marginLeft:"auto"}:{};return{component:TopBarNavComponent,tabProps:{menuItemProps:menuItem.props},style:_objectSpread(_objectSpread({},firstWidgetStyle),lastPluginStyle),className:menuItem.props.className}});return _react().default.createElement(_designNavigation().ResponsiveNavbar,{navClassName:(0,_classnames().default)(_menuModule().default.tab,className),secondaryNavClassName,style:{width:"100%",height:"100%"},priority:"none",tabs:links,defaultActiveIndex:activeTabIndex,alwaysShowActiveTab},children)}function sortFn([,{order:first}],[,{order:second}]){return(first??0)-(second??0)}},23813:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentMenu=ComponentMenu,exports.VersionRelatedDropdowns=VersionRelatedDropdowns,exports.defaultLoadCurrentVersion=void 0,exports.defaultLoadVersions=defaultLoadVersions;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(12294);return _reactRouterDom=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function semver(){const data=_interopRequireWildcard(__webpack_require__(9131));return semver=function(){return data},data}function _componentUi(){const data=__webpack_require__(24636);return _componentUi=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(69952);return _uiFoundationUi=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(6231);return _baseReactNavigation=function(){return data},data}function _uiFoundationUiUseBox(){const data=__webpack_require__(53179);return _uiFoundationUiUseBox=function(){return data},data}function _lanesHooks(){const data=__webpack_require__(33461);return _lanesHooks=function(){return data},data}function _uiFoundationUiUseBox2(){const data=__webpack_require__(51114);return _uiFoundationUiUseBox2=function(){return data},data}function _useComponent(){const data=__webpack_require__(21268);return _useComponent=function(){return data},data}function _menuNav(){const data=__webpack_require__(58072);return _menuNav=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(39646);return _useComponentFromLocation=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(82769));return _menuModule=function(){return data},data}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}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 ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function getComponentIdStr(componentIdStr){return(0,_lodash().isFunction)(componentIdStr)?componentIdStr():componentIdStr}function ComponentMenu({navigationSlot,widgetSlot,className,host,menuItemSlot,consumeMethodSlot,rightSideMenuSlot,componentIdStr,skipRightSide,RightNode,useComponent,path,useComponentFilters}){const idFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(),componentIdStrWithScopeFromLocation=(0,_useComponentFromLocation().useIdFromLocation)(void 0,!0),_componentIdStr=getComponentIdStr(componentIdStr),componentId=_componentIdStr?_componentId().ComponentID.fromString(_componentIdStr):void 0,resolvedComponentIdStr=path||idFromLocation,mainMenuItems=(0,_react().useMemo)(()=>(0,_lodash().groupBy)((0,_lodash().flatten)(menuItemSlot.values()),"category"),[menuItemSlot]),rightSideItems=(0,_react().useMemo)(()=>(0,_lodash().orderBy)((0,_lodash().flatten)(rightSideMenuSlot.values()),"order"),[rightSideMenuSlot]),componentFilters=useComponentFilters?.()||{},useComponentVersions=defaultLoadVersions(host,componentId?.toString()||componentIdStrWithScopeFromLocation,componentFilters,useComponent),RightSide=_react().default.createElement("div",{className:_menuModule().default.rightSide},RightNode||_react().default.createElement(_react().default.Fragment,null,_react().default.createElement(VersionRelatedDropdowns,{host,consumeMethods:consumeMethodSlot,componentId:componentId?.toString()||idFromLocation,useComponent:useComponentVersions,componentFilters}),rightSideItems.map(({item})=>item),_react().default.createElement(_uiFoundationUi().MainDropdown,{className:_menuModule().default.hideOnMobile,menuItems:mainMenuItems})));return _react().default.createElement(_reactRouterDom().Routes,null,_react().default.createElement(_reactRouterDom().Route,{path:`${resolvedComponentIdStr}/*`,element:_react().default.createElement("div",{className:(0,_classnames().default)(_menuModule().default.topBar,className)},_react().default.createElement("div",{className:_menuModule().default.leftSide},_react().default.createElement(_menuNav().CollapsibleMenuNav,{navigationSlot,widgetSlot})),!skipRightSide&&_react().default.createElement("div",{className:_menuModule().default.rightSide},RightSide))}))}function defaultLoadVersions(host,componentId,componentFilters={},useComponent,loadingFromProps){return _react().default.useCallback(_props=>{const{skip,initialLoad}=_props||{},fetchOptions={logFilters:_objectSpread(_objectSpread({},componentFilters),{},{log:_objectSpread(_objectSpread({},componentFilters.log),{},{limit:initialLoad?3:void 0})}),skip:loadingFromProps||skip,customUseComponent:useComponent},{component,loading:loadingComponent,componentLogs={}}=(0,_useComponent().useComponent)(host,componentId,fetchOptions),logs=componentLogs?.logs,loading=_react().default.useMemo(()=>loadingComponent||loadingFromProps||componentLogs.loading,[loadingComponent,loadingFromProps,componentLogs.loading]),snaps=(0,_react().useMemo)(()=>(logs||[]).filter(log=>!log.tag).map(snap=>_objectSpread(_objectSpread({},snap),{},{version:snap.hash})),[logs]),tags=(0,_react().useMemo)(()=>{const tagLookup=new Map;return(logs||[]).filter(log=>log.tag).forEach(tag=>{tagLookup.set(tag?.tag,tag)}),(0,_lodash().compact)((component?.tags?.toArray()||[]).reverse().map(tag=>tagLookup.get(tag.version.version))).map(tag=>_objectSpread(_objectSpread({},tag),{},{version:tag.tag}))},[logs]);return{loading,id:component?.id,packageName:component?.packageName,latestVersion:component?.latest,currentVersion:component?.version,snaps,tags,buildStatus:component?.buildStatus}},[componentId,loadingFromProps,componentFilters])}const defaultLoadCurrentVersion=props=>_props=>{const{skip,version:_version}=_props||{},{snaps,tags,currentVersion,loading}=props.useComponent?.({skip,id:props.componentId})??{},version=_version??currentVersion;return _react().default.useMemo(()=>semver().valid(version),[loading,version])?_react().default.useMemo(()=>tags?.find(tag=>tag.tag===version),[loading,tags?.length,version]):_react().default.useMemo(()=>snaps?.find(snap=>snap.version===version),[loading,snaps?.length,version])};exports.defaultLoadCurrentVersion=defaultLoadCurrentVersion;function VersionRelatedDropdowns(props){const updatedPropsWithDefaults=_objectSpread(_objectSpread({},props),{},{useLanes:props.useLanes??_lanesHooks().useLanes,dropdownOptions:_objectSpread(_objectSpread({},props.dropdownOptions),{},{showVersionDetails:props?.dropdownOptions?.showVersionDetails??!0})}),loadVersion=defaultLoadCurrentVersion(updatedPropsWithDefaults),{useLanes,consumeMethods,className,dropdownOptions,host}=updatedPropsWithDefaults,{loading,id,tags,snaps,latest,packageName,currentVersion:_currentVersion}=props.useComponent?.({initialLoad:!0})||{},location=(0,_baseReactNavigation().useLocation)(),{lanesModel}=useLanes(),lanes=id?lanesModel?.getLanesByComponentId(id)?.filter(lane=>!lane.id.isDefault())||[]:[],viewedLane=lanesModel?.viewedLane?.id&&!lanesModel?.viewedLane?.id.isDefault()?lanesModel.viewedLane:void 0,isWorkspace=host==="teambit.workspace/workspace",isNew=tags?.length===0&&snaps?.length===0,localVersion=isWorkspace&&!isNew&&(!viewedLane||lanesModel?.isViewingCurrentLane()),currentVersion=isWorkspace&&!isNew&&!location?.search.includes("version")?"workspace":_currentVersion??"",consumeMethodProps=_react().default.useMemo(()=>id?{id,packageName:packageName??"",latest,options:{viewedLane,disableInstall:!packageName}}:void 0,[id,packageName,latest,viewedLane]),methods=useConsumeMethods(consumeMethods,consumeMethodProps),hasMethods=methods?.length>0;return _react().default.createElement(_react().default.Fragment,null,consumeMethods&&id&&hasMethods&&_react().default.createElement(_uiFoundationUiUseBox().UseBoxDropdown,{position:"bottom-end",className:(0,_classnames().default)(_menuModule().default.useBox,_menuModule().default.hideOnMobile),Menu:_react().default.createElement(_uiFoundationUiUseBox2().Menu,{methods,componentName:id.name})}),_react().default.createElement(_componentUi().VersionDropdown,{lanes,loading,useComponentVersions:props.useComponent,hasMoreVersions:!isNew,useCurrentVersionLog:loadVersion,localVersion,currentVersion,latestVersion:latest,currentLane:viewedLane,className,menuClassName:_menuModule().default.componentVersionMenu,getActiveTabIndex:dropdownOptions?.getActiveTabIndex,showVersionDetails:dropdownOptions?.showVersionDetails}))}function useConsumeMethods(consumeMethods,consumePluginProps){return(0,_react().useMemo)(()=>(0,_lodash().flatten)(consumeMethods?.values()).map(method=>{if(!!consumePluginProps)return method?.(consumePluginProps)}).filter(x=>!!x&&x.Component&&x.Title),[consumeMethods,consumePluginProps])}},82224:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _topBarNav=__webpack_require__(13264);Object.keys(_topBarNav).forEach(function(key){key==="default"||key==="__esModule"||key in exports&&exports[key]===_topBarNav[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _topBarNav[key]}})})},13264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TopBarNav=TopBarNav;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(12294);return _reactRouterDom=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(6231);return _baseReactNavigation=function(){return data},data}function _topBarNavModule(){const data=_interopRequireDefault(__webpack_require__(37987));return _topBarNavModule=function(){return data},data}const _excluded=["href","className","activeClassName","children","displayName","ignoreQueryParams"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}function _objectWithoutProperties(e,t){if(e==null)return{};var o,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}function _objectWithoutPropertiesLoose(r,e){if(r==null)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}const Link=_baseReactNavigation().Link;function TopBarNav(_ref){let{href,className,activeClassName,children,displayName,ignoreQueryParams}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const{search}=(0,_reactRouterDom().useLocation)(),preventPassingDisplayNameToLink=displayName,target=href&&!ignoreQueryParams&&`${href}${search}`||href;return _react().default.createElement(Link,_extends({},rest,{className:(0,_classnames().default)(className,_topBarNavModule().default.topBarLink),activeClassName:(0,_classnames().default)(activeClassName,_topBarNavModule().default.active),href:target}),_react().default.createElement("div",null,children))}},39646:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIdFromLocation=useIdFromLocation;function _reactRouterDom(){const data=__webpack_require__(12294);return _reactRouterDom=function(){return data},data}const componentRegex=/^[\w/-]*[\w-]/;function useIdFromLocation(url,deriveScopeFromSearchParams){const params=(0,_reactRouterDom().useParams)(),[searchParams]=(0,_reactRouterDom().useSearchParams)(),scopeFromQueryParams=searchParams.get("scope")??void 0,splat=url||params["*"];if(!splat)return;const[maybeOrgWithScope,...maybeFullName]=splat.split("/"),hasScope=maybeOrgWithScope.split(".").length>1,fullNameFromUrl=hasScope?maybeFullName.join("/"):splat;let scope;hasScope&&(scope=maybeOrgWithScope),!hasScope&&deriveScopeFromSearchParams&&(scope=scopeFromQueryParams);const match=componentRegex.exec(fullNameFromUrl);if(!!match?.[0])return scope?`${scope}/${match[0]}`:match[0]}},11129:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentLogs=useComponentLogs,exports.useComponentLogsInit=useComponentLogsInit;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(48474);return _uiFoundationUiHooks=function(){return data},data}function _useComponent(){const data=__webpack_require__(86851);return _useComponent=function(){return data},data}function _componentError(){const data=__webpack_require__(70145);return _componentError=function(){return data},data}function _useComponent2(){const data=__webpack_require__(12645);return _useComponent2=function(){return data},data}function _(){const data=__webpack_require__(68211);return _=function(){return data},data}function useComponentLogs(componentId,host,filters,skipFromProps){const{variables,skip}=useComponentLogsInit(componentId,host,filters,skipFromProps),{data,error,loading}=(0,_uiFoundationUiHooks().useDataQuery)(_useComponent().GET_COMPONENT_WITH_LOGS,{variables,skip,errorPolicy:"all"}),rawComponent=data?.getHost?.get,rawCompLogs=rawComponent?.logs,componentError=error&&!data?new(_componentError()).ComponentError(500,error.message):!rawComponent&&!loading&&new(_componentError()).ComponentError(404)||void 0,idDepKey=rawComponent?.id?`${rawComponent?.id?.scope}/${rawComponent?.id?.name}@${rawComponent?.id?.version}}`:void 0,id=(0,_react().useMemo)(()=>rawComponent?_().ComponentID.fromObject(rawComponent.id):void 0,[idDepKey]);return{loading,id,packageName:rawComponent?.packageName,latest:rawComponent?.latest,error:componentError,componentLogs:{logs:rawCompLogs,loading}}}function useComponentLogsInit(componentId,host,filters,skip){const{log}=filters||{},{head:logHead,offset:logOffset,sort:logSort,limit:logLimit,type:logType,takeHeadFromComponent:logTakeHeadFromComponent}=log||{},variables={id:componentId,extensionId:host,logOffset:(0,_useComponent2().getOffsetValue)(logOffset,logLimit),logLimit,logType,logHead,logSort,logTakeHeadFromComponent};return{logOffset,variables,skip}}},62589:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentQuery=useComponentQuery;function _react(){const data=__webpack_require__(59496);return _react=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(48474);return _uiFoundationUiHooks=function(){return data},data}function _componentId(){const data=__webpack_require__(99978);return _componentId=function(){return data},data}function _componentDescriptor(){const data=__webpack_require__(57984);return _componentDescriptor=function(){return data},data}function _componentModel(){const data=__webpack_require__(77237);return _componentModel=function(){return data},data}function _useComponent(){const data=__webpack_require__(86851);return _useComponent=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(11129);return _useComponentLogs=function(){return data},data}function _componentError(){const data=__webpack_require__(70145);return _componentError=function(){return data},data}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r2){_defineProperty(e,r2,t[r2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r2){Object.defineProperty(e,r2,Object.getOwnPropertyDescriptor(t,r2))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:i+""}function _toPrimitive(t,r){if(typeof t!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var i=e.call(t,r||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function useComponentQuery(componentId,host,filters,skip){const idRef=(0,_react().useRef)(componentId);idRef.current=componentId;const variables={id:componentId,extensionId:host},{data,error,loading,subscribeToMore}=(0,_uiFoundationUiHooks().useDataQuery)(_useComponent().GET_COMPONENT,{variables,skip,errorPolicy:"all"}),{loading:loadingLogs,componentLogs:{logs}={}}=(0,_useComponentLogs().useComponentLogs)(componentId,host,filters,skip),rawComponent=data?.getHost?.get;(0,_react().useEffect)(()=>{if(host!=="teambit.workspace/workspace")return()=>{};const unsubAddition=subscribeToMore({document:_useComponent().SUB_SUBSCRIPTION_ADDED,updateQuery:(prev,{subscriptionData})=>{const prevComponent=prev?.getHost?.get,addedComponent=subscriptionData?.data?.componentAdded?.component;return!addedComponent||prevComponent?prev:idRef.current===addedComponent.id.name?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:addedComponent})}):prev}}),unsubChanges=subscribeToMore({document:_useComponent().SUB_COMPONENT_CHANGED,updateQuery:(prev,{subscriptionData})=>{if(!subscriptionData.data)return prev;const prevComponent=prev?.getHost?.get,updatedComponent=subscriptionData?.data?.componentChanged?.component;return updatedComponent&&_componentId().ComponentID.isEqualObj(prevComponent?.id,updatedComponent?.id)?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:updatedComponent})}):prev}}),unsubRemoval=subscribeToMore({document:_useComponent().SUB_COMPONENT_REMOVED,updateQuery:(prev,{subscriptionData})=>{if(!subscriptionData.data)return prev;const prevComponent=prev?.getHost?.get,removedIds=subscriptionData?.data?.componentRemoved?.componentIds;return!prevComponent||!removedIds?.length?prev:removedIds.some(removedId=>_componentId().ComponentID.isEqualObj(removedId,prevComponent.id))?_objectSpread(_objectSpread({},prev),{},{getHost:_objectSpread(_objectSpread({},prev.getHost),{},{get:null})}):prev}});return()=>{unsubChanges(),unsubAddition(),unsubRemoval()}},[]);const idDepKey=rawComponent?.id?`${rawComponent?.id?.scope}/${rawComponent?.id?.name}@${rawComponent?.id?.version}}`:void 0,id=(0,_react().useMemo)(()=>rawComponent?_componentId().ComponentID.fromObject(rawComponent.id):void 0,[idDepKey]),componentError=error&&!data?new(_componentError()).ComponentError(500,error.message):!rawComponent&&!loading&&new(_componentError()).ComponentError(404)||void 0,component=(0,_react().useMemo)(()=>rawComponent?_componentModel().ComponentModel.from(_objectSpread(_objectSpread({},rawComponent),{},{host,logs})):void 0,[id?.toString(),logs]),componentDescriptor=(0,_react().useMemo)(()=>{const aspectList={entries:rawComponent?.aspects.map(aspectObject=>_objectSpread(_objectSpread({},aspectObject),{},{aspectId:aspectObject.id,aspectData:aspectObject.data}))};return id?_componentDescriptor().ComponentDescriptor.fromObject({id:id.toString(),aspectList}):void 0},[id?.toString()]);return(0,_react().useMemo)(()=>({componentDescriptor,component,componentLogs:{loading:loadingLogs,logs},error:componentError||void 0,loading}),[host,component,componentDescriptor,componentError])}},86851:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.componentOverviewFields=exports.componentIdFields=exports.componentFieldsWithLogs=exports.componentFields=exports.SUB_SUBSCRIPTION_ADDED=exports.SUB_COMPONENT_REMOVED=exports.SUB_COMPONENT_CHANGED=exports.GET_COMPONENT_WITH_LOGS=exports.GET_COMPONENT=exports.COMPONENT_QUERY_LOG_FIELDS=void 0;function _client(){const data=__webpack_require__(53574);return _client=function(){return data},data}const componentIdFields=exports.componentIdFields=(0,_client().gql)`
|
388
388
|
fragment componentIdFields on ComponentID {
|
389
389
|
name
|
390
390
|
version
|