@teambit/env 1.0.208 → 1.0.209

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@
8
8
  *
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 replace(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,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,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){basename===void 0&&(basename="/");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)}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){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);if(!match)return null;Object.assign(matchedParams,match.params);let route=meta.route;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===matches.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(data,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(data),_extends({},responseInit,{headers}))};class AbortedDeferredError extends Error{}class DeferredData{constructor(data,responseInit){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],invariant(data&&typeof data=="object"&&!Array.isArray(data),"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(data).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(data=>this.onSettle(promise,key,void 0,data),error=>this.onSettle(promise,key,error));return promise.catch(()=>{}),Object.defineProperty(promise,"_tracked",{get:()=>!0}),promise}onSettle(promise,key,error,data){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&&data===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 data===void 0?(Object.defineProperty(promise,"_error",{get:()=>error}),this.emit(!1,key),Promise.reject(error)):(Object.defineProperty(promise,"_data",{get:()=>data}),this.emit(!1,key),data)}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(data,init){init===void 0&&(init={});let responseInit=typeof init=="number"?{status:init}:init;return new DeferredData(data,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};class ErrorResponseImpl{constructor(status,statusText,data,internal){internal===void 0&&(internal=!1),this.status=status,this.statusText=statusText||"",this.internal=internal,data instanceof Error?(this.data=data.toString(),this.error=data):this.data=data}}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||"/",future=_extends({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},init.future),unlistenHistory=null,subscribers=new Set,savedScrollPositions=null,getScrollRestorationKey=null,getScrollPosition=null,initialScrollRestored=init.hydrationData!=null,initialMatches=matchRoutes(dataRoutes,init.history.location,basename),initialErrors=null;if(initialMatches==null){let error=getInternalRouterError(404,{pathname:init.history.location.pathname}),{matches,route}=getShortCircuitMatches(dataRoutes);initialMatches=matches,initialErrors={[route.id]:error}}let initialized,hasLazyRoutes=initialMatches.some(m=>m.route.lazy),hasLoaders=initialMatches.some(m=>m.route.loader);if(hasLazyRoutes)initialized=!1;else if(!hasLoaders)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?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;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=[],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,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=[],cancelledFetcherLoads=[]}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;if(!matches){let error=getInternalRouterError(404,{pathname:location.pathname}),{matches:notFoundMatches,route}=getShortCircuitMatches(routesToUse);cancelActiveDeferreds(),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),pendingActionData,pendingError;if(opts&&opts.pendingError)pendingError={[findNearestBoundary(matches).route.id]:opts.pendingError};else if(opts&&opts.submission&&isMutationMethod(opts.submission.formMethod)){let actionOutput=await handleAction(request,location,opts.submission,matches,{replace:opts.replace,flushSync});if(actionOutput.shortCircuited)return;pendingActionData=actionOutput.pendingActionData,pendingError=actionOutput.pendingActionError,loadingNavigation=getLoadingNavigation(location,opts.submission),flushSync=!1,request=new Request(request.url,{signal:request.signal})}let{shortCircuited,loaderData,errors}=await handleLoaders(request,location,matches,loadingNavigation,opts&&opts.submission,opts&&opts.fetcherSubmission,opts&&opts.replace,opts&&opts.initialHydration===!0,flushSync,pendingActionData,pendingError);shortCircuited||(pendingNavigationController=null,completeNavigation(location,_extends({matches},pendingActionData?{actionData:pendingActionData}:{},{loaderData,errors})))}async function handleAction(request,location,submission,matches,opts){opts===void 0&&(opts={}),interruptActiveLoads();let navigation=getSubmittingNavigation(location,submission);updateState({navigation},{flushSync:opts.flushSync===!0});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 callLoaderOrAction("action",request,actionMatch,matches,manifest,mapRouteProperties,basename,future.v7_relativeSplatPath),request.signal.aborted)return{shortCircuited:!0};if(isRedirectResult(result)){let replace;return opts&&opts.replace!=null?replace=opts.replace:replace=result.location===state.location.pathname+state.location.search,await startRedirectNavigation(state,result,{submission,replace}),{shortCircuited:!0}}if(isErrorResult(result)){let boundaryMatch=findNearestBoundary(matches,actionMatch.route.id);return(opts&&opts.replace)!==!0&&(pendingAction=Action.Push),{pendingActionData:{},pendingActionError:{[boundaryMatch.route.id]:result.error}}}if(isDeferredResult(result))throw getInternalRouterError(400,{type:"defer-action"});return{pendingActionData:{[actionMatch.route.id]:result.data}}}async function handleLoaders(request,location,matches,overrideNavigation,submission,fetcherSubmission,replace,initialHydration,flushSync,pendingActionData,pendingError){let loadingNavigation=overrideNavigation||getLoadingNavigation(location,submission),activeSubmission=submission||fetcherSubmission||getSubmissionFromNavigation(loadingNavigation),routesToUse=inFlightDataRoutes||dataRoutes,[matchesToLoad,revalidatingFetchers]=getMatchesToLoad(init.history,state,matches,activeSubmission,location,future.v7_partialHydration&&initialHydration===!0,isRevalidationRequired,cancelledDeferredRoutes,cancelledFetcherLoads,deletedFetchers,fetchLoadMatches,fetchRedirectIds,routesToUse,basename,pendingActionData,pendingError);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:pendingError||null},pendingActionData?{actionData:pendingActionData}:{},updatedFetchers2?{fetchers:new Map(state.fetchers)}:{}),{flushSync}),{shortCircuited:!0}}if(!isUninterruptedRevalidation&&(!future.v7_partialHydration||!initialHydration)){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)});let actionData=pendingActionData||state.actionData;updateState(_extends({navigation:loadingNavigation},actionData?Object.keys(actionData).length===0?{actionData:null}:{actionData}:{},revalidatingFetchers.length>0?{fetchers:new Map(state.fetchers)}:{}),{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{results,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(results);if(redirect2){if(redirect2.idx>=matchesToLoad.length){let fetcherKey=revalidatingFetchers[redirect2.idx-matchesToLoad.length].key;fetchRedirectIds.add(fetcherKey)}return await startRedirectNavigation(state,redirect2.result,{replace}),{shortCircuited:!0}}let{loaderData,errors}=processLoaderData(state,matches,matchesToLoad,loaderResults,pendingError,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({loaderData,errors},shouldUpdateFetchers?{fetchers: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);if(!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,flushSync,submission);return}fetchLoadMatches.set(key,{routeId,path}),handleFetcherLoader(key,routeId,path,match,matches,flushSync,submission)}async function handleFetcherAction(key,routeId,path,match,requestMatches,flushSync,submission){if(interruptActiveLoads(),fetchLoadMatches.delete(key),!match.route.action&&!match.route.lazy){let error=getInternalRouterError(405,{method:submission.formMethod,pathname:path,routeId});setFetcherError(key,routeId,error,{flushSync});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);fetchControllers.set(key,abortController);let originatingLoadId=incrementingLoadId,actionResult=await callLoaderOrAction("action",fetchRequest,match,requestMatches,manifest,mapRouteProperties,basename,future.v7_relativeSplatPath);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(state,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,isRevalidationRequired,cancelledDeferredRoutes,cancelledFetcherLoads,deletedFetchers,fetchLoadMatches,fetchRedirectIds,routesToUse,basename,{[match.route.id]:actionResult.data},void 0);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{results,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(results);if(redirect2){if(redirect2.idx>=matchesToLoad.length){let fetcherKey=revalidatingFetchers[redirect2.idx-matchesToLoad.length].key;fetchRedirectIds.add(fetcherKey)}return startRedirectNavigation(state,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,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);fetchControllers.set(key,abortController);let originatingLoadId=incrementingLoadId,result=await callLoaderOrAction("loader",fetchRequest,match,matches,manifest,mapRouteProperties,basename,future.v7_relativeSplatPath);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(state,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(state2,redirect2,_temp2){let{submission,fetcherSubmission,replace}=_temp2===void 0?{}:_temp2;redirect2.revalidate&&(isRevalidationRequired=!0);let redirectLocation=createLocation(state2.location,redirect2.location,{_isRedirect:!0});if(invariant(redirectLocation,"Expected a location on the redirect navigation"),isBrowser){let isDocumentReload=!1;if(redirect2.reloadDocument)isDocumentReload=!0;else if(ABSOLUTE_URL_REGEX.test(redirect2.location)){const url=init.history.createURL(redirect2.location);isDocumentReload=url.origin!==routerWindow.location.origin||stripBasename(url.pathname,basename)==null}if(isDocumentReload){replace?routerWindow.location.replace(redirect2.location):routerWindow.location.assign(redirect2.location);return}}pendingNavigationController=null;let redirectHistoryAction=replace===!0?Action.Replace:Action.Push,{formMethod,formAction,formEncType}=state2.navigation;!submission&&!fetcherSubmission&&formMethod&&formAction&&formEncType&&(submission=getSubmissionFromNavigation(state2.navigation));let activeSubmission=submission||fetcherSubmission;if(redirectPreserveMethodStatusCodes.has(redirect2.status)&&activeSubmission&&isMutationMethod(activeSubmission.formMethod))await startNavigation(redirectHistoryAction,redirectLocation,{submission:_extends({},activeSubmission,{formAction:redirect2.location}),preventScrollReset:pendingPreventScrollReset});else{let overrideNavigation=getLoadingNavigation(redirectLocation,submission);await startNavigation(redirectHistoryAction,redirectLocation,{overrideNavigation,fetcherSubmission,preventScrollReset:pendingPreventScrollReset})}}async function callLoadersAndMaybeResolveData(currentMatches,matches,matchesToLoad,fetchersToLoad,request){let results=await Promise.all([...matchesToLoad.map(match=>callLoaderOrAction("loader",request,match,matches,manifest,mapRouteProperties,basename,future.v7_relativeSplatPath)),...fetchersToLoad.map(f=>f.matches&&f.match&&f.controller?callLoaderOrAction("loader",createClientSideRequest(init.history,f.path,f.controller.signal),f.match,f.matches,manifest,mapRouteProperties,basename,future.v7_relativeSplatPath):{type:ResultType.error,error:getInternalRouterError(404,{pathname:f.path})})]),loaderResults=results.slice(0,matchesToLoad.length),fetcherResults=results.slice(matchesToLoad.length);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)]),{results,loaderResults,fetcherResults}}function interruptActiveLoads(){isRevalidationRequired=!0,cancelledDeferredRoutes.push(...cancelActiveDeferreds()),fetchLoadMatches.forEach((_,key)=>{fetchControllers.has(key)&&(cancelledFetcherLoads.push(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),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 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 _internalSetRoutes(newRoutes){manifest={},inFlightDataRoutes=convertRoutesToDataRoutes(newRoutes,mapRouteProperties,void 0,manifest)}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,_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}=_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);return isResponse(result)?result:_extends({location,basename},result)}async function queryRoute(request,_temp4){let{routeId,requestContext}=_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,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 data=Object.values(result.loaderData)[0];return(_result$activeDeferre=result.activeDeferreds)!=null&&_result$activeDeferre[match.route.id]&&(data[UNSAFE_DEFERRED_SYMBOL]=result.activeDeferreds[match.route.id]),data}}async function queryImpl(request,location,matches,requestContext,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,routeMatch!=null);let result=await loadRouteData(request,matches,requestContext,routeMatch);return isResponse(result)?result:_extends({},result,{actionData:null,actionHeaders:{}})}catch(e){if(isQueryRouteResponse(e)){if(e.type===ResultType.error)throw e.response;return e.response}if(isRedirectResponse(e))return e;throw e}}async function submit(request,matches,actionMatch,requestContext,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 callLoaderOrAction("action",request,actionMatch,matches,manifest,mapRouteProperties,basename,future.v7_relativeSplatPath,{isStaticRequest:!0,isRouteRequest,requestContext}),request.signal.aborted&&throwStaticHandlerAbortedError(request,isRouteRequest,future);if(isRedirectResult(result))throw new Response(null,{status:result.status,headers:{Location:result.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}}if(isErrorResult(result)){let boundaryMatch=findNearestBoundary(matches,actionMatch.route.id),context2=await loadRouteData(request,matches,requestContext,void 0,{[boundaryMatch.route.id]:result.error});return _extends({},context2,{statusCode:isRouteErrorResponse(result.error)?result.error.status:500,actionData:null,actionHeaders:_extends({},result.headers?{[actionMatch.route.id]:result.headers}:{})})}let loaderRequest=new Request(request.url,{headers:request.headers,redirect:request.redirect,signal:request.signal}),context=await loadRouteData(loaderRequest,matches,requestContext);return _extends({},context,result.statusCode?{statusCode:result.statusCode}:{},{actionData:{[actionMatch.route.id]:result.data},actionHeaders:_extends({},result.headers?{[actionMatch.route.id]:result.headers}:{})})}async function loadRouteData(request,matches,requestContext,routeMatch,pendingActionError){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]:getLoaderMatchesUntilBoundary(matches,Object.keys(pendingActionError||{})[0])).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:pendingActionError||null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let results=await Promise.all([...matchesToLoad.map(match=>callLoaderOrAction("loader",request,match,matches,manifest,mapRouteProperties,basename,future.v7_relativeSplatPath,{isStaticRequest:!0,isRouteRequest,requestContext}))]);request.signal.aborted&&throwStaticHandlerAbortedError(request,isRouteRequest,future);let activeDeferreds=new Map,context=processRouteLoaderData(matches,matchesToLoad,results,pendingActionError,activeDeferreds),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})}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
- `},""):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,isRevalidationRequired,cancelledDeferredRoutes,cancelledFetcherLoads,deletedFetchers,fetchLoadMatches,fetchRedirectIds,routesToUse,basename,pendingActionData,pendingError){let actionResult=pendingError?Object.values(pendingError)[0]:pendingActionData?Object.values(pendingActionData)[0]:void 0,currentUrl=history.createURL(state.location),nextUrl=history.createURL(location),boundaryId=pendingError?Object.keys(pendingError)[0]:void 0,navigationMatches=getLoaderMatchesUntilBoundary(matches,boundaryId).filter((match,index)=>{let{route}=match;if(route.lazy)return!0;if(route.loader==null)return!1;if(isInitialLoad)return 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,defaultShouldRevalidate: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.includes(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,defaultShouldRevalidate: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&&currentPath.endsWith("*")&&currentMatch.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 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}))}async function callLoaderOrAction(type,request,match,matches,manifest,mapRouteProperties,basename,v7_relativeSplatPath,opts){opts===void 0&&(opts={});let resultType,result,onReject,runHandler=handler=>{let reject,abortPromise=new Promise((_,r)=>reject=r);return onReject=()=>reject(),request.signal.addEventListener("abort",onReject),Promise.race([handler({request,params:match.params,context:opts.requestContext}),abortPromise])};try{let handler=match.route[type];if(match.route.lazy)if(handler){let handlerError,values=await Promise.all([runHandler(handler).catch(e=>{handlerError=e}),loadLazyRouteModule(match.route,mapRouteProperties,manifest)]);if(handlerError)throw handlerError;result=values[0]}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,data: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!==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){resultType=ResultType.error,result=e}finally{onReject&&request.signal.removeEventListener("abort",onReject)}if(isResponse(result)){let status=result.status;if(redirectStatusCodes.has(status)){let location=result.headers.get("Location");if(invariant(location,"Redirects returned/thrown from loaders/actions must have a Location header"),!ABSOLUTE_URL_REGEX.test(location))location=normalizeTo(new URL(request.url),matches.slice(0,matches.indexOf(match)+1),basename,!0,location,v7_relativeSplatPath);else if(!opts.isStaticRequest){let currentUrl=new URL(request.url),url=location.startsWith("//")?new URL(currentUrl.protocol+location):new URL(location),isSameBasename=stripBasename(url.pathname,basename)!=null;url.origin===currentUrl.origin&&isSameBasename&&(location=url.pathname+url.search+url.hash)}if(opts.isStaticRequest)throw result.headers.set("Location",location),result;return{type:ResultType.redirect,status,location,revalidate:result.headers.get("X-Remix-Revalidate")!==null,reloadDocument:result.headers.get("X-Remix-Reload-Document")!==null}}if(opts.isRouteRequest)throw{type:resultType===ResultType.error?ResultType.error:ResultType.data,response:result};let data;try{let contentType=result.headers.get("Content-Type");contentType&&/\bapplication\/json\b/.test(contentType)?result.body==null?data=null:data=await result.json():data=await result.text()}catch(e){return{type:ResultType.error,error:e}}return resultType===ResultType.error?{type:resultType,error:new ErrorResponseImpl(status,result.statusText,data),headers:result.headers}:{type:ResultType.data,data,statusCode:result.status,headers:result.headers}}if(resultType===ResultType.error)return{type:resultType,error:result};if(isDeferredData(result)){var _result$init,_result$init2;return{type:ResultType.deferred,deferredData:result,statusCode:(_result$init=result.init)==null?void 0:_result$init.status,headers:((_result$init2=result.init)==null?void 0:_result$init2.headers)&&new Headers(result.init.headers)}}return{type:ResultType.data,data:result}}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,pendingError,activeDeferreds){let loaderData={},errors=null,statusCode,foundError=!1,loaderHeaders={};return results.forEach((result,index)=>{let id=matchesToLoad[index].route.id;if(invariant(!isRedirectResult(result),"Cannot handle redirect results in processLoaderData"),isErrorResult(result)){let boundaryMatch=findNearestBoundary(matches,id),error=result.error;pendingError&&(error=Object.values(pendingError)[0],pendingError=void 0),errors=errors||{},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):loaderData[id]=result.data,result.statusCode!=null&&result.statusCode!==200&&!foundError&&(statusCode=result.statusCode),result.headers&&(loaderHeaders[id]=result.headers)}),pendingError&&(errors=pendingError,loaderData[Object.keys(pendingError)[0]]=void 0),{loaderData,errors,statusCode:statusCode||200,loaderHeaders}}function processLoaderData(state,matches,matchesToLoad,results,pendingError,revalidatingFetchers,fetcherResults,activeDeferreds){let{loaderData,errors}=processRouteLoaderData(matches,matchesToLoad,results,pendingError,activeDeferreds);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 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}=_temp5===void 0?{}:_temp5,statusText="Unknown Server Error",errorMessage="Unknown @remix-run/router error";return status===400?(statusText="Bad Request",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 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 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 isQueryRouteResponse(obj){return obj&&isResponse(obj.response)&&(obj.type===ResultType.data||obj.type===ResultType.error)}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&&currentLoaderData[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,data){return submission?{state:"loading",formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text,data}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data}}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(data){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data}}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},8179:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Row=void 0;var row_1=__webpack_require__(97784);Object.defineProperty(exports,"Row",{enumerable:!0,get:function(){return row_1.Row}})},97784: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__(81518));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},16975: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},30398:(__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__(16975);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},54543:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTheme=void 0;var create_theme_1=__webpack_require__(30398);Object.defineProperty(exports,"createTheme",{enumerable:!0,get:function(){return create_theme_1.createTheme}})},16375:(__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__(45554);Object.defineProperty(exports,"ThemeSwitcher",{enumerable:!0,get:function(){return theme_switcher_1.ThemeSwitcher}});var theme_picker_context_1=__webpack_require__(91518);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__(87329);Object.defineProperty(exports,"ThemeToggler",{enumerable:!0,get:function(){return theme_toggler_1.ThemeToggler}})},91518:(__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},45554: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__(91518);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},87329: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__(91518);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},36976:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},62019: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__(30795));__exportStar(__webpack_require__(36976),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}},10161:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},94704: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__(84713));__exportStar(__webpack_require__(10161),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}},6899: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__(74863));__exportStar(__webpack_require__(48772),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}},48772:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},72910: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__(49611));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},36422: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__(72910),exports)},48778: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},49998: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__(48778),exports)},46319:(__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}},80988:(__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__(46319);Object.defineProperty(exports,"ClickOutside",{enumerable:!0,get:function(){return click_outside_1.ClickOutside}});var use_click_outside_1=__webpack_require__(76413);Object.defineProperty(exports,"useClickOutside",{enumerable:!0,get:function(){return use_click_outside_1.useClickOutside}})},76413:(__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},25946:(__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}},57409:(__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__(25946);Object.defineProperty(exports,"ClickOutside",{enumerable:!0,get:function(){return click_outside_1.ClickOutside}});var use_click_outside_1=__webpack_require__(15665);Object.defineProperty(exports,"useClickOutside",{enumerable:!0,get:function(){return use_click_outside_1.useClickOutside}})},15665:(__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},30130: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__(51294)),base_ui_elements_dots_loader_1=__webpack_require__(36422);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}},30375: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__(30130);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(button_1).default}}),__exportStar(__webpack_require__(30130),exports)},63165: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__(4509));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},62018: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__(63165),exports)},28364: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__(6322));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}},77865: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__(63707)),grid_template_1=__webpack_require__(28364);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},93625:(__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__(77865);Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return grid_1.Grid}})},74162: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__(146));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},16623:(__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__(91650);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}})},91650: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__(59644)),skeleton_design_module_scss_1=__importDefault(__webpack_require__(48964)),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},10981: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__(52287));exports.flexCenter=flex_center_module_scss_1.default.flexCenter},58636: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__(2024)),positions_module_scss_1=__importDefault(__webpack_require__(83450)),displacement_module_scss_1=__importDefault(__webpack_require__(64262));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},89e3: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__(58636),exports)},79980: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__(2024));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))})},38274: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__(79980),exports)},8428: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__(2024));__exportStar(__webpack_require__(89e3),exports),__exportStar(__webpack_require__(38274),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},62625: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__(52614)),positions_module_scss_1=__importDefault(__webpack_require__(81174)),displacement_module_scss_1=__importDefault(__webpack_require__(32551));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},59851: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__(62625),exports)},34750: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__(52614));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}},35609: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__(34750),exports)},9474: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__(52614));__exportStar(__webpack_require__(59851),exports),__exportStar(__webpack_require__(35609),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},41755: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__(42261));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}},80071: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__(31314));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}},65448: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__(49528)),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),base_ui_surfaces_background_1=__webpack_require__(41755);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"}},54655: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__(65448),exports)},15946: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__(85085));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},66719: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__(8428),base_ui_hook_use_click_outside_1=__webpack_require__(80988),react_create_ref_1=__importDefault(__webpack_require__(32398)),default_placeholder_1=__webpack_require__(15946);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}},92356: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__(66719),exports)},86596: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__(89781));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},82304: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__(9474),base_ui_hook_use_click_outside_1=__webpack_require__(57409),react_create_ref_1=__importDefault(__webpack_require__(32398)),default_placeholder_1=__webpack_require__(86596);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}},82047: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__(82304),exports)},51088: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__(78921),exports)},78921: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__(25859),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),splitter_module_scss_1=__importDefault(__webpack_require__(81500));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},9986: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__(24774),exports)},24774:(__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},70754: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__(84266),exports)},84266: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__(9986),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),pane_module_scss_1=__importDefault(__webpack_require__(40966));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"}}},83243:(__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__(9986);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]}},18666: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__(9986),exports),__exportStar(__webpack_require__(70754),exports),__exportStar(__webpack_require__(25859),exports);var split_pane_1=__webpack_require__(58650);Object.defineProperty(exports,"SplitPane",{enumerable:!0,get:function(){return split_pane_1.SplitPane}})},90635:(__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},58650: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__(9986),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),calc_split_1=__webpack_require__(83243),split_pane_module_scss_1=__importDefault(__webpack_require__(43214)),use_drag_tracker_1=__webpack_require__(52164);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},94760:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toRelativePosition=void 0;const limit_1=__webpack_require__(90635);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},52164:(__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__(94760),use_pointer_drag_1=__webpack_require__(12669);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},12669:(__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},25859: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__(83041),exports)},83041: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__(1742));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},39667: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"}},88224: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__(39667),exports)},43195: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},89891:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Heading=void 0;var heading_1=__webpack_require__(43195);Object.defineProperty(exports,"Heading",{enumerable:!0,get:function(){return heading_1.Heading}})},62391: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__(77900),exports)},77900: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__(61617));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},64099:(__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__(96015);Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:function(){return paragraph_1.Paragraph}}),Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return paragraph_1.PossibleSizes}})},96015: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__(38224);Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return base_ui_theme_sizes_1.PossibleSizes}});const base_ui_text_text_sizes_1=__webpack_require__(61971);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"}},65184:(__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__(1420);Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:function(){return paragraph_1.Paragraph}}),Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return paragraph_1.PossibleSizes}})},1420: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__(38224);Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return base_ui_theme_sizes_1.PossibleSizes}});const base_ui_text_text_sizes_1=__webpack_require__(61971);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"}},61971: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__(24483)),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},24014: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__(19160),exports)},19160: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__(49921));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},68228: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__(45499));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}},75020: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__(45499));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}},29353:(__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__(68228);Object.defineProperty(exports,"colorPalette",{enumerable:!0,get:function(){return accent_color_1.colorPalette}});var build_step_accents_1=__webpack_require__(75020);Object.defineProperty(exports,"buildStepPalette",{enumerable:!0,get:function(){return build_step_accents_1.buildStepPalette}})},51904: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__(67721)),{brands}=brand_definition_module_scss_1.default;exports.brands=brands},92278: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__(11826)),{primaryPalette}=color_definition_module_scss_1.default;exports.primaryPalette=primaryPalette},80667: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__(91945));exports.darkMode=dark_theme_module_scss_1.default.darkMod},71580: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__(46116)),{bookFont}=book_font_module_scss_1.default;exports.bookFont=bookFont},8733: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__(34148),exports)},34148: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},47807: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__(76136)),{headingMargins}=heading_margin_definition_module_scss_1.default;exports.headingMargins=headingMargins},57996: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__(10430)),{shadowTheme}=shadow_definition_module_scss_1.default;exports.shadowTheme=shadowTheme},43990: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__(36450)),{headingFontSize,textFontSize}=size_definition_module_scss_1.default;exports.headingFontSize=headingFontSize,exports.textFontSize=textFontSize},38224:(__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={}))},16871:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Theme=void 0;var theme_provider_1=__webpack_require__(53722);Object.defineProperty(exports,"Theme",{enumerable:!0,get:function(){return theme_provider_1.Theme}})},53722: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__(43990),base_ui_theme_shadow_definition_1=__webpack_require__(57996),base_ui_theme_color_definition_1=__webpack_require__(92278),base_ui_theme_brand_definition_1=__webpack_require__(51904),base_ui_theme_heading_margin_definition_1=__webpack_require__(47807),base_ui_theme_fonts_book_1=__webpack_require__(71580),texts_module_scss_1=__importDefault(__webpack_require__(16524));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},65015: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__(75510);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(time_ago_1).default}})},75510: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}},25895: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__(74162),documenter_ui_heading_1=__webpack_require__(77522),documenter_ui_label_list_1=__webpack_require__(94019),documenter_ui_section_1=__webpack_require__(1105),documenter_ui_copy_box_1=__webpack_require__(66377),design_ui_separator_1=__webpack_require__(10732),design_navigation_content_tabs_1=__webpack_require__(74388),documenter_ui_sub_title_1=__webpack_require__(80391),ui_foundation_ui_is_browser_1=__webpack_require__(48843),base_react_layout_row_1=__webpack_require__(8179),docs_1=__webpack_require__(5018),component_overview_module_scss_1=__importDefault(__webpack_require__(41728));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},54839:(__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__(25895);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}})},3635:(__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__(32476);Object.defineProperty(exports,"useFetchDocs",{enumerable:!0,get:function(){return use_fetch_docs_1.useFetchDocs}})},32476:(__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__(55521),GQL_SERVER="/graphql",DOCS_QUERY=(0,graphql_hooks_use_query_light_1.gql)`
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,isRevalidationRequired,cancelledDeferredRoutes,cancelledFetcherLoads,deletedFetchers,fetchLoadMatches,fetchRedirectIds,routesToUse,basename,pendingActionData,pendingError){let actionResult=pendingError?Object.values(pendingError)[0]:pendingActionData?Object.values(pendingActionData)[0]:void 0,currentUrl=history.createURL(state.location),nextUrl=history.createURL(location),boundaryId=pendingError?Object.keys(pendingError)[0]:void 0,navigationMatches=getLoaderMatchesUntilBoundary(matches,boundaryId).filter((match,index)=>{let{route}=match;if(route.lazy)return!0;if(route.loader==null)return!1;if(isInitialLoad)return 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,defaultShouldRevalidate: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.includes(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,defaultShouldRevalidate: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&&currentPath.endsWith("*")&&currentMatch.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 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}))}async function callLoaderOrAction(type,request,match,matches,manifest,mapRouteProperties,basename,v7_relativeSplatPath,opts){opts===void 0&&(opts={});let resultType,result,onReject,runHandler=handler=>{let reject,abortPromise=new Promise((_,r)=>reject=r);return onReject=()=>reject(),request.signal.addEventListener("abort",onReject),Promise.race([handler({request,params:match.params,context:opts.requestContext}),abortPromise])};try{let handler=match.route[type];if(match.route.lazy)if(handler){let handlerError,values=await Promise.all([runHandler(handler).catch(e=>{handlerError=e}),loadLazyRouteModule(match.route,mapRouteProperties,manifest)]);if(handlerError)throw handlerError;result=values[0]}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,data: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!==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){resultType=ResultType.error,result=e}finally{onReject&&request.signal.removeEventListener("abort",onReject)}if(isResponse(result)){let status=result.status;if(redirectStatusCodes.has(status)){let location=result.headers.get("Location");if(invariant(location,"Redirects returned/thrown from loaders/actions must have a Location header"),!ABSOLUTE_URL_REGEX.test(location))location=normalizeTo(new URL(request.url),matches.slice(0,matches.indexOf(match)+1),basename,!0,location,v7_relativeSplatPath);else if(!opts.isStaticRequest){let currentUrl=new URL(request.url),url=location.startsWith("//")?new URL(currentUrl.protocol+location):new URL(location),isSameBasename=stripBasename(url.pathname,basename)!=null;url.origin===currentUrl.origin&&isSameBasename&&(location=url.pathname+url.search+url.hash)}if(opts.isStaticRequest)throw result.headers.set("Location",location),result;return{type:ResultType.redirect,status,location,revalidate:result.headers.get("X-Remix-Revalidate")!==null,reloadDocument:result.headers.get("X-Remix-Reload-Document")!==null}}if(opts.isRouteRequest)throw{type:resultType===ResultType.error?ResultType.error:ResultType.data,response:result};let data;try{let contentType=result.headers.get("Content-Type");contentType&&/\bapplication\/json\b/.test(contentType)?result.body==null?data=null:data=await result.json():data=await result.text()}catch(e){return{type:ResultType.error,error:e}}return resultType===ResultType.error?{type:resultType,error:new ErrorResponseImpl(status,result.statusText,data),headers:result.headers}:{type:ResultType.data,data,statusCode:result.status,headers:result.headers}}if(resultType===ResultType.error)return{type:resultType,error:result};if(isDeferredData(result)){var _result$init,_result$init2;return{type:ResultType.deferred,deferredData:result,statusCode:(_result$init=result.init)==null?void 0:_result$init.status,headers:((_result$init2=result.init)==null?void 0:_result$init2.headers)&&new Headers(result.init.headers)}}return{type:ResultType.data,data:result}}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,pendingError,activeDeferreds){let loaderData={},errors=null,statusCode,foundError=!1,loaderHeaders={};return results.forEach((result,index)=>{let id=matchesToLoad[index].route.id;if(invariant(!isRedirectResult(result),"Cannot handle redirect results in processLoaderData"),isErrorResult(result)){let boundaryMatch=findNearestBoundary(matches,id),error=result.error;pendingError&&(error=Object.values(pendingError)[0],pendingError=void 0),errors=errors||{},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):loaderData[id]=result.data,result.statusCode!=null&&result.statusCode!==200&&!foundError&&(statusCode=result.statusCode),result.headers&&(loaderHeaders[id]=result.headers)}),pendingError&&(errors=pendingError,loaderData[Object.keys(pendingError)[0]]=void 0),{loaderData,errors,statusCode:statusCode||200,loaderHeaders}}function processLoaderData(state,matches,matchesToLoad,results,pendingError,revalidatingFetchers,fetcherResults,activeDeferreds){let{loaderData,errors}=processRouteLoaderData(matches,matchesToLoad,results,pendingError,activeDeferreds);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 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}=_temp5===void 0?{}:_temp5,statusText="Unknown Server Error",errorMessage="Unknown @remix-run/router error";return status===400?(statusText="Bad Request",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 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 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 isQueryRouteResponse(obj){return obj&&isResponse(obj.response)&&(obj.type===ResultType.data||obj.type===ResultType.error)}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&&currentLoaderData[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,data){return submission?{state:"loading",formMethod:submission.formMethod,formAction:submission.formAction,formEncType:submission.formEncType,formData:submission.formData,json:submission.json,text:submission.text,data}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data}}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(data){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data}}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},8179:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Row=void 0;var row_1=__webpack_require__(97784);Object.defineProperty(exports,"Row",{enumerable:!0,get:function(){return row_1.Row}})},97784: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__(81518));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},16975: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},30398:(__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__(16975);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},54543:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createTheme=void 0;var create_theme_1=__webpack_require__(30398);Object.defineProperty(exports,"createTheme",{enumerable:!0,get:function(){return create_theme_1.createTheme}})},16375:(__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__(45554);Object.defineProperty(exports,"ThemeSwitcher",{enumerable:!0,get:function(){return theme_switcher_1.ThemeSwitcher}});var theme_picker_context_1=__webpack_require__(91518);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__(87329);Object.defineProperty(exports,"ThemeToggler",{enumerable:!0,get:function(){return theme_toggler_1.ThemeToggler}})},91518:(__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},45554: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__(91518);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},87329: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__(91518);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},36976:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},62019: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__(30795));__exportStar(__webpack_require__(36976),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}},10161:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},94704: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__(84713));__exportStar(__webpack_require__(10161),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}},6899: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__(74863));__exportStar(__webpack_require__(48772),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}},48772:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},72910: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__(49611));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},36422: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__(72910),exports)},48778: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},49998: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__(48778),exports)},46319:(__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}},80988:(__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__(46319);Object.defineProperty(exports,"ClickOutside",{enumerable:!0,get:function(){return click_outside_1.ClickOutside}});var use_click_outside_1=__webpack_require__(76413);Object.defineProperty(exports,"useClickOutside",{enumerable:!0,get:function(){return use_click_outside_1.useClickOutside}})},76413:(__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},25946:(__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}},57409:(__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__(25946);Object.defineProperty(exports,"ClickOutside",{enumerable:!0,get:function(){return click_outside_1.ClickOutside}});var use_click_outside_1=__webpack_require__(15665);Object.defineProperty(exports,"useClickOutside",{enumerable:!0,get:function(){return use_click_outside_1.useClickOutside}})},15665:(__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},30130: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__(51294)),base_ui_elements_dots_loader_1=__webpack_require__(36422);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}},30375: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__(30130);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(button_1).default}}),__exportStar(__webpack_require__(30130),exports)},63165: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__(4509));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},62018: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__(63165),exports)},28364: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__(6322));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}},77865: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__(63707)),grid_template_1=__webpack_require__(28364);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},93625:(__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__(77865);Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return grid_1.Grid}})},74162: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__(146));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},16623:(__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__(91650);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}})},91650: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__(59644)),skeleton_design_module_scss_1=__importDefault(__webpack_require__(48964)),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},10981: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__(52287));exports.flexCenter=flex_center_module_scss_1.default.flexCenter},58636: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__(2024)),positions_module_scss_1=__importDefault(__webpack_require__(83450)),displacement_module_scss_1=__importDefault(__webpack_require__(64262));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},89e3: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__(58636),exports)},79980: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__(2024));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))})},38274: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__(79980),exports)},8428: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__(2024));__exportStar(__webpack_require__(89e3),exports),__exportStar(__webpack_require__(38274),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},62625: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__(52614)),positions_module_scss_1=__importDefault(__webpack_require__(81174)),displacement_module_scss_1=__importDefault(__webpack_require__(32551));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},59851: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__(62625),exports)},34750: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__(52614));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}},35609: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__(34750),exports)},9474: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__(52614));__exportStar(__webpack_require__(59851),exports),__exportStar(__webpack_require__(35609),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},41755: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__(42261));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}},80071: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__(31314));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}},65448: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__(49528)),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),base_ui_surfaces_background_1=__webpack_require__(41755);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"}},54655: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__(65448),exports)},15946: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__(85085));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},66719: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__(8428),base_ui_hook_use_click_outside_1=__webpack_require__(80988),react_create_ref_1=__importDefault(__webpack_require__(32398)),default_placeholder_1=__webpack_require__(15946);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}},92356: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__(66719),exports)},86596: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__(89781));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},82304: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__(9474),base_ui_hook_use_click_outside_1=__webpack_require__(57409),react_create_ref_1=__importDefault(__webpack_require__(32398)),default_placeholder_1=__webpack_require__(86596);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}},82047: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__(82304),exports)},51088: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__(78921),exports)},78921: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__(25859),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),splitter_module_scss_1=__importDefault(__webpack_require__(81500));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},9986: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__(24774),exports)},24774:(__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},70754: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__(84266),exports)},84266: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__(9986),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),pane_module_scss_1=__importDefault(__webpack_require__(40966));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"}}},83243:(__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__(9986);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]}},18666: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__(9986),exports),__exportStar(__webpack_require__(70754),exports),__exportStar(__webpack_require__(25859),exports);var split_pane_1=__webpack_require__(58650);Object.defineProperty(exports,"SplitPane",{enumerable:!0,get:function(){return split_pane_1.SplitPane}})},90635:(__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},58650: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__(9986),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),calc_split_1=__webpack_require__(83243),split_pane_module_scss_1=__importDefault(__webpack_require__(43214)),use_drag_tracker_1=__webpack_require__(52164);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},94760:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toRelativePosition=void 0;const limit_1=__webpack_require__(90635);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},52164:(__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__(94760),use_pointer_drag_1=__webpack_require__(12669);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},12669:(__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},25859: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__(83041),exports)},83041: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__(1742));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},39667: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"}},88224: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__(39667),exports)},43195: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},89891:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Heading=void 0;var heading_1=__webpack_require__(43195);Object.defineProperty(exports,"Heading",{enumerable:!0,get:function(){return heading_1.Heading}})},62391: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__(77900),exports)},77900: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__(61617));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},64099:(__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__(96015);Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:function(){return paragraph_1.Paragraph}}),Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return paragraph_1.PossibleSizes}})},96015: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__(38224);Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return base_ui_theme_sizes_1.PossibleSizes}});const base_ui_text_text_sizes_1=__webpack_require__(61971);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"}},65184:(__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__(1420);Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:function(){return paragraph_1.Paragraph}}),Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return paragraph_1.PossibleSizes}})},1420: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__(38224);Object.defineProperty(exports,"PossibleSizes",{enumerable:!0,get:function(){return base_ui_theme_sizes_1.PossibleSizes}});const base_ui_text_text_sizes_1=__webpack_require__(61971);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"}},61971: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__(24483)),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},24014: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__(19160),exports)},19160: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__(49921));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},68228: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__(45499));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}},75020: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__(45499));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}},29353:(__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__(68228);Object.defineProperty(exports,"colorPalette",{enumerable:!0,get:function(){return accent_color_1.colorPalette}});var build_step_accents_1=__webpack_require__(75020);Object.defineProperty(exports,"buildStepPalette",{enumerable:!0,get:function(){return build_step_accents_1.buildStepPalette}})},51904: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__(67721)),{brands}=brand_definition_module_scss_1.default;exports.brands=brands},92278: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__(11826)),{primaryPalette}=color_definition_module_scss_1.default;exports.primaryPalette=primaryPalette},80667: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__(91945));exports.darkMode=dark_theme_module_scss_1.default.darkMod},71580: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__(46116)),{bookFont}=book_font_module_scss_1.default;exports.bookFont=bookFont},8733: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__(34148),exports)},34148: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},47807: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__(76136)),{headingMargins}=heading_margin_definition_module_scss_1.default;exports.headingMargins=headingMargins},57996: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__(10430)),{shadowTheme}=shadow_definition_module_scss_1.default;exports.shadowTheme=shadowTheme},43990: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__(36450)),{headingFontSize,textFontSize}=size_definition_module_scss_1.default;exports.headingFontSize=headingFontSize,exports.textFontSize=textFontSize},38224:(__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={}))},16871:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Theme=void 0;var theme_provider_1=__webpack_require__(53722);Object.defineProperty(exports,"Theme",{enumerable:!0,get:function(){return theme_provider_1.Theme}})},53722: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__(43990),base_ui_theme_shadow_definition_1=__webpack_require__(57996),base_ui_theme_color_definition_1=__webpack_require__(92278),base_ui_theme_brand_definition_1=__webpack_require__(51904),base_ui_theme_heading_margin_definition_1=__webpack_require__(47807),base_ui_theme_fonts_book_1=__webpack_require__(71580),texts_module_scss_1=__importDefault(__webpack_require__(16524));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},65015: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__(75510);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(time_ago_1).default}})},75510: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}},19624: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__(74162),documenter_ui_heading_1=__webpack_require__(77522),documenter_ui_label_list_1=__webpack_require__(94019),documenter_ui_section_1=__webpack_require__(1105),documenter_ui_copy_box_1=__webpack_require__(66377),design_ui_separator_1=__webpack_require__(10732),design_navigation_content_tabs_1=__webpack_require__(74388),documenter_ui_sub_title_1=__webpack_require__(80391),ui_foundation_ui_is_browser_1=__webpack_require__(48843),base_react_layout_row_1=__webpack_require__(8179),docs_1=__webpack_require__(62815),component_overview_module_scss_1=__importDefault(__webpack_require__(18012));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},47530:(__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__(19624);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}})},3635:(__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__(32476);Object.defineProperty(exports,"useFetchDocs",{enumerable:!0,get:function(){return use_fetch_docs_1.useFetchDocs}})},32476:(__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__(55521),GQL_SERVER="/graphql",DOCS_QUERY=(0,graphql_hooks_use_query_light_1.gql)`
12
12
  query getComponentDocs($id: String!) {
13
13
  getHost {
14
14
  id # for gql caching
@@ -31,7 +31,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
31
31
  `))})}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(`
32
32
  `),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(`
33
33
  `);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,`
34
- `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:(0,objectSpread.Z)({},style['code[class*="language-"]'],style['code[class*="language-'.concat(language,'"]')])}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!0:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$wrapLongLines=_ref7.wrapLongLines,wrapLongLines=_ref7$wrapLongLines===void 0?!1:_ref7$wrapLongLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));(wrapLines===void 0&&renderer||wrapLongLines)&&(wrapLines=!0),renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle,wrapLongLines);return wrapLongLines?codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre-wrap"}):codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre"}),react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}const default_style={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var lowlight=__webpack_require__(23387),lowlight_default=__webpack_require__.n(lowlight);const supported_languages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","node-repl","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var highlighter=highlight(lowlight_default(),default_style);highlighter.supportedLanguages=supported_languages;const default_highlight=highlighter,xcode={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},table_row_module={propRow:"table-row_propRow__3in9b",singleColumn:"table-row_singleColumn__2EowM",mobileTitle:"table-row_mobileTitle__Kr51h",show:"table-row_show__EbJqY",column:"table-row_column__1sVpC",columnContent:"table-row_columnContent__H74AP",title:"table-row_title__WZ4lb",required:"table-row_required__YTKPP",name:"table-row_name__1_lKU",type:"table-row_type__3IyDE",typeColumn:"table-row_typeColumn__34a0R",highlighted:"table-row_highlighted__2b9my",default:"table-row_default__zw6HX",breakWord:"table-row_breakWord__3xe6h"};function TableRow({row,customRow,colNumber=4,headings,isListView,className,...rest}){return(0,jsx_runtime.jsx)(dist.r,{col:colNumber,className:classnames_default()(table_row_module.propRow,{[table_row_module.singleColumn]:isListView},className),...rest,children:headings.map(title=>{const keyString=`${title}-${row[title]}`;return title==="required"?null:title==="name"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),(0,jsx_runtime.jsxs)("div",{className:table_row_module.columnContent,children:[(0,jsx_runtime.jsx)("div",{className:table_row_module.name,children:customRow?.name||row[title]}),!customRow?.required&&row.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:"(Required)"}),customRow?.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:customRow.required})]})]},keyString):title==="type"?(0,jsx_runtime.jsxs)(TableColumn,{className:classnames_default()(table_row_module.breakWord,table_row_module.typeColumn),children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.type&&(0,jsx_runtime.jsx)(default_highlight,{theme:xcode,language:"javascript",className:table_row_module.highlighted,children:row[title]}),customRow?.type]},keyString):title==="default"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:row[title]&&row[title]?.value||"-"}),customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:customRow.default})]},keyString):title==="description"?(0,jsx_runtime.jsx)(TableColumn,{className:table_row_module.breakWord,children:customRow?.description||row[title]},keyString):(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),customRow?.[title]||row[title]]},keyString)})})}const table_module={table:"table_table__2JGw5"};function Table({headings,rows,colNumber,isListView,className,...rest}){const cols=colNumber||4;return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(table_module.table,className),children:[(0,jsx_runtime.jsx)(HeadingRow,{isListView,colNumber:cols,headings}),rows.map(row=>(0,jsx_runtime.jsx)(TableRow,{isListView,headings,row,colNumber:cols},`tableRow-${row.name}`))]})}Table.defaultProps={colNumber:4};function PropTable({rows,listViewResolution,showListView,...rest}){const[ref,{width}]=(0,es.default)(),debouncedSize=useDebounce(width,300,{leading:!0}),isListView=showListView||+debouncedSize[0]<=(listViewResolution||0);return width?(0,jsx_runtime.jsx)("div",{ref,children:(0,jsx_runtime.jsx)(Table,{...rest,headings:["name","type","default","description"],rows,isListView})}):(0,jsx_runtime.jsx)("div",{ref})}PropTable.defaultProps={listViewResolution:768}},1105:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(46845),exports)},46845:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Section=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),section_module_scss_1=__importDefault(__webpack_require__(74482));function Section(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);return react_1.default.createElement("div",Object.assign({className:classnames_1.default(section_module_scss_1.default.spacer,section_module_scss_1.default.sectionMargin,className)},rest),children)}exports.Section=Section},53589:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(69317);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},69317:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(89257));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:classnames_1.default(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},62479:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(54800);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},54800:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(21104));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:(0,classnames_1.default)(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},80391:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(42086),exports)},42086:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Subtitle=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_muted_text_1=__webpack_require__(62391),documenter_ui_paragraph_1=__webpack_require__(18808),sub_title_module_scss_1=__importDefault(__webpack_require__(78385));function Subtitle(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(documenter_ui_paragraph_1.Paragraph,Object.assign({element:"p",className:classnames_1.default(base_ui_text_muted_text_1.mutedText,sub_title_module_scss_1.default.subTitle,className),size:"xl"},rest),children)}exports.Subtitle=Subtitle},45651:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;var sup_1=__webpack_require__(59986);Object.defineProperty(exports,"Sup",{enumerable:!0,get:function(){return sup_1.Sup}})},59986:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),sup_module_scss_1=__importDefault(__webpack_require__(82595));function Sup(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("sup",Object.assign({},rest,{className:(0,classnames_1.default)(sup_module_scss_1.default.sup,className)}),children)}exports.Sup=Sup},21806:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_table_module_scss_1=__importDefault(__webpack_require__(3647));function Table(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("table",Object.assign({},rest,{className:(0,classnames_1.default)(base_table_module_scss_1.default.table,className)}),children)}exports.Table=Table},3909:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(21806);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},45337:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;var td_1=__webpack_require__(43784);Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return td_1.Td}})},43784:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),td_module_scss_1=__importDefault(__webpack_require__(81099));function Td(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("td",Object.assign({},rest,{className:(0,classnames_1.default)(td_module_scss_1.default.td,className)}),children)}exports.Td=Td},12158:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;var tr_1=__webpack_require__(37945);Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return tr_1.Tr}})},37945:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tr_module_scss_1=__importDefault(__webpack_require__(8527));function Tr(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("tr",Object.assign({},rest,{className:(0,classnames_1.default)(tr_module_scss_1.default.tr,className)}),children)}exports.Tr=Tr},96157:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(28863);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},28863:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ul_module_scss_1=__importDefault(__webpack_require__(28839));function Ul(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ul",Object.assign({},rest,{className:(0,classnames_1.default)(ul_module_scss_1.default.ul,className)}),children)}exports.Ul=Ul},51072:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.fadeInOutClass=void 0;const fade_in_out_module_scss_1=__importDefault(__webpack_require__(41155));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},84770:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(49998),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},6281:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(84770),exports)},38946:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(49998),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},83327:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(38946),exports)},26:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Dropdown=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_drawer_1=__webpack_require__(92356),base_ui_surfaces_abs_container_1=__webpack_require__(8428),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),base_ui_surfaces_background_1=__webpack_require__(41755),dropdown_module_scss_1=__importDefault(__webpack_require__(83919)),evangelist_css_components_fade_in_out_1=__webpack_require__(51072);function Dropdown(_a){var{children,position="bottom",dropClass}=_a,rest=__rest(_a,["children","position","dropClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({},rest),react_1.default.createElement(DropdownMenu,{position,className:dropClass},children))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="medium",roundness="sharp"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:classnames_1.default(dropdown_module_scss_1.default.dropdown,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],evangelist_css_components_fade_in_out_1.fadeInOutClass,className)}))}Dropdown.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},47676:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(26),exports)},78057:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(88311),exports),__exportStar(__webpack_require__(54802),exports),__exportStar(__webpack_require__(76329),exports)},76329:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(1096),exports)},1096:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Arrow=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(8428),arrow_module_scss_1=__importDefault(__webpack_require__(41949)),arrow_position_module_scss_1=__importDefault(__webpack_require__(63604)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(20742));function Arrow(props){const{position="none",className}=props;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},props,{className:classnames_1.default(arrow_module_scss_1.default.arrow,arrow_shadow_module_scss_1.default[position],arrow_position_module_scss_1.default[position],className)}))}exports.Arrow=Arrow},54802:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(21326),exports)},21326:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipMenu=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(8428),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),tooltip_card_module_scss_1=__importDefault(__webpack_require__(40606)),TooltipMenu=_a=>{var{position,children,elevation="medium",roundness="sharp",className}=_a,rest=__rest(_a,["position","children","elevation","roundness","className"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({position,className:classnames_1.default(tooltip_card_module_scss_1.default.menu,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest),children)};exports.TooltipMenu=TooltipMenu,exports.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},88311:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipDrawer=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_drawer_1=__webpack_require__(92356),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_css_components_fade_in_out_1=__webpack_require__(51072),tooltip_card_1=__webpack_require__(54802),tooltip_arrow_1=__webpack_require__(76329),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(3069));function TooltipDrawer(_a){var{children,className,position="bottom",elevation,tooltipClass,arrowClass}=_a,rest=__rest(_a,["children","className","position","elevation","tooltipClass","arrowClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({className:classnames_1.default(tooltip_drawer_module_scss_1.default.drawer,className)},rest),react_1.default.createElement(tooltip_card_1.TooltipMenu,{position,elevation,className:classnames_1.default(tooltipClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.tooltip)},children),react_1.default.createElement(tooltip_arrow_1.Arrow,{position,className:classnames_1.default(arrowClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.arrow)}))}exports.TooltipDrawer=TooltipDrawer,TooltipDrawer.defaultProps={hoverToOpen:!1,position:"bottom"}},55521:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=exports.gql=exports.useQuery=void 0;var use_query_light_1=__webpack_require__(12410);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_light_1.useQuery}}),Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return use_query_light_1.gql}});var server_context_1=__webpack_require__(68947);Object.defineProperty(exports,"QueryServerProvider",{enumerable:!0,get:function(){return server_context_1.QueryServerProvider}}),Object.defineProperty(exports,"useQueryServer",{enumerable:!0,get:function(){return server_context_1.useQueryServer}})},68947:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=void 0;const react_1=__webpack_require__(59496),QueryServerCtx=(0,react_1.createContext)("/graphql");exports.QueryServerProvider=QueryServerCtx.Provider;const useQueryServer=()=>(0,react_1.useContext)(QueryServerCtx);exports.useQueryServer=useQueryServer},12410:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=exports.gql=void 0;const react_1=__webpack_require__(59496),graphql_request_1=__webpack_require__(2672),use_deep_compare_1=__webpack_require__(14605),server_context_1=__webpack_require__(68947);var graphql_request_2=__webpack_require__(2672);Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return graphql_request_2.gql}});function useQuery(query,{variables,server,headers}={}){const mountedRef=(0,react_1.useRef)(!0),[state,setState]=(0,react_1.useState)({loading:!1}),stableVariables=(0,use_deep_compare_1.useDeepCompareMemo)(()=>variables,[variables]),ctxServer=(0,server_context_1.useQueryServer)();return(0,react_1.useEffect)(()=>()=>{mountedRef.current=!1},[]),(0,react_1.useEffect)(()=>{const controller=createAborter();return setState(obj=>Object.assign(Object.assign({},obj),{loading:!0,error:void 0})),(0,graphql_request_1.request)({url:server||ctxServer,document:query,variables:stableVariables,requestHeaders:headers,signal:controller?.signal}).then(result=>{mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{data:result,loading:!1}))}).catch(e=>{var _a,_b,_c,_d;const isAborted=e&&(e.type==="aborted"||((_b=(_a=e.message).toLowerCase)===null||_b===void 0?void 0:_b.call(_a))==="aborted"||((_d=(_c=e.name).toLowerCase)===null||_d===void 0?void 0:_d.call(_c))==="aborterror");mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{error:isAborted?void 0:e,loading:!1}))}),()=>{controller?.abort()}},[query,stableVariables]),state}exports.useQuery=useQuery;function createAborter(){if(!(typeof AbortController>"u"))return new AbortController}},8839:(__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__(66221);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}})},66221:(__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},63541: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__(58310),exports)},58310: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.Link=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_navigation_link_1=__webpack_require__(97667),link_module_scss_1=__importDefault(__webpack_require__(177));function Link(props){return react_1.default.createElement(base_react_navigation_link_1.Link,Object.assign({},props,{className:link_module_scss_1.default.link,external:!0}))}exports.Link=Link},33406:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(12904),exports)},12904:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;const react_1=__importStar(__webpack_require__(59496)),mdx_ui_mdx_scope_context_1=__webpack_require__(81846),react_2=__webpack_require__(49613),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56750);function Snippet(_a){var{scope}=_a,rest=__rest(_a,["scope"]);const components=(0,react_1.useContext)(mdx_ui_mdx_scope_context_1.MDXScopeContext),_scope=(0,react_1.useMemo)(()=>Object.assign(Object.assign(Object.assign({},components),{mdx:react_2.mdx}),scope),[components,scope,react_2.mdx]);return react_1.default.createElement(documenter_markdown_hybrid_live_code_snippet_1.Snippet,Object.assign({scope:_scope},rest))}exports.Snippet=Snippet},13359:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MDXLayout=void 0;var mdx_layout_1=__webpack_require__(38116);Object.defineProperty(exports,"MDXLayout",{enumerable:!0,get:function(){return mdx_layout_1.MDXLayout}})},38116: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.MDXLayout=void 0;const react_1=__importStar(__webpack_require__(59496)),documenter_markdown_mdx_1=__webpack_require__(42699),mdx_ui_docs_snippet_1=__webpack_require__(33406),mdx_ui_docs_link_1=__webpack_require__(63541);__webpack_require__(83789);const mdxComponents={code:mdx_ui_docs_snippet_1.Snippet,a:mdx_ui_docs_link_1.Link};function MDXLayout(_a){var{components}=_a,rest=__rest(_a,["components"]);const _components=(0,react_1.useMemo)(()=>Object.assign(Object.assign({},mdxComponents),components),[mdxComponents,components]);return react_1.default.createElement(documenter_markdown_mdx_1.MDXLayout,Object.assign({components:_components},rest))}exports.MDXLayout=MDXLayout},26381:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(89140),base_ui_styles_flex_center_1=__webpack_require__(10981),error_fallback_module_scss_1=__importDefault(__webpack_require__(86899));function ErrorFallback({resetErrorBoundary,className,children="Failed to render",cta="try again"}){const handleClick=()=>__awaiter(this,void 0,void 0,function*(){yield new Promise(resolve=>setTimeout(resolve,480)),resetErrorBoundary()});return react_1.default.createElement("div",{className:(0,classnames_1.default)(error_fallback_module_scss_1.default.errorFallback,base_ui_styles_flex_center_1.flexCenter,className)},react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.icon}),react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.message},children),react_1.default.createElement(design_ui_icon_button_1.IconButton,{onClick:handleClick,className:error_fallback_module_scss_1.default.retryButton},cta))}exports.ErrorFallback=ErrorFallback},73783:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(26381);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},28566:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getInitials=void 0;function getInitials(name){if(!name)return;const words=name.split(" ");return words.length>1?words.slice(0,2).map(word=>word[0]).join(""):name.slice(0,2)}exports.getInitials=getInitials},92931:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getInitials=void 0;var get_initials_1=__webpack_require__(28566);Object.defineProperty(exports,"getInitials",{enumerable:!0,get:function(){return get_initials_1.getInitials}})},76662:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addAvatarQueryParams=void 0;function addAvatarQueryParams(url,size,defaultAvatarBgColor){if(!url)return url;const intSize=typeof size=="string"?parseInt(size):size,controlChar=url.indexOf("?")>-1?"&":"?",gravatarParams=[`size=${size}`],imgixParams=[`w=${intSize*2}`,`h=${intSize*2}`,"crop=faces","fit=crop",`bg=${defaultAvatarBgColor}`],params=[].concat(gravatarParams,imgixParams);return`${url}${controlChar}${params.join("&")}`}exports.addAvatarQueryParams=addAvatarQueryParams},76385:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addAvatarQueryParams=void 0;var add_avatar_query_params_1=__webpack_require__(76662);Object.defineProperty(exports,"addAvatarQueryParams",{enumerable:!0,get:function(){return add_avatar_query_params_1.addAvatarQueryParams}})},55239:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(14827),exports),__exportStar(__webpack_require__(71418),exports),__exportStar(__webpack_require__(17970),exports)},14827:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoaderContext=void 0;const react_1=__webpack_require__(59496),defaultLoaderApi={isActive:()=>!1,update:()=>!1,remove:()=>!1};exports.LoaderContext=(0,react_1.createContext)(defaultLoaderApi)},71418:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoaderApi=void 0;const react_1=__webpack_require__(59496);function useLoaderApi(){const{current:loaders}=(0,react_1.useRef)(new Set),[isLoading,setIsLoading]=(0,react_1.useState)(!1),reevaluate=(0,react_1.useCallback)(()=>{setIsLoading(loaders.size>0)},[loaders]);return[(0,react_1.useMemo)(()=>({isActive:id=>loaders.has(id),update:(id,value)=>{const res=value?!!loaders.add(id):loaders.delete(id);return reevaluate(),res},remove:id=>{const res=loaders.delete(id);return reevaluate(),res}}),[loaders,reevaluate]),isLoading]}exports.useLoaderApi=useLoaderApi},17970:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoader=void 0;const react_1=__webpack_require__(59496),uuid_1=__webpack_require__(37196),loader_context_1=__webpack_require__(14827);function useLoader(loading){const[id]=(0,react_1.useState)(()=>(0,uuid_1.v1)()),ctx=(0,react_1.useContext)(loader_context_1.LoaderContext);(0,react_1.useEffect)(()=>(ctx.update(id,loading),()=>{ctx.remove(id)}),[loading,ctx,id])}exports.useLoader=useLoader},25338:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;var use_data_query_1=__webpack_require__(45383);Object.defineProperty(exports,"useDataQuery",{enumerable:!0,get:function(){return use_data_query_1.useDataQuery}})},45383:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;const react_1=__webpack_require__(59496),client_1=__webpack_require__(97299),ui_foundation_ui_notifications_notification_context_1=__webpack_require__(44758),ui_foundation_ui_global_loader_1=__webpack_require__(55239);function useDataQuery(query,options){const res=(0,client_1.useQuery)(query,options),notifications=(0,react_1.useContext)(ui_foundation_ui_notifications_notification_context_1.NotificationContext),{loading,error}=res;return(0,ui_foundation_ui_global_loader_1.useLoader)(loading),error&&notifications.error(apolloErrorToString(error)),res}exports.useDataQuery=useDataQuery;function apolloErrorToString(error){return error.toString()}},84214:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;var use_is_mobile_1=__webpack_require__(57761);Object.defineProperty(exports,"useIsMobile",{enumerable:!0,get:function(){return use_is_mobile_1.useIsMobile}})},57761:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;const ui_foundation_ui_hooks_use_user_agent_1=__webpack_require__(20918);function useIsMobile(){var _a;const deviceType=(_a=(0,ui_foundation_ui_hooks_use_user_agent_1.useUserAgent)())===null||_a===void 0?void 0:_a.getDevice().type;return deviceType==="tablet"||deviceType==="mobile"}exports.useIsMobile=useIsMobile},20918:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.UserAgentProvider=exports.userAgentContext=exports.ssrBrowserContext=exports.SSRBrowserProvider=void 0;var use_user_agent_1=__webpack_require__(74175);Object.defineProperty(exports,"SSRBrowserProvider",{enumerable:!0,get:function(){return use_user_agent_1.SSRBrowserProvider}}),Object.defineProperty(exports,"ssrBrowserContext",{enumerable:!0,get:function(){return use_user_agent_1.ssrBrowserContext}}),Object.defineProperty(exports,"userAgentContext",{enumerable:!0,get:function(){return use_user_agent_1.userAgentContext}}),Object.defineProperty(exports,"UserAgentProvider",{enumerable:!0,get:function(){return use_user_agent_1.UserAgentProvider}}),Object.defineProperty(exports,"useUserAgent",{enumerable:!0,get:function(){return use_user_agent_1.useUserAgent}})},74175:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.SSRBrowserProvider=exports.ssrBrowserContext=exports.UserAgentProvider=exports.userAgentContext=void 0;const react_1=__webpack_require__(59496),ua_parser_js_1=__importDefault(__webpack_require__(35202));exports.userAgentContext=(0,react_1.createContext)(void 0),exports.UserAgentProvider=exports.userAgentContext.Provider,exports.ssrBrowserContext=(0,react_1.createContext)(void 0),exports.SSRBrowserProvider=exports.ssrBrowserContext.Provider;function useUserAgent(){const browser=(0,react_1.useContext)(exports.ssrBrowserContext);return browser?new ua_parser_js_1.default(browser.headers["user-agent"]):new ua_parser_js_1.default(window.navigator.userAgent)}exports.useUserAgent=useUserAgent},69497:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;var keycap_1=__webpack_require__(16617);Object.defineProperty(exports,"KeySequence",{enumerable:!0,get:function(){return keycap_1.KeySequence}}),Object.defineProperty(exports,"KeyCombo",{enumerable:!0,get:function(){return keycap_1.KeyCombo}}),Object.defineProperty(exports,"Keycap",{enumerable:!0,get:function(){return keycap_1.Keycap}})},91205:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prettifyKey=void 0;const ui_foundation_ui_is_browser_1=__webpack_require__(48843),macKeySymbols={shift:"\u21E7",ctrl:"\u2303",alt:"\u2325",command:"\u2318",meta:"\u2318",mod:"\u2318",backspace:"\u232B",tab:"\u21E5",enter:"\u21A9",return:"\u21A9",capslock:"\u21EA",esc:"\u238B",escape:"\u238B",space:"\u2423",pageup:"\u21DE",pagedown:"\u21DF",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"\u2326",ins:"insert",plus:"+"},winKeySymbols={shift:"shift",ctrl:"ctrl",alt:"alt",meta:"win",mod:"ctrl",backspace:"backspace",tab:"tab",enter:"enter",return:"enter",capslock:"caps lock",esc:"Esc",escape:"Esc",space:"\u2423",pageup:"pgUp",pagedown:"pgDown",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"del",ins:"insert",plus:"+"},macRegex=/Mac|iPod|iPhone|iPad/;function prettifyKey(key){if(typeof key!="string")return key;const lib=!ui_foundation_ui_is_browser_1.isBrowser||macRegex.test(window.navigator.platform)?macKeySymbols:winKeySymbols;return key in lib?lib[key]:key}exports.prettifyKey=prettifyKey},16617:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),key_module_scss_1=__importDefault(__webpack_require__(90372)),key_characters_1=__webpack_require__(91205);function KeySequence(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const content=(0,react_1.useMemo)(()=>{const mapped=children.split(" ").map(x=>x.trim()).filter(x=>!!x).map((combo,idx)=>react_1.default.createElement(KeyCombo,{key:idx},combo));return insertBetween(mapped,idx=>react_1.default.createElement(Then,{key:`then-sep_${idx}`}))},[children]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(key_module_scss_1.default.keySequence,className)}),content)}exports.KeySequence=KeySequence;function KeyCombo(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const split=children.split("+").map(x=>x.trim());return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keyCombo)}),split.map((x,idx)=>react_1.default.createElement(Keycap,{key:idx},x)))}exports.KeyCombo=KeyCombo;function Keycap(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);const prettyKey=(0,key_characters_1.prettifyKey)(children);return react_1.default.createElement("kbd",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keycap)}),prettyKey)}exports.Keycap=Keycap;function insertBetween(arr,toInsert){const res=[];return arr.forEach((item,idx)=>{res.push(item),res.push(toInsert(idx))}),res.pop(),res}function Then(){return react_1.default.createElement("span",{className:key_module_scss_1.default.thenSep},"then")}},76285:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;var main_dropdown_1=__webpack_require__(71135);Object.defineProperty(exports,"MainDropdown",{enumerable:!0,get:function(){return main_dropdown_1.MainDropdown}})},71135:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;const evangelist_elements_icon_1=__webpack_require__(6281),evangelist_surfaces_tooltip_1=__webpack_require__(78057),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),lodash_1=__webpack_require__(32699),ui_foundation_ui_keycap_1=__webpack_require__(69497),main_dropdown_module_scss_1=__importDefault(__webpack_require__(47402));function MainDropdown(_a){var{menuItems,className}=_a,rest=__rest(_a,["menuItems","className"]);return!menuItems||(0,lodash_1.isEmpty)(menuItems)?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.mainDropdown,className)}),react_1.default.createElement(evangelist_surfaces_tooltip_1.TooltipDrawer,{className:main_dropdown_module_scss_1.default.dropdown,tooltipClass:main_dropdown_module_scss_1.default.menu,placeholder:"",clickOutside:!0,PlaceholderComponent:()=>react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.iconAnchor},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.overlay}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.icon),of:"more"}))},react_1.default.createElement("div",null,Object.keys(menuItems).map((category,index)=>react_1.default.createElement(MenuBlock,{key:index,title:category},menuItems[category].map(item=>item&&react_1.default.createElement(Line,{key:item.keyChar,lineTitle:item.title,keyChar:item.keyChar,onClick:item.handler})))))))}exports.MainDropdown=MainDropdown;function Line(_a){var{lineTitle,keyChar,onClick}=_a,rest=__rest(_a,["lineTitle","keyChar","onClick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.line),onClick}),react_1.default.createElement("div",null,lineTitle),keyChar&&react_1.default.createElement("pre",null,react_1.default.createElement(ui_foundation_ui_keycap_1.KeySequence,null,keyChar)))}function MenuBlock({title,children}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.menuBlock)},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.title},title),children)}},43492:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;var menu_widget_icon_1=__webpack_require__(80548);Object.defineProperty(exports,"MenuWidgetIcon",{enumerable:!0,get:function(){return menu_widget_icon_1.MenuWidgetIcon}})},80548:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),design_ui_tooltip_1=__webpack_require__(49142),menu_widget_icon_module_scss_1=__importDefault(__webpack_require__(4909));function MenuWidgetIcon(_a){var{tooltipContent,icon,className}=_a,rest=__rest(_a,["tooltipContent","icon","className"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{placement:"bottom",offset:[0,15],content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(menu_widget_icon_module_scss_1.default.widgetMenuIcon,className)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:menu_widget_icon_module_scss_1.default.icon})))}exports.MenuWidgetIcon=MenuWidgetIcon},44758:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(55236),exports)},55236:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNotifications=exports.NotificationContext=void 0;const react_1=__webpack_require__(59496),DefaultNotificationApi={add:()=>"",log:()=>"",error:()=>"",dismiss:()=>{},clear:()=>{}};exports.NotificationContext=(0,react_1.createContext)(DefaultNotificationApi);const useNotifications=()=>(0,react_1.useContext)(exports.NotificationContext);exports.useNotifications=useNotifications},44514:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;var use_query_1=__webpack_require__(92887);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_1.useQuery}})},92887:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;const base_react_navigation_link_1=__webpack_require__(97667);function useQuery(){const{search}=(0,base_react_navigation_link_1.useLocation)()||{search:"/"};return new URLSearchParams(search)}exports.useQuery=useQuery},94706:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitInfo=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_content_documentation_links_1=__webpack_require__(2681),documenter_ui_copy_box_1=__webpack_require__(66377),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),base_react_navigation_link_1=__webpack_require__(97667),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),bit_info_module_scss_1=__importDefault(__webpack_require__(91814));function BitInfo(_a){var rest=__rest(_a,[]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,{className:bit_info_module_scss_1.default.moreInfo,bottom:react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,href:documenter_content_documentation_links_1.links.installBit,className:ui_foundation_ui_use_box_bottom_link_1.linkStyles},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"information-sign"}),react_1.default.createElement("span",null,"Learn more"))},react_1.default.createElement("div",null,"Install bit"),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,"npx @teambit/bvm install")))}exports.BitInfo=BitInfo},19912:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitInfo=void 0;var bit_info_1=__webpack_require__(94706);Object.defineProperty(exports,"BitInfo",{enumerable:!0,get:function(){return bit_info_1.BitInfo}})},27268:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkStyles=void 0;const bottom_link_module_scss_1=__importDefault(__webpack_require__(51001));exports.linkStyles=bottom_link_module_scss_1.default.link},37500:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_surfaces_dropdown_1=__webpack_require__(47676),evangelist_elements_icon_1=__webpack_require__(6281),dropdown_module_scss_1=__importDefault(__webpack_require__(42485));function UseBoxDropdown(_a){var{className,Menu,actionName,actionIcon}=_a,rest=__rest(_a,["className","Menu","actionName","actionIcon"]);const[key,setKey]=(0,react_1.useState)(0),DropdownMenu=react_1.default.cloneElement(Menu,{key});return react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,Object.assign({className:(0,classnames_1.default)(className)},rest,{onChange:(_e,open)=>open&&setKey(x=>x+1),dropClass:dropdown_module_scss_1.default.menu,placeholder:react_1.default.createElement(Placeholder,{actionName,actionIcon}),clickToggles:!1,clickPlaceholderToggles:!0}),DropdownMenu)}exports.UseBoxDropdown=UseBoxDropdown;function Placeholder(_a){var{actionName="Use",actionIcon="package"}=_a,rest=__rest(_a,["actionName","actionIcon"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.placeholder)},rest),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:actionIcon}),react_1.default.createElement("div",{className:dropdown_module_scss_1.default.content},actionName),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:dropdown_module_scss_1.default.content,of:"fat-arrow-down"}))}},87514:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;var dropdown_1=__webpack_require__(37500);Object.defineProperty(exports,"UseBoxDropdown",{enumerable:!0,get:function(){return dropdown_1.UseBoxDropdown}})},94110:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Import=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),classnames_1=__importDefault(__webpack_require__(97754)),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bit_info_1=__webpack_require__(19912),tooltip_copybox_1=__webpack_require__(89211),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Import(_a){var{componentId,packageName,componentName,showInstallMethod=!0}=_a,rest=__rest(_a,["componentId","packageName","componentName","showInstallMethod"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.ExpandableTabContent,Object.assign({},rest,{content:react_1.default.createElement("div",{className:menu_module_scss_1.default.importContent},react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(!showInstallMethod&&menu_module_scss_1.default.disabled)},!showInstallMethod&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:menu_module_scss_1.default.warnIcon,of:"warn-circle"}),showInstallMethod&&`Add ${componentName} as a dependency`,!showInstallMethod&&"Installation unavailable: This component has not been built yet"),showInstallMethod&&react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit install ${packageName??""}`,disabled:!showInstallMethod})),react_1.default.createElement("div",null,`Import ${componentName} to your workspace`),react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit import ${componentId}`}),react_1.default.createElement("div",null,`Fork ${componentName} to your workspace`),react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit fork ${componentId}`})),drawerTitle:react_1.default.createElement("div",{className:menu_module_scss_1.default.bottom},react_1.default.createElement(evangelist_elements_icon_1.Icon,{color:"yellow",of:"download"}),react_1.default.createElement("span",null,"Install Bit on your computer")),drawerContent:react_1.default.createElement(ui_foundation_ui_use_box_bit_info_1.BitInfo,null)}))}exports.Import=Import},68094:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Registry=exports.Install=exports.Import=exports.Menu=void 0;var menu_1=__webpack_require__(74896);Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return menu_1.Menu}});var import_1=__webpack_require__(94110);Object.defineProperty(exports,"Import",{enumerable:!0,get:function(){return import_1.Import}});var install_1=__webpack_require__(55965);Object.defineProperty(exports,"Install",{enumerable:!0,get:function(){return install_1.Install}});var registry_1=__webpack_require__(51324);Object.defineProperty(exports,"Registry",{enumerable:!0,get:function(){return registry_1.Registry}})},55965:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Install=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_ui_highlighted_text_1=__webpack_require__(34712),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),tooltip_copybox_1=__webpack_require__(89211),registry_1=__webpack_require__(51324),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Install(_a){var{componentName,copyString,registryName,packageManager,config,isInstallable}=_a,rest=__rest(_a,["componentName","copyString","registryName","packageManager","config","isInstallable"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.ExpandableTabContent,Object.assign({},rest,{content:react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(!isInstallable&&menu_module_scss_1.default.disabled)},!isInstallable&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:menu_module_scss_1.default.warnIcon,of:"warn-circle"}),isInstallable&&`Install ${componentName} with ${packageManager}`,!isInstallable&&"Installation unavailable: This component has not been built yet"),isInstallable&&react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:copyString,disabled:!isInstallable})),drawerTitle:registryName&&react_1.default.createElement("div",{className:menu_module_scss_1.default.bottom},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"settings"}),react_1.default.createElement("span",null,"Configure ",react_1.default.createElement(documenter_ui_highlighted_text_1.HighlightedText,null,registryName)," as a Scoped Registry")),drawerContent:registryName&&react_1.default.createElement(registry_1.Registry,{copyString:config})}))}exports.Install=Install},74896:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Menu=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),lodash_orderby_1=__importDefault(__webpack_require__(30174)),lodash_flatten_1=__importDefault(__webpack_require__(11549)),ui_foundation_ui_use_box_tab_1=__webpack_require__(11058),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Menu(_a){var{methods,componentName}=_a,rest=__rest(_a,["methods","componentName"]);const[activeTab,setActiveTab]=(0,react_1.useState)(0),OrderedMethods=(0,react_1.useMemo)(()=>(0,lodash_orderby_1.default)((0,lodash_flatten_1.default)(methods),["order"]),[methods]),{Component}=OrderedMethods[activeTab]||{};return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(rest.className,menu_module_scss_1.default.container)}),react_1.default.createElement("div",{className:menu_module_scss_1.default.top},react_1.default.createElement("div",{className:menu_module_scss_1.default.title},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"terminal"}),react_1.default.createElement("span",null,`Use ${componentName}`))),react_1.default.createElement("div",{className:menu_module_scss_1.default.tabs},OrderedMethods.map(({Title},index)=>react_1.default.createElement(ui_foundation_ui_use_box_tab_1.Tab,{key:index,isActive:activeTab===index,onClick:()=>setActiveTab(index)},Title))),Component)}exports.Menu=Menu},51324:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Registry=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_content_documentation_links_1=__webpack_require__(2681),documenter_ui_copy_box_1=__webpack_require__(66377),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),base_react_navigation_link_1=__webpack_require__(97667),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Registry(_a){var{copyString}=_a,rest=__rest(_a,["copyString"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{className:menu_module_scss_1.default.registry,bottom:react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,href:documenter_content_documentation_links_1.links.scopedRegistry,className:ui_foundation_ui_use_box_bottom_link_1.linkStyles},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"information-sign"}),react_1.default.createElement("span",null,"Learn more"))}),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,copyString))}exports.Registry=Registry},89211:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipCopybox=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_copy_box_1=__webpack_require__(66377),design_ui_tooltip_1=__webpack_require__(49142);function TooltipCopybox(_a){var{content}=_a,rest=__rest(_a,["content"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,Object.assign({},rest,{content,placement:"bottom",maxWidth:"",breakline:!0}),react_1.default.createElement("div",null,react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,content)))}exports.TooltipCopybox=TooltipCopybox},88860:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_animate_height_1=__importDefault(__webpack_require__(14434)),evangelist_elements_icon_1=__webpack_require__(6281),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),tab_content_module_scss_1=__importDefault(__webpack_require__(40517));function ExpandableTabContent(_a){var{tabContent,content,drawerContent,drawerTitle}=_a,rest=__rest(_a,["tabContent","content","drawerContent","drawerTitle"]);const[open,toggle]=(0,react_1.useState)(!1),iconStyles=open?tab_content_module_scss_1.default.open:"";return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{bottom:drawerTitle&&drawerContent&&react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(ui_foundation_ui_use_box_bottom_link_1.linkStyles,tab_content_module_scss_1.default.drawer),onClick:()=>toggle(!open)},react_1.default.createElement("div",null,drawerTitle),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"down-rounded-corners",className:iconStyles})),react_1.default.createElement(react_animate_height_1.default,{height:open?"auto":0},drawerContent))}),tabContent||content)}exports.ExpandableTabContent=ExpandableTabContent},6839:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=exports.TabContent=void 0;var tab_content_1=__webpack_require__(39854);Object.defineProperty(exports,"TabContent",{enumerable:!0,get:function(){return tab_content_1.TabContent}});var expandable_tab_content_1=__webpack_require__(88860);Object.defineProperty(exports,"ExpandableTabContent",{enumerable:!0,get:function(){return expandable_tab_content_1.ExpandableTabContent}})},39854:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabContent=void 0;const react_1=__importDefault(__webpack_require__(59496)),tab_content_module_scss_1=__importDefault(__webpack_require__(40517));function TabContent(_a){var{children,bottom}=_a,rest=__rest(_a,["children","bottom"]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement("div",{className:tab_content_module_scss_1.default.middle},children),bottom&&react_1.default.createElement("div",{className:tab_content_module_scss_1.default.bottom},bottom))}exports.TabContent=TabContent},11058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;var tab_1=__webpack_require__(33615);Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return tab_1.Tab}})},33615:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tab_module_scss_1=__importDefault(__webpack_require__(3115));function Tab(_a){var{onClick,isActive,className,children}=_a,rest=__rest(_a,["onClick","isActive","className","children"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(tab_module_scss_1.default.tab,isActive&&tab_module_scss_1.default.active,className),onClick}),children)}exports.Tab=Tab},69495:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__,tippy:()=>tippy_js__WEBPACK_IMPORTED_MODULE_0__.default,useSingleton:()=>useSingleton});var tippy_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(48199),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(59496),react_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(87995);function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}var isBrowser=typeof window<"u"&&typeof document<"u";function preserveRef(ref,node){ref&&(typeof ref=="function"&&ref(node),{}.hasOwnProperty.call(ref,"current")&&(ref.current=node))}function ssrSafeCreateDiv(){return isBrowser&&document.createElement("div")}function toDataAttributes(attrs){var dataAttrs={"data-placement":attrs.placement};return attrs.referenceHidden&&(dataAttrs["data-reference-hidden"]=""),attrs.escaped&&(dataAttrs["data-escaped"]=""),dataAttrs}function deepPreserveProps(instanceProps,componentProps){var _instanceProps$popper,_componentProps$poppe;return Object.assign({},componentProps,{popperOptions:Object.assign({},instanceProps.popperOptions,componentProps.popperOptions,{modifiers:[].concat((((_instanceProps$popper=instanceProps.popperOptions)==null?void 0:_instanceProps$popper.modifiers)||[]).filter(function(modifier){return modifier.name.indexOf("tippy")>=0}),((_componentProps$poppe=componentProps.popperOptions)==null?void 0:_componentProps$poppe.modifiers)||[])})})}var useIsomorphicLayoutEffect=isBrowser?react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_1__.useEffect;function useMutableBox(initialValue){var ref=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();return ref.current||(ref.current=typeof initialValue=="function"?initialValue():initialValue),ref.current}function updateClassName(box,action,classNames){classNames.split(/\s+/).forEach(function(name){name&&box.classList[action](name)})}var classNamePlugin={name:"className",defaultValue:"",fn:function(instance){var box=instance.popper.firstElementChild,isDefaultRenderFn=function(){var _instance$props$rende;return!!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy)};function add(){instance.props.className&&!isDefaultRenderFn()||updateClassName(box,"add",instance.props.className)}function remove(){isDefaultRenderFn()&&updateClassName(box,"remove",instance.props.className)}return{onCreate:add,onBeforeUpdate:remove,onAfterUpdate:add}}};function TippyGenerator(tippy){function Tippy(_ref){var children=_ref.children,content=_ref.content,visible=_ref.visible,singleton=_ref.singleton,render=_ref.render,reference=_ref.reference,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$ignoreAttributes=_ref.ignoreAttributes,ignoreAttributes=_ref$ignoreAttributes===void 0?!0:_ref$ignoreAttributes,__source=_ref.__source,__self=_ref.__self,restOfNativeProps=_objectWithoutPropertiesLoose(_ref,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),isControlledMode=visible!==void 0,isSingletonMode=singleton!==void 0,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}),attrs=_useState2[0],setAttrs=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),singletonContent=_useState3[0],setSingletonContent=_useState3[1],mutableBox=useMutableBox(function(){return{container:ssrSafeCreateDiv(),renders:1}}),props=Object.assign({ignoreAttributes},restOfNativeProps,{content:mutableBox.container});isControlledMode&&(props.trigger="manual",props.hideOnClick=!1),isSingletonMode&&(disabled=!0);var computedProps=props,plugins=props.plugins||[];render&&(computedProps=Object.assign({},props,{plugins:isSingletonMode?[].concat(plugins,[{fn:function(){return{onTrigger:function(_,event){var _singleton$data$child=singleton.data.children.find(function(_ref2){var instance=_ref2.instance;return instance.reference===event.currentTarget}),content2=_singleton$data$child.content;setSingletonContent(content2)}}}}]):plugins,render:function(){return{popper:mutableBox.container}}}));var deps=[reference].concat(children?[children.type]:[]);return useIsomorphicLayoutEffect(function(){var element=reference;reference&&reference.hasOwnProperty("current")&&(element=reference.current);var instance=tippy(element||mutableBox.ref||ssrSafeCreateDiv(),Object.assign({},computedProps,{plugins:[classNamePlugin].concat(props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),visible&&instance.show(),isSingletonMode&&singleton.hook({instance,content,props:computedProps}),setMounted(!0),function(){instance.destroy(),singleton?.cleanup(instance)}},deps),useIsomorphicLayoutEffect(function(){if(mutableBox.renders===1){mutableBox.renders++;return}var instance=mutableBox.instance;instance.setProps(deepPreserveProps(instance.props,computedProps)),disabled?instance.disable():instance.enable(),isControlledMode&&(visible?instance.show():instance.hide()),isSingletonMode&&singleton.hook({instance,content,props:computedProps})}),useIsomorphicLayoutEffect(function(){var _instance$props$poppe;if(!!render){var instance=mutableBox.instance;instance.setProps({popperOptions:Object.assign({},instance.props.popperOptions,{modifiers:[].concat(((_instance$props$poppe=instance.props.popperOptions)==null?void 0:_instance$props$poppe.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_ref3){var _state$modifiersData,state=_ref3.state,hideData=(_state$modifiersData=state.modifiersData)==null?void 0:_state$modifiersData.hide;(attrs.placement!==state.placement||attrs.referenceHidden!==hideData?.isReferenceHidden||attrs.escaped!==hideData?.hasPopperEscaped)&&setAttrs({placement:state.placement,referenceHidden:hideData?.isReferenceHidden,escaped:hideData?.hasPopperEscaped}),state.attributes.popper={}}}])})})}},[attrs.placement,attrs.referenceHidden,attrs.escaped].concat(deps)),react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,null,children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){mutableBox.ref=node,preserveRef(children.ref,node)}}):null,mounted&&(0,react_dom__WEBPACK_IMPORTED_MODULE_2__.createPortal)(render?render(toDataAttributes(attrs),singletonContent,mutableBox.instance):content,mutableBox.container))}return Tippy}function useSingletonGenerator(createSingleton){return function(_temp){var _ref=_temp===void 0?{}:_temp,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$overrides=_ref.overrides,overrides=_ref$overrides===void 0?[]:_ref$overrides,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],mutableBox=useMutableBox({children:[],renders:1});return useIsomorphicLayoutEffect(function(){if(!mounted){setMounted(!0);return}var children=mutableBox.children,sourceData=mutableBox.sourceData;if(!!sourceData){var instance=createSingleton(children.map(function(child){return child.instance}),Object.assign({},sourceData.props,{popperOptions:sourceData.instance.props.popperOptions,overrides,plugins:[classNamePlugin].concat(sourceData.props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),function(){instance.destroy(),mutableBox.children=children.filter(function(_ref2){var instance2=_ref2.instance;return!instance2.state.isDestroyed})}}},[mounted]),useIsomorphicLayoutEffect(function(){if(!!mounted){if(mutableBox.renders===1){mutableBox.renders++;return}var children=mutableBox.children,instance=mutableBox.instance,sourceData=mutableBox.sourceData;if(!!(instance&&sourceData)){var _sourceData$props=sourceData.props,content=_sourceData$props.content,props=_objectWithoutPropertiesLoose(_sourceData$props,["content"]);instance.setProps(deepPreserveProps(instance,Object.assign({},props,{overrides}))),instance.setInstances(children.map(function(child){return child.instance})),disabled?instance.disable():instance.enable()}}}),(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){var source={data:mutableBox,hook:function(data){mutableBox.sourceData=data},cleanup:function(){mutableBox.sourceData=null}},target={hook:function(data){mutableBox.children.find(function(_ref3){var instance=_ref3.instance;return data.instance===instance})||mutableBox.children.push(data)},cleanup:function(instance){mutableBox.children=mutableBox.children.filter(function(data){return data.instance!==instance})}};return[source,target]},[])}}var forwardRef=function(Tippy,defaultProps){return(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function(_ref,_ref2){var children=_ref.children,props=_objectWithoutPropertiesLoose(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_1__.createElement(Tippy,Object.assign({},defaultProps,props),children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){preserveRef(_ref2,node),preserveRef(children.ref,node)}}):null)})},useSingleton=useSingletonGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.createSingleton),index=forwardRef(TippyGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.default));const __WEBPACK_DEFAULT_EXPORT__=index},74257:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module=__webpack_require__.nmd(module);const colorConvert=__webpack_require__(18358),wrapAnsi16=(fn,offset)=>function(){return`\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){const code=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){const rgb=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){const codes=new Map,styles2={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles2.color.grey=styles2.color.gray;for(const groupName of Object.keys(styles2)){const group=styles2[groupName];for(const styleName of Object.keys(group)){const style=group[styleName];styles2[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles2[styleName],codes.set(style[0],style[1])}Object.defineProperty(styles2,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles2,"codes",{value:codes,enumerable:!1})}const ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles2.color.close="\x1B[39m",styles2.bgColor.close="\x1B[49m",styles2.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles2.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles2.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles2.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles2.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles2.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;const suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles2.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles2.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles2.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles2.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles2.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles2.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10))}return styles2}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles})},48049:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);function _typeof(o){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol=="function"&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2},_typeof(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__webpack_require__(18895),_require$codes=_require.codes,ERR_AMBIGUOUS_ARGUMENT=_require$codes.ERR_AMBIGUOUS_ARGUMENT,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_INVALID_ARG_VALUE=_require$codes.ERR_INVALID_ARG_VALUE,ERR_INVALID_RETURN_VALUE=_require$codes.ERR_INVALID_RETURN_VALUE,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,AssertionError=__webpack_require__(6960),_require2=__webpack_require__(93585),inspect=_require2.inspect,_require$types=__webpack_require__(93585).types,isPromise=_require$types.isPromise,isRegExp=_require$types.isRegExp,objectAssign=__webpack_require__(82724)(),objectIs=__webpack_require__(78075)(),RegExpPrototypeTest=__webpack_require__(74161)("RegExp.prototype.test"),errorCache=new Map,isDeepEqual,isDeepStrictEqual,parseExpressionAt,findNodeAround,decoder;function lazyLoadComparison(){var comparison=__webpack_require__(44984);isDeepEqual=comparison.isDeepEqual,isDeepStrictEqual=comparison.isDeepStrictEqual}var escapeSequencesRegExp=/[\x00-\x08\x0b\x0c\x0e-\x1f]/g,meta=null,escapeFn=function(str){return meta[str.charCodeAt(0)]},warned=!1,assert=module.exports=ok,NO_EXCEPTION_SENTINEL={};function innerFail(obj){throw obj.message instanceof Error?obj.message:new AssertionError(obj)}function fail(actual,expected,message,operator,stackStartFn){var argsLen=arguments.length,internalMessage;if(argsLen===0)internalMessage="Failed";else if(argsLen===1)message=actual,actual=void 0;else{if(warned===!1){warned=!0;var warn=process.emitWarning?process.emitWarning:console.warn.bind(console);warn("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}argsLen===2&&(operator="!=")}if(message instanceof Error)throw message;var errArgs={actual,expected,operator:operator===void 0?"fail":operator,stackStartFn:stackStartFn||fail};message!==void 0&&(errArgs.message=message);var err=new AssertionError(errArgs);throw internalMessage&&(err.message=internalMessage,err.generatedMessage=!0),err}assert.fail=fail,assert.AssertionError=AssertionError;function innerOk(fn,argLen,value,message){if(!value){var generatedMessage=!1;if(argLen===0)generatedMessage=!0,message="No value argument passed to `assert.ok()`";else if(message instanceof Error)throw message;var err=new AssertionError({actual:value,expected:!0,message,operator:"==",stackStartFn:fn});throw err.generatedMessage=generatedMessage,err}}function ok(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];innerOk.apply(void 0,[ok,args.length].concat(args))}assert.ok=ok,assert.equal=function equal(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual!=expected&&innerFail({actual,expected,message,operator:"==",stackStartFn:equal})},assert.notEqual=function notEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual==expected&&innerFail({actual,expected,message,operator:"!=",stackStartFn:notEqual})},assert.deepEqual=function deepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepEqual",stackStartFn:deepEqual})},assert.notDeepEqual=function notDeepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepEqual",stackStartFn:notDeepEqual})},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepStrictEqual",stackStartFn:deepStrictEqual})},assert.notDeepStrictEqual=notDeepStrictEqual;function notDeepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepStrictEqual",stackStartFn:notDeepStrictEqual})}assert.strictEqual=function strictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)||innerFail({actual,expected,message,operator:"strictEqual",stackStartFn:strictEqual})},assert.notStrictEqual=function notStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)&&innerFail({actual,expected,message,operator:"notStrictEqual",stackStartFn:notStrictEqual})};var Comparison=_createClass(function Comparison2(obj,keys,actual){var _this=this;_classCallCheck(this,Comparison2),keys.forEach(function(key){key in obj&&(actual!==void 0&&typeof actual[key]=="string"&&isRegExp(obj[key])&&RegExpPrototypeTest(obj[key],actual[key])?_this[key]=actual[key]:_this[key]=obj[key])})});function compareExceptionKey(actual,expected,key,message,keys,fn){if(!(key in actual)||!isDeepStrictEqual(actual[key],expected[key])){if(!message){var a=new Comparison(actual,keys),b=new Comparison(expected,keys,actual),err=new AssertionError({actual:a,expected:b,operator:"deepStrictEqual",stackStartFn:fn});throw err.actual=actual,err.expected=expected,err.operator=fn.name,err}innerFail({actual,expected,message,operator:fn.name,stackStartFn:fn})}}function expectedException(actual,expected,msg,fn){if(typeof expected!="function"){if(isRegExp(expected))return RegExpPrototypeTest(expected,actual);if(arguments.length===2)throw new ERR_INVALID_ARG_TYPE("expected",["Function","RegExp"],expected);if(_typeof(actual)!=="object"||actual===null){var err=new AssertionError({actual,expected,message:msg,operator:"deepStrictEqual",stackStartFn:fn});throw err.operator=fn.name,err}var keys=Object.keys(expected);if(expected instanceof Error)keys.push("name","message");else if(keys.length===0)throw new ERR_INVALID_ARG_VALUE("error",expected,"may not be an empty object");return isDeepEqual===void 0&&lazyLoadComparison(),keys.forEach(function(key){typeof actual[key]=="string"&&isRegExp(expected[key])&&RegExpPrototypeTest(expected[key],actual[key])||compareExceptionKey(actual,expected,key,msg,keys,fn)}),!0}return expected.prototype!==void 0&&actual instanceof expected?!0:Error.isPrototypeOf(expected)?!1:expected.call({},actual)===!0}function getActual(fn){if(typeof fn!="function")throw new ERR_INVALID_ARG_TYPE("fn","Function",fn);try{fn()}catch(e){return e}return NO_EXCEPTION_SENTINEL}function checkIsPromise(obj){return isPromise(obj)||obj!==null&&_typeof(obj)==="object"&&typeof obj.then=="function"&&typeof obj.catch=="function"}function waitForActual(promiseFn){return Promise.resolve().then(function(){var resultPromise;if(typeof promiseFn=="function"){if(resultPromise=promiseFn(),!checkIsPromise(resultPromise))throw new ERR_INVALID_RETURN_VALUE("instance of Promise","promiseFn",resultPromise)}else if(checkIsPromise(promiseFn))resultPromise=promiseFn;else throw new ERR_INVALID_ARG_TYPE("promiseFn",["Function","Promise"],promiseFn);return Promise.resolve().then(function(){return resultPromise}).then(function(){return NO_EXCEPTION_SENTINEL}).catch(function(e){return e})})}function expectsError(stackStartFn,actual,error,message){if(typeof error=="string"){if(arguments.length===4)throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(_typeof(actual)==="object"&&actual!==null){if(actual.message===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error message "'.concat(actual.message,'" is identical to the message.'))}else if(actual===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error "'.concat(actual,'" is identical to the message.'));message=error,error=void 0}else if(error!=null&&_typeof(error)!=="object"&&typeof error!="function")throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(actual===NO_EXCEPTION_SENTINEL){var details="";error&&error.name&&(details+=" (".concat(error.name,")")),details+=message?": ".concat(message):".";var fnType=stackStartFn.name==="rejects"?"rejection":"exception";innerFail({actual:void 0,expected:error,operator:stackStartFn.name,message:"Missing expected ".concat(fnType).concat(details),stackStartFn})}if(error&&!expectedException(actual,error,message,stackStartFn))throw actual}function expectsNoError(stackStartFn,actual,error,message){if(actual!==NO_EXCEPTION_SENTINEL){if(typeof error=="string"&&(message=error,error=void 0),!error||expectedException(actual,error)){var details=message?": ".concat(message):".",fnType=stackStartFn.name==="doesNotReject"?"rejection":"exception";innerFail({actual,expected:error,operator:stackStartFn.name,message:"Got unwanted ".concat(fnType).concat(details,`
34
+ `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:(0,objectSpread.Z)({},style['code[class*="language-"]'],style['code[class*="language-'.concat(language,'"]')])}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!0:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$wrapLongLines=_ref7.wrapLongLines,wrapLongLines=_ref7$wrapLongLines===void 0?!1:_ref7$wrapLongLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));(wrapLines===void 0&&renderer||wrapLongLines)&&(wrapLines=!0),renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle,wrapLongLines);return wrapLongLines?codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre-wrap"}):codeTagProps.style=(0,objectSpread.Z)({},codeTagProps.style,{whiteSpace:"pre"}),react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}const default_style={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var lowlight=__webpack_require__(23387),lowlight_default=__webpack_require__.n(lowlight);const supported_languages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","node-repl","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var highlighter=highlight(lowlight_default(),default_style);highlighter.supportedLanguages=supported_languages;const default_highlight=highlighter,xcode={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},table_row_module={propRow:"table-row_propRow__3in9b",singleColumn:"table-row_singleColumn__2EowM",mobileTitle:"table-row_mobileTitle__Kr51h",show:"table-row_show__EbJqY",column:"table-row_column__1sVpC",columnContent:"table-row_columnContent__H74AP",title:"table-row_title__WZ4lb",required:"table-row_required__YTKPP",name:"table-row_name__1_lKU",type:"table-row_type__3IyDE",typeColumn:"table-row_typeColumn__34a0R",highlighted:"table-row_highlighted__2b9my",default:"table-row_default__zw6HX",breakWord:"table-row_breakWord__3xe6h"};function TableRow({row,customRow,colNumber=4,headings,isListView,className,...rest}){return(0,jsx_runtime.jsx)(dist.r,{col:colNumber,className:classnames_default()(table_row_module.propRow,{[table_row_module.singleColumn]:isListView},className),...rest,children:headings.map(title=>{const keyString=`${title}-${row[title]}`;return title==="required"?null:title==="name"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),(0,jsx_runtime.jsxs)("div",{className:table_row_module.columnContent,children:[(0,jsx_runtime.jsx)("div",{className:table_row_module.name,children:customRow?.name||row[title]}),!customRow?.required&&row.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:"(Required)"}),customRow?.required&&(0,jsx_runtime.jsx)("div",{className:table_row_module.required,children:customRow.required})]})]},keyString):title==="type"?(0,jsx_runtime.jsxs)(TableColumn,{className:classnames_default()(table_row_module.breakWord,table_row_module.typeColumn),children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.type&&(0,jsx_runtime.jsx)(default_highlight,{theme:xcode,language:"javascript",className:table_row_module.highlighted,children:row[title]}),customRow?.type]},keyString):title==="default"?(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),!customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:row[title]&&row[title]?.value||"-"}),customRow?.default&&(0,jsx_runtime.jsx)("span",{className:table_row_module.default,children:customRow.default})]},keyString):title==="description"?(0,jsx_runtime.jsx)(TableColumn,{className:table_row_module.breakWord,children:customRow?.description||row[title]},keyString):(0,jsx_runtime.jsxs)(TableColumn,{className:table_row_module.breakWord,children:[(0,jsx_runtime.jsx)("div",{className:classnames_default()(table_row_module.mobileTitle,{[table_row_module.show]:isListView}),children:title}),customRow?.[title]||row[title]]},keyString)})})}const table_module={table:"table_table__2JGw5"};function Table({headings,rows,colNumber,isListView,className,...rest}){const cols=colNumber||4;return(0,jsx_runtime.jsxs)("div",{...rest,className:classnames_default()(table_module.table,className),children:[(0,jsx_runtime.jsx)(HeadingRow,{isListView,colNumber:cols,headings}),rows.map(row=>(0,jsx_runtime.jsx)(TableRow,{isListView,headings,row,colNumber:cols},`tableRow-${row.name}`))]})}Table.defaultProps={colNumber:4};function PropTable({rows,listViewResolution,showListView,...rest}){const[ref,{width}]=(0,es.default)(),debouncedSize=useDebounce(width,300,{leading:!0}),isListView=showListView||+debouncedSize[0]<=(listViewResolution||0);return width?(0,jsx_runtime.jsx)("div",{ref,children:(0,jsx_runtime.jsx)(Table,{...rest,headings:["name","type","default","description"],rows,isListView})}):(0,jsx_runtime.jsx)("div",{ref})}PropTable.defaultProps={listViewResolution:768}},1105:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(46845),exports)},46845:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Section=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),section_module_scss_1=__importDefault(__webpack_require__(74482));function Section(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);return react_1.default.createElement("div",Object.assign({className:classnames_1.default(section_module_scss_1.default.spacer,section_module_scss_1.default.sectionMargin,className)},rest),children)}exports.Section=Section},53589:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(69317);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},69317:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(89257));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:classnames_1.default(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},62479:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;var separator_1=__webpack_require__(54800);Object.defineProperty(exports,"Separator",{enumerable:!0,get:function(){return separator_1.Separator}})},54800:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Separator=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),separator_module_scss_1=__importDefault(__webpack_require__(21104));function Separator(_a){var{className}=_a,rest=__rest(_a,["className"]);return react_1.default.createElement("hr",Object.assign({className:(0,classnames_1.default)(separator_module_scss_1.default.separator,className)},rest))}exports.Separator=Separator},80391:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(42086),exports)},42086:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Subtitle=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_text_muted_text_1=__webpack_require__(62391),documenter_ui_paragraph_1=__webpack_require__(18808),sub_title_module_scss_1=__importDefault(__webpack_require__(78385));function Subtitle(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement(documenter_ui_paragraph_1.Paragraph,Object.assign({element:"p",className:classnames_1.default(base_ui_text_muted_text_1.mutedText,sub_title_module_scss_1.default.subTitle,className),size:"xl"},rest),children)}exports.Subtitle=Subtitle},45651:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;var sup_1=__webpack_require__(59986);Object.defineProperty(exports,"Sup",{enumerable:!0,get:function(){return sup_1.Sup}})},59986:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Sup=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),sup_module_scss_1=__importDefault(__webpack_require__(82595));function Sup(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("sup",Object.assign({},rest,{className:(0,classnames_1.default)(sup_module_scss_1.default.sup,className)}),children)}exports.Sup=Sup},21806:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_table_module_scss_1=__importDefault(__webpack_require__(3647));function Table(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("table",Object.assign({},rest,{className:(0,classnames_1.default)(base_table_module_scss_1.default.table,className)}),children)}exports.Table=Table},3909:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(21806);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},45337:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;var td_1=__webpack_require__(43784);Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return td_1.Td}})},43784:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Td=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),td_module_scss_1=__importDefault(__webpack_require__(81099));function Td(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("td",Object.assign({},rest,{className:(0,classnames_1.default)(td_module_scss_1.default.td,className)}),children)}exports.Td=Td},12158:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;var tr_1=__webpack_require__(37945);Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return tr_1.Tr}})},37945:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tr=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tr_module_scss_1=__importDefault(__webpack_require__(8527));function Tr(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("tr",Object.assign({},rest,{className:(0,classnames_1.default)(tr_module_scss_1.default.tr,className)}),children)}exports.Tr=Tr},96157:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(28863);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},28863:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),ul_module_scss_1=__importDefault(__webpack_require__(28839));function Ul(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ul",Object.assign({},rest,{className:(0,classnames_1.default)(ul_module_scss_1.default.ul,className)}),children)}exports.Ul=Ul},51072:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.fadeInOutClass=void 0;const fade_in_out_module_scss_1=__importDefault(__webpack_require__(41155));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},84770:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(49998),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},6281:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(84770),exports)},38946:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_elements_icon_1=__webpack_require__(49998),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},83327:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(38946),exports)},26:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Dropdown=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_drawer_1=__webpack_require__(92356),base_ui_surfaces_abs_container_1=__webpack_require__(8428),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),base_ui_surfaces_background_1=__webpack_require__(41755),dropdown_module_scss_1=__importDefault(__webpack_require__(83919)),evangelist_css_components_fade_in_out_1=__webpack_require__(51072);function Dropdown(_a){var{children,position="bottom",dropClass}=_a,rest=__rest(_a,["children","position","dropClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({},rest),react_1.default.createElement(DropdownMenu,{position,className:dropClass},children))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="medium",roundness="sharp"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:classnames_1.default(dropdown_module_scss_1.default.dropdown,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],evangelist_css_components_fade_in_out_1.fadeInOutClass,className)}))}Dropdown.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},47676:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(26),exports)},78057:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(88311),exports),__exportStar(__webpack_require__(54802),exports),__exportStar(__webpack_require__(76329),exports)},76329:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(1096),exports)},1096:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Arrow=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(8428),arrow_module_scss_1=__importDefault(__webpack_require__(41949)),arrow_position_module_scss_1=__importDefault(__webpack_require__(63604)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(20742));function Arrow(props){const{position="none",className}=props;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},props,{className:classnames_1.default(arrow_module_scss_1.default.arrow,arrow_shadow_module_scss_1.default[position],arrow_position_module_scss_1.default[position],className)}))}exports.Arrow=Arrow},54802:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(21326),exports)},21326:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipMenu=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_surfaces_abs_container_1=__webpack_require__(8428),base_ui_css_components_elevation_1=__webpack_require__(62019),base_ui_css_components_roundness_1=__webpack_require__(6899),tooltip_card_module_scss_1=__importDefault(__webpack_require__(40606)),TooltipMenu=_a=>{var{position,children,elevation="medium",roundness="sharp",className}=_a,rest=__rest(_a,["position","children","elevation","roundness","className"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({position,className:classnames_1.default(tooltip_card_module_scss_1.default.menu,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest),children)};exports.TooltipMenu=TooltipMenu,exports.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},88311:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipDrawer=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_surfaces_drawer_1=__webpack_require__(92356),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_css_components_fade_in_out_1=__webpack_require__(51072),tooltip_card_1=__webpack_require__(54802),tooltip_arrow_1=__webpack_require__(76329),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(3069));function TooltipDrawer(_a){var{children,className,position="bottom",elevation,tooltipClass,arrowClass}=_a,rest=__rest(_a,["children","className","position","elevation","tooltipClass","arrowClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({className:classnames_1.default(tooltip_drawer_module_scss_1.default.drawer,className)},rest),react_1.default.createElement(tooltip_card_1.TooltipMenu,{position,elevation,className:classnames_1.default(tooltipClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.tooltip)},children),react_1.default.createElement(tooltip_arrow_1.Arrow,{position,className:classnames_1.default(arrowClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.arrow)}))}exports.TooltipDrawer=TooltipDrawer,TooltipDrawer.defaultProps={hoverToOpen:!1,position:"bottom"}},55521:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=exports.gql=exports.useQuery=void 0;var use_query_light_1=__webpack_require__(12410);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_light_1.useQuery}}),Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return use_query_light_1.gql}});var server_context_1=__webpack_require__(68947);Object.defineProperty(exports,"QueryServerProvider",{enumerable:!0,get:function(){return server_context_1.QueryServerProvider}}),Object.defineProperty(exports,"useQueryServer",{enumerable:!0,get:function(){return server_context_1.useQueryServer}})},68947:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=void 0;const react_1=__webpack_require__(59496),QueryServerCtx=(0,react_1.createContext)("/graphql");exports.QueryServerProvider=QueryServerCtx.Provider;const useQueryServer=()=>(0,react_1.useContext)(QueryServerCtx);exports.useQueryServer=useQueryServer},12410:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=exports.gql=void 0;const react_1=__webpack_require__(59496),graphql_request_1=__webpack_require__(2672),use_deep_compare_1=__webpack_require__(14605),server_context_1=__webpack_require__(68947);var graphql_request_2=__webpack_require__(2672);Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return graphql_request_2.gql}});function useQuery(query,{variables,server,headers}={}){const mountedRef=(0,react_1.useRef)(!0),[state,setState]=(0,react_1.useState)({loading:!1}),stableVariables=(0,use_deep_compare_1.useDeepCompareMemo)(()=>variables,[variables]),ctxServer=(0,server_context_1.useQueryServer)();return(0,react_1.useEffect)(()=>()=>{mountedRef.current=!1},[]),(0,react_1.useEffect)(()=>{const controller=createAborter();return setState(obj=>Object.assign(Object.assign({},obj),{loading:!0,error:void 0})),(0,graphql_request_1.request)({url:server||ctxServer,document:query,variables:stableVariables,requestHeaders:headers,signal:controller?.signal}).then(result=>{mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{data:result,loading:!1}))}).catch(e=>{var _a,_b,_c,_d;const isAborted=e&&(e.type==="aborted"||((_b=(_a=e.message).toLowerCase)===null||_b===void 0?void 0:_b.call(_a))==="aborted"||((_d=(_c=e.name).toLowerCase)===null||_d===void 0?void 0:_d.call(_c))==="aborterror");mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{error:isAborted?void 0:e,loading:!1}))}),()=>{controller?.abort()}},[query,stableVariables]),state}exports.useQuery=useQuery;function createAborter(){if(!(typeof AbortController>"u"))return new AbortController}},2538:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=exports.LaneId=void 0;var lane_id_1=__webpack_require__(55431);Object.defineProperty(exports,"LaneId",{enumerable:!0,get:function(){return lane_id_1.LaneId}}),Object.defineProperty(exports,"DEFAULT_LANE",{enumerable:!0,get:function(){return lane_id_1.DEFAULT_LANE}}),Object.defineProperty(exports,"LANE_REMOTE_DELIMITER",{enumerable:!0,get:function(){return lane_id_1.LANE_REMOTE_DELIMITER}})},55431:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneId=exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=void 0;const bit_error_1=__webpack_require__(74155);exports.DEFAULT_LANE="main",exports.LANE_REMOTE_DELIMITER="/";class LaneId{constructor({name,scope}){this.name=name,this.scope=scope,Object.freeze(this)}hasSameName(id){return this.name===id.name}hasSameScope(id){return!id.scope&&!this.scope?!0:this.scope===id.scope}isEqual(laneId){return this.hasSameName(laneId)&&this.hasSameScope(laneId)}isDefault(){return this.name===exports.DEFAULT_LANE}toString(){return this.scope?this.scope+exports.LANE_REMOTE_DELIMITER+this.name:this.name}toObject(){return{scope:this.scope,name:this.name}}static from(name,scope){return new LaneId({scope,name})}static parse(id){if(!id.includes(exports.LANE_REMOTE_DELIMITER))throw new bit_error_1.BitError(`invalid lane-id, "${id}" is missing a delimiter "(${exports.LANE_REMOTE_DELIMITER})"`);const split=id.split(exports.LANE_REMOTE_DELIMITER);if(split.length>2)throw new bit_error_1.BitError(`invalid lane-id "${id}". a lane id can have only one "${exports.LANE_REMOTE_DELIMITER}"`);return LaneId.from(split[1],split[0])}}exports.LaneId=LaneId},63541: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__(58310),exports)},58310: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.Link=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_react_navigation_link_1=__webpack_require__(97667),link_module_scss_1=__importDefault(__webpack_require__(177));function Link(props){return react_1.default.createElement(base_react_navigation_link_1.Link,Object.assign({},props,{className:link_module_scss_1.default.link,external:!0}))}exports.Link=Link},33406:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(12904),exports)},12904:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Snippet=void 0;const react_1=__importStar(__webpack_require__(59496)),mdx_ui_mdx_scope_context_1=__webpack_require__(81846),react_2=__webpack_require__(49613),documenter_markdown_hybrid_live_code_snippet_1=__webpack_require__(56750);function Snippet(_a){var{scope}=_a,rest=__rest(_a,["scope"]);const components=(0,react_1.useContext)(mdx_ui_mdx_scope_context_1.MDXScopeContext),_scope=(0,react_1.useMemo)(()=>Object.assign(Object.assign(Object.assign({},components),{mdx:react_2.mdx}),scope),[components,scope,react_2.mdx]);return react_1.default.createElement(documenter_markdown_hybrid_live_code_snippet_1.Snippet,Object.assign({scope:_scope},rest))}exports.Snippet=Snippet},13359:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MDXLayout=void 0;var mdx_layout_1=__webpack_require__(38116);Object.defineProperty(exports,"MDXLayout",{enumerable:!0,get:function(){return mdx_layout_1.MDXLayout}})},38116: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.MDXLayout=void 0;const react_1=__importStar(__webpack_require__(59496)),documenter_markdown_mdx_1=__webpack_require__(42699),mdx_ui_docs_snippet_1=__webpack_require__(33406),mdx_ui_docs_link_1=__webpack_require__(63541);__webpack_require__(83789);const mdxComponents={code:mdx_ui_docs_snippet_1.Snippet,a:mdx_ui_docs_link_1.Link};function MDXLayout(_a){var{components}=_a,rest=__rest(_a,["components"]);const _components=(0,react_1.useMemo)(()=>Object.assign(Object.assign({},mdxComponents),components),[mdxComponents,components]);return react_1.default.createElement(documenter_markdown_mdx_1.MDXLayout,Object.assign({components:_components},rest))}exports.MDXLayout=MDXLayout},26381:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(89140),base_ui_styles_flex_center_1=__webpack_require__(10981),error_fallback_module_scss_1=__importDefault(__webpack_require__(86899));function ErrorFallback({resetErrorBoundary,className,children="Failed to render",cta="try again"}){const handleClick=()=>__awaiter(this,void 0,void 0,function*(){yield new Promise(resolve=>setTimeout(resolve,480)),resetErrorBoundary()});return react_1.default.createElement("div",{className:(0,classnames_1.default)(error_fallback_module_scss_1.default.errorFallback,base_ui_styles_flex_center_1.flexCenter,className)},react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.icon}),react_1.default.createElement("div",{className:error_fallback_module_scss_1.default.message},children),react_1.default.createElement(design_ui_icon_button_1.IconButton,{onClick:handleClick,className:error_fallback_module_scss_1.default.retryButton},cta))}exports.ErrorFallback=ErrorFallback},73783:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(26381);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},28566:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getInitials=void 0;function getInitials(name){if(!name)return;const words=name.split(" ");return words.length>1?words.slice(0,2).map(word=>word[0]).join(""):name.slice(0,2)}exports.getInitials=getInitials},92931:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getInitials=void 0;var get_initials_1=__webpack_require__(28566);Object.defineProperty(exports,"getInitials",{enumerable:!0,get:function(){return get_initials_1.getInitials}})},76662:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addAvatarQueryParams=void 0;function addAvatarQueryParams(url,size,defaultAvatarBgColor){if(!url)return url;const intSize=typeof size=="string"?parseInt(size):size,controlChar=url.indexOf("?")>-1?"&":"?",gravatarParams=[`size=${size}`],imgixParams=[`w=${intSize*2}`,`h=${intSize*2}`,"crop=faces","fit=crop",`bg=${defaultAvatarBgColor}`],params=[].concat(gravatarParams,imgixParams);return`${url}${controlChar}${params.join("&")}`}exports.addAvatarQueryParams=addAvatarQueryParams},76385:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addAvatarQueryParams=void 0;var add_avatar_query_params_1=__webpack_require__(76662);Object.defineProperty(exports,"addAvatarQueryParams",{enumerable:!0,get:function(){return add_avatar_query_params_1.addAvatarQueryParams}})},55239:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(14827),exports),__exportStar(__webpack_require__(71418),exports),__exportStar(__webpack_require__(17970),exports)},14827:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoaderContext=void 0;const react_1=__webpack_require__(59496),defaultLoaderApi={isActive:()=>!1,update:()=>!1,remove:()=>!1};exports.LoaderContext=(0,react_1.createContext)(defaultLoaderApi)},71418:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoaderApi=void 0;const react_1=__webpack_require__(59496);function useLoaderApi(){const{current:loaders}=(0,react_1.useRef)(new Set),[isLoading,setIsLoading]=(0,react_1.useState)(!1),reevaluate=(0,react_1.useCallback)(()=>{setIsLoading(loaders.size>0)},[loaders]);return[(0,react_1.useMemo)(()=>({isActive:id=>loaders.has(id),update:(id,value)=>{const res=value?!!loaders.add(id):loaders.delete(id);return reevaluate(),res},remove:id=>{const res=loaders.delete(id);return reevaluate(),res}}),[loaders,reevaluate]),isLoading]}exports.useLoaderApi=useLoaderApi},17970:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLoader=void 0;const react_1=__webpack_require__(59496),uuid_1=__webpack_require__(37196),loader_context_1=__webpack_require__(14827);function useLoader(loading){const[id]=(0,react_1.useState)(()=>(0,uuid_1.v1)()),ctx=(0,react_1.useContext)(loader_context_1.LoaderContext);(0,react_1.useEffect)(()=>(ctx.update(id,loading),()=>{ctx.remove(id)}),[loading,ctx,id])}exports.useLoader=useLoader},25338:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;var use_data_query_1=__webpack_require__(45383);Object.defineProperty(exports,"useDataQuery",{enumerable:!0,get:function(){return use_data_query_1.useDataQuery}})},45383:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDataQuery=void 0;const react_1=__webpack_require__(59496),client_1=__webpack_require__(97299),ui_foundation_ui_notifications_notification_context_1=__webpack_require__(44758),ui_foundation_ui_global_loader_1=__webpack_require__(55239);function useDataQuery(query,options){const res=(0,client_1.useQuery)(query,options),notifications=(0,react_1.useContext)(ui_foundation_ui_notifications_notification_context_1.NotificationContext),{loading,error}=res;return(0,ui_foundation_ui_global_loader_1.useLoader)(loading),error&&notifications.error(apolloErrorToString(error)),res}exports.useDataQuery=useDataQuery;function apolloErrorToString(error){return error.toString()}},84214:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;var use_is_mobile_1=__webpack_require__(57761);Object.defineProperty(exports,"useIsMobile",{enumerable:!0,get:function(){return use_is_mobile_1.useIsMobile}})},57761:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIsMobile=void 0;const ui_foundation_ui_hooks_use_user_agent_1=__webpack_require__(20918);function useIsMobile(){var _a;const deviceType=(_a=(0,ui_foundation_ui_hooks_use_user_agent_1.useUserAgent)())===null||_a===void 0?void 0:_a.getDevice().type;return deviceType==="tablet"||deviceType==="mobile"}exports.useIsMobile=useIsMobile},20918:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.UserAgentProvider=exports.userAgentContext=exports.ssrBrowserContext=exports.SSRBrowserProvider=void 0;var use_user_agent_1=__webpack_require__(74175);Object.defineProperty(exports,"SSRBrowserProvider",{enumerable:!0,get:function(){return use_user_agent_1.SSRBrowserProvider}}),Object.defineProperty(exports,"ssrBrowserContext",{enumerable:!0,get:function(){return use_user_agent_1.ssrBrowserContext}}),Object.defineProperty(exports,"userAgentContext",{enumerable:!0,get:function(){return use_user_agent_1.userAgentContext}}),Object.defineProperty(exports,"UserAgentProvider",{enumerable:!0,get:function(){return use_user_agent_1.UserAgentProvider}}),Object.defineProperty(exports,"useUserAgent",{enumerable:!0,get:function(){return use_user_agent_1.useUserAgent}})},74175:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useUserAgent=exports.SSRBrowserProvider=exports.ssrBrowserContext=exports.UserAgentProvider=exports.userAgentContext=void 0;const react_1=__webpack_require__(59496),ua_parser_js_1=__importDefault(__webpack_require__(35202));exports.userAgentContext=(0,react_1.createContext)(void 0),exports.UserAgentProvider=exports.userAgentContext.Provider,exports.ssrBrowserContext=(0,react_1.createContext)(void 0),exports.SSRBrowserProvider=exports.ssrBrowserContext.Provider;function useUserAgent(){const browser=(0,react_1.useContext)(exports.ssrBrowserContext);return browser?new ua_parser_js_1.default(browser.headers["user-agent"]):new ua_parser_js_1.default(window.navigator.userAgent)}exports.useUserAgent=useUserAgent},69497:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;var keycap_1=__webpack_require__(16617);Object.defineProperty(exports,"KeySequence",{enumerable:!0,get:function(){return keycap_1.KeySequence}}),Object.defineProperty(exports,"KeyCombo",{enumerable:!0,get:function(){return keycap_1.KeyCombo}}),Object.defineProperty(exports,"Keycap",{enumerable:!0,get:function(){return keycap_1.Keycap}})},91205:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.prettifyKey=void 0;const ui_foundation_ui_is_browser_1=__webpack_require__(48843),macKeySymbols={shift:"\u21E7",ctrl:"\u2303",alt:"\u2325",command:"\u2318",meta:"\u2318",mod:"\u2318",backspace:"\u232B",tab:"\u21E5",enter:"\u21A9",return:"\u21A9",capslock:"\u21EA",esc:"\u238B",escape:"\u238B",space:"\u2423",pageup:"\u21DE",pagedown:"\u21DF",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"\u2326",ins:"insert",plus:"+"},winKeySymbols={shift:"shift",ctrl:"ctrl",alt:"alt",meta:"win",mod:"ctrl",backspace:"backspace",tab:"tab",enter:"enter",return:"enter",capslock:"caps lock",esc:"Esc",escape:"Esc",space:"\u2423",pageup:"pgUp",pagedown:"pgDown",end:"end",home:"home",left:"\u2190",up:"\u2191",right:"\u2192",down:"\u2193",del:"del",ins:"insert",plus:"+"},macRegex=/Mac|iPod|iPhone|iPad/;function prettifyKey(key){if(typeof key!="string")return key;const lib=!ui_foundation_ui_is_browser_1.isBrowser||macRegex.test(window.navigator.platform)?macKeySymbols:winKeySymbols;return key in lib?lib[key]:key}exports.prettifyKey=prettifyKey},16617:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Keycap=exports.KeyCombo=exports.KeySequence=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),key_module_scss_1=__importDefault(__webpack_require__(90372)),key_characters_1=__webpack_require__(91205);function KeySequence(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const content=(0,react_1.useMemo)(()=>{const mapped=children.split(" ").map(x=>x.trim()).filter(x=>!!x).map((combo,idx)=>react_1.default.createElement(KeyCombo,{key:idx},combo));return insertBetween(mapped,idx=>react_1.default.createElement(Then,{key:`then-sep_${idx}`}))},[children]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(key_module_scss_1.default.keySequence,className)}),content)}exports.KeySequence=KeySequence;function KeyCombo(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);if(!children)return null;const split=children.split("+").map(x=>x.trim());return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keyCombo)}),split.map((x,idx)=>react_1.default.createElement(Keycap,{key:idx},x)))}exports.KeyCombo=KeyCombo;function Keycap(_a){var{className,children}=_a,rest=__rest(_a,["className","children"]);const prettyKey=(0,key_characters_1.prettifyKey)(children);return react_1.default.createElement("kbd",Object.assign({},rest,{className:(0,classnames_1.default)(className,key_module_scss_1.default.keycap)}),prettyKey)}exports.Keycap=Keycap;function insertBetween(arr,toInsert){const res=[];return arr.forEach((item,idx)=>{res.push(item),res.push(toInsert(idx))}),res.pop(),res}function Then(){return react_1.default.createElement("span",{className:key_module_scss_1.default.thenSep},"then")}},76285:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;var main_dropdown_1=__webpack_require__(71135);Object.defineProperty(exports,"MainDropdown",{enumerable:!0,get:function(){return main_dropdown_1.MainDropdown}})},71135:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MainDropdown=void 0;const evangelist_elements_icon_1=__webpack_require__(6281),evangelist_surfaces_tooltip_1=__webpack_require__(78057),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),lodash_1=__webpack_require__(32699),ui_foundation_ui_keycap_1=__webpack_require__(69497),main_dropdown_module_scss_1=__importDefault(__webpack_require__(47402));function MainDropdown(_a){var{menuItems,className}=_a,rest=__rest(_a,["menuItems","className"]);return!menuItems||(0,lodash_1.isEmpty)(menuItems)?null:react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.mainDropdown,className)}),react_1.default.createElement(evangelist_surfaces_tooltip_1.TooltipDrawer,{className:main_dropdown_module_scss_1.default.dropdown,tooltipClass:main_dropdown_module_scss_1.default.menu,placeholder:"",clickOutside:!0,PlaceholderComponent:()=>react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.iconAnchor},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.overlay}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.icon),of:"more"}))},react_1.default.createElement("div",null,Object.keys(menuItems).map((category,index)=>react_1.default.createElement(MenuBlock,{key:index,title:category},menuItems[category].map(item=>item&&react_1.default.createElement(Line,{key:item.keyChar,lineTitle:item.title,keyChar:item.keyChar,onClick:item.handler})))))))}exports.MainDropdown=MainDropdown;function Line(_a){var{lineTitle,keyChar,onClick}=_a,rest=__rest(_a,["lineTitle","keyChar","onClick"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.line),onClick}),react_1.default.createElement("div",null,lineTitle),keyChar&&react_1.default.createElement("pre",null,react_1.default.createElement(ui_foundation_ui_keycap_1.KeySequence,null,keyChar)))}function MenuBlock({title,children}){return react_1.default.createElement("div",{className:(0,classnames_1.default)(main_dropdown_module_scss_1.default.menuBlock)},react_1.default.createElement("div",{className:main_dropdown_module_scss_1.default.title},title),children)}},43492:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;var menu_widget_icon_1=__webpack_require__(80548);Object.defineProperty(exports,"MenuWidgetIcon",{enumerable:!0,get:function(){return menu_widget_icon_1.MenuWidgetIcon}})},80548:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuWidgetIcon=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),design_ui_tooltip_1=__webpack_require__(49142),menu_widget_icon_module_scss_1=__importDefault(__webpack_require__(4909));function MenuWidgetIcon(_a){var{tooltipContent,icon,className}=_a,rest=__rest(_a,["tooltipContent","icon","className"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{placement:"bottom",offset:[0,15],content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(menu_widget_icon_module_scss_1.default.widgetMenuIcon,className)}),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon,className:menu_widget_icon_module_scss_1.default.icon})))}exports.MenuWidgetIcon=MenuWidgetIcon},44758:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(55236),exports)},55236:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useNotifications=exports.NotificationContext=void 0;const react_1=__webpack_require__(59496),DefaultNotificationApi={add:()=>"",log:()=>"",error:()=>"",dismiss:()=>{},clear:()=>{}};exports.NotificationContext=(0,react_1.createContext)(DefaultNotificationApi);const useNotifications=()=>(0,react_1.useContext)(exports.NotificationContext);exports.useNotifications=useNotifications},44514:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;var use_query_1=__webpack_require__(92887);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_1.useQuery}})},92887:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=void 0;const base_react_navigation_link_1=__webpack_require__(97667);function useQuery(){const{search}=(0,base_react_navigation_link_1.useLocation)()||{search:"/"};return new URLSearchParams(search)}exports.useQuery=useQuery},94706:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitInfo=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_content_documentation_links_1=__webpack_require__(2681),documenter_ui_copy_box_1=__webpack_require__(66377),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),base_react_navigation_link_1=__webpack_require__(97667),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),bit_info_module_scss_1=__importDefault(__webpack_require__(91814));function BitInfo(_a){var rest=__rest(_a,[]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,{className:bit_info_module_scss_1.default.moreInfo,bottom:react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,href:documenter_content_documentation_links_1.links.installBit,className:ui_foundation_ui_use_box_bottom_link_1.linkStyles},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"information-sign"}),react_1.default.createElement("span",null,"Learn more"))},react_1.default.createElement("div",null,"Install bit"),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,"npx @teambit/bvm install")))}exports.BitInfo=BitInfo},19912:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BitInfo=void 0;var bit_info_1=__webpack_require__(94706);Object.defineProperty(exports,"BitInfo",{enumerable:!0,get:function(){return bit_info_1.BitInfo}})},27268:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.linkStyles=void 0;const bottom_link_module_scss_1=__importDefault(__webpack_require__(51001));exports.linkStyles=bottom_link_module_scss_1.default.link},37500:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_surfaces_dropdown_1=__webpack_require__(47676),evangelist_elements_icon_1=__webpack_require__(6281),dropdown_module_scss_1=__importDefault(__webpack_require__(42485));function UseBoxDropdown(_a){var{className,Menu,actionName,actionIcon}=_a,rest=__rest(_a,["className","Menu","actionName","actionIcon"]);const[key,setKey]=(0,react_1.useState)(0),DropdownMenu=react_1.default.cloneElement(Menu,{key});return react_1.default.createElement(evangelist_surfaces_dropdown_1.Dropdown,Object.assign({className:(0,classnames_1.default)(className)},rest,{onChange:(_e,open)=>open&&setKey(x=>x+1),dropClass:dropdown_module_scss_1.default.menu,placeholder:react_1.default.createElement(Placeholder,{actionName,actionIcon}),clickToggles:!1,clickPlaceholderToggles:!0}),DropdownMenu)}exports.UseBoxDropdown=UseBoxDropdown;function Placeholder(_a){var{actionName="Use",actionIcon="package"}=_a,rest=__rest(_a,["actionName","actionIcon"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(dropdown_module_scss_1.default.placeholder)},rest),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:actionIcon}),react_1.default.createElement("div",{className:dropdown_module_scss_1.default.content},actionName),react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:dropdown_module_scss_1.default.content,of:"fat-arrow-down"}))}},87514:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.UseBoxDropdown=void 0;var dropdown_1=__webpack_require__(37500);Object.defineProperty(exports,"UseBoxDropdown",{enumerable:!0,get:function(){return dropdown_1.UseBoxDropdown}})},94110:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Import=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),classnames_1=__importDefault(__webpack_require__(97754)),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bit_info_1=__webpack_require__(19912),tooltip_copybox_1=__webpack_require__(89211),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Import(_a){var{componentId,packageName,componentName,showInstallMethod=!0}=_a,rest=__rest(_a,["componentId","packageName","componentName","showInstallMethod"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.ExpandableTabContent,Object.assign({},rest,{content:react_1.default.createElement("div",{className:menu_module_scss_1.default.importContent},react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(!showInstallMethod&&menu_module_scss_1.default.disabled)},!showInstallMethod&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:menu_module_scss_1.default.warnIcon,of:"warn-circle"}),showInstallMethod&&`Add ${componentName} as a dependency`,!showInstallMethod&&"Installation unavailable: This component has not been built yet"),showInstallMethod&&react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit install ${packageName??""}`,disabled:!showInstallMethod})),react_1.default.createElement("div",null,`Import ${componentName} to your workspace`),react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit import ${componentId}`}),react_1.default.createElement("div",null,`Fork ${componentName} to your workspace`),react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:`bit fork ${componentId}`})),drawerTitle:react_1.default.createElement("div",{className:menu_module_scss_1.default.bottom},react_1.default.createElement(evangelist_elements_icon_1.Icon,{color:"yellow",of:"download"}),react_1.default.createElement("span",null,"Install Bit on your computer")),drawerContent:react_1.default.createElement(ui_foundation_ui_use_box_bit_info_1.BitInfo,null)}))}exports.Import=Import},68094:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Registry=exports.Install=exports.Import=exports.Menu=void 0;var menu_1=__webpack_require__(74896);Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return menu_1.Menu}});var import_1=__webpack_require__(94110);Object.defineProperty(exports,"Import",{enumerable:!0,get:function(){return import_1.Import}});var install_1=__webpack_require__(55965);Object.defineProperty(exports,"Install",{enumerable:!0,get:function(){return install_1.Install}});var registry_1=__webpack_require__(51324);Object.defineProperty(exports,"Registry",{enumerable:!0,get:function(){return registry_1.Registry}})},55965:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Install=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_ui_highlighted_text_1=__webpack_require__(34712),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),tooltip_copybox_1=__webpack_require__(89211),registry_1=__webpack_require__(51324),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Install(_a){var{componentName,copyString,registryName,packageManager,config,isInstallable}=_a,rest=__rest(_a,["componentName","copyString","registryName","packageManager","config","isInstallable"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.ExpandableTabContent,Object.assign({},rest,{content:react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(!isInstallable&&menu_module_scss_1.default.disabled)},!isInstallable&&react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:menu_module_scss_1.default.warnIcon,of:"warn-circle"}),isInstallable&&`Install ${componentName} with ${packageManager}`,!isInstallable&&"Installation unavailable: This component has not been built yet"),isInstallable&&react_1.default.createElement(tooltip_copybox_1.TooltipCopybox,{content:copyString,disabled:!isInstallable})),drawerTitle:registryName&&react_1.default.createElement("div",{className:menu_module_scss_1.default.bottom},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"settings"}),react_1.default.createElement("span",null,"Configure ",react_1.default.createElement(documenter_ui_highlighted_text_1.HighlightedText,null,registryName)," as a Scoped Registry")),drawerContent:registryName&&react_1.default.createElement(registry_1.Registry,{copyString:config})}))}exports.Install=Install},74896:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Menu=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),lodash_orderby_1=__importDefault(__webpack_require__(30174)),lodash_flatten_1=__importDefault(__webpack_require__(11549)),ui_foundation_ui_use_box_tab_1=__webpack_require__(11058),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Menu(_a){var{methods,componentName}=_a,rest=__rest(_a,["methods","componentName"]);const[activeTab,setActiveTab]=(0,react_1.useState)(0),OrderedMethods=(0,react_1.useMemo)(()=>(0,lodash_orderby_1.default)((0,lodash_flatten_1.default)(methods),["order"]),[methods]),{Component}=OrderedMethods[activeTab]||{};return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(rest.className,menu_module_scss_1.default.container)}),react_1.default.createElement("div",{className:menu_module_scss_1.default.top},react_1.default.createElement("div",{className:menu_module_scss_1.default.title},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"terminal"}),react_1.default.createElement("span",null,`Use ${componentName}`))),react_1.default.createElement("div",{className:menu_module_scss_1.default.tabs},OrderedMethods.map(({Title},index)=>react_1.default.createElement(ui_foundation_ui_use_box_tab_1.Tab,{key:index,isActive:activeTab===index,onClick:()=>setActiveTab(index)},Title))),Component)}exports.Menu=Menu},51324:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Registry=void 0;const react_1=__importDefault(__webpack_require__(59496)),evangelist_elements_icon_1=__webpack_require__(6281),documenter_content_documentation_links_1=__webpack_require__(2681),documenter_ui_copy_box_1=__webpack_require__(66377),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),base_react_navigation_link_1=__webpack_require__(97667),menu_module_scss_1=__importDefault(__webpack_require__(31408));function Registry(_a){var{copyString}=_a,rest=__rest(_a,["copyString"]);return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{className:menu_module_scss_1.default.registry,bottom:react_1.default.createElement(base_react_navigation_link_1.Link,{external:!0,href:documenter_content_documentation_links_1.links.scopedRegistry,className:ui_foundation_ui_use_box_bottom_link_1.linkStyles},react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"information-sign"}),react_1.default.createElement("span",null,"Learn more"))}),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,copyString))}exports.Registry=Registry},89211:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipCopybox=void 0;const react_1=__importDefault(__webpack_require__(59496)),documenter_ui_copy_box_1=__webpack_require__(66377),design_ui_tooltip_1=__webpack_require__(49142);function TooltipCopybox(_a){var{content}=_a,rest=__rest(_a,["content"]);return react_1.default.createElement(design_ui_tooltip_1.Tooltip,Object.assign({},rest,{content,placement:"bottom",maxWidth:"",breakline:!0}),react_1.default.createElement("div",null,react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,null,content)))}exports.TooltipCopybox=TooltipCopybox},88860:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),react_animate_height_1=__importDefault(__webpack_require__(14434)),evangelist_elements_icon_1=__webpack_require__(6281),ui_foundation_ui_use_box_tab_content_1=__webpack_require__(6839),ui_foundation_ui_use_box_bottom_link_1=__webpack_require__(27268),tab_content_module_scss_1=__importDefault(__webpack_require__(40517));function ExpandableTabContent(_a){var{tabContent,content,drawerContent,drawerTitle}=_a,rest=__rest(_a,["tabContent","content","drawerContent","drawerTitle"]);const[open,toggle]=(0,react_1.useState)(!1),iconStyles=open?tab_content_module_scss_1.default.open:"";return react_1.default.createElement(ui_foundation_ui_use_box_tab_content_1.TabContent,Object.assign({},rest,{bottom:drawerTitle&&drawerContent&&react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement("div",{className:(0,classnames_1.default)(ui_foundation_ui_use_box_bottom_link_1.linkStyles,tab_content_module_scss_1.default.drawer),onClick:()=>toggle(!open)},react_1.default.createElement("div",null,drawerTitle),react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:"down-rounded-corners",className:iconStyles})),react_1.default.createElement(react_animate_height_1.default,{height:open?"auto":0},drawerContent))}),tabContent||content)}exports.ExpandableTabContent=ExpandableTabContent},6839:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExpandableTabContent=exports.TabContent=void 0;var tab_content_1=__webpack_require__(39854);Object.defineProperty(exports,"TabContent",{enumerable:!0,get:function(){return tab_content_1.TabContent}});var expandable_tab_content_1=__webpack_require__(88860);Object.defineProperty(exports,"ExpandableTabContent",{enumerable:!0,get:function(){return expandable_tab_content_1.ExpandableTabContent}})},39854:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabContent=void 0;const react_1=__importDefault(__webpack_require__(59496)),tab_content_module_scss_1=__importDefault(__webpack_require__(40517));function TabContent(_a){var{children,bottom}=_a,rest=__rest(_a,["children","bottom"]);return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement("div",{className:tab_content_module_scss_1.default.middle},children),bottom&&react_1.default.createElement("div",{className:tab_content_module_scss_1.default.bottom},bottom))}exports.TabContent=TabContent},11058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;var tab_1=__webpack_require__(33615);Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return tab_1.Tab}})},33615:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),tab_module_scss_1=__importDefault(__webpack_require__(3115));function Tab(_a){var{onClick,isActive,className,children}=_a,rest=__rest(_a,["onClick","isActive","className","children"]);return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(tab_module_scss_1.default.tab,isActive&&tab_module_scss_1.default.active,className),onClick}),children)}exports.Tab=Tab},69495:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__,tippy:()=>tippy_js__WEBPACK_IMPORTED_MODULE_0__.default,useSingleton:()=>useSingleton});var tippy_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(48199),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(59496),react_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(87995);function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}var isBrowser=typeof window<"u"&&typeof document<"u";function preserveRef(ref,node){ref&&(typeof ref=="function"&&ref(node),{}.hasOwnProperty.call(ref,"current")&&(ref.current=node))}function ssrSafeCreateDiv(){return isBrowser&&document.createElement("div")}function toDataAttributes(attrs){var dataAttrs={"data-placement":attrs.placement};return attrs.referenceHidden&&(dataAttrs["data-reference-hidden"]=""),attrs.escaped&&(dataAttrs["data-escaped"]=""),dataAttrs}function deepPreserveProps(instanceProps,componentProps){var _instanceProps$popper,_componentProps$poppe;return Object.assign({},componentProps,{popperOptions:Object.assign({},instanceProps.popperOptions,componentProps.popperOptions,{modifiers:[].concat((((_instanceProps$popper=instanceProps.popperOptions)==null?void 0:_instanceProps$popper.modifiers)||[]).filter(function(modifier){return modifier.name.indexOf("tippy")>=0}),((_componentProps$poppe=componentProps.popperOptions)==null?void 0:_componentProps$poppe.modifiers)||[])})})}var useIsomorphicLayoutEffect=isBrowser?react__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_1__.useEffect;function useMutableBox(initialValue){var ref=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)();return ref.current||(ref.current=typeof initialValue=="function"?initialValue():initialValue),ref.current}function updateClassName(box,action,classNames){classNames.split(/\s+/).forEach(function(name){name&&box.classList[action](name)})}var classNamePlugin={name:"className",defaultValue:"",fn:function(instance){var box=instance.popper.firstElementChild,isDefaultRenderFn=function(){var _instance$props$rende;return!!((_instance$props$rende=instance.props.render)!=null&&_instance$props$rende.$$tippy)};function add(){instance.props.className&&!isDefaultRenderFn()||updateClassName(box,"add",instance.props.className)}function remove(){isDefaultRenderFn()&&updateClassName(box,"remove",instance.props.className)}return{onCreate:add,onBeforeUpdate:remove,onAfterUpdate:add}}};function TippyGenerator(tippy){function Tippy(_ref){var children=_ref.children,content=_ref.content,visible=_ref.visible,singleton=_ref.singleton,render=_ref.render,reference=_ref.reference,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$ignoreAttributes=_ref.ignoreAttributes,ignoreAttributes=_ref$ignoreAttributes===void 0?!0:_ref$ignoreAttributes,__source=_ref.__source,__self=_ref.__self,restOfNativeProps=_objectWithoutPropertiesLoose(_ref,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),isControlledMode=visible!==void 0,isSingletonMode=singleton!==void 0,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],_useState2=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({}),attrs=_useState2[0],setAttrs=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(),singletonContent=_useState3[0],setSingletonContent=_useState3[1],mutableBox=useMutableBox(function(){return{container:ssrSafeCreateDiv(),renders:1}}),props=Object.assign({ignoreAttributes},restOfNativeProps,{content:mutableBox.container});isControlledMode&&(props.trigger="manual",props.hideOnClick=!1),isSingletonMode&&(disabled=!0);var computedProps=props,plugins=props.plugins||[];render&&(computedProps=Object.assign({},props,{plugins:isSingletonMode?[].concat(plugins,[{fn:function(){return{onTrigger:function(_,event){var _singleton$data$child=singleton.data.children.find(function(_ref2){var instance=_ref2.instance;return instance.reference===event.currentTarget}),content2=_singleton$data$child.content;setSingletonContent(content2)}}}}]):plugins,render:function(){return{popper:mutableBox.container}}}));var deps=[reference].concat(children?[children.type]:[]);return useIsomorphicLayoutEffect(function(){var element=reference;reference&&reference.hasOwnProperty("current")&&(element=reference.current);var instance=tippy(element||mutableBox.ref||ssrSafeCreateDiv(),Object.assign({},computedProps,{plugins:[classNamePlugin].concat(props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),visible&&instance.show(),isSingletonMode&&singleton.hook({instance,content,props:computedProps}),setMounted(!0),function(){instance.destroy(),singleton?.cleanup(instance)}},deps),useIsomorphicLayoutEffect(function(){if(mutableBox.renders===1){mutableBox.renders++;return}var instance=mutableBox.instance;instance.setProps(deepPreserveProps(instance.props,computedProps)),disabled?instance.disable():instance.enable(),isControlledMode&&(visible?instance.show():instance.hide()),isSingletonMode&&singleton.hook({instance,content,props:computedProps})}),useIsomorphicLayoutEffect(function(){var _instance$props$poppe;if(!!render){var instance=mutableBox.instance;instance.setProps({popperOptions:Object.assign({},instance.props.popperOptions,{modifiers:[].concat(((_instance$props$poppe=instance.props.popperOptions)==null?void 0:_instance$props$poppe.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_ref3){var _state$modifiersData,state=_ref3.state,hideData=(_state$modifiersData=state.modifiersData)==null?void 0:_state$modifiersData.hide;(attrs.placement!==state.placement||attrs.referenceHidden!==hideData?.isReferenceHidden||attrs.escaped!==hideData?.hasPopperEscaped)&&setAttrs({placement:state.placement,referenceHidden:hideData?.isReferenceHidden,escaped:hideData?.hasPopperEscaped}),state.attributes.popper={}}}])})})}},[attrs.placement,attrs.referenceHidden,attrs.escaped].concat(deps)),react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,null,children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){mutableBox.ref=node,preserveRef(children.ref,node)}}):null,mounted&&(0,react_dom__WEBPACK_IMPORTED_MODULE_2__.createPortal)(render?render(toDataAttributes(attrs),singletonContent,mutableBox.instance):content,mutableBox.container))}return Tippy}function useSingletonGenerator(createSingleton){return function(_temp){var _ref=_temp===void 0?{}:_temp,_ref$disabled=_ref.disabled,disabled=_ref$disabled===void 0?!1:_ref$disabled,_ref$overrides=_ref.overrides,overrides=_ref$overrides===void 0?[]:_ref$overrides,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),mounted=_useState[0],setMounted=_useState[1],mutableBox=useMutableBox({children:[],renders:1});return useIsomorphicLayoutEffect(function(){if(!mounted){setMounted(!0);return}var children=mutableBox.children,sourceData=mutableBox.sourceData;if(!!sourceData){var instance=createSingleton(children.map(function(child){return child.instance}),Object.assign({},sourceData.props,{popperOptions:sourceData.instance.props.popperOptions,overrides,plugins:[classNamePlugin].concat(sourceData.props.plugins||[])}));return mutableBox.instance=instance,disabled&&instance.disable(),function(){instance.destroy(),mutableBox.children=children.filter(function(_ref2){var instance2=_ref2.instance;return!instance2.state.isDestroyed})}}},[mounted]),useIsomorphicLayoutEffect(function(){if(!!mounted){if(mutableBox.renders===1){mutableBox.renders++;return}var children=mutableBox.children,instance=mutableBox.instance,sourceData=mutableBox.sourceData;if(!!(instance&&sourceData)){var _sourceData$props=sourceData.props,content=_sourceData$props.content,props=_objectWithoutPropertiesLoose(_sourceData$props,["content"]);instance.setProps(deepPreserveProps(instance,Object.assign({},props,{overrides}))),instance.setInstances(children.map(function(child){return child.instance})),disabled?instance.disable():instance.enable()}}}),(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){var source={data:mutableBox,hook:function(data){mutableBox.sourceData=data},cleanup:function(){mutableBox.sourceData=null}},target={hook:function(data){mutableBox.children.find(function(_ref3){var instance=_ref3.instance;return data.instance===instance})||mutableBox.children.push(data)},cleanup:function(instance){mutableBox.children=mutableBox.children.filter(function(data){return data.instance!==instance})}};return[source,target]},[])}}var forwardRef=function(Tippy,defaultProps){return(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function(_ref,_ref2){var children=_ref.children,props=_objectWithoutPropertiesLoose(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_1__.createElement(Tippy,Object.assign({},defaultProps,props),children?(0,react__WEBPACK_IMPORTED_MODULE_1__.cloneElement)(children,{ref:function(node){preserveRef(_ref2,node),preserveRef(children.ref,node)}}):null)})},useSingleton=useSingletonGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.createSingleton),index=forwardRef(TippyGenerator(tippy_js__WEBPACK_IMPORTED_MODULE_0__.default));const __WEBPACK_DEFAULT_EXPORT__=index},74257:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module=__webpack_require__.nmd(module);const colorConvert=__webpack_require__(18358),wrapAnsi16=(fn,offset)=>function(){return`\x1B[${fn.apply(colorConvert,arguments)+offset}m`},wrapAnsi256=(fn,offset)=>function(){const code=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn,offset)=>function(){const rgb=fn.apply(colorConvert,arguments);return`\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`};function assembleStyles(){const codes=new Map,styles2={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles2.color.grey=styles2.color.gray;for(const groupName of Object.keys(styles2)){const group=styles2[groupName];for(const styleName of Object.keys(group)){const style=group[styleName];styles2[styleName]={open:`\x1B[${style[0]}m`,close:`\x1B[${style[1]}m`},group[styleName]=styles2[styleName],codes.set(style[0],style[1])}Object.defineProperty(styles2,groupName,{value:group,enumerable:!1}),Object.defineProperty(styles2,"codes",{value:codes,enumerable:!1})}const ansi2ansi=n=>n,rgb2rgb=(r,g,b)=>[r,g,b];styles2.color.close="\x1B[39m",styles2.bgColor.close="\x1B[49m",styles2.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)},styles2.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)},styles2.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)},styles2.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)},styles2.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)},styles2.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let key of Object.keys(colorConvert)){if(typeof colorConvert[key]!="object")continue;const suite=colorConvert[key];key==="ansi16"&&(key="ansi"),"ansi16"in suite&&(styles2.color.ansi[key]=wrapAnsi16(suite.ansi16,0),styles2.bgColor.ansi[key]=wrapAnsi16(suite.ansi16,10)),"ansi256"in suite&&(styles2.color.ansi256[key]=wrapAnsi256(suite.ansi256,0),styles2.bgColor.ansi256[key]=wrapAnsi256(suite.ansi256,10)),"rgb"in suite&&(styles2.color.ansi16m[key]=wrapAnsi16m(suite.rgb,0),styles2.bgColor.ansi16m[key]=wrapAnsi16m(suite.rgb,10))}return styles2}Object.defineProperty(module,"exports",{enumerable:!0,get:assembleStyles})},48049:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);function _typeof(o){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol=="function"&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2},_typeof(o)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==void 0){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__webpack_require__(18895),_require$codes=_require.codes,ERR_AMBIGUOUS_ARGUMENT=_require$codes.ERR_AMBIGUOUS_ARGUMENT,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_INVALID_ARG_VALUE=_require$codes.ERR_INVALID_ARG_VALUE,ERR_INVALID_RETURN_VALUE=_require$codes.ERR_INVALID_RETURN_VALUE,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,AssertionError=__webpack_require__(6960),_require2=__webpack_require__(93585),inspect=_require2.inspect,_require$types=__webpack_require__(93585).types,isPromise=_require$types.isPromise,isRegExp=_require$types.isRegExp,objectAssign=__webpack_require__(82724)(),objectIs=__webpack_require__(78075)(),RegExpPrototypeTest=__webpack_require__(74161)("RegExp.prototype.test"),errorCache=new Map,isDeepEqual,isDeepStrictEqual,parseExpressionAt,findNodeAround,decoder;function lazyLoadComparison(){var comparison=__webpack_require__(44984);isDeepEqual=comparison.isDeepEqual,isDeepStrictEqual=comparison.isDeepStrictEqual}var escapeSequencesRegExp=/[\x00-\x08\x0b\x0c\x0e-\x1f]/g,meta=null,escapeFn=function(str){return meta[str.charCodeAt(0)]},warned=!1,assert=module.exports=ok,NO_EXCEPTION_SENTINEL={};function innerFail(obj){throw obj.message instanceof Error?obj.message:new AssertionError(obj)}function fail(actual,expected,message,operator,stackStartFn){var argsLen=arguments.length,internalMessage;if(argsLen===0)internalMessage="Failed";else if(argsLen===1)message=actual,actual=void 0;else{if(warned===!1){warned=!0;var warn=process.emitWarning?process.emitWarning:console.warn.bind(console);warn("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}argsLen===2&&(operator="!=")}if(message instanceof Error)throw message;var errArgs={actual,expected,operator:operator===void 0?"fail":operator,stackStartFn:stackStartFn||fail};message!==void 0&&(errArgs.message=message);var err=new AssertionError(errArgs);throw internalMessage&&(err.message=internalMessage,err.generatedMessage=!0),err}assert.fail=fail,assert.AssertionError=AssertionError;function innerOk(fn,argLen,value,message){if(!value){var generatedMessage=!1;if(argLen===0)generatedMessage=!0,message="No value argument passed to `assert.ok()`";else if(message instanceof Error)throw message;var err=new AssertionError({actual:value,expected:!0,message,operator:"==",stackStartFn:fn});throw err.generatedMessage=generatedMessage,err}}function ok(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];innerOk.apply(void 0,[ok,args.length].concat(args))}assert.ok=ok,assert.equal=function equal(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual!=expected&&innerFail({actual,expected,message,operator:"==",stackStartFn:equal})},assert.notEqual=function notEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");actual==expected&&innerFail({actual,expected,message,operator:"!=",stackStartFn:notEqual})},assert.deepEqual=function deepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepEqual",stackStartFn:deepEqual})},assert.notDeepEqual=function notDeepEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepEqual",stackStartFn:notDeepEqual})},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)||innerFail({actual,expected,message,operator:"deepStrictEqual",stackStartFn:deepStrictEqual})},assert.notDeepStrictEqual=notDeepStrictEqual;function notDeepStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");isDeepEqual===void 0&&lazyLoadComparison(),isDeepStrictEqual(actual,expected)&&innerFail({actual,expected,message,operator:"notDeepStrictEqual",stackStartFn:notDeepStrictEqual})}assert.strictEqual=function strictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)||innerFail({actual,expected,message,operator:"strictEqual",stackStartFn:strictEqual})},assert.notStrictEqual=function notStrictEqual(actual,expected,message){if(arguments.length<2)throw new ERR_MISSING_ARGS("actual","expected");objectIs(actual,expected)&&innerFail({actual,expected,message,operator:"notStrictEqual",stackStartFn:notStrictEqual})};var Comparison=_createClass(function Comparison2(obj,keys,actual){var _this=this;_classCallCheck(this,Comparison2),keys.forEach(function(key){key in obj&&(actual!==void 0&&typeof actual[key]=="string"&&isRegExp(obj[key])&&RegExpPrototypeTest(obj[key],actual[key])?_this[key]=actual[key]:_this[key]=obj[key])})});function compareExceptionKey(actual,expected,key,message,keys,fn){if(!(key in actual)||!isDeepStrictEqual(actual[key],expected[key])){if(!message){var a=new Comparison(actual,keys),b=new Comparison(expected,keys,actual),err=new AssertionError({actual:a,expected:b,operator:"deepStrictEqual",stackStartFn:fn});throw err.actual=actual,err.expected=expected,err.operator=fn.name,err}innerFail({actual,expected,message,operator:fn.name,stackStartFn:fn})}}function expectedException(actual,expected,msg,fn){if(typeof expected!="function"){if(isRegExp(expected))return RegExpPrototypeTest(expected,actual);if(arguments.length===2)throw new ERR_INVALID_ARG_TYPE("expected",["Function","RegExp"],expected);if(_typeof(actual)!=="object"||actual===null){var err=new AssertionError({actual,expected,message:msg,operator:"deepStrictEqual",stackStartFn:fn});throw err.operator=fn.name,err}var keys=Object.keys(expected);if(expected instanceof Error)keys.push("name","message");else if(keys.length===0)throw new ERR_INVALID_ARG_VALUE("error",expected,"may not be an empty object");return isDeepEqual===void 0&&lazyLoadComparison(),keys.forEach(function(key){typeof actual[key]=="string"&&isRegExp(expected[key])&&RegExpPrototypeTest(expected[key],actual[key])||compareExceptionKey(actual,expected,key,msg,keys,fn)}),!0}return expected.prototype!==void 0&&actual instanceof expected?!0:Error.isPrototypeOf(expected)?!1:expected.call({},actual)===!0}function getActual(fn){if(typeof fn!="function")throw new ERR_INVALID_ARG_TYPE("fn","Function",fn);try{fn()}catch(e){return e}return NO_EXCEPTION_SENTINEL}function checkIsPromise(obj){return isPromise(obj)||obj!==null&&_typeof(obj)==="object"&&typeof obj.then=="function"&&typeof obj.catch=="function"}function waitForActual(promiseFn){return Promise.resolve().then(function(){var resultPromise;if(typeof promiseFn=="function"){if(resultPromise=promiseFn(),!checkIsPromise(resultPromise))throw new ERR_INVALID_RETURN_VALUE("instance of Promise","promiseFn",resultPromise)}else if(checkIsPromise(promiseFn))resultPromise=promiseFn;else throw new ERR_INVALID_ARG_TYPE("promiseFn",["Function","Promise"],promiseFn);return Promise.resolve().then(function(){return resultPromise}).then(function(){return NO_EXCEPTION_SENTINEL}).catch(function(e){return e})})}function expectsError(stackStartFn,actual,error,message){if(typeof error=="string"){if(arguments.length===4)throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(_typeof(actual)==="object"&&actual!==null){if(actual.message===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error message "'.concat(actual.message,'" is identical to the message.'))}else if(actual===error)throw new ERR_AMBIGUOUS_ARGUMENT("error/message",'The error "'.concat(actual,'" is identical to the message.'));message=error,error=void 0}else if(error!=null&&_typeof(error)!=="object"&&typeof error!="function")throw new ERR_INVALID_ARG_TYPE("error",["Object","Error","Function","RegExp"],error);if(actual===NO_EXCEPTION_SENTINEL){var details="";error&&error.name&&(details+=" (".concat(error.name,")")),details+=message?": ".concat(message):".";var fnType=stackStartFn.name==="rejects"?"rejection":"exception";innerFail({actual:void 0,expected:error,operator:stackStartFn.name,message:"Missing expected ".concat(fnType).concat(details),stackStartFn})}if(error&&!expectedException(actual,error,message,stackStartFn))throw actual}function expectsNoError(stackStartFn,actual,error,message){if(actual!==NO_EXCEPTION_SENTINEL){if(typeof error=="string"&&(message=error,error=void 0),!error||expectedException(actual,error)){var details=message?": ".concat(message):".",fnType=stackStartFn.name==="doesNotReject"?"rejection":"exception";innerFail({actual,expected:error,operator:stackStartFn.name,message:"Got unwanted ".concat(fnType).concat(details,`
35
35
  `)+'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(`
36
36
  `);tmp2.shift();for(var tmp1=newErr.stack.split(`
37
37
  `),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(`
@@ -105,7 +105,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
105
105
  `)}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},16425:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DuplicateComponentAndPackage=void 0;const component_issue_1=__webpack_require__(60728);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},1773:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ExternalEnvWithoutVersion=void 0;const component_issue_1=__webpack_require__(60728);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},36989:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ImportNonMainFiles=void 0;const component_issue_1=__webpack_require__(60728);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},24879:(__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__(19245);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__(60728);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__(32904);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__(96985);Object.defineProperty(exports,"RelativeComponentsAuthoredEntry",{enumerable:!0,get:function(){return relative_components_authored_1.RelativeComponentsAuthoredEntry}})},19245:(__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__(36989),missing_dependencies_on_fs_1=__webpack_require__(18427),missing_dists_1=__webpack_require__(98398),missing_packages_dependencies_on_fs_1=__webpack_require__(19041),missing_manually_configured_packages_1=__webpack_require__(36742),parse_errors_1=__webpack_require__(28266),relative_components_1=__webpack_require__(74987),relative_components_authored_1=__webpack_require__(96985),resolve_errors_1=__webpack_require__(49811),untracked_dependencies_1=__webpack_require__(32904),legacy_inside_harmony_1=__webpack_require__(71343),multiple_envs_1=__webpack_require__(42384),missing_links_from_nm_to_src_1=__webpack_require__(12590),circular_dependencies_1=__webpack_require__(73083),duplicate_component_and_package_1=__webpack_require__(16425),merge_config_has_conflict_1=__webpack_require__(39906),non_loaded_env_1=__webpack_require__(62384),external_env_without_version_1=__webpack_require__(1773),removed_dependencies_1=__webpack_require__(14274),self_reference_1=__webpack_require__(66375);exports.IssuesClasses={MissingPackagesDependenciesOnFs:missing_packages_dependencies_on_fs_1.MissingPackagesDependenciesOnFs,MissingManuallyConfiguredPackages:missing_manually_configured_packages_1.MissingManuallyConfiguredPackages,UntrackedDependencies:untracked_dependencies_1.UntrackedDependencies,ResolveErrors:resolve_errors_1.ResolveErrors,RelativeComponents:relative_components_1.RelativeComponents,RelativeComponentsAuthored:relative_components_authored_1.RelativeComponentsAuthored,ParseErrors:parse_errors_1.ParseErrors,MissingDists:missing_dists_1.MissingDists,LegacyInsideHarmony:legacy_inside_harmony_1.LegacyInsideHarmony,MissingDependenciesOnFs:missing_dependencies_on_fs_1.MissingDependenciesOnFs,ImportNonMainFiles:import_non_main_files_1.ImportNonMainFiles,MultipleEnvs:multiple_envs_1.MultipleEnvs,MissingLinksFromNodeModulesToSrc:missing_links_from_nm_to_src_1.MissingLinksFromNodeModulesToSrc,CircularDependencies:circular_dependencies_1.CircularDependencies,DuplicateComponentAndPackage:duplicate_component_and_package_1.DuplicateComponentAndPackage,MergeConfigHasConflict:merge_config_has_conflict_1.MergeConfigHasConflict,NonLoadedEnv:non_loaded_env_1.NonLoadedEnv,ExternalEnvWithoutVersion:external_env_without_version_1.ExternalEnvWithoutVersion,RemovedDependencies:removed_dependencies_1.RemovedDependencies,SelfReference:self_reference_1.SelfReference};class IssuesList{constructor(_issues=[]){this._issues=_issues}get count(){return this._issues.length}isEmpty(){return this._issues.length===0}outputForCLI(){return this._issues.map(issue=>issue.outputForCLI()).join("")}toObject(){return this._issues.map(issue=>issue.toObject())}toObjectWithDataAsString(){return this._issues.map(issue=>Object.assign(Object.assign({},issue.toObject()),{data:issue.dataToString().trim()}))}add(issue){this._issues.push(issue)}delete(IssueClass){this._issues=this._issues.filter(issue=>issue.constructor.name!==IssueClass.name)}getIssue(IssueClass){return this._issues.find(issue=>issue instanceof IssueClass)}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.
106
106
  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},71343:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LegacyInsideHarmony=void 0;const component_issue_1=__webpack_require__(60728);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},39906:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MergeConfigHasConflict=void 0;const component_issue_1=__webpack_require__(60728);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},18427:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(60728);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},98398:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingDists=void 0;const component_issue_1=__webpack_require__(60728);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},12590:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingLinksFromNodeModulesToSrc=void 0;const component_issue_1=__webpack_require__(60728);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},36742:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingManuallyConfiguredPackages=void 0;const component_issue_1=__webpack_require__(60728);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},19041:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MissingPackagesDependenciesOnFs=void 0;const component_issue_1=__webpack_require__(60728);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(`
107
107
  `)}}exports.MissingPackagesDependenciesOnFs=MissingPackagesDependenciesOnFs},42384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MultipleEnvs=void 0;const component_issue_1=__webpack_require__(60728);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},62384:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NonLoadedEnv=void 0;const component_issue_1=__webpack_require__(60728);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},28266:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParseErrors=void 0;const component_issue_1=__webpack_require__(60728);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},96985:(__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__(60728);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(", ")}},74987:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RelativeComponents=void 0;const component_issue_1=__webpack_require__(60728);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},14274:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.RemovedDependencies=void 0;const component_issue_1=__webpack_require__(60728);class RemovedDependencies extends component_issue_1.ComponentIssue{constructor(){super(...arguments);this.description="removed dependencies",this.solution='run "bit install <missing-dep>" or remove any unneeded references to that component from your code',this.isTagBlocker=!0}dataToString(){return component_issue_1.ISSUE_FORMAT_SPACE+this.data.join(", ")}}exports.RemovedDependencies=RemovedDependencies},49811:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ResolveErrors=void 0;const component_issue_1=__webpack_require__(60728);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},66375:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SelfReference=void 0;const component_issue_1=__webpack_require__(60728);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=!1}}exports.SelfReference=SelfReference},32904: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__(60728);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(`
108
- `)}}exports.UntrackedDependencies=UntrackedDependencies;function untrackedFilesComponentIssueToString(value){return value.untrackedFiles.map(curr=>curr.existing?`${chalk_1.default.yellow(curr.relativePath)}`:curr.relativePath).join(", ")}},98336:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(99199);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(93772);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(3205);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},99199:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(59496);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},93772: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.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),lanes_ui_models_lanes_model_1=__webpack_require__(43912),ui_foundation_ui_react_router_use_query_1=__webpack_require__(44514),base_react_navigation_link_1=__webpack_require__(97667),lanes_context_1=__webpack_require__(99199),use_lanes_1=__webpack_require__(3205);function LanesProvider({children,viewedLaneId:viewedIdFromProps,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlFromProps,skipNetworkCall,options:optionsFromProps={},useScope}){var _a;const[lanesState,setLanesState]=(0,react_1.useState)(),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(viewedIdFromProps),{scope}=useScope?.()||{},skip=skipNetworkCall||!!targetLanes,options=(0,react_1.useMemo)(()=>{var _a2,_b,_c;return Object.assign({skip,ids:(_a2=optionsFromProps.ids)!==null&&_a2!==void 0?_a2:viewedLaneId?[viewedLaneId.toString()]:void 0,offset:(_b=optionsFromProps.offset)!==null&&_b!==void 0?_b:0,limit:(_c=optionsFromProps.limit)!==null&&_c!==void 0?_c:10},optionsFromProps)},[skip,optionsFromProps.ids,(_a=optionsFromProps.ids)===null||_a===void 0?void 0:_a.length,viewedLaneId?.toString()]),{lanesModel,loading,hasMore,fetchMoreLanes,offset,limit}=(0,use_lanes_1.useLanes)(targetLanes,skipNetworkCall,options,void 0,scope);(0,react_1.useEffect)(()=>{!loading&&lanesModel&&setLanesState(lanesModel)},[lanesModel,loading]);const updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane),setLanesState(state=>(state?.setViewedOrDefaultLane(lane),state))},[lanesModel]),location=(0,base_react_navigation_link_1.useLocation)(),query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlFromProps?ignoreDerivingFromUrlFromProps.some(fn=>fn(_location)):!1,[]);(0,react_1.useEffect)(()=>{viewedIdFromProps&&updateViewedLane(viewedIdFromProps)},[viewedIdFromProps?.toString()]),(0,react_1.useEffect)(()=>{var _a2,_b;if(ignoreDerivingFromUrl(location))return;const viewedLaneIdToSet=location?.pathname&&lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location?.pathname,query)||void 0||viewedLaneId||((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)||((_b=lanesModel?.lanes.find(lane=>lane.id.isDefault()))===null||_b===void 0?void 0:_b.id);updateViewedLane(viewedLaneIdToSet)},[location?.pathname]),(0,react_1.useEffect)(()=>{setLanesState(existing=>{var _a2,_b;if(!loading&&lanesModel?.lanes.length){const state=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel));return viewedLaneId===void 0&&((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)?state.setViewedOrDefaultLane((_b=lanesModel?.currentLane)===null||_b===void 0?void 0:_b.id):state.setViewedOrDefaultLane(viewedLaneId),state}return existing})},[loading,lanesModel?.lanes.length,viewedLaneId]);const lanesContextModel={lanesModel:lanesState,updateViewedLane,loading,hasMore,fetchMoreLanes,options,offset,limit};return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},3205: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())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.useSearchLanes=void 0;const react_1=__webpack_require__(59496),ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(25338),lanes_ui_models_lanes_model_1=__webpack_require__(43912),client_1=__webpack_require__(97299),lodash_1=__webpack_require__(32699),lanes_context_1=__webpack_require__(99199),GET_LANES=(0,client_1.gql)`
108
+ `)}}exports.UntrackedDependencies=UntrackedDependencies;function untrackedFilesComponentIssueToString(value){return value.untrackedFiles.map(curr=>curr.existing?`${chalk_1.default.yellow(curr.relativePath)}`:curr.relativePath).join(", ")}},83937:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(42687);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(63434);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(27877);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},42687:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(59496);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},63434: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.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),lanes_ui_models_lanes_model_1=__webpack_require__(5326),ui_foundation_ui_react_router_use_query_1=__webpack_require__(44514),base_react_navigation_link_1=__webpack_require__(97667),lanes_context_1=__webpack_require__(42687),use_lanes_1=__webpack_require__(27877);function LanesProvider({children,viewedLaneId:viewedIdFromProps,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlFromProps,skipNetworkCall,options:optionsFromProps={},useScope}){var _a;const[lanesState,setLanesState]=(0,react_1.useState)(),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(viewedIdFromProps),{scope}=useScope?.()||{},skip=skipNetworkCall||!!targetLanes,options=(0,react_1.useMemo)(()=>{var _a2,_b,_c;return Object.assign({skip,ids:(_a2=optionsFromProps.ids)!==null&&_a2!==void 0?_a2:viewedLaneId?[viewedLaneId.toString()]:void 0,offset:(_b=optionsFromProps.offset)!==null&&_b!==void 0?_b:0,limit:(_c=optionsFromProps.limit)!==null&&_c!==void 0?_c:10},optionsFromProps)},[skip,optionsFromProps.ids,(_a=optionsFromProps.ids)===null||_a===void 0?void 0:_a.length,viewedLaneId?.toString()]),{lanesModel,loading,hasMore,fetchMoreLanes,offset,limit}=(0,use_lanes_1.useLanes)(targetLanes,skipNetworkCall,options,void 0,scope);(0,react_1.useEffect)(()=>{!loading&&lanesModel&&setLanesState(lanesModel)},[lanesModel,loading]);const updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane),setLanesState(state=>(state?.setViewedOrDefaultLane(lane),state))},[lanesModel]),location=(0,base_react_navigation_link_1.useLocation)(),query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlFromProps?ignoreDerivingFromUrlFromProps.some(fn=>fn(_location)):!1,[]);(0,react_1.useEffect)(()=>{viewedIdFromProps&&updateViewedLane(viewedIdFromProps)},[viewedIdFromProps?.toString()]),(0,react_1.useEffect)(()=>{var _a2,_b;if(ignoreDerivingFromUrl(location))return;const viewedLaneIdToSet=location?.pathname&&lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location?.pathname,query)||void 0||viewedLaneId||((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)||((_b=lanesModel?.lanes.find(lane=>lane.id.isDefault()))===null||_b===void 0?void 0:_b.id);updateViewedLane(viewedLaneIdToSet)},[location?.pathname]),(0,react_1.useEffect)(()=>{setLanesState(existing=>{var _a2,_b;if(!loading&&lanesModel?.lanes.length){const state=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel));return viewedLaneId===void 0&&((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)?state.setViewedOrDefaultLane((_b=lanesModel?.currentLane)===null||_b===void 0?void 0:_b.id):state.setViewedOrDefaultLane(viewedLaneId),state}return existing})},[loading,lanesModel?.lanes.length,viewedLaneId]);const lanesContextModel={lanesModel:lanesState,updateViewedLane,loading,hasMore,fetchMoreLanes,options,offset,limit};return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},27877: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())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.useSearchLanes=void 0;const react_1=__webpack_require__(59496),ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(25338),lanes_ui_models_lanes_model_1=__webpack_require__(5326),client_1=__webpack_require__(97299),lodash_1=__webpack_require__(32699),lanes_context_1=__webpack_require__(42687),GET_LANES=(0,client_1.gql)`
109
109
  query Lanes(
110
110
  $extensionId: String
111
111
  $laneIds: [String!]
@@ -207,7 +207,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
207
207
  id
208
208
  }
209
209
  }
210
- `,useRootLanes=(viewedLaneId,skip,options={},scope)=>{const{ids,offset,limit,sort}=options,{data,fetchMore,loading}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{laneIds:ids,offset,limit,sort,skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0},skip,errorPolicy:"all",fetchPolicy:"cache-and-network"}),lanesModel=(0,react_1.useMemo)(()=>{if(!loading&&!!data)return lanes_ui_models_lanes_model_1.LanesModel.from({data,scope})},[loading,data,viewedLaneId?.toString(),scope]),hasMore=(0,react_1.useMemo)(()=>{var _a,_b,_c,_d,_e,_f;return loading?!0:limit?ids?.length?((_c=(_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.length)!==null&&_c!==void 0?_c:0)===ids.length:((_f=(_e=(_d=data?.lanes)===null||_d===void 0?void 0:_d.list)===null||_e===void 0?void 0:_e.length)!==null&&_f!==void 0?_f:0)>=limit:!1},[loading,data]),fetchMoreLanes=(0,react_1.useCallback)((newOffset,newLimit)=>__awaiter(void 0,void 0,void 0,function*(){var _a,_b;if(hasMore)try{const{data:moreData,networkStatus}=yield fetchMore({variables:{offset:newOffset,limit:newLimit,laneIds:[],skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0}}),loadingMore=networkStatus===3;return!loadingMore&&moreData.lanes?{lanesModel:lanes_ui_models_lanes_model_1.LanesModel.from({data:moreData}),loading:loadingMore,hasMore:((_b=(_a=moreData.lanes.list)===null||_a===void 0?void 0:_a.length)!==null&&_b!==void 0?_b:0)>=newLimit,nextOffset:newOffset+newLimit}:{lanesModel,loading:loadingMore,nextOffset:newOffset,currentLimit:newLimit}}catch(err){return console.error(err),{}}return{lanesModel,loading:!1,hasMore:!1,nextOffset:newOffset,currentLimit:newLimit}}),[hasMore,viewedLaneId?.toString(),lanesModel]);return{loading,lanesModel,fetchMoreLanes,hasMore,offset,limit}},useSearchLanes=(search,skip)=>{const{data:searchData,loading:loadingSearch}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{search,skipViewedLane:!0},skip:skip||!search,errorPolicy:"all",fetchPolicy:"cache-and-network"});return search?{loading:loadingSearch,lanesModel:searchData&&lanes_ui_models_lanes_model_1.LanesModel.from({data:{lanes:Object.assign(Object.assign({},searchData.lanes),{current:void 0,default:void 0})}})}:{}};exports.useSearchLanes=useSearchLanes;const useLanes=(targetLanes,skip,optionsFromProps,useContextFromProps=!0,scope)=>{var _a,_b,_c,_d,_e;const context=(0,lanes_context_1.useLanesContext)()||{},options=optionsFromProps||context?.options,isSameOptions=(0,lodash_1.isEqual)(options,context?.options),useContext=useContextFromProps&&!!context&&isSameOptions,shouldSkip=skip||!!targetLanes||useContext,rootLanesData=useRootLanes((_b=(_a=context?.lanesModel)===null||_a===void 0?void 0:_a.viewedLane)===null||_b===void 0?void 0:_b.id,shouldSkip,options,scope),searchResult=(0,exports.useSearchLanes)(options?.search,shouldSkip);return targetLanes?Object.assign(Object.assign(Object.assign({},context),rootLanesData),{lanesModel:targetLanes,searchResult}):useContext?Object.assign(Object.assign({},context),{searchResult}):((_c=rootLanesData.lanesModel)===null||_c===void 0||_c.setViewedLane((_e=(_d=context?.lanesModel)===null||_d===void 0?void 0:_d.viewedLane)===null||_e===void 0?void 0:_e.id),Object.assign(Object.assign(Object.assign({},context),rootLanesData),{searchResult}))};exports.useLanes=useLanes},85904: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.Collapser=void 0;const evangelist_elements_icon_1=__webpack_require__(6281),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),design_ui_tooltip_1=__webpack_require__(49142),collapser_button_module_scss_1=__importDefault(__webpack_require__(509));function Collapser(_a){var{isOpen,tooltipContent,placement="right",onClick,className}=_a,rest=__rest(_a,["isOpen","tooltipContent","placement","onClick","className"]);const icon=`${placement}-rounded-corners`;return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{onClick,className:(0,classnames_1.default)(collapser_button_module_scss_1.default.collapser,collapser_button_module_scss_1.default[placement],isOpen&&collapser_button_module_scss_1.default.open,className)}),react_1.default.createElement("div",{className:collapser_button_module_scss_1.default.circle},react_1.default.createElement("div",null,react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon})))))}exports.Collapser=Collapser},53440:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Collapser=void 0;var collapser_button_1=__webpack_require__(85904);Object.defineProperty(exports,"Collapser",{enumerable:!0,get:function(){return collapser_button_1.Collapser}})},43912:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;var lanes_model_1=__webpack_require__(69291);Object.defineProperty(exports,"LanesModel",{enumerable:!0,get:function(){return lanes_model_1.LanesModel}})},69291:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;const component_1=__webpack_require__(99906),lane_id_1=__webpack_require__(8839),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}=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}}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.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()}`}},64856:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{SlotRouter:()=>SlotRouter});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),dist=__webpack_require__(67702),lodash=__webpack_require__(32699);function toKey(route){return route.path?route.path:route.index?"/":"."}function SlotRouter({routes:routesFromProps,slot,rootRoutes,children,parentPath}){const jsxRoutes=(routesFromProps||slot&&(0,lodash.flatten)(slot.values())||[]).concat(rootRoutes||[]).map(route=>(0,jsx_runtime.jsx)(dist.AW,{...route},toKey(route)));return parentPath?(0,jsx_runtime.jsx)(dist.Z5,{children:(0,jsx_runtime.jsxs)(dist.AW,{path:parentPath,children:[jsxRoutes,children]})}):(0,jsx_runtime.jsx)(dist.Z5,{children:(0,jsx_runtime.jsxs)(dist.AW,{path:parentPath,children:[jsxRoutes,children]})})}},24135:(__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__(37899);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__(37452);Object.defineProperty(exports,"VersionDropdown",{enumerable:!0,get:function(){return version_dropdown_1.VersionDropdown}})},555:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;var lane_info_1=__webpack_require__(33760);Object.defineProperty(exports,"LaneInfo",{enumerable:!0,get:function(){return lane_info_1.LaneInfo}})},33760: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__(43912),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),evangelist_elements_icon_1=__webpack_require__(6281),lane_info_module_scss_1=__importDefault(__webpack_require__(97473));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},37899:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DetailedVersion=exports.SimpleVersion=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_styles_ellipsis_1=__webpack_require__(25747),classnames_1=__importDefault(__webpack_require__(97754)),semver=__importStar(__webpack_require__(9131)),evangelist_elements_icon_1=__webpack_require__(6281),design_ui_time_ago_1=__webpack_require__(69327),design_ui_avatar_1=__webpack_require__(7719),base_ui_loaders_skeleton_1=__webpack_require__(16623),version_dropdown_placeholder_module_scss_1=__importDefault(__webpack_require__(42465));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)}},37452:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.LOCAL_VERSION=void 0;const react_1=__importStar(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),evangelist_surfaces_dropdown_1=__webpack_require__(47676),ui_foundation_ui_use_box_tab_1=__webpack_require__(11058),design_ui_avatar_1=__webpack_require__(7719),base_ui_loaders_skeleton_1=__webpack_require__(16623),classnames_1=__importDefault(__webpack_require__(97754)),version_dropdown_module_scss_1=__importDefault(__webpack_require__(48510)),version_info_1=__webpack_require__(2285),lane_info_1=__webpack_require__(555),version_dropdown_placeholder_1=__webpack_require__(37899);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))}},2285:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;var version_info_1=__webpack_require__(4259);Object.defineProperty(exports,"VersionInfo",{enumerable:!0,get:function(){return version_info_1.VersionInfo}})},4259:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;const design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),design_ui_time_ago_1=__webpack_require__(69327),component_ui_version_label_1=__webpack_require__(35447),react_1=__importStar(__webpack_require__(59496)),design_ui_avatar_1=__webpack_require__(7719),design_ui_styles_ellipsis_1=__webpack_require__(25747),classnames_1=__importDefault(__webpack_require__(97754)),version_info_module_scss_1=__importDefault(__webpack_require__(61578));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}},39636:(__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},83804:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentDescriptor=void 0;function _component(){const data=__webpack_require__(99906);return _component=function(){return data},data}function _aspectList(){const data=__webpack_require__(39636);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},17092:(__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__(83804);return _componentDescriptor=function(){return data},data}function _aspectList(){const data=__webpack_require__(39636);return _aspectList=function(){return data},data}},99674:(__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},14449:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function _anyFs(){const data=__webpack_require__(21186);return _anyFs=function(){return data},data}function _eol(){const data=__webpack_require__(58225);return _eol=function(){return data},data}function _path(){const data=_interopRequireDefault(__webpack_require__(62005));return _path=function(){return data},data}function _toolboxPath(){const data=__webpack_require__(92175);return _toolboxPath=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}class ComponentFS extends _anyFs().MemoryFS{constructor(files){super();this.files=files}get hash(){return""}byRegex(extension){return this.files.filter(file=>file.path.match(extension))}byGlob(patterns){const{includePatterns,excludePatterns}=(0,_toolboxPath().splitPatterns)(patterns);return this.files.filter(file=>(0,_toolboxPath().matchPatterns)(file.relative,includePatterns,excludePatterns))}toObject(){return this.files.map(file=>({path:file.path,contents:file.contents}))}static fromVinyls(files){const fs=new ComponentFS(files);return files.forEach(file=>{let dirPath=file.relativeDir;dirPath.startsWith("/")||(dirPath=_path().default.join("/",dirPath)),fs.mkdirpSync(dirPath),fs.writeFileSync(`/${file.relative}`,(0,_eol().auto)(file.contents||""))}),fs}}exports.default=ComponentFS},68703:(__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},64749:(__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__(68703);return _componentMap=function(){return data},data}},9882:(__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},39669:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=void 0;function _toolboxString(){const data=__webpack_require__(22139);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__(11293);return _tagMap=function(){return data},data}function _exceptions(){const data=__webpack_require__(67044);return _exceptions=function(){return data},data}class Component{constructor(id,head=null,_state,tags=new(_tagMap()).TagMap,factory){this.id=id,this.head=head,this._state=_state,this.tags=tags,this.factory=factory}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(state){this._state=state}get config(){return this.state.config}get filesystem(){return this.state.filesystem}get buildStatus(){return this._state._consumer.buildStatus}get headTag(){if(!!this.head)return this.tags.byHash(this.head.hash)}get latest(){if(!!this.head)try{return this.tags.getLatest()}catch(err){if(err instanceof _exceptions().CouldNotFindLatest)return this.head.hash;throw err}}get(id){return this.state.aspects.get(id)?.serialize()}async getLogs(filter){const allLogs=await this.factory.getLogs(this.id,!1,filter?.head);if(!filter)return allLogs;const{type,limit,offset,sort}=filter,typeFilter=snap=>type==="tag"?snap.tag:type==="snap"?!snap.tag:!0;let filteredLogs=type&&allLogs.filter(typeFilter)||allLogs;return sort!=="asc"&&(filteredLogs=filteredLogs.reverse()),limit&&(filteredLogs=(0,_lodash().slice)(filteredLogs,offset,limit+(offset||0))),filteredLogs}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map(token=>(0,_toolboxString().capitalize)(token)).join(" ")}tag(version){}isModified(){return this.factory.isModified(this)}isDeleted(){return this.state._consumer.isRemoved()}isOutdated(){if(!this.latest)return!1;const latestTag=this.tags.byVersion(this.latest);return latestTag?this.head?.hash!==latestTag?.hash:!1}isNew(){return Promise.resolve(this.head===null)}loadState(snapId){return this.factory.getState(this.id,snapId)}loadSnap(snapId){const snapToGet=snapId||this.head?.hash;if(!snapToGet)throw new(_bitError()).BitError("could not load snap for new components");return this.factory.getSnap(this.id,snapToGet)}snapsIterable(snapId,options={}){const snapToStart=snapId||this.head?.hash;let nextSnaps=[snapToStart],done;snapToStart||(done=!0);const iterator={next:async()=>{if(done)return{value:void 0,done};const currSnapId=nextSnaps.shift(),snap=await this.loadSnap(currSnapId);return snap.parents&&snap.parents.length&&(options.firstParentOnly?nextSnaps.push(snap.parents[0]):nextSnaps=nextSnaps.concat(snap.parents)),nextSnaps.length?options.stopFn&&(done=await options.stopFn(snap)):done=!0,{value:snap,done:void 0}}};return{[Symbol.asyncIterator]:()=>iterator}}async getClosestTag(snapToStartFrom){const tagsHashMap=this.tags.getHashMap(),stopFn=async snap=>!!tagsHashMap.has(snap.hash),iterable=this.snapsIterable(snapToStartFrom,{firstParentOnly:!0,stopFn}),snaps=[];for await(const snap of iterable)snaps.push(snap);if(snaps.length){const hashOfLastSnap=snaps[snaps.length-1].hash;return tagsHashMap.get(hashOfLastSnap)}}getTag(){const currentVersion=this.id.version;if(!!currentVersion)return this.tags.byVersion(currentVersion)||this.tags.byHash(currentVersion)}getSnapHash(){if(!this.id.hasVersion())return;const tag=this.tags.byVersion(this.id.version);return tag?tag.hash:this.id.version}async getCurrentSnap(){const snap=this.getSnapHash();if(!!snap)return this.loadSnap(snap)}checkout(version){}write(path,fs){}equals(component){return component.id.toString()===this.id.toString()}}exports.Component=Component},79792:(__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},33570:(__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},35075:(__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},67044:(__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__(86337));return _nothingToSnap=function(){return data},data}function _hostNotFound(){const data=__webpack_require__(35075);return _hostNotFound=function(){return data},data}function _couldNotFindLatest(){const data=__webpack_require__(33570);return _couldNotFindLatest=function(){return data},data}function _mainFileNotFound(){const data=__webpack_require__(86889);return _mainFileNotFound=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},86889:(__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},86337:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;class NothingToSnap extends Error{}exports.default=NothingToSnap},45995:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentHostModel=void 0;function _ui(){const data=__webpack_require__(8980);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},47636:(__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__(15893);return _useComponentHost=function(){return data},data}var _componentHostModel=__webpack_require__(45995);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]}})})},15893:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentHost=useComponentHost;function _uiFoundationUiHooks(){const data=__webpack_require__(25338);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(97299);return _client=function(){return data},data}function _componentHostModel(){const data=__webpack_require__(45995);return _componentHostModel=function(){return data},data}const COMPONENT_HOST=(0,_client().gql)`
210
+ `,useRootLanes=(viewedLaneId,skip,options={},scope)=>{const{ids,offset,limit,sort}=options,{data,fetchMore,loading}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{laneIds:ids,offset,limit,sort,skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0},skip,errorPolicy:"all",fetchPolicy:"cache-and-network"}),lanesModel=(0,react_1.useMemo)(()=>{if(!loading&&!!data)return lanes_ui_models_lanes_model_1.LanesModel.from({data,scope})},[loading,data,viewedLaneId?.toString(),scope]),hasMore=(0,react_1.useMemo)(()=>{var _a,_b,_c,_d,_e,_f;return loading?!0:limit?ids?.length?((_c=(_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.length)!==null&&_c!==void 0?_c:0)===ids.length:((_f=(_e=(_d=data?.lanes)===null||_d===void 0?void 0:_d.list)===null||_e===void 0?void 0:_e.length)!==null&&_f!==void 0?_f:0)>=limit:!1},[loading,data]),fetchMoreLanes=(0,react_1.useCallback)((newOffset,newLimit)=>__awaiter(void 0,void 0,void 0,function*(){var _a,_b;if(hasMore)try{const{data:moreData,networkStatus}=yield fetchMore({variables:{offset:newOffset,limit:newLimit,laneIds:[],skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0}}),loadingMore=networkStatus===3;return!loadingMore&&moreData.lanes?{lanesModel:lanes_ui_models_lanes_model_1.LanesModel.from({data:moreData}),loading:loadingMore,hasMore:((_b=(_a=moreData.lanes.list)===null||_a===void 0?void 0:_a.length)!==null&&_b!==void 0?_b:0)>=newLimit,nextOffset:newOffset+newLimit}:{lanesModel,loading:loadingMore,nextOffset:newOffset,currentLimit:newLimit}}catch(err){return console.error(err),{}}return{lanesModel,loading:!1,hasMore:!1,nextOffset:newOffset,currentLimit:newLimit}}),[hasMore,viewedLaneId?.toString(),lanesModel]);return{loading,lanesModel,fetchMoreLanes,hasMore,offset,limit}},useSearchLanes=(search,skip)=>{const{data:searchData,loading:loadingSearch}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{search,skipViewedLane:!0},skip:skip||!search,errorPolicy:"all",fetchPolicy:"cache-and-network"});return search?{loading:loadingSearch,lanesModel:searchData&&lanes_ui_models_lanes_model_1.LanesModel.from({data:{lanes:Object.assign(Object.assign({},searchData.lanes),{current:void 0,default:void 0})}})}:{}};exports.useSearchLanes=useSearchLanes;const useLanes=(targetLanes,skip,optionsFromProps,useContextFromProps=!0,scope)=>{var _a,_b,_c,_d,_e;const context=(0,lanes_context_1.useLanesContext)()||{},options=optionsFromProps||context?.options,isSameOptions=(0,lodash_1.isEqual)(options,context?.options),useContext=useContextFromProps&&!!context&&isSameOptions,shouldSkip=skip||!!targetLanes||useContext,rootLanesData=useRootLanes((_b=(_a=context?.lanesModel)===null||_a===void 0?void 0:_a.viewedLane)===null||_b===void 0?void 0:_b.id,shouldSkip,options,scope),searchResult=(0,exports.useSearchLanes)(options?.search,shouldSkip);return targetLanes?Object.assign(Object.assign(Object.assign({},context),rootLanesData),{lanesModel:targetLanes,searchResult}):useContext?Object.assign(Object.assign({},context),{searchResult}):((_c=rootLanesData.lanesModel)===null||_c===void 0||_c.setViewedLane((_e=(_d=context?.lanesModel)===null||_d===void 0?void 0:_d.viewedLane)===null||_e===void 0?void 0:_e.id),Object.assign(Object.assign(Object.assign({},context),rootLanesData),{searchResult}))};exports.useLanes=useLanes},85904: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.Collapser=void 0;const evangelist_elements_icon_1=__webpack_require__(6281),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),design_ui_tooltip_1=__webpack_require__(49142),collapser_button_module_scss_1=__importDefault(__webpack_require__(509));function Collapser(_a){var{isOpen,tooltipContent,placement="right",onClick,className}=_a,rest=__rest(_a,["isOpen","tooltipContent","placement","onClick","className"]);const icon=`${placement}-rounded-corners`;return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{onClick,className:(0,classnames_1.default)(collapser_button_module_scss_1.default.collapser,collapser_button_module_scss_1.default[placement],isOpen&&collapser_button_module_scss_1.default.open,className)}),react_1.default.createElement("div",{className:collapser_button_module_scss_1.default.circle},react_1.default.createElement("div",null,react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon})))))}exports.Collapser=Collapser},53440:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Collapser=void 0;var collapser_button_1=__webpack_require__(85904);Object.defineProperty(exports,"Collapser",{enumerable:!0,get:function(){return collapser_button_1.Collapser}})},5326:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;var lanes_model_1=__webpack_require__(89564);Object.defineProperty(exports,"LanesModel",{enumerable:!0,get:function(){return lanes_model_1.LanesModel}})},89564:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;const component_1=__webpack_require__(41731),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}=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}}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.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()}`}},64856:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{SlotRouter:()=>SlotRouter});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),dist=__webpack_require__(67702),lodash=__webpack_require__(32699);function toKey(route){return route.path?route.path:route.index?"/":"."}function SlotRouter({routes:routesFromProps,slot,rootRoutes,children,parentPath}){const jsxRoutes=(routesFromProps||slot&&(0,lodash.flatten)(slot.values())||[]).concat(rootRoutes||[]).map(route=>(0,jsx_runtime.jsx)(dist.AW,{...route},toKey(route)));return parentPath?(0,jsx_runtime.jsx)(dist.Z5,{children:(0,jsx_runtime.jsxs)(dist.AW,{path:parentPath,children:[jsxRoutes,children]})}):(0,jsx_runtime.jsx)(dist.Z5,{children:(0,jsx_runtime.jsxs)(dist.AW,{path:parentPath,children:[jsxRoutes,children]})})}},93731:(__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__(20232);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__(77686);Object.defineProperty(exports,"VersionDropdown",{enumerable:!0,get:function(){return version_dropdown_1.VersionDropdown}})},24397:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneInfo=void 0;var lane_info_1=__webpack_require__(80932);Object.defineProperty(exports,"LaneInfo",{enumerable:!0,get:function(){return lane_info_1.LaneInfo}})},80932: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__(5326),react_1=__importDefault(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),evangelist_elements_icon_1=__webpack_require__(6281),lane_info_module_scss_1=__importDefault(__webpack_require__(14342));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},20232:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DetailedVersion=exports.SimpleVersion=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_ui_styles_ellipsis_1=__webpack_require__(25747),classnames_1=__importDefault(__webpack_require__(97754)),semver=__importStar(__webpack_require__(9131)),evangelist_elements_icon_1=__webpack_require__(6281),design_ui_time_ago_1=__webpack_require__(69327),design_ui_avatar_1=__webpack_require__(7719),base_ui_loaders_skeleton_1=__webpack_require__(16623),version_dropdown_placeholder_module_scss_1=__importDefault(__webpack_require__(2630));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)}},77686:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionDropdown=exports.LOCAL_VERSION=void 0;const react_1=__importStar(__webpack_require__(59496)),design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),evangelist_surfaces_dropdown_1=__webpack_require__(47676),ui_foundation_ui_use_box_tab_1=__webpack_require__(11058),design_ui_avatar_1=__webpack_require__(7719),base_ui_loaders_skeleton_1=__webpack_require__(16623),classnames_1=__importDefault(__webpack_require__(97754)),version_dropdown_module_scss_1=__importDefault(__webpack_require__(69888)),version_info_1=__webpack_require__(22939),lane_info_1=__webpack_require__(24397),version_dropdown_placeholder_1=__webpack_require__(20232);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))}},22939:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;var version_info_1=__webpack_require__(80327);Object.defineProperty(exports,"VersionInfo",{enumerable:!0,get:function(){return version_info_1.VersionInfo}})},80327:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.VersionInfo=void 0;const design_ui_surfaces_menu_link_item_1=__webpack_require__(50419),design_ui_time_ago_1=__webpack_require__(69327),component_ui_version_label_1=__webpack_require__(35447),react_1=__importStar(__webpack_require__(59496)),design_ui_avatar_1=__webpack_require__(7719),design_ui_styles_ellipsis_1=__webpack_require__(25747),classnames_1=__importDefault(__webpack_require__(97754)),version_info_module_scss_1=__importDefault(__webpack_require__(22455));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}},39636:(__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},83804:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentDescriptor=void 0;function _component(){const data=__webpack_require__(41731);return _component=function(){return data},data}function _aspectList(){const data=__webpack_require__(39636);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},17092:(__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__(83804);return _componentDescriptor=function(){return data},data}function _aspectList(){const data=__webpack_require__(39636);return _aspectList=function(){return data},data}},71227:(__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},18247:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function _anyFs(){const data=__webpack_require__(21186);return _anyFs=function(){return data},data}function _eol(){const data=__webpack_require__(58225);return _eol=function(){return data},data}function _path(){const data=_interopRequireDefault(__webpack_require__(62005));return _path=function(){return data},data}function _toolboxPath(){const data=__webpack_require__(92175);return _toolboxPath=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}class ComponentFS extends _anyFs().MemoryFS{constructor(files){super();this.files=files}get hash(){return""}byRegex(extension){return this.files.filter(file=>file.path.match(extension))}byGlob(patterns){const{includePatterns,excludePatterns}=(0,_toolboxPath().splitPatterns)(patterns);return this.files.filter(file=>(0,_toolboxPath().matchPatterns)(file.relative,includePatterns,excludePatterns))}toObject(){return this.files.map(file=>({path:file.path,contents:file.contents}))}static fromVinyls(files){const fs=new ComponentFS(files);return files.forEach(file=>{let dirPath=file.relativeDir;dirPath.startsWith("/")||(dirPath=_path().default.join("/",dirPath)),fs.mkdirpSync(dirPath),fs.writeFileSync(`/${file.relative}`,(0,_eol().auto)(file.contents||""))}),fs}}exports.default=ComponentFS},76675:(__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},77435:(__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__(76675);return _componentMap=function(){return data},data}},1148:(__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},36354:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Component=void 0;function _toolboxString(){const data=__webpack_require__(22139);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__(5423);return _tagMap=function(){return data},data}function _exceptions(){const data=__webpack_require__(74037);return _exceptions=function(){return data},data}class Component{constructor(id,head=null,_state,tags=new(_tagMap()).TagMap,factory){this.id=id,this.head=head,this._state=_state,this.tags=tags,this.factory=factory}get mainFile(){return this.state.mainFile}get state(){return this._state}set state(state){this._state=state}get config(){return this.state.config}get filesystem(){return this.state.filesystem}get buildStatus(){return this._state._consumer.buildStatus}get headTag(){if(!!this.head)return this.tags.byHash(this.head.hash)}get latest(){if(!!this.head)try{return this.tags.getLatest()}catch(err){if(err instanceof _exceptions().CouldNotFindLatest)return this.head.hash;throw err}}get(id){return this.state.aspects.get(id)?.serialize()}async getLogs(filter){const allLogs=await this.factory.getLogs(this.id,!1,filter?.head);if(!filter)return allLogs;const{type,limit,offset,sort}=filter,typeFilter=snap=>type==="tag"?snap.tag:type==="snap"?!snap.tag:!0;let filteredLogs=type&&allLogs.filter(typeFilter)||allLogs;return sort!=="asc"&&(filteredLogs=filteredLogs.reverse()),limit&&(filteredLogs=(0,_lodash().slice)(filteredLogs,offset,limit+(offset||0))),filteredLogs}stringify(){return JSON.stringify({id:this.id,head:this.head})}get displayName(){return this.id.name.split("-").map(token=>(0,_toolboxString().capitalize)(token)).join(" ")}tag(version){}isModified(){return this.factory.isModified(this)}isDeleted(){return this.state._consumer.isRemoved()}isOutdated(){if(!this.latest)return!1;const latestTag=this.tags.byVersion(this.latest);return latestTag?this.head?.hash!==latestTag?.hash:!1}isNew(){return Promise.resolve(this.head===null)}loadState(snapId){return this.factory.getState(this.id,snapId)}loadSnap(snapId){const snapToGet=snapId||this.head?.hash;if(!snapToGet)throw new(_bitError()).BitError("could not load snap for new components");return this.factory.getSnap(this.id,snapToGet)}snapsIterable(snapId,options={}){const snapToStart=snapId||this.head?.hash;let nextSnaps=[snapToStart],done;snapToStart||(done=!0);const iterator={next:async()=>{if(done)return{value:void 0,done};const currSnapId=nextSnaps.shift(),snap=await this.loadSnap(currSnapId);return snap.parents&&snap.parents.length&&(options.firstParentOnly?nextSnaps.push(snap.parents[0]):nextSnaps=nextSnaps.concat(snap.parents)),nextSnaps.length?options.stopFn&&(done=await options.stopFn(snap)):done=!0,{value:snap,done:void 0}}};return{[Symbol.asyncIterator]:()=>iterator}}async getClosestTag(snapToStartFrom){const tagsHashMap=this.tags.getHashMap(),stopFn=async snap=>!!tagsHashMap.has(snap.hash),iterable=this.snapsIterable(snapToStartFrom,{firstParentOnly:!0,stopFn}),snaps=[];for await(const snap of iterable)snaps.push(snap);if(snaps.length){const hashOfLastSnap=snaps[snaps.length-1].hash;return tagsHashMap.get(hashOfLastSnap)}}getTag(){const currentVersion=this.id.version;if(!!currentVersion)return this.tags.byVersion(currentVersion)||this.tags.byHash(currentVersion)}getSnapHash(){if(!this.id.hasVersion())return;const tag=this.tags.byVersion(this.id.version);return tag?tag.hash:this.id.version}async getCurrentSnap(){const snap=this.getSnapHash();if(!!snap)return this.loadSnap(snap)}checkout(version){}write(path,fs){}equals(component){return component.id.toString()===this.id.toString()}}exports.Component=Component},34665:(__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},76502:(__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},21389:(__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},74037:(__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__(56390));return _nothingToSnap=function(){return data},data}function _hostNotFound(){const data=__webpack_require__(21389);return _hostNotFound=function(){return data},data}function _couldNotFindLatest(){const data=__webpack_require__(76502);return _couldNotFindLatest=function(){return data},data}function _mainFileNotFound(){const data=__webpack_require__(69034);return _mainFileNotFound=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}},69034:(__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},56390:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;class NothingToSnap extends Error{}exports.default=NothingToSnap},83491:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentHostModel=void 0;function _ui(){const data=__webpack_require__(84039);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},54184:(__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__(71346);return _useComponentHost=function(){return data},data}var _componentHostModel=__webpack_require__(83491);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]}})})},71346:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useComponentHost=useComponentHost;function _uiFoundationUiHooks(){const data=__webpack_require__(25338);return _uiFoundationUiHooks=function(){return data},data}function _client(){const data=__webpack_require__(97299);return _client=function(){return data},data}function _componentHostModel(){const data=__webpack_require__(83491);return _componentHostModel=function(){return data},data}const COMPONENT_HOST=(0,_client().gql)`
211
211
  {
212
212
  getHost {
213
213
  id # used for GQL caching
@@ -228,7 +228,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
228
228
  }
229
229
  }
230
230
  }
231
- `;function useComponentHost(){const{data,loading}=(0,_uiFoundationUiHooks().useDataQuery)(COMPONENT_HOST);return!data||loading?{}:{host:_componentHostModel().ComponentHostModel.from(data)}}},99906:(__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__(9882);return _component=function(){return data},data}function _host(){const data=__webpack_require__(47636);return _host=function(){return data},data}function _component2(){const data=__webpack_require__(39669);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__(14449));return _componentFs=function(){return data},data}function _aspectEntry(){const data=__webpack_require__(99674);return _aspectEntry=function(){return data},data}function _snap(){const data=__webpack_require__(45809);return _snap=function(){return data},data}function _tag(){const data=__webpack_require__(81673);return _tag=function(){return data},data}function _state(){const data=__webpack_require__(57896);return _state=function(){return data},data}function _tagMap(){const data=__webpack_require__(11293);return _tagMap=function(){return data},data}function _componentMap(){const data=__webpack_require__(64749);return _componentMap=function(){return data},data}function _componentContext(){const data=__webpack_require__(87602);return _componentContext=function(){return data},data}function _context(){const data=__webpack_require__(62441);return _context=function(){return data},data}function _ui(){const data=__webpack_require__(8980);return _ui=function(){return data},data}function _menu(){const data=__webpack_require__(37254);return _menu=function(){return data},data}function _componentModel(){const data=__webpack_require__(47651);return _componentModel=function(){return data},data}function _topBarNav(){const data=__webpack_require__(90274);return _topBarNav=function(){return data},data}function _config(){const data=__webpack_require__(79792);return _config=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=exports.default=_component().ComponentAspect},45809:(__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},57896:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.State=void 0;function _componentIssues(){const data=__webpack_require__(24879);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__(67044);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},11293:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TagMap=void 0;function _semverHelper(){const data=__webpack_require__(30755);return _semverHelper=function(){return data},data}function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}function _exceptions(){const data=__webpack_require__(67044);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,_semverHelper().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},8015:(__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__(81673);return _tag=function(){return data},data}},81673:(__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},78061:(__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__(42355);return _designUiPages=function(){return data},data}function _designUiPages2(){const data=__webpack_require__(70048);return _designUiPages2=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}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},93589:(__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__(78061);return _componentError=function(){return data},data}},13400:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentModel=void 0;function _compositions(){const data=__webpack_require__(39976);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__(8015);return _tag=function(){return data},data}function _tagMap(){const data=__webpack_require__(11293);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},47651:(__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__(13400);return _componentModel=function(){return data},data}},19030:(__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__(64856);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__(62441);return _context=function(){return data},data}function _useComponent(){const data=__webpack_require__(43378);return _useComponent=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(2009);return _useComponentFromLocation=function(){return data},data}function _(){const data=__webpack_require__(99906);return _=function(){return data},data}function _componentModule(){const data=_interopRequireDefault(__webpack_require__(17971));return _componentModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.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(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:String(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)}},87602:(__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__(47651);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},91108:(__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__(87602);return _componentContext=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}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)}},62441:(__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__(87602);return _componentContext=function(){return data},data}function _componentProvider(){const data=__webpack_require__(91108);return _componentProvider=function(){return data},data}},8980:(__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__(37254);return _menu=function(){return data},data}function _component(){const data=__webpack_require__(19030);return _component=function(){return data},data}function _componentModel(){const data=__webpack_require__(47651);return _componentModel=function(){return data},data}function _context(){const data=__webpack_require__(62441);return _context=function(){return data},data}function _topBarNav(){const data=__webpack_require__(90274);return _topBarNav=function(){return data},data}function _useComponent(){const data=__webpack_require__(43378);return _useComponent=function(){return data},data}function _useComponent2(){const data=__webpack_require__(91121);return _useComponent2=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(2009);return _useComponentFromLocation=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(87383);return _useComponentQuery=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(24698);return _useComponentLogs=function(){return data},data}},37254:(__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__(59059);return _menuNav=function(){return data},data}function _menu(){const data=__webpack_require__(14756);return _menu=function(){return data},data}},59059:(__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__(8845);return _designNavigation=function(){return data},data}function _topBarNav(){const data=__webpack_require__(90274);return _topBarNav=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(34424));return _menuModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.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(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:String(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(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function 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)}},14756:(__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__(40734);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__(24135);return _componentUi=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(76285);return _uiFoundationUi=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _uiFoundationUiUseBox(){const data=__webpack_require__(87514);return _uiFoundationUiUseBox=function(){return data},data}function _lanesHooks(){const data=__webpack_require__(98336);return _lanesHooks=function(){return data},data}function _uiFoundationUiUseBox2(){const data=__webpack_require__(68094);return _uiFoundationUiUseBox2=function(){return data},data}function _useComponent(){const data=__webpack_require__(43378);return _useComponent=function(){return data},data}function _menuNav(){const data=__webpack_require__(59059);return _menuNav=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(2009);return _useComponentFromLocation=function(){return data},data}function _(){const data=__webpack_require__(99906);return _=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(34424));return _menuModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.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(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:String(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.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])}},90274:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _topBarNav=__webpack_require__(16797);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]}})})},16797:(__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__(40734);return _reactRouterDom=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _topBarNavModule(){const data=_interopRequireDefault(__webpack_require__(69895));return _topBarNavModule=function(){return data},data}const _excluded=["href","className","activeClassName","children","displayName","ignoreQueryParams"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}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))}},2009:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIdFromLocation=useIdFromLocation;function _reactRouterDom(){const data=__webpack_require__(40734);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]}},24698:(__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__(25338);return _uiFoundationUiHooks=function(){return data},data}function _useComponent(){const data=__webpack_require__(91121);return _useComponent=function(){return data},data}function _componentError(){const data=__webpack_require__(93589);return _componentError=function(){return data},data}function _useComponent2(){const data=__webpack_require__(55361);return _useComponent2=function(){return data},data}function _(){const data=__webpack_require__(99906);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}}},87383:(__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__(25338);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__(17092);return _componentDescriptor=function(){return data},data}function _componentModel(){const data=__webpack_require__(47651);return _componentModel=function(){return data},data}function _useComponent(){const data=__webpack_require__(91121);return _useComponent=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(24698);return _useComponentLogs=function(){return data},data}function _componentError(){const data=__webpack_require__(93589);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(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:String(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])}},91121:(__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__(97299);return _client=function(){return data},data}const componentIdFields=exports.componentIdFields=(0,_client().gql)`
231
+ `;function useComponentHost(){const{data,loading}=(0,_uiFoundationUiHooks().useDataQuery)(COMPONENT_HOST);return!data||loading?{}:{host:_componentHostModel().ComponentHostModel.from(data)}}},41731:(__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__(1148);return _component=function(){return data},data}function _host(){const data=__webpack_require__(54184);return _host=function(){return data},data}function _component2(){const data=__webpack_require__(36354);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__(18247));return _componentFs=function(){return data},data}function _aspectEntry(){const data=__webpack_require__(71227);return _aspectEntry=function(){return data},data}function _snap(){const data=__webpack_require__(15728);return _snap=function(){return data},data}function _tag(){const data=__webpack_require__(21425);return _tag=function(){return data},data}function _state(){const data=__webpack_require__(45330);return _state=function(){return data},data}function _tagMap(){const data=__webpack_require__(5423);return _tagMap=function(){return data},data}function _componentMap(){const data=__webpack_require__(77435);return _componentMap=function(){return data},data}function _componentContext(){const data=__webpack_require__(53415);return _componentContext=function(){return data},data}function _context(){const data=__webpack_require__(38272);return _context=function(){return data},data}function _ui(){const data=__webpack_require__(84039);return _ui=function(){return data},data}function _menu(){const data=__webpack_require__(9243);return _menu=function(){return data},data}function _componentModel(){const data=__webpack_require__(94293);return _componentModel=function(){return data},data}function _topBarNav(){const data=__webpack_require__(27866);return _topBarNav=function(){return data},data}function _config(){const data=__webpack_require__(34665);return _config=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=exports.default=_component().ComponentAspect},15728:(__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},45330:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.State=void 0;function _componentIssues(){const data=__webpack_require__(24879);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__(74037);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},5423:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TagMap=void 0;function _semverHelper(){const data=__webpack_require__(30755);return _semverHelper=function(){return data},data}function _semver(){const data=__webpack_require__(9131);return _semver=function(){return data},data}function _exceptions(){const data=__webpack_require__(74037);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,_semverHelper().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},66941:(__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__(21425);return _tag=function(){return data},data}},21425:(__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},25601:(__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__(42355);return _designUiPages=function(){return data},data}function _designUiPages2(){const data=__webpack_require__(70048);return _designUiPages2=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}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},1274:(__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__(25601);return _componentError=function(){return data},data}},12975:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentModel=void 0;function _compositions(){const data=__webpack_require__(87421);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__(66941);return _tag=function(){return data},data}function _tagMap(){const data=__webpack_require__(5423);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},94293:(__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__(12975);return _componentModel=function(){return data},data}},60835:(__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__(64856);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__(38272);return _context=function(){return data},data}function _useComponent(){const data=__webpack_require__(64948);return _useComponent=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(32151);return _useComponentFromLocation=function(){return data},data}function _(){const data=__webpack_require__(41731);return _=function(){return data},data}function _componentModule(){const data=_interopRequireDefault(__webpack_require__(69300));return _componentModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.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(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:String(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)}},53415:(__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__(94293);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},85764:(__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__(53415);return _componentContext=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}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)}},38272:(__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__(53415);return _componentContext=function(){return data},data}function _componentProvider(){const data=__webpack_require__(85764);return _componentProvider=function(){return data},data}},84039:(__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__(9243);return _menu=function(){return data},data}function _component(){const data=__webpack_require__(60835);return _component=function(){return data},data}function _componentModel(){const data=__webpack_require__(94293);return _componentModel=function(){return data},data}function _context(){const data=__webpack_require__(38272);return _context=function(){return data},data}function _topBarNav(){const data=__webpack_require__(27866);return _topBarNav=function(){return data},data}function _useComponent(){const data=__webpack_require__(64948);return _useComponent=function(){return data},data}function _useComponent2(){const data=__webpack_require__(614);return _useComponent2=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(32151);return _useComponentFromLocation=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(15144);return _useComponentQuery=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(77896);return _useComponentLogs=function(){return data},data}},9243:(__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__(50237);return _menuNav=function(){return data},data}function _menu(){const data=__webpack_require__(10986);return _menu=function(){return data},data}},50237:(__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__(8845);return _designNavigation=function(){return data},data}function _topBarNav(){const data=__webpack_require__(27866);return _topBarNav=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(18102));return _menuModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.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(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:String(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(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function 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)}},10986:(__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__(40734);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__(93731);return _componentUi=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(76285);return _uiFoundationUi=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _uiFoundationUiUseBox(){const data=__webpack_require__(87514);return _uiFoundationUiUseBox=function(){return data},data}function _lanesHooks(){const data=__webpack_require__(83937);return _lanesHooks=function(){return data},data}function _uiFoundationUiUseBox2(){const data=__webpack_require__(68094);return _uiFoundationUiUseBox2=function(){return data},data}function _useComponent(){const data=__webpack_require__(64948);return _useComponent=function(){return data},data}function _menuNav(){const data=__webpack_require__(50237);return _menuNav=function(){return data},data}function _useComponentFromLocation(){const data=__webpack_require__(32151);return _useComponentFromLocation=function(){return data},data}function _(){const data=__webpack_require__(41731);return _=function(){return data},data}function _menuModule(){const data=_interopRequireDefault(__webpack_require__(18102));return _menuModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.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(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:String(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.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])}},27866:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _topBarNav=__webpack_require__(53444);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]}})})},53444:(__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__(40734);return _reactRouterDom=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _topBarNavModule(){const data=_interopRequireDefault(__webpack_require__(88733));return _topBarNavModule=function(){return data},data}const _excluded=["href","className","activeClassName","children","displayName","ignoreQueryParams"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}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))}},32151:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useIdFromLocation=useIdFromLocation;function _reactRouterDom(){const data=__webpack_require__(40734);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]}},77896:(__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__(25338);return _uiFoundationUiHooks=function(){return data},data}function _useComponent(){const data=__webpack_require__(614);return _useComponent=function(){return data},data}function _componentError(){const data=__webpack_require__(1274);return _componentError=function(){return data},data}function _useComponent2(){const data=__webpack_require__(79587);return _useComponent2=function(){return data},data}function _(){const data=__webpack_require__(41731);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}}},15144:(__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__(25338);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__(17092);return _componentDescriptor=function(){return data},data}function _componentModel(){const data=__webpack_require__(94293);return _componentModel=function(){return data},data}function _useComponent(){const data=__webpack_require__(614);return _useComponent=function(){return data},data}function _useComponentLogs(){const data=__webpack_require__(77896);return _useComponentLogs=function(){return data},data}function _componentError(){const data=__webpack_require__(1274);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(obj,key,value){return key=_toPropertyKey(key),key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return typeof i=="symbol"?i:String(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])}},614:(__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__(97299);return _client=function(){return data},data}const componentIdFields=exports.componentIdFields=(0,_client().gql)`
232
232
  fragment componentIdFields on ComponentID {
233
233
  name
234
234
  version
@@ -380,7 +380,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
380
380
  }
381
381
  }
382
382
  ${componentIdFields}
383
- `},43378:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Filters",{enumerable:!0,get:function(){return _useComponent().Filters}}),Object.defineProperty(exports,"UseComponentType",{enumerable:!0,get:function(){return _useComponent().UseComponentType}}),exports.useComponent=useComponent;function _uiFoundationUiReactRouter(){const data=__webpack_require__(44514);return _uiFoundationUiReactRouter=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(87383);return _useComponentQuery=function(){return data},data}function _useComponent(){const data=__webpack_require__(48144);return _useComponent=function(){return data},data}function useComponent(host,id,options){const query=(0,_uiFoundationUiReactRouter().useQuery)(),{version,logFilters,customUseComponent,skip}=options||{},componentVersion=(version||query.get("version"))??void 0,componentIdStr=id&&withVersion(id,componentVersion);return(customUseComponent||_useComponentQuery().useComponentQuery)(componentIdStr||"",host,logFilters,skip||!id)}function withVersion(id,version){return!version||id.includes("@")?id:`${id}@${version}`}},48144:()=>{"use strict"},55361:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getOffsetValue=getOffsetValue;function getOffsetValue(offset,limit,backwards=!1){if(offset!==void 0)return backwards?-(offset+limit):offset;if(limit!==void 0)return 0}},64899:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.PreviewSkeleton=exports.CompositionCardSkeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_loaders_skeleton_1=__webpack_require__(16623),composition_card_skeleton_module_scss_1=__importDefault(__webpack_require__(4821));function CompositionCardSkeleton(){return react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.compositionCardSkeleton},react_1.default.createElement(PreviewSkeleton,null),react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.bottom},react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"104px"})))}exports.CompositionCardSkeleton=CompositionCardSkeleton;function PreviewSkeleton(){return react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.preview},react_1.default.createElement(base_ui_loaders_skeleton_1.BlockSkeleton,{lines:2,className:composition_card_skeleton_module_scss_1.default.block}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"208px"}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"152px"}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"88px"}))}exports.PreviewSkeleton=PreviewSkeleton},737:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PreviewSkeleton=exports.CompositionCardSkeleton=void 0;var composition_card_skeleton_1=__webpack_require__(64899);Object.defineProperty(exports,"CompositionCardSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.CompositionCardSkeleton}}),Object.defineProperty(exports,"PreviewSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.PreviewSkeleton}})},25798:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),compositions_1=__webpack_require__(39976),design_ui_styles_ellipsis_1=__webpack_require__(25747),composition_card_module_scss_1=__importDefault(__webpack_require__(93353));exports.CompositionCard=react_1.default.memo(_CompositionCard);function _CompositionCard(_a){var{composition,component,className,openCompositionLink,previewClass}=_a,rest=__rest(_a,["composition","component","className","openCompositionLink","previewClass"]);const Composition=react_1.default.useMemo(()=>react_1.default.createElement(compositions_1.ComponentComposition,{className:previewClass,includeEnv:!1,loading:"lazy",composition,component,viewport:1280,scrolling:"no",previewName:"compositions"}),[composition.identifier,component.id.toString(),previewClass]);return react_1.default.createElement("div",Object.assign({},rest,{key:composition.identifier,className:(0,classnames_1.default)(composition_card_module_scss_1.default.compositionCard,className)}),react_1.default.createElement("div",{className:composition_card_module_scss_1.default.compositionPreview},Composition),react_1.default.createElement("div",{className:composition_card_module_scss_1.default.bottom},react_1.default.createElement("span",{className:(0,classnames_1.default)(design_ui_styles_ellipsis_1.ellipsis,composition_card_module_scss_1.default.displayName)},composition.displayName),openCompositionLink&&react_1.default.createElement("a",{className:composition_card_module_scss_1.default.link,target:"_blank",rel:"noopener noreferrer",href:openCompositionLink},react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:composition_card_module_scss_1.default.icon,of:"open-tab"}))))}},578:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCardSkeleton=exports.CompositionCard=void 0;var composition_card_1=__webpack_require__(25798);Object.defineProperty(exports,"CompositionCard",{enumerable:!0,get:function(){return composition_card_1.CompositionCard}});var composition_card_skeleton_1=__webpack_require__(737);Object.defineProperty(exports,"CompositionCardSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.CompositionCardSkeleton}})},54274:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Composition=void 0;function _compositionsModel(){const data=__webpack_require__(76821);return _compositionsModel=function(){return data},data}class Composition{constructor(identifier,filepath,_displayName){this.identifier=identifier,this.filepath=filepath,this._displayName=_displayName}get displayName(){return this._displayName||(0,_compositionsModel().humanizeCompositionId)(this.identifier)}toObject(){return{identifier:this.identifier,filepath:this.filepath,displayName:this._displayName}}toBrowserMetaDataObject(){return{identifier:this.identifier,displayName:this._displayName}}static fromArray(compositions){return compositions.map(composition=>new Composition(composition.identifier,composition.filepath,composition.displayName))}}exports.Composition=Composition},23891:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.CompositionsAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const CompositionsAspect=exports.CompositionsAspect=_harmony().Aspect.create({id:"teambit.compositions/compositions",dependencies:[],defaultConfig:{}});var _default=exports.default=CompositionsAspect},48141:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionContent=CompositionContent,exports.Compositions=Compositions;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(40734);return _reactRouterDom=function(){return data},data}function _lodash(){const data=_interopRequireDefault(__webpack_require__(40733));return _lodash=function(){return data},data}function _queryString(){const data=_interopRequireDefault(__webpack_require__(42546));return _queryString=function(){return data},data}function _documenterTheme(){const data=__webpack_require__(55516);return _documenterTheme=function(){return data},data}function _baseUiSurfacesSplitPane(){const data=__webpack_require__(18666);return _baseUiSurfacesSplitPane=function(){return data},data}function _baseUiSurfacesSplitPane2(){const data=__webpack_require__(51088);return _baseUiSurfacesSplitPane2=function(){return data},data}function _component(){const data=__webpack_require__(99906);return _component=function(){return data},data}function _documenterUi(){const data=__webpack_require__(41823);return _documenterUi=function(){return data},data}function _panels(){const data=__webpack_require__(67475);return _panels=function(){return data},data}function _docsUiQueries(){const data=__webpack_require__(4591);return _docsUiQueries=function(){return data},data}function _uiFoundationUiButtons(){const data=__webpack_require__(53440);return _uiFoundationUiButtons=function(){return data},data}function _designUi(){const data=__webpack_require__(33198);return _designUi=function(){return data},data}function _previewUi(){const data=__webpack_require__(38832);return _previewUi=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(84214);return _uiFoundationUiHooks=function(){return data},data}function _compositionsUi(){const data=__webpack_require__(66564);return _compositionsUi=function(){return data},data}function _compositionsUiHooks(){const data=__webpack_require__(54565);return _compositionsUiHooks=function(){return data},data}function _mdxUi(){const data=__webpack_require__(13359);return _mdxUi=function(){return data},data}function _designUi2(){const data=__webpack_require__(10732);return _designUi2=function(){return data},data}function _documenterUi2(){const data=__webpack_require__(77522);return _documenterUi2=function(){return data},data}function _designUi3(){const data=__webpack_require__(60978);return _designUi3=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _designUiInput(){const data=__webpack_require__(37340);return _designUiInput=function(){return data},data}function _designUiSurfaces(){const data=__webpack_require__(11852);return _designUiSurfaces=function(){return data},data}function _compositionsModule(){const data=_interopRequireDefault(__webpack_require__(20301));return _compositionsModule=function(){return data},data}function _ui(){const data=__webpack_require__(43611);return _ui=function(){return data},data}function _compositionsPanel(){const data=__webpack_require__(81406);return _compositionsPanel=function(){return data},data}const _excluded=["component","selected","queryParams","emptyState"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}const Link=_baseReactNavigation().Link;function Compositions({menuBarWidgets,emptyState}){const component=(0,_react().useContext)(_component().ComponentContext),[searchParams]=(0,_reactRouterDom().useSearchParams)(),params=(0,_reactRouterDom().useParams)(),versionFromQueryParams=searchParams.get("version"),navigate=(0,_baseReactNavigation().useNavigate)(),location=(0,_baseReactNavigation().useLocation)(),currentCompositionName=params["*"],currentComposition=component.compositions.find(composition=>composition.identifier.toLowerCase()===currentCompositionName)||(0,_lodash().default)(component.compositions),selectedRef=(0,_react().useRef)(currentComposition);selectedRef.current=currentComposition;const properties=(0,_docsUiQueries().useDocs)(component.id),showSidebar=!(0,_uiFoundationUiHooks().useIsMobile)()&&component.compositions.length>0,[isSidebarOpen,setSidebarOpenness]=(0,_react().useState)(showSidebar),sidebarOpenness=isSidebarOpen?_baseUiSurfacesSplitPane().Layout.row:_baseUiSurfacesSplitPane().Layout.left,compositionUrl=(0,_previewUi().toPreviewUrl)(component,"compositions"),isScaling=component?.preview?.isScaling,includesEnvTemplates=component?.preview?.includesEnvTemplate,useNameParam=component?.preview?.useNameParam,compositionIdentifierParam=useNameParam||isScaling&&includesEnvTemplates===!1?`name=${currentComposition?.identifier}`:currentComposition?.identifier,currentCompositionFullUrl=(0,_previewUi().toPreviewUrl)(component,"compositions",compositionIdentifierParam),[compositionParams,setCompositionParams]=(0,_react().useState)({fullscreen:!0}),queryParams=(0,_react().useMemo)(()=>_queryString().default.stringify(compositionParams),[compositionParams]);return(0,_react().useEffect)(()=>setSidebarOpenness(showSidebar),[showSidebar]),_react().default.createElement(_compositionsUiHooks().CompositionContextProvider,{queryParams:compositionParams,setQueryParams:setCompositionParams},_react().default.createElement(_baseUiSurfacesSplitPane().SplitPane,{layout:sidebarOpenness,size:"85%",className:_compositionsModule().default.compositionsPage},_react().default.createElement(_baseUiSurfacesSplitPane().Pane,{className:_compositionsModule().default.left},_react().default.createElement(_compositionsUi().CompositionsMenuBar,{menuBarWidgets,className:_compositionsModule().default.menuBar},_react().default.createElement(Link,{external:!0,href:currentCompositionFullUrl,className:_compositionsModule().default.openInNewTab},_react().default.createElement(_designUiInput().OptionButton,{icon:"open-tab"}))),_react().default.createElement(CompositionContent,{className:_compositionsModule().default.compositionPanel,emptyState,component,selected:currentComposition,queryParams})),_react().default.createElement(_baseUiSurfacesSplitPane2().HoverSplitter,{className:_compositionsModule().default.splitter},_react().default.createElement(_uiFoundationUiButtons().Collapser,{placement:"left",isOpen:isSidebarOpen,onMouseDown:e=>e.stopPropagation(),onClick:()=>setSidebarOpenness(x=>!x),tooltipContent:`${isSidebarOpen?"Hide":"Show"} side compositions`,className:_compositionsModule().default.collapser})),_react().default.createElement(_baseUiSurfacesSplitPane().Pane,{className:_compositionsModule().default.right},_react().default.createElement(_documenterTheme().ThemeContext,null,_react().default.createElement(_panels().TabContainer,{className:_compositionsModule().default.tabsContainer},_react().default.createElement(_panels().TabList,{className:_compositionsModule().default.tabs},_react().default.createElement(_panels().Tab,null,"compositions"),_react().default.createElement(_panels().Tab,null,"properties")),_react().default.createElement(_panels().TabPanel,{className:_compositionsModule().default.tabContent},_react().default.createElement(_compositionsPanel().CompositionsPanel,{isScaling,useNameParam,includesEnvTemplate:component.preview?.includesEnvTemplate,onSelectComposition:composition=>{if(!currentComposition||!location)return;const selectedCompositionFromUrl=params["*"],pathSegments=location.pathname.split("/").filter(x=>x);selectedCompositionFromUrl?pathSegments[pathSegments.length-1]=composition.identifier.toLowerCase():pathSegments.push(composition.identifier.toLowerCase());const urlParams=new URLSearchParams;versionFromQueryParams&&urlParams.set("version",versionFromQueryParams);const newPath=pathSegments.join("/");navigate(`/${newPath}?${urlParams.toString()}`)},url:compositionUrl,compositions:component.compositions,active:currentComposition})),_react().default.createElement(_panels().TabPanel,{className:_compositionsModule().default.tabContent},properties&&properties.length>0?_react().default.createElement(_documenterUi().PropTable,{rows:properties,showListView:!0}):_react().default.createElement("div",null)))))))}function CompositionContent(_ref){let{component,selected,queryParams,emptyState}=_ref,componentCompositionProps=_objectWithoutProperties(_ref,_excluded);const env=component.environment?.id,EmptyStateTemplate=emptyState?.get(env||"");return component.compositions.length===0&&component.host==="teambit.workspace/workspace"&&EmptyStateTemplate?_react().default.createElement("div",{className:_compositionsModule().default.noCompositionsPage},_react().default.createElement("div",null,_react().default.createElement(_documenterUi2().H1,{className:_compositionsModule().default.title},"Compositions"),_react().default.createElement(_designUi2().Separator,{isPresentational:!0,className:_compositionsModule().default.separator}),_react().default.createElement(_designUi3().AlertCard,{level:"info",title:"There are no compositions for this Component. Learn how to add compositions:"},_react().default.createElement(_mdxUi().MDXLayout,null,_react().default.createElement(EmptyStateTemplate,null))))):component?.buildStatus==="pending"&&component?.host==="teambit.scope/scope"?_react().default.createElement(_designUiSurfaces().StatusMessageCard,{className:_compositionsModule().default.buildStatusMessage,status:"PROCESSING",title:"component preview pending"},"this might take some time"):component?.buildStatus==="failed"&&component?.host==="teambit.scope/scope"?_react().default.createElement(_designUiSurfaces().StatusMessageCard,{className:_compositionsModule().default.buildStatusMessage,status:"FAILURE",title:"failed to get component preview "}):component.compositions.length===0?_react().default.createElement(_designUi().EmptyBox,{title:"There are no compositions for this component.",linkText:"Learn how to create compositions",link:"https://bit.dev/reference/dev-services-overview/compositions/compositions-overview"}):_react().default.createElement(_ui().ComponentComposition,_extends({className:_compositionsModule().default.compositionsIframe,viewport:null,component,forceHeight:"100%",composition:selected,fullContentHeight:!0,pubsub:!0,queryParams},componentCompositionProps))}},39976:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentComposition",{enumerable:!0,get:function(){return _ui().ComponentComposition}}),Object.defineProperty(exports,"Composition",{enumerable:!0,get:function(){return _composition().Composition}}),Object.defineProperty(exports,"CompositionContent",{enumerable:!0,get:function(){return _compositions2().CompositionContent}}),Object.defineProperty(exports,"CompositionsAspect",{enumerable:!0,get:function(){return _compositions().CompositionsAspect}}),exports.default=void 0;function _compositions(){const data=__webpack_require__(23891);return _compositions=function(){return data},data}function _composition(){const data=__webpack_require__(54274);return _composition=function(){return data},data}function _compositions2(){const data=__webpack_require__(48141);return _compositions2=function(){return data},data}function _ui(){const data=__webpack_require__(43611);return _ui=function(){return data},data}var _default=exports.default=_compositions().CompositionsAspect},34998:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentComposition=ComponentComposition;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _previewUi(){const data=__webpack_require__(38832);return _previewUi=function(){return data},data}const _excluded=["composition","component","queryParams"];function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}function ComponentComposition(_ref){let{composition,component,queryParams=[]}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const includesEnvTemplate=component.preview?.includesEnvTemplate,isScaling=component.preview?.isScaling,shouldAddNameParam=component.preview?.useNameParam||isScaling&&includesEnvTemplate===!1,compositionParams=(0,_react().useMemo)(()=>(composition?[shouldAddNameParam?`name=${composition.identifier}`:composition.identifier]:[]).concat(queryParams),[composition?.identifier,queryParams]);return _react().default.createElement(_previewUi().ComponentPreview,_extends({},rest,{component,style:{width:"100%",height:"100%"},previewName:"compositions",queryParams:compositionParams}))}},81406:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsPanel=CompositionsPanel;function _evangelistElements(){const data=__webpack_require__(6281);return _evangelistElements=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(40734);return _reactRouterDom=function(){return data},data}function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(43492);return _uiFoundationUi=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _compositionsPanelModule(){const data=_interopRequireDefault(__webpack_require__(94765));return _compositionsPanelModule=function(){return data},data}const _excluded=["url","compositions","isScaling","onSelectComposition","active","includesEnvTemplate","useNameParam","className"];function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}function CompositionsPanel(_ref){let{url,compositions,isScaling,onSelectComposition:onSelect,active,includesEnvTemplate,useNameParam,className}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const shouldAddNameParam=useNameParam||isScaling&&includesEnvTemplate===!1,handleSelect=(0,_react().useCallback)(selected=>{onSelect&&onSelect(selected)},[onSelect]),location=(0,_baseReactNavigation().useLocation)(),[searchParams]=(0,_reactRouterDom().useSearchParams)(),versionFromQueryParams=searchParams.get("version"),navigate=(0,_baseReactNavigation().useNavigate)(),onCompositionCodeClicked=(0,_react().useCallback)(composition=>e=>{e.preventDefault();const queryParams=new URLSearchParams;versionFromQueryParams&&queryParams.set("version",versionFromQueryParams);const basePath=location?.pathname.split("/~compositions")[0];navigate(`${basePath}/~code/${composition.filepath}?${queryParams.toString()}#search=${composition.identifier}`)},[location?.pathname,versionFromQueryParams]);return _react().default.createElement("ul",_extends({},rest,{className:(0,_classnames().default)(className)}),compositions.map(composition=>{const href=shouldAddNameParam?`${url}&name=${composition.identifier}`:`${url}&${composition.identifier}`;return _react().default.createElement("li",{key:composition.identifier,className:(0,_classnames().default)(_compositionsPanelModule().default.linkWrapper,composition===active&&_compositionsPanelModule().default.active)},_react().default.createElement("a",{className:_compositionsPanelModule().default.panelLink,onClick:()=>handleSelect(composition)},_react().default.createElement("span",{className:_compositionsPanelModule().default.box}),_react().default.createElement("span",{className:_compositionsPanelModule().default.name},composition.displayName)),_react().default.createElement("div",{className:_compositionsPanelModule().default.right},_react().default.createElement(_uiFoundationUi().MenuWidgetIcon,{className:_compositionsPanelModule().default.codeLink,icon:"Code",tooltipContent:"Code",onClick:onCompositionCodeClicked(composition)}),_react().default.createElement("a",{className:_compositionsPanelModule().default.panelLink,target:"_blank",rel:"noopener noreferrer",href},_react().default.createElement(_evangelistElements().Icon,{className:_compositionsPanelModule().default.icon,of:"open-tab"}))))}))}},43611:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentComposition",{enumerable:!0,get:function(){return _compositionPreview().ComponentComposition}});function _compositionPreview(){const data=__webpack_require__(34998);return _compositionPreview=function(){return data},data}},88851: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},76821:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;var humanize_1=__webpack_require__(88851);Object.defineProperty(exports,"humanizeCompositionId",{enumerable:!0,get:function(){return humanize_1.humanizeCompositionId}})},61434:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_loaders_skeleton_1=__webpack_require__(16623),composition_card_1=__webpack_require__(578),composition_gallery_skeleton_module_scss_1=__importDefault(__webpack_require__(30587));function CompositionGallerySkeleton(_a){var{compositionsLength,className}=_a,rest=__rest(_a,["compositionsLength","className"]);const length=Array.from(Array(compositionsLength));return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(composition_gallery_skeleton_module_scss_1.default.compositionGallerySkeleton,className)}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"100px",className:composition_gallery_skeleton_module_scss_1.default.title}),react_1.default.createElement("div",{className:(0,classnames_1.default)(composition_gallery_skeleton_module_scss_1.default.compositionGalleryGrid)},length.map((_,index)=>react_1.default.createElement(composition_card_1.CompositionCardSkeleton,{key:`comp-card-skeleton-${index}`}))))}exports.CompositionGallerySkeleton=CompositionGallerySkeleton},60082:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=void 0;var composition_gallery_skeleton_1=__webpack_require__(61434);Object.defineProperty(exports,"CompositionGallerySkeleton",{enumerable:!0,get:function(){return composition_gallery_skeleton_1.CompositionGallerySkeleton}})},20298:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallery=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_elements_icon_1=__webpack_require__(79060),documenter_ui_linked_heading_1=__webpack_require__(24259),base_react_navigation_link_1=__webpack_require__(97667),composition_card_1=__webpack_require__(578),composition_gallery_module_scss_1=__importDefault(__webpack_require__(37597));function CompositionGallery({component}){const navigate=(0,base_react_navigation_link_1.useNavigate)();return component.compositions.length>0?react_1.default.createElement("div",{className:composition_gallery_module_scss_1.default.compositionGallery},react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,{size:"sm",className:composition_gallery_module_scss_1.default.title},react_1.default.createElement(design_elements_icon_1.Icon,{of:"eye"})," ",react_1.default.createElement("span",null,"PREVIEW")),react_1.default.createElement("div",{className:composition_gallery_module_scss_1.default.carousel},component.compositions.map(composition=>react_1.default.createElement(composition_card_1.CompositionCard,{key:composition.identifier.toLowerCase(),onClick:()=>navigate(`~compositions/${composition.identifier.toLowerCase()}`),className:composition_gallery_module_scss_1.default.compositionGalleryCard,previewClass:composition_gallery_module_scss_1.default.preview,composition,component})))):null}exports.CompositionGallery=CompositionGallery},42885:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=exports.CompositionGallery=void 0;var composition_gallery_1=__webpack_require__(20298);Object.defineProperty(exports,"CompositionGallery",{enumerable:!0,get:function(){return composition_gallery_1.CompositionGallery}});var composition_gallery_skeleton_1=__webpack_require__(60082);Object.defineProperty(exports,"CompositionGallerySkeleton",{enumerable:!0,get:function(){return composition_gallery_skeleton_1.CompositionGallerySkeleton}})},2926:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DocsAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const DocsAspect=exports.DocsAspect=_harmony().Aspect.create({id:"teambit.docs/docs",dependencies:[],defaultConfig:{}});var _default=exports.default=DocsAspect},62141:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultDocs=void 0;const defaultDocs=exports.defaultDocs={default:()=>null,labels:[],abstract:"",examples:[]}},5018:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return _docsEntities().Doc}}),Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return _docsEntities().DocProp}}),Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return _docsEntities().DocPropList}}),Object.defineProperty(exports,"DocsAspect",{enumerable:!0,get:function(){return _docs().DocsAspect}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}}),exports.default=void 0,Object.defineProperty(exports,"defaultDocs",{enumerable:!0,get:function(){return _docs2().defaultDocs}});function _docs(){const data=__webpack_require__(2926);return _docs=function(){return data},data}function _docsEntities(){const data=__webpack_require__(87628);return _docsEntities=function(){return data},data}function _docs2(){const data=__webpack_require__(62141);return _docs2=function(){return data},data}function _overview(){const data=__webpack_require__(76765);return _overview=function(){return data},data}var _default=exports.default=_docs().DocsAspect},76765:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}});function _overview(){const data=__webpack_require__(19502);return _overview=function(){return data},data}},19502:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BadgePosition=void 0,exports.Overview=Overview;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 _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _component(){const data=__webpack_require__(99906);return _component=function(){return data},data}function _previewUi(){const data=__webpack_require__(38832);return _previewUi=function(){return data},data}function _componentUi(){const data=__webpack_require__(54839);return _componentUi=function(){return data},data}function _compositionsPanels(){const data=__webpack_require__(42885);return _compositionsPanels=function(){return data},data}function _baseReactThemes(){const data=__webpack_require__(16375);return _baseReactThemes=function(){return data},data}function _readmeSkeleton(){const data=__webpack_require__(48394);return _readmeSkeleton=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(84690));return _overviewModule=function(){return data},data}const _excluded=["onLoad","style"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}let BadgePosition=exports.BadgePosition=function(BadgePosition2){return BadgePosition2[BadgePosition2.Title=0]="Title",BadgePosition2[BadgePosition2.SubTitle=1]="SubTitle",BadgePosition2[BadgePosition2.Labels=2]="Labels",BadgePosition2[BadgePosition2.Package=3]="Package",BadgePosition2}({});function Overview({titleBadges,overviewOptions,previewProps,getEmptyState,TaggedAPI}){const component=(0,_react().useContext)(_component().ComponentContext),componentDescriptor=(0,_component().useComponentDescriptor)(),{current}=(0,_baseReactThemes().useThemePicker)(),overviewProps=(0,_lodash().flatten)(overviewOptions.values())[0],showHeader=!component.preview?.legacyHeader,EmptyState=getEmptyState&&getEmptyState(),buildFailed=component.buildStatus?.toLowerCase()!=="succeed"&&component?.host==="teambit.scope/scope",isScaling=Boolean(component.preview?.isScaling),includesEnvTemplate=Boolean(component.preview?.includesEnvTemplate),defaultLoadingState=_react().default.useMemo(()=>isScaling&&!includesEnvTemplate,[isScaling,includesEnvTemplate]),[isLoading,setLoading]=(0,_react().useState)(defaultLoadingState),iframeQueryParams=`onlyOverview=${component.preview?.onlyOverview||"false"}&skipIncludes=${component.preview?.skipIncludes||component.preview?.onlyOverview}`,overviewPropsValues=overviewProps&&overviewProps(),themeParams=current?.themeName?`theme=${current?.themeName}`:"",_ref=previewProps||{},{onLoad,style}=_ref,rest=_objectWithoutProperties(_ref,_excluded),onPreviewLoad=_react().default.useCallback((e,props)=>{setLoading(!1),onLoad?.(e,props)},[onLoad]);return _react().default.useEffect(()=>{!isLoading&&defaultLoadingState&&setLoading(!0),isLoading&&!defaultLoadingState&&setLoading(!1)},[component.id.toString(),defaultLoadingState]),_react().default.createElement("div",{className:_overviewModule().default.overviewWrapper,key:`${component.id.toString()}`},showHeader&&_react().default.createElement(_componentUi().ComponentOverview,{className:(0,_classnames().default)(_overviewModule().default.componentOverviewBlock,!isScaling&&_overviewModule().default.legacyPreview),displayName:component.displayName,version:component.version,abstract:component.description,labels:component.labels,packageName:component.packageName,titleBadges:(0,_lodash().flatten)(titleBadges.values()),componentDescriptor,component}),!buildFailed&&_react().default.createElement("div",{className:_overviewModule().default.readme},isLoading&&_react().default.createElement(_readmeSkeleton().ReadmeSkeleton,null,_react().default.createElement(_compositionsPanels().CompositionGallerySkeleton,{compositionsLength:Math.min(component.compositions.length,3)})),_react().default.createElement(_previewUi().ComponentPreview,_extends({onLoad:onPreviewLoad,previewName:"overview",pubsub:!0,queryParams:[iframeQueryParams,themeParams,overviewPropsValues?.queryParams||""],viewport:null,fullContentHeight:!0,disableScroll:!0},rest,{component,style:{width:"100%",height:"100%",minHeight:isScaling?void 0:500}})),component.preview?.onlyOverview&&!isLoading&&_react().default.createElement(_compositionsPanels().CompositionGallery,{component}),component.preview?.onlyOverview&&!isLoading&&TaggedAPI&&_react().default.createElement(TaggedAPI,{componentId:component.id.toString()})),buildFailed&&EmptyState&&_react().default.createElement(EmptyState,null))}},48394:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ReadmeSkeleton=ReadmeSkeleton;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _baseUiLoaders(){const data=__webpack_require__(16623);return _baseUiLoaders=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(84690));return _overviewModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function ReadmeSkeleton({children}){return _react().default.createElement("div",{className:_overviewModule().default.readmeSkeleton},_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"80%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"70%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"40%",style:{marginBottom:40}}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"30%",style:{marginBottom:16}}),_react().default.createElement(_baseUiLoaders().BlockSkeleton,{lines:10,style:{width:"100%",marginBottom:40}}),children)}},27345:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDocs=exports.docsFields=void 0;const client_1=__webpack_require__(97299);exports.docsFields=(0,client_1.gql)`
383
+ `},64948:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Filters",{enumerable:!0,get:function(){return _useComponent().Filters}}),Object.defineProperty(exports,"UseComponentType",{enumerable:!0,get:function(){return _useComponent().UseComponentType}}),exports.useComponent=useComponent;function _uiFoundationUiReactRouter(){const data=__webpack_require__(44514);return _uiFoundationUiReactRouter=function(){return data},data}function _useComponentQuery(){const data=__webpack_require__(15144);return _useComponentQuery=function(){return data},data}function _useComponent(){const data=__webpack_require__(97568);return _useComponent=function(){return data},data}function useComponent(host,id,options){const query=(0,_uiFoundationUiReactRouter().useQuery)(),{version,logFilters,customUseComponent,skip}=options||{},componentVersion=(version||query.get("version"))??void 0,componentIdStr=id&&withVersion(id,componentVersion);return(customUseComponent||_useComponentQuery().useComponentQuery)(componentIdStr||"",host,logFilters,skip||!id)}function withVersion(id,version){return!version||id.includes("@")?id:`${id}@${version}`}},97568:()=>{"use strict"},79587:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getOffsetValue=getOffsetValue;function getOffsetValue(offset,limit,backwards=!1){if(offset!==void 0)return backwards?-(offset+limit):offset;if(limit!==void 0)return 0}},64899:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.PreviewSkeleton=exports.CompositionCardSkeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),base_ui_loaders_skeleton_1=__webpack_require__(16623),composition_card_skeleton_module_scss_1=__importDefault(__webpack_require__(4821));function CompositionCardSkeleton(){return react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.compositionCardSkeleton},react_1.default.createElement(PreviewSkeleton,null),react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.bottom},react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"104px"})))}exports.CompositionCardSkeleton=CompositionCardSkeleton;function PreviewSkeleton(){return react_1.default.createElement("div",{className:composition_card_skeleton_module_scss_1.default.preview},react_1.default.createElement(base_ui_loaders_skeleton_1.BlockSkeleton,{lines:2,className:composition_card_skeleton_module_scss_1.default.block}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"208px"}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"152px"}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"88px"}))}exports.PreviewSkeleton=PreviewSkeleton},737:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PreviewSkeleton=exports.CompositionCardSkeleton=void 0;var composition_card_skeleton_1=__webpack_require__(64899);Object.defineProperty(exports,"CompositionCardSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.CompositionCardSkeleton}}),Object.defineProperty(exports,"PreviewSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.PreviewSkeleton}})},25798:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCard=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),evangelist_elements_icon_1=__webpack_require__(6281),compositions_1=__webpack_require__(87421),design_ui_styles_ellipsis_1=__webpack_require__(25747),composition_card_module_scss_1=__importDefault(__webpack_require__(93353));exports.CompositionCard=react_1.default.memo(_CompositionCard);function _CompositionCard(_a){var{composition,component,className,openCompositionLink,previewClass}=_a,rest=__rest(_a,["composition","component","className","openCompositionLink","previewClass"]);const Composition=react_1.default.useMemo(()=>react_1.default.createElement(compositions_1.ComponentComposition,{className:previewClass,includeEnv:!1,loading:"lazy",composition,component,viewport:1280,scrolling:"no",previewName:"compositions"}),[composition.identifier,component.id.toString(),previewClass]);return react_1.default.createElement("div",Object.assign({},rest,{key:composition.identifier,className:(0,classnames_1.default)(composition_card_module_scss_1.default.compositionCard,className)}),react_1.default.createElement("div",{className:composition_card_module_scss_1.default.compositionPreview},Composition),react_1.default.createElement("div",{className:composition_card_module_scss_1.default.bottom},react_1.default.createElement("span",{className:(0,classnames_1.default)(design_ui_styles_ellipsis_1.ellipsis,composition_card_module_scss_1.default.displayName)},composition.displayName),openCompositionLink&&react_1.default.createElement("a",{className:composition_card_module_scss_1.default.link,target:"_blank",rel:"noopener noreferrer",href:openCompositionLink},react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:composition_card_module_scss_1.default.icon,of:"open-tab"}))))}},578:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionCardSkeleton=exports.CompositionCard=void 0;var composition_card_1=__webpack_require__(25798);Object.defineProperty(exports,"CompositionCard",{enumerable:!0,get:function(){return composition_card_1.CompositionCard}});var composition_card_skeleton_1=__webpack_require__(737);Object.defineProperty(exports,"CompositionCardSkeleton",{enumerable:!0,get:function(){return composition_card_skeleton_1.CompositionCardSkeleton}})},55927:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Composition=void 0;function _compositionsModel(){const data=__webpack_require__(76821);return _compositionsModel=function(){return data},data}class Composition{constructor(identifier,filepath,_displayName){this.identifier=identifier,this.filepath=filepath,this._displayName=_displayName}get displayName(){return this._displayName||(0,_compositionsModel().humanizeCompositionId)(this.identifier)}toObject(){return{identifier:this.identifier,filepath:this.filepath,displayName:this._displayName}}toBrowserMetaDataObject(){return{identifier:this.identifier,displayName:this._displayName}}static fromArray(compositions){return compositions.map(composition=>new Composition(composition.identifier,composition.filepath,composition.displayName))}}exports.Composition=Composition},37751:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.CompositionsAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const CompositionsAspect=exports.CompositionsAspect=_harmony().Aspect.create({id:"teambit.compositions/compositions",dependencies:[],defaultConfig:{}});var _default=exports.default=CompositionsAspect},48342:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionContent=CompositionContent,exports.Compositions=Compositions;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(40734);return _reactRouterDom=function(){return data},data}function _lodash(){const data=_interopRequireDefault(__webpack_require__(40733));return _lodash=function(){return data},data}function _queryString(){const data=_interopRequireDefault(__webpack_require__(42546));return _queryString=function(){return data},data}function _documenterTheme(){const data=__webpack_require__(55516);return _documenterTheme=function(){return data},data}function _baseUiSurfacesSplitPane(){const data=__webpack_require__(18666);return _baseUiSurfacesSplitPane=function(){return data},data}function _baseUiSurfacesSplitPane2(){const data=__webpack_require__(51088);return _baseUiSurfacesSplitPane2=function(){return data},data}function _component(){const data=__webpack_require__(41731);return _component=function(){return data},data}function _documenterUi(){const data=__webpack_require__(41823);return _documenterUi=function(){return data},data}function _panels(){const data=__webpack_require__(67475);return _panels=function(){return data},data}function _docsUiQueries(){const data=__webpack_require__(4591);return _docsUiQueries=function(){return data},data}function _uiFoundationUiButtons(){const data=__webpack_require__(53440);return _uiFoundationUiButtons=function(){return data},data}function _designUi(){const data=__webpack_require__(33198);return _designUi=function(){return data},data}function _previewUi(){const data=__webpack_require__(38832);return _previewUi=function(){return data},data}function _uiFoundationUiHooks(){const data=__webpack_require__(84214);return _uiFoundationUiHooks=function(){return data},data}function _compositionsUi(){const data=__webpack_require__(66564);return _compositionsUi=function(){return data},data}function _compositionsUiHooks(){const data=__webpack_require__(54565);return _compositionsUiHooks=function(){return data},data}function _mdxUi(){const data=__webpack_require__(13359);return _mdxUi=function(){return data},data}function _designUi2(){const data=__webpack_require__(10732);return _designUi2=function(){return data},data}function _documenterUi2(){const data=__webpack_require__(77522);return _documenterUi2=function(){return data},data}function _designUi3(){const data=__webpack_require__(60978);return _designUi3=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _designUiInput(){const data=__webpack_require__(37340);return _designUiInput=function(){return data},data}function _designUiSurfaces(){const data=__webpack_require__(11852);return _designUiSurfaces=function(){return data},data}function _compositionsModule(){const data=_interopRequireDefault(__webpack_require__(6675));return _compositionsModule=function(){return data},data}function _ui(){const data=__webpack_require__(98462);return _ui=function(){return data},data}function _compositionsPanel(){const data=__webpack_require__(82896);return _compositionsPanel=function(){return data},data}const _excluded=["component","selected","queryParams","emptyState"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}const Link=_baseReactNavigation().Link;function Compositions({menuBarWidgets,emptyState}){const component=(0,_react().useContext)(_component().ComponentContext),[searchParams]=(0,_reactRouterDom().useSearchParams)(),params=(0,_reactRouterDom().useParams)(),versionFromQueryParams=searchParams.get("version"),navigate=(0,_baseReactNavigation().useNavigate)(),location=(0,_baseReactNavigation().useLocation)(),currentCompositionName=params["*"],currentComposition=component.compositions.find(composition=>composition.identifier.toLowerCase()===currentCompositionName)||(0,_lodash().default)(component.compositions),selectedRef=(0,_react().useRef)(currentComposition);selectedRef.current=currentComposition;const properties=(0,_docsUiQueries().useDocs)(component.id),showSidebar=!(0,_uiFoundationUiHooks().useIsMobile)()&&component.compositions.length>0,[isSidebarOpen,setSidebarOpenness]=(0,_react().useState)(showSidebar),sidebarOpenness=isSidebarOpen?_baseUiSurfacesSplitPane().Layout.row:_baseUiSurfacesSplitPane().Layout.left,compositionUrl=(0,_previewUi().toPreviewUrl)(component,"compositions"),isScaling=component?.preview?.isScaling,includesEnvTemplates=component?.preview?.includesEnvTemplate,useNameParam=component?.preview?.useNameParam,compositionIdentifierParam=useNameParam||isScaling&&includesEnvTemplates===!1?`name=${currentComposition?.identifier}`:currentComposition?.identifier,currentCompositionFullUrl=(0,_previewUi().toPreviewUrl)(component,"compositions",compositionIdentifierParam),[compositionParams,setCompositionParams]=(0,_react().useState)({fullscreen:!0}),queryParams=(0,_react().useMemo)(()=>_queryString().default.stringify(compositionParams),[compositionParams]);return(0,_react().useEffect)(()=>setSidebarOpenness(showSidebar),[showSidebar]),_react().default.createElement(_compositionsUiHooks().CompositionContextProvider,{queryParams:compositionParams,setQueryParams:setCompositionParams},_react().default.createElement(_baseUiSurfacesSplitPane().SplitPane,{layout:sidebarOpenness,size:"85%",className:_compositionsModule().default.compositionsPage},_react().default.createElement(_baseUiSurfacesSplitPane().Pane,{className:_compositionsModule().default.left},_react().default.createElement(_compositionsUi().CompositionsMenuBar,{menuBarWidgets,className:_compositionsModule().default.menuBar},_react().default.createElement(Link,{external:!0,href:currentCompositionFullUrl,className:_compositionsModule().default.openInNewTab},_react().default.createElement(_designUiInput().OptionButton,{icon:"open-tab"}))),_react().default.createElement(CompositionContent,{className:_compositionsModule().default.compositionPanel,emptyState,component,selected:currentComposition,queryParams})),_react().default.createElement(_baseUiSurfacesSplitPane2().HoverSplitter,{className:_compositionsModule().default.splitter},_react().default.createElement(_uiFoundationUiButtons().Collapser,{placement:"left",isOpen:isSidebarOpen,onMouseDown:e=>e.stopPropagation(),onClick:()=>setSidebarOpenness(x=>!x),tooltipContent:`${isSidebarOpen?"Hide":"Show"} side compositions`,className:_compositionsModule().default.collapser})),_react().default.createElement(_baseUiSurfacesSplitPane().Pane,{className:_compositionsModule().default.right},_react().default.createElement(_documenterTheme().ThemeContext,null,_react().default.createElement(_panels().TabContainer,{className:_compositionsModule().default.tabsContainer},_react().default.createElement(_panels().TabList,{className:_compositionsModule().default.tabs},_react().default.createElement(_panels().Tab,null,"compositions"),_react().default.createElement(_panels().Tab,null,"properties")),_react().default.createElement(_panels().TabPanel,{className:_compositionsModule().default.tabContent},_react().default.createElement(_compositionsPanel().CompositionsPanel,{isScaling,useNameParam,includesEnvTemplate:component.preview?.includesEnvTemplate,onSelectComposition:composition=>{if(!currentComposition||!location)return;const selectedCompositionFromUrl=params["*"],pathSegments=location.pathname.split("/").filter(x=>x);selectedCompositionFromUrl?pathSegments[pathSegments.length-1]=composition.identifier.toLowerCase():pathSegments.push(composition.identifier.toLowerCase());const urlParams=new URLSearchParams;versionFromQueryParams&&urlParams.set("version",versionFromQueryParams);const newPath=pathSegments.join("/");navigate(`/${newPath}?${urlParams.toString()}`)},url:compositionUrl,compositions:component.compositions,active:currentComposition})),_react().default.createElement(_panels().TabPanel,{className:_compositionsModule().default.tabContent},properties&&properties.length>0?_react().default.createElement(_documenterUi().PropTable,{rows:properties,showListView:!0}):_react().default.createElement("div",null)))))))}function CompositionContent(_ref){let{component,selected,queryParams,emptyState}=_ref,componentCompositionProps=_objectWithoutProperties(_ref,_excluded);const env=component.environment?.id,EmptyStateTemplate=emptyState?.get(env||"");return component.compositions.length===0&&component.host==="teambit.workspace/workspace"&&EmptyStateTemplate?_react().default.createElement("div",{className:_compositionsModule().default.noCompositionsPage},_react().default.createElement("div",null,_react().default.createElement(_documenterUi2().H1,{className:_compositionsModule().default.title},"Compositions"),_react().default.createElement(_designUi2().Separator,{isPresentational:!0,className:_compositionsModule().default.separator}),_react().default.createElement(_designUi3().AlertCard,{level:"info",title:"There are no compositions for this Component. Learn how to add compositions:"},_react().default.createElement(_mdxUi().MDXLayout,null,_react().default.createElement(EmptyStateTemplate,null))))):component?.buildStatus==="pending"&&component?.host==="teambit.scope/scope"?_react().default.createElement(_designUiSurfaces().StatusMessageCard,{className:_compositionsModule().default.buildStatusMessage,status:"PROCESSING",title:"component preview pending"},"this might take some time"):component?.buildStatus==="failed"&&component?.host==="teambit.scope/scope"?_react().default.createElement(_designUiSurfaces().StatusMessageCard,{className:_compositionsModule().default.buildStatusMessage,status:"FAILURE",title:"failed to get component preview "}):component.compositions.length===0?_react().default.createElement(_designUi().EmptyBox,{title:"There are no compositions for this component.",linkText:"Learn how to create compositions",link:"https://bit.dev/reference/dev-services-overview/compositions/compositions-overview"}):_react().default.createElement(_ui().ComponentComposition,_extends({className:_compositionsModule().default.compositionsIframe,viewport:null,component,forceHeight:"100%",composition:selected,fullContentHeight:!0,pubsub:!0,queryParams},componentCompositionProps))}},87421:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentComposition",{enumerable:!0,get:function(){return _ui().ComponentComposition}}),Object.defineProperty(exports,"Composition",{enumerable:!0,get:function(){return _composition().Composition}}),Object.defineProperty(exports,"CompositionContent",{enumerable:!0,get:function(){return _compositions2().CompositionContent}}),Object.defineProperty(exports,"CompositionsAspect",{enumerable:!0,get:function(){return _compositions().CompositionsAspect}}),exports.default=void 0;function _compositions(){const data=__webpack_require__(37751);return _compositions=function(){return data},data}function _composition(){const data=__webpack_require__(55927);return _composition=function(){return data},data}function _compositions2(){const data=__webpack_require__(48342);return _compositions2=function(){return data},data}function _ui(){const data=__webpack_require__(98462);return _ui=function(){return data},data}var _default=exports.default=_compositions().CompositionsAspect},97944:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ComponentComposition=ComponentComposition;function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _previewUi(){const data=__webpack_require__(38832);return _previewUi=function(){return data},data}const _excluded=["composition","component","queryParams"];function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}function ComponentComposition(_ref){let{composition,component,queryParams=[]}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const includesEnvTemplate=component.preview?.includesEnvTemplate,isScaling=component.preview?.isScaling,shouldAddNameParam=component.preview?.useNameParam||isScaling&&includesEnvTemplate===!1,compositionParams=(0,_react().useMemo)(()=>(composition?[shouldAddNameParam?`name=${composition.identifier}`:composition.identifier]:[]).concat(queryParams),[composition?.identifier,queryParams]);return _react().default.createElement(_previewUi().ComponentPreview,_extends({},rest,{component,style:{width:"100%",height:"100%"},previewName:"compositions",queryParams:compositionParams}))}},82896:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsPanel=CompositionsPanel;function _evangelistElements(){const data=__webpack_require__(6281);return _evangelistElements=function(){return data},data}function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _reactRouterDom(){const data=__webpack_require__(40734);return _reactRouterDom=function(){return data},data}function _react(){const data=_interopRequireWildcard(__webpack_require__(59496));return _react=function(){return data},data}function _uiFoundationUi(){const data=__webpack_require__(43492);return _uiFoundationUi=function(){return data},data}function _baseReactNavigation(){const data=__webpack_require__(97667);return _baseReactNavigation=function(){return data},data}function _compositionsPanelModule(){const data=_interopRequireDefault(__webpack_require__(4653));return _compositionsPanelModule=function(){return data},data}const _excluded=["url","compositions","isScaling","onSelectComposition","active","includesEnvTemplate","useNameParam","className"];function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}function CompositionsPanel(_ref){let{url,compositions,isScaling,onSelectComposition:onSelect,active,includesEnvTemplate,useNameParam,className}=_ref,rest=_objectWithoutProperties(_ref,_excluded);const shouldAddNameParam=useNameParam||isScaling&&includesEnvTemplate===!1,handleSelect=(0,_react().useCallback)(selected=>{onSelect&&onSelect(selected)},[onSelect]),location=(0,_baseReactNavigation().useLocation)(),[searchParams]=(0,_reactRouterDom().useSearchParams)(),versionFromQueryParams=searchParams.get("version"),navigate=(0,_baseReactNavigation().useNavigate)(),onCompositionCodeClicked=(0,_react().useCallback)(composition=>e=>{e.preventDefault();const queryParams=new URLSearchParams;versionFromQueryParams&&queryParams.set("version",versionFromQueryParams);const basePath=location?.pathname.split("/~compositions")[0];navigate(`${basePath}/~code/${composition.filepath}?${queryParams.toString()}#search=${composition.identifier}`)},[location?.pathname,versionFromQueryParams]);return _react().default.createElement("ul",_extends({},rest,{className:(0,_classnames().default)(className)}),compositions.map(composition=>{const href=shouldAddNameParam?`${url}&name=${composition.identifier}`:`${url}&${composition.identifier}`;return _react().default.createElement("li",{key:composition.identifier,className:(0,_classnames().default)(_compositionsPanelModule().default.linkWrapper,composition===active&&_compositionsPanelModule().default.active)},_react().default.createElement("a",{className:_compositionsPanelModule().default.panelLink,onClick:()=>handleSelect(composition)},_react().default.createElement("span",{className:_compositionsPanelModule().default.box}),_react().default.createElement("span",{className:_compositionsPanelModule().default.name},composition.displayName)),_react().default.createElement("div",{className:_compositionsPanelModule().default.right},_react().default.createElement(_uiFoundationUi().MenuWidgetIcon,{className:_compositionsPanelModule().default.codeLink,icon:"Code",tooltipContent:"Code",onClick:onCompositionCodeClicked(composition)}),_react().default.createElement("a",{className:_compositionsPanelModule().default.panelLink,target:"_blank",rel:"noopener noreferrer",href},_react().default.createElement(_evangelistElements().Icon,{className:_compositionsPanelModule().default.icon,of:"open-tab"}))))}))}},98462:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ComponentComposition",{enumerable:!0,get:function(){return _compositionPreview().ComponentComposition}});function _compositionPreview(){const data=__webpack_require__(97944);return _compositionPreview=function(){return data},data}},88851: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},76821:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.humanizeCompositionId=void 0;var humanize_1=__webpack_require__(88851);Object.defineProperty(exports,"humanizeCompositionId",{enumerable:!0,get:function(){return humanize_1.humanizeCompositionId}})},61434:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),base_ui_loaders_skeleton_1=__webpack_require__(16623),composition_card_1=__webpack_require__(578),composition_gallery_skeleton_module_scss_1=__importDefault(__webpack_require__(30587));function CompositionGallerySkeleton(_a){var{compositionsLength,className}=_a,rest=__rest(_a,["compositionsLength","className"]);const length=Array.from(Array(compositionsLength));return react_1.default.createElement("div",Object.assign({},rest,{className:(0,classnames_1.default)(composition_gallery_skeleton_module_scss_1.default.compositionGallerySkeleton,className)}),react_1.default.createElement(base_ui_loaders_skeleton_1.LineSkeleton,{width:"100px",className:composition_gallery_skeleton_module_scss_1.default.title}),react_1.default.createElement("div",{className:(0,classnames_1.default)(composition_gallery_skeleton_module_scss_1.default.compositionGalleryGrid)},length.map((_,index)=>react_1.default.createElement(composition_card_1.CompositionCardSkeleton,{key:`comp-card-skeleton-${index}`}))))}exports.CompositionGallerySkeleton=CompositionGallerySkeleton},60082:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=void 0;var composition_gallery_skeleton_1=__webpack_require__(61434);Object.defineProperty(exports,"CompositionGallerySkeleton",{enumerable:!0,get:function(){return composition_gallery_skeleton_1.CompositionGallerySkeleton}})},20298:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallery=void 0;const react_1=__importDefault(__webpack_require__(59496)),design_elements_icon_1=__webpack_require__(79060),documenter_ui_linked_heading_1=__webpack_require__(24259),base_react_navigation_link_1=__webpack_require__(97667),composition_card_1=__webpack_require__(578),composition_gallery_module_scss_1=__importDefault(__webpack_require__(37597));function CompositionGallery({component}){const navigate=(0,base_react_navigation_link_1.useNavigate)();return component.compositions.length>0?react_1.default.createElement("div",{className:composition_gallery_module_scss_1.default.compositionGallery},react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,{size:"sm",className:composition_gallery_module_scss_1.default.title},react_1.default.createElement(design_elements_icon_1.Icon,{of:"eye"})," ",react_1.default.createElement("span",null,"PREVIEW")),react_1.default.createElement("div",{className:composition_gallery_module_scss_1.default.carousel},component.compositions.map(composition=>react_1.default.createElement(composition_card_1.CompositionCard,{key:composition.identifier.toLowerCase(),onClick:()=>navigate(`~compositions/${composition.identifier.toLowerCase()}`),className:composition_gallery_module_scss_1.default.compositionGalleryCard,previewClass:composition_gallery_module_scss_1.default.preview,composition,component})))):null}exports.CompositionGallery=CompositionGallery},42885:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionGallerySkeleton=exports.CompositionGallery=void 0;var composition_gallery_1=__webpack_require__(20298);Object.defineProperty(exports,"CompositionGallery",{enumerable:!0,get:function(){return composition_gallery_1.CompositionGallery}});var composition_gallery_skeleton_1=__webpack_require__(60082);Object.defineProperty(exports,"CompositionGallerySkeleton",{enumerable:!0,get:function(){return composition_gallery_skeleton_1.CompositionGallerySkeleton}})},76179:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DocsAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const DocsAspect=exports.DocsAspect=_harmony().Aspect.create({id:"teambit.docs/docs",dependencies:[],defaultConfig:{}});var _default=exports.default=DocsAspect},55074:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultDocs=void 0;const defaultDocs=exports.defaultDocs={default:()=>null,labels:[],abstract:"",examples:[]}},62815:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return _docsEntities().Doc}}),Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return _docsEntities().DocProp}}),Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return _docsEntities().DocPropList}}),Object.defineProperty(exports,"DocsAspect",{enumerable:!0,get:function(){return _docs().DocsAspect}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}}),exports.default=void 0,Object.defineProperty(exports,"defaultDocs",{enumerable:!0,get:function(){return _docs2().defaultDocs}});function _docs(){const data=__webpack_require__(76179);return _docs=function(){return data},data}function _docsEntities(){const data=__webpack_require__(87628);return _docsEntities=function(){return data},data}function _docs2(){const data=__webpack_require__(55074);return _docs2=function(){return data},data}function _overview(){const data=__webpack_require__(94677);return _overview=function(){return data},data}var _default=exports.default=_docs().DocsAspect},94677:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}});function _overview(){const data=__webpack_require__(10247);return _overview=function(){return data},data}},10247:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BadgePosition=void 0,exports.Overview=Overview;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 _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _component(){const data=__webpack_require__(41731);return _component=function(){return data},data}function _previewUi(){const data=__webpack_require__(38832);return _previewUi=function(){return data},data}function _componentUi(){const data=__webpack_require__(47530);return _componentUi=function(){return data},data}function _compositionsPanels(){const data=__webpack_require__(42885);return _compositionsPanels=function(){return data},data}function _baseReactThemes(){const data=__webpack_require__(16375);return _baseReactThemes=function(){return data},data}function _readmeSkeleton(){const data=__webpack_require__(37596);return _readmeSkeleton=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(20490));return _overviewModule=function(){return data},data}const _excluded=["onLoad","style"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}let BadgePosition=exports.BadgePosition=function(BadgePosition2){return BadgePosition2[BadgePosition2.Title=0]="Title",BadgePosition2[BadgePosition2.SubTitle=1]="SubTitle",BadgePosition2[BadgePosition2.Labels=2]="Labels",BadgePosition2[BadgePosition2.Package=3]="Package",BadgePosition2}({});function Overview({titleBadges,overviewOptions,previewProps,getEmptyState,TaggedAPI}){const component=(0,_react().useContext)(_component().ComponentContext),componentDescriptor=(0,_component().useComponentDescriptor)(),{current}=(0,_baseReactThemes().useThemePicker)(),overviewProps=(0,_lodash().flatten)(overviewOptions.values())[0],showHeader=!component.preview?.legacyHeader,EmptyState=getEmptyState&&getEmptyState(),buildFailed=component.buildStatus?.toLowerCase()!=="succeed"&&component?.host==="teambit.scope/scope",isScaling=Boolean(component.preview?.isScaling),includesEnvTemplate=Boolean(component.preview?.includesEnvTemplate),defaultLoadingState=_react().default.useMemo(()=>isScaling&&!includesEnvTemplate,[isScaling,includesEnvTemplate]),[isLoading,setLoading]=(0,_react().useState)(defaultLoadingState),iframeQueryParams=`onlyOverview=${component.preview?.onlyOverview||"false"}&skipIncludes=${component.preview?.skipIncludes||component.preview?.onlyOverview}`,overviewPropsValues=overviewProps&&overviewProps(),themeParams=current?.themeName?`theme=${current?.themeName}`:"",_ref=previewProps||{},{onLoad,style}=_ref,rest=_objectWithoutProperties(_ref,_excluded),onPreviewLoad=_react().default.useCallback((e,props)=>{setLoading(!1),onLoad?.(e,props)},[onLoad]);return _react().default.useEffect(()=>{!isLoading&&defaultLoadingState&&setLoading(!0),isLoading&&!defaultLoadingState&&setLoading(!1)},[component.id.toString(),defaultLoadingState]),_react().default.createElement("div",{className:_overviewModule().default.overviewWrapper,key:`${component.id.toString()}`},showHeader&&_react().default.createElement(_componentUi().ComponentOverview,{className:(0,_classnames().default)(_overviewModule().default.componentOverviewBlock,!isScaling&&_overviewModule().default.legacyPreview),displayName:component.displayName,version:component.version,abstract:component.description,labels:component.labels,packageName:component.packageName,titleBadges:(0,_lodash().flatten)(titleBadges.values()),componentDescriptor,component}),!buildFailed&&_react().default.createElement("div",{className:_overviewModule().default.readme},isLoading&&_react().default.createElement(_readmeSkeleton().ReadmeSkeleton,null,_react().default.createElement(_compositionsPanels().CompositionGallerySkeleton,{compositionsLength:Math.min(component.compositions.length,3)})),_react().default.createElement(_previewUi().ComponentPreview,_extends({onLoad:onPreviewLoad,previewName:"overview",pubsub:!0,queryParams:[iframeQueryParams,themeParams,overviewPropsValues?.queryParams||""],viewport:null,fullContentHeight:!0,disableScroll:!0},rest,{component,style:{width:"100%",height:"100%",minHeight:isScaling?void 0:500}})),component.preview?.onlyOverview&&!isLoading&&_react().default.createElement(_compositionsPanels().CompositionGallery,{component}),component.preview?.onlyOverview&&!isLoading&&TaggedAPI&&_react().default.createElement(TaggedAPI,{componentId:component.id.toString()})),buildFailed&&EmptyState&&_react().default.createElement(EmptyState,null))}},37596:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ReadmeSkeleton=ReadmeSkeleton;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _baseUiLoaders(){const data=__webpack_require__(16623);return _baseUiLoaders=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(20490));return _overviewModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function ReadmeSkeleton({children}){return _react().default.createElement("div",{className:_overviewModule().default.readmeSkeleton},_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"80%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"70%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"40%",style:{marginBottom:40}}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"30%",style:{marginBottom:16}}),_react().default.createElement(_baseUiLoaders().BlockSkeleton,{lines:10,style:{width:"100%",marginBottom:40}}),children)}},27345:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDocs=exports.docsFields=void 0;const client_1=__webpack_require__(97299);exports.docsFields=(0,client_1.gql)`
384
384
  fragment docsFields on ReactDocs {
385
385
  abstract
386
386
  properties {
@@ -415,7 +415,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),languageName=codeOrlan
415
415
  "]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},hljs.COMMENT("^[ ]*\\*.*$",!1),hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE]}}module.exports=stata},44078:module=>{function step21(hljs){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT("/\\*\\*!","\\*/"),hljs.C_NUMBER_MODE,hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}module.exports=step21},82601:module=>{const MODES=hljs=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE]}}),TAGS=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],MEDIA_FEATURES=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],PSEUDO_CLASSES=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],PSEUDO_ELEMENTS=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],ATTRIBUTES=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function stylus(hljs){const modes=MODES(hljs),AT_MODIFIERS="and or not only",VARIABLE={className:"variable",begin:"\\$"+hljs.IDENT_RE},AT_KEYWORDS=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],LOOKAHEAD_TAG_END="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[hljs.QUOTE_STRING_MODE,hljs.APOS_STRING_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,modes.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+LOOKAHEAD_TAG_END,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+LOOKAHEAD_TAG_END,className:"selector-id"},{begin:"\\b("+TAGS.join("|")+")"+LOOKAHEAD_TAG_END,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+PSEUDO_CLASSES.join("|")+")"+LOOKAHEAD_TAG_END},{className:"selector-pseudo",begin:"&?::("+PSEUDO_ELEMENTS.join("|")+")"+LOOKAHEAD_TAG_END},modes.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:AT_MODIFIERS,attribute:MEDIA_FEATURES.join(" ")},contains:[hljs.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+AT_KEYWORDS.join("|")+"))\\b"},VARIABLE,hljs.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[modes.HEXCOLOR,VARIABLE,hljs.APOS_STRING_MODE,hljs.CSS_NUMBER_MODE,hljs.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+ATTRIBUTES.join("|")+")\\b",starts:{end:/;|$/,contains:[modes.HEXCOLOR,VARIABLE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.CSS_NUMBER_MODE,hljs.C_BLOCK_COMMENT_MODE,modes.IMPORTANT],illegal:/\./,relevance:0}}]}}module.exports=stylus},87344:module=>{function subunit(hljs){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[
416
416
  (multipart)?`,end:`\\]
417
417
  `},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}module.exports=subunit},54503:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}const keywordWrapper=keyword=>concat(/\b/,keyword,/\w$/.test(keyword)?/\b/:/\B/),dotKeywords=["Protocol","Type"].map(keywordWrapper),optionalDotKeywords=["init","self"].map(keywordWrapper),keywordTypes=["Any","Self"],keywords=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],literals=["false","nil","true"],precedencegroupKeywords=["assignment","associativity","higherThan","left","lowerThan","none","right"],numberSignKeywords=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],builtIns=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],operatorHead=either(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),operatorCharacter=either(operatorHead,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),operator=concat(operatorHead,operatorCharacter,"*"),identifierHead=either(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),identifierCharacter=either(identifierHead,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),identifier=concat(identifierHead,identifierCharacter,"*"),typeIdentifier=concat(/[A-Z]/,identifierCharacter,"*"),keywordAttributes=["autoclosure",concat(/convention\(/,either("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",concat(/objc\(/,identifier,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],availabilityKeywords=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function swift(hljs){const WHITESPACE={match:/\s+/,relevance:0},BLOCK_COMMENT=hljs.COMMENT("/\\*","\\*/",{contains:["self"]}),COMMENTS=[hljs.C_LINE_COMMENT_MODE,BLOCK_COMMENT],DOT_KEYWORD={className:"keyword",begin:concat(/\./,lookahead(either(...dotKeywords,...optionalDotKeywords))),end:either(...dotKeywords,...optionalDotKeywords),excludeBegin:!0},KEYWORD_GUARD={match:concat(/\./,either(...keywords)),relevance:0},PLAIN_KEYWORDS=keywords.filter(kw=>typeof kw=="string").concat(["_|0"]),REGEX_KEYWORDS=keywords.filter(kw=>typeof kw!="string").concat(keywordTypes).map(keywordWrapper),KEYWORD={variants:[{className:"keyword",match:either(...REGEX_KEYWORDS,...optionalDotKeywords)}]},KEYWORDS={$pattern:either(/\b\w+/,/#\w+/),keyword:PLAIN_KEYWORDS.concat(numberSignKeywords),literal:literals},KEYWORD_MODES=[DOT_KEYWORD,KEYWORD_GUARD,KEYWORD],BUILT_IN_GUARD={match:concat(/\./,either(...builtIns)),relevance:0},BUILT_IN={className:"built_in",match:concat(/\b/,either(...builtIns),/(?=\()/)},BUILT_INS=[BUILT_IN_GUARD,BUILT_IN],OPERATOR_GUARD={match:/->/,relevance:0},OPERATOR={className:"operator",relevance:0,variants:[{match:operator},{match:`\\.(\\.|${operatorCharacter})+`}]},OPERATORS=[OPERATOR_GUARD,OPERATOR],decimalDigits="([0-9]_*)+",hexDigits="([0-9a-fA-F]_*)+",NUMBER={className:"number",relevance:0,variants:[{match:`\\b(${decimalDigits})(\\.(${decimalDigits}))?([eE][+-]?(${decimalDigits}))?\\b`},{match:`\\b0x(${hexDigits})(\\.(${hexDigits}))?([pP][+-]?(${decimalDigits}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},ESCAPED_CHARACTER=(rawDelimiter="")=>({className:"subst",variants:[{match:concat(/\\/,rawDelimiter,/[0\\tnr"']/)},{match:concat(/\\/,rawDelimiter,/u\{[0-9a-fA-F]{1,8}\}/)}]}),ESCAPED_NEWLINE=(rawDelimiter="")=>({className:"subst",match:concat(/\\/,rawDelimiter,/[\t ]*(?:[\r\n]|\r\n)/)}),INTERPOLATION=(rawDelimiter="")=>({className:"subst",label:"interpol",begin:concat(/\\/,rawDelimiter,/\(/),end:/\)/}),MULTILINE_STRING=(rawDelimiter="")=>({begin:concat(rawDelimiter,/"""/),end:concat(/"""/,rawDelimiter),contains:[ESCAPED_CHARACTER(rawDelimiter),ESCAPED_NEWLINE(rawDelimiter),INTERPOLATION(rawDelimiter)]}),SINGLE_LINE_STRING=(rawDelimiter="")=>({begin:concat(rawDelimiter,/"/),end:concat(/"/,rawDelimiter),contains:[ESCAPED_CHARACTER(rawDelimiter),INTERPOLATION(rawDelimiter)]}),STRING={className:"string",variants:[MULTILINE_STRING(),MULTILINE_STRING("#"),MULTILINE_STRING("##"),MULTILINE_STRING("###"),SINGLE_LINE_STRING(),SINGLE_LINE_STRING("#"),SINGLE_LINE_STRING("##"),SINGLE_LINE_STRING("###")]},QUOTED_IDENTIFIER={match:concat(/`/,identifier,/`/)},IMPLICIT_PARAMETER={className:"variable",match:/\$\d+/},PROPERTY_WRAPPER_PROJECTION={className:"variable",match:`\\$${identifierCharacter}+`},IDENTIFIERS=[QUOTED_IDENTIFIER,IMPLICIT_PARAMETER,PROPERTY_WRAPPER_PROJECTION],AVAILABLE_ATTRIBUTE={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:availabilityKeywords,contains:[...OPERATORS,NUMBER,STRING]}]}},KEYWORD_ATTRIBUTE={className:"keyword",match:concat(/@/,either(...keywordAttributes))},USER_DEFINED_ATTRIBUTE={className:"meta",match:concat(/@/,identifier)},ATTRIBUTES=[AVAILABLE_ATTRIBUTE,KEYWORD_ATTRIBUTE,USER_DEFINED_ATTRIBUTE],TYPE={match:lookahead(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:concat(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,identifierCharacter,"+")},{className:"type",match:typeIdentifier,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:concat(/\s+&\s+/,lookahead(typeIdentifier)),relevance:0}]},GENERIC_ARGUMENTS={begin:/</,end:/>/,keywords:KEYWORDS,contains:[...COMMENTS,...KEYWORD_MODES,...ATTRIBUTES,OPERATOR_GUARD,TYPE]};TYPE.contains.push(GENERIC_ARGUMENTS);const TUPLE_ELEMENT_NAME={match:concat(identifier,/\s*:/),keywords:"_|0",relevance:0},TUPLE={begin:/\(/,end:/\)/,relevance:0,keywords:KEYWORDS,contains:["self",TUPLE_ELEMENT_NAME,...COMMENTS,...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS,...ATTRIBUTES,TYPE]},FUNC_PLUS_TITLE={beginKeywords:"func",contains:[{className:"title",match:either(QUOTED_IDENTIFIER.match,identifier,operator),endsParent:!0,relevance:0},WHITESPACE]},GENERIC_PARAMETERS={begin:/</,end:/>/,contains:[...COMMENTS,TYPE]},FUNCTION_PARAMETER_NAME={begin:either(lookahead(concat(identifier,/\s*:/)),lookahead(concat(identifier,/\s+/,identifier,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:identifier}]},FUNCTION_PARAMETERS={begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:[FUNCTION_PARAMETER_NAME,...COMMENTS,...KEYWORD_MODES,...OPERATORS,NUMBER,STRING,...ATTRIBUTES,TYPE,TUPLE],endsParent:!0,illegal:/["']/},FUNCTION={className:"function",match:lookahead(/\bfunc\b/),contains:[FUNC_PLUS_TITLE,GENERIC_PARAMETERS,FUNCTION_PARAMETERS,WHITESPACE],illegal:[/\[/,/%/]},INIT_SUBSCRIPT={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[GENERIC_PARAMETERS,FUNCTION_PARAMETERS,WHITESPACE],illegal:/\[|%/},OPERATOR_DECLARATION={beginKeywords:"operator",end:hljs.MATCH_NOTHING_RE,contains:[{className:"title",match:operator,endsParent:!0,relevance:0}]},PRECEDENCEGROUP={beginKeywords:"precedencegroup",end:hljs.MATCH_NOTHING_RE,contains:[{className:"title",match:typeIdentifier,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...precedencegroupKeywords,...literals],contains:[TYPE]}]};for(const variant of STRING.variants){const interpolation=variant.contains.find(mode=>mode.label==="interpol");interpolation.keywords=KEYWORDS;const submodes=[...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS];interpolation.contains=[...submodes,{begin:/\(/,end:/\)/,contains:["self",...submodes]}]}return{name:"Swift",keywords:KEYWORDS,contains:[...COMMENTS,FUNCTION,INIT_SUBSCRIPT,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:KEYWORDS,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...KEYWORD_MODES]},OPERATOR_DECLARATION,PRECEDENCEGROUP,{beginKeywords:"import",end:/$/,contains:[...COMMENTS],relevance:0},...KEYWORD_MODES,...BUILT_INS,...OPERATORS,NUMBER,STRING,...IDENTIFIERS,...ATTRIBUTES,TYPE,TUPLE]}}module.exports=swift},75738:module=>{function taggerscript(hljs){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}module.exports=taggerscript},4541:module=>{function tap(hljs){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[hljs.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}module.exports=tap},99645:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function optional(re){return concat("(",re,")?")}function concat(...args){return args.map(x=>source(x)).join("")}function tcl(hljs){const TCL_IDENT=/[a-zA-Z_][a-zA-Z0-9_]*/,NUMBER={className:"number",variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[hljs.COMMENT(";[ \\t]*#","$"),hljs.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:concat(/\$/,optional(/::/),TCL_IDENT,"(::",TCL_IDENT,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[NUMBER]}]},{className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]},NUMBER]}}module.exports=tcl},14850:module=>{function thrift(hljs){const BUILT_IN_TYPES="bool byte i16 i32 i64 double string binary";return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:BUILT_IN_TYPES,literal:"true false"},contains:[hljs.QUOTE_STRING_MODE,hljs.NUMBER_MODE,hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:BUILT_IN_TYPES,contains:["self"]}]}}module.exports=thrift},15263:module=>{function tp(hljs){const TPID={className:"number",begin:"[1-9][0-9]*",relevance:0},TPLABEL={className:"symbol",begin:":[^\\]]+"},TPDATA={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",TPID,TPLABEL]},TPIO={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",TPID,hljs.QUOTE_STRING_MODE,TPLABEL]};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[TPDATA,TPIO,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},hljs.COMMENT("//","[;$]"),hljs.COMMENT("!","[;$]"),hljs.COMMENT("--eg:","$"),hljs.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},hljs.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}module.exports=tp},54602:module=>{function twig(hljs){var PARAMS={className:"params",begin:"\\(",end:"\\)"},FUNCTION_NAMES="attribute block constant cycle date dump include max min parent random range source template_from_string",FUNCTIONS={beginKeywords:FUNCTION_NAMES,keywords:{name:FUNCTION_NAMES},relevance:0,contains:[PARAMS]},FILTER={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[FUNCTIONS]},TAGS="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return TAGS=TAGS+" "+TAGS.split(" ").map(function(t){return"end"+t}).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[hljs.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:TAGS,starts:{endsWithParent:!0,contains:[FILTER,FUNCTIONS],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",FILTER,FUNCTIONS]}]}}module.exports=twig},2056:module=>{const IDENT_RE="[A-Za-z$_][0-9A-Za-z$_]*",KEYWORDS=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],LITERALS=["true","false","null","undefined","NaN","Infinity"],TYPES=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],ERROR_TYPES=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],BUILT_IN_GLOBALS=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],BUILT_IN_VARIABLES=["arguments","this","super","console","window","document","localStorage","module","global"],BUILT_INS=[].concat(BUILT_IN_GLOBALS,BUILT_IN_VARIABLES,TYPES,ERROR_TYPES);function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function concat(...args){return args.map(x=>source(x)).join("")}function javascript(hljs){const hasClosingTag=(match,{after})=>{const tag="</"+match[0].slice(1);return match.input.indexOf(tag,after)!==-1},IDENT_RE$1=IDENT_RE,FRAGMENT={begin:"<>",end:"</>"},XML_TAG={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(match,response)=>{const afterMatchIndex=match[0].length+match.index,nextChar=match.input[afterMatchIndex];if(nextChar==="<"){response.ignoreMatch();return}nextChar===">"&&(hasClosingTag(match,{after:afterMatchIndex})||response.ignoreMatch())}},KEYWORDS$1={$pattern:IDENT_RE,keyword:KEYWORDS,literal:LITERALS,built_in:BUILT_INS},decimalDigits="[0-9](_?[0-9])*",frac=`\\.(${decimalDigits})`,decimalInteger="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",NUMBER={className:"number",variants:[{begin:`(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b`},{begin:`\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},SUBST={className:"subst",begin:"\\$\\{",end:"\\}",keywords:KEYWORDS$1,contains:[]},HTML_TEMPLATE={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[hljs.BACKSLASH_ESCAPE,SUBST],subLanguage:"xml"}},CSS_TEMPLATE={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[hljs.BACKSLASH_ESCAPE,SUBST],subLanguage:"css"}},TEMPLATE_STRING={className:"string",begin:"`",end:"`",contains:[hljs.BACKSLASH_ESCAPE,SUBST]},JSDOC_COMMENT=hljs.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:IDENT_RE$1+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),COMMENT={className:"comment",variants:[JSDOC_COMMENT,hljs.C_BLOCK_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE]},SUBST_INTERNALS=[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,HTML_TEMPLATE,CSS_TEMPLATE,TEMPLATE_STRING,NUMBER,hljs.REGEXP_MODE];SUBST.contains=SUBST_INTERNALS.concat({begin:/\{/,end:/\}/,keywords:KEYWORDS$1,contains:["self"].concat(SUBST_INTERNALS)});const SUBST_AND_COMMENTS=[].concat(COMMENT,SUBST.contains),PARAMS_CONTAINS=SUBST_AND_COMMENTS.concat([{begin:/\(/,end:/\)/,keywords:KEYWORDS$1,contains:["self"].concat(SUBST_AND_COMMENTS)}]),PARAMS={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:KEYWORDS$1,contains:PARAMS_CONTAINS};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:KEYWORDS$1,exports:{PARAMS_CONTAINS},illegal:/#(?![$_A-z])/,contains:[hljs.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,HTML_TEMPLATE,CSS_TEMPLATE,TEMPLATE_STRING,COMMENT,NUMBER,{begin:concat(/[{,\n]\s*/,lookahead(concat(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,IDENT_RE$1+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:IDENT_RE$1+lookahead("\\s*:"),relevance:0}]},{begin:"("+hljs.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[COMMENT,hljs.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+hljs.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:hljs.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:KEYWORDS$1,contains:PARAMS_CONTAINS}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:FRAGMENT.begin,end:FRAGMENT.end},{begin:XML_TAG.begin,"on:begin":XML_TAG.isTrulyOpeningTag,end:XML_TAG.end}],subLanguage:"xml",contains:[{begin:XML_TAG.begin,end:XML_TAG.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:KEYWORDS$1,contains:["self",hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),PARAMS],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:hljs.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[PARAMS,hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1})]},{variants:[{begin:"\\."+IDENT_RE$1},{begin:"\\$"+IDENT_RE$1}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},hljs.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),"self",PARAMS]},{begin:"(get|set)\\s+(?="+IDENT_RE$1+"\\()",end:/\{/,keywords:"get set",contains:[hljs.inherit(hljs.TITLE_MODE,{begin:IDENT_RE$1}),{begin:/\(\)/},PARAMS]},{begin:/\$[(.]/}]}}function typescript(hljs){const IDENT_RE$1=IDENT_RE,NAMESPACE={beginKeywords:"namespace",end:/\{/,excludeEnd:!0},INTERFACE={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},USE_STRICT={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},TYPES2=["any","void","number","boolean","string","object","never","enum"],TS_SPECIFIC_KEYWORDS=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"],KEYWORDS$1={$pattern:IDENT_RE,keyword:KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),literal:LITERALS,built_in:BUILT_INS.concat(TYPES2)},DECORATOR={className:"meta",begin:"@"+IDENT_RE$1},swapMode=(mode,label,replacement)=>{const indx=mode.contains.findIndex(m=>m.label===label);if(indx===-1)throw new Error("can not find mode to replace");mode.contains.splice(indx,1,replacement)},tsLanguage=javascript(hljs);Object.assign(tsLanguage.keywords,KEYWORDS$1),tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR),tsLanguage.contains=tsLanguage.contains.concat([DECORATOR,NAMESPACE,INTERFACE]),swapMode(tsLanguage,"shebang",hljs.SHEBANG()),swapMode(tsLanguage,"use_strict",USE_STRICT);const functionDeclaration=tsLanguage.contains.find(m=>m.className==="function");return functionDeclaration.relevance=0,Object.assign(tsLanguage,{name:"TypeScript",aliases:["ts","tsx"]}),tsLanguage}module.exports=typescript},52959:module=>{function vala(hljs){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[hljs.UNDERSCORE_TITLE_MODE]},hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}module.exports=vala},74048:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function vbnet(hljs){const CHARACTER={className:"string",begin:/"(""|[^/n])"C\b/},STRING={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},MM_DD_YYYY=/\d{1,2}\/\d{1,2}\/\d{4}/,YYYY_MM_DD=/\d{4}-\d{1,2}-\d{1,2}/,TIME_12H=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,TIME_24H=/\d{1,2}(:\d{1,2}){1,2}/,DATE={className:"literal",variants:[{begin:concat(/# */,either(YYYY_MM_DD,MM_DD_YYYY),/ *#/)},{begin:concat(/# */,TIME_24H,/ *#/)},{begin:concat(/# */,TIME_12H,/ *#/)},{begin:concat(/# */,either(YYYY_MM_DD,MM_DD_YYYY),/ +/,either(TIME_12H,TIME_24H),/ *#/)}]},NUMBER={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},LABEL={className:"label",begin:/^\w+:/},DOC_COMMENT=hljs.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),COMMENT=hljs.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[CHARACTER,STRING,DATE,NUMBER,LABEL,DOC_COMMENT,COMMENT,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[COMMENT]}]}}module.exports=vbnet},85811:module=>{function vbscriptHtml(hljs){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}module.exports=vbscriptHtml},70616:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function vbscript(hljs){const BUILT_IN_FUNCTIONS="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" "),BUILT_IN_OBJECTS=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],BUILT_IN_CALL={begin:concat(either(...BUILT_IN_FUNCTIONS),"\\s*\\("),relevance:0,keywords:{built_in:BUILT_IN_FUNCTIONS}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:BUILT_IN_OBJECTS,literal:"true false null nothing empty"},illegal:"//",contains:[BUILT_IN_CALL,hljs.inherit(hljs.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),hljs.COMMENT(/'/,/$/,{relevance:0}),hljs.C_NUMBER_MODE]}}module.exports=vbscript},93813:module=>{function verilog(hljs){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.C_LINE_COMMENT_MODE,hljs.QUOTE_STRING_MODE,{className:"number",contains:[hljs.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}module.exports=verilog},73407:module=>{function vhdl(hljs){const INTEGER_RE="\\d(_|\\d)*",EXPONENT_RE="[eE][-+]?"+INTEGER_RE,DECIMAL_LITERAL_RE=INTEGER_RE+"(\\."+INTEGER_RE+")?("+EXPONENT_RE+")?",BASED_INTEGER_RE="\\w+",BASED_LITERAL_RE=INTEGER_RE+"#"+BASED_INTEGER_RE+"(\\."+BASED_INTEGER_RE+")?#("+EXPONENT_RE+")?",NUMBER_RE="\\b("+BASED_LITERAL_RE+"|"+DECIMAL_LITERAL_RE+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[hljs.C_BLOCK_COMMENT_MODE,hljs.COMMENT("--","$"),hljs.QUOTE_STRING_MODE,{className:"number",begin:NUMBER_RE,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[hljs.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[hljs.BACKSLASH_ESCAPE]}]}}module.exports=vhdl},1975:module=>{function vim(hljs){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[hljs.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},hljs.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[hljs.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}module.exports=vim},98761:module=>{function x86asm(hljs){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+hljs.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[hljs.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},hljs.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}module.exports=x86asm},6386:module=>{function xl(hljs){const XL_KEYWORDS={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+"ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},DOUBLE_QUOTE_TEXT={className:"string",begin:'"',end:'"',illegal:"\\n"},SINGLE_QUOTE_TEXT={className:"string",begin:"'",end:"'",illegal:"\\n"},LONG_TEXT={className:"string",begin:"<<",end:">>"},BASED_NUMBER={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},IMPORT={beginKeywords:"import",end:"$",keywords:XL_KEYWORDS,contains:[DOUBLE_QUOTE_TEXT]},FUNCTION_DEFINITION={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[hljs.inherit(hljs.TITLE_MODE,{starts:{endsWithParent:!0,keywords:XL_KEYWORDS}})]};return{name:"XL",aliases:["tao"],keywords:XL_KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,DOUBLE_QUOTE_TEXT,SINGLE_QUOTE_TEXT,LONG_TEXT,FUNCTION_DEFINITION,IMPORT,BASED_NUMBER,hljs.NUMBER_MODE]}}module.exports=xl},5750:module=>{function source(re){return re?typeof re=="string"?re:re.source:null}function lookahead(re){return concat("(?=",re,")")}function optional(re){return concat("(",re,")?")}function concat(...args){return args.map(x=>source(x)).join("")}function either(...args){return"("+args.map(x=>source(x)).join("|")+")"}function xml(hljs){const TAG_NAME_RE=concat(/[A-Z_]/,optional(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),XML_IDENT_RE=/[A-Za-z0-9._:-]+/,XML_ENTITIES={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},XML_META_KEYWORDS={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},XML_META_PAR_KEYWORDS=hljs.inherit(XML_META_KEYWORDS,{begin:/\(/,end:/\)/}),APOS_META_STRING_MODE=hljs.inherit(hljs.APOS_STRING_MODE,{className:"meta-string"}),QUOTE_META_STRING_MODE=hljs.inherit(hljs.QUOTE_STRING_MODE,{className:"meta-string"}),TAG_INTERNALS={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:XML_IDENT_RE,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[XML_ENTITIES]},{begin:/'/,end:/'/,contains:[XML_ENTITIES]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[XML_META_KEYWORDS,QUOTE_META_STRING_MODE,APOS_META_STRING_MODE,XML_META_PAR_KEYWORDS,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[XML_META_KEYWORDS,XML_META_PAR_KEYWORDS,QUOTE_META_STRING_MODE,APOS_META_STRING_MODE]}]}]},hljs.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},XML_ENTITIES,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[TAG_INTERNALS],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[TAG_INTERNALS],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat(/</,lookahead(concat(TAG_NAME_RE,either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:TAG_NAME_RE,relevance:0,starts:TAG_INTERNALS}]},{className:"tag",begin:concat(/<\//,lookahead(concat(TAG_NAME_RE,/>/))),contains:[{className:"name",begin:TAG_NAME_RE,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}module.exports=xml},10784:module=>{function xquery(_hljs){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}module.exports=xquery},83322:module=>{function yaml(hljs){var LITERALS="true false yes no null",URI_CHARACTERS="[\\w#;/?:@&=+$,.~*'()[\\]]+",KEY={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},TEMPLATE_VARIABLES={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},STRING={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[hljs.BACKSLASH_ESCAPE,TEMPLATE_VARIABLES]},CONTAINER_STRING=hljs.inherit(STRING,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),DATE_RE="[0-9]{4}(-[0-9][0-9]){0,2}",TIME_RE="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",FRACTION_RE="(\\.[0-9]*)?",ZONE_RE="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",TIMESTAMP={className:"number",begin:"\\b"+DATE_RE+TIME_RE+FRACTION_RE+ZONE_RE+"\\b"},VALUE_CONTAINER={end:",",endsWithParent:!0,excludeEnd:!0,keywords:LITERALS,relevance:0},OBJECT={begin:/\{/,end:/\}/,contains:[VALUE_CONTAINER],illegal:"\\n",relevance:0},ARRAY={begin:"\\[",end:"\\]",contains:[VALUE_CONTAINER],illegal:"\\n",relevance:0},MODES=[KEY,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+URI_CHARACTERS},{className:"type",begin:"!<"+URI_CHARACTERS+">"},{className:"type",begin:"!"+URI_CHARACTERS},{className:"type",begin:"!!"+URI_CHARACTERS},{className:"meta",begin:"&"+hljs.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+hljs.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},hljs.HASH_COMMENT_MODE,{beginKeywords:LITERALS,keywords:{literal:LITERALS}},TIMESTAMP,{className:"number",begin:hljs.C_NUMBER_RE+"\\b",relevance:0},OBJECT,ARRAY,STRING],VALUE_MODES=[...MODES];return VALUE_MODES.pop(),VALUE_MODES.push(CONTAINER_STRING),VALUE_CONTAINER.contains=VALUE_MODES,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:MODES}}module.exports=yaml},89417:module=>{function zephir(hljs){const STRING={className:"string",contains:[hljs.BACKSLASH_ESCAPE],variants:[hljs.inherit(hljs.APOS_STRING_MODE,{illegal:null}),hljs.inherit(hljs.QUOTE_STRING_MODE,{illegal:null})]},TITLE_MODE=hljs.UNDERSCORE_TITLE_MODE,NUMBER={variants:[hljs.BINARY_NUMBER_MODE,hljs.C_NUMBER_MODE]},KEYWORDS="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:KEYWORDS,contains:[hljs.C_LINE_COMMENT_MODE,hljs.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[hljs.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:KEYWORDS,contains:["self",hljs.C_BLOCK_COMMENT_MODE,STRING,NUMBER]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},TITLE_MODE]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[TITLE_MODE]},{beginKeywords:"use",end:/;/,contains:[TITLE_MODE]},{begin:/=>/},STRING,NUMBER]}}module.exports=zephir},28583:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";const decamelize=__webpack_require__(85051),humanizeString=input=>{if(typeof input!="string")throw new TypeError("Expected a string");return input=decamelize(input),input=input.toLowerCase().replace(/[_-]+/g," ").replace(/\s{2,}/g," ").trim(),input=input.charAt(0).toUpperCase()+input.slice(1),input};module.exports=humanizeString,module.exports.default=humanizeString},30551:(__unused_webpack_module,exports)=>{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8);if(e===0)e=1-eBias;else{if(e===eMax)return m?NaN:(s?-1:1)*(1/0);m=m+Math.pow(2,mLen),e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)},exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=nBytes*8-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||value===0&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),e+eBias>=1?value+=rt/c:value+=rt*Math.pow(2,1-eBias),value*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e=e+eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=s*128}},2937:module=>{typeof Object.create=="function"?module.exports=function(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},44599:module=>{"use strict";module.exports=alphabetical;function alphabetical(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},21831:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var alphabetical=__webpack_require__(44599),decimal=__webpack_require__(8451);module.exports=alphanumerical;function alphanumerical(character){return alphabetical(character)||decimal(character)}},42571:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasToStringTag=__webpack_require__(47388)(),callBound=__webpack_require__(74161),$toString=callBound("Object.prototype.toString"),isStandardArguments=function(value){return hasToStringTag&&value&&typeof value=="object"&&Symbol.toStringTag in value?!1:$toString(value)==="[object Arguments]"},isLegacyArguments=function(value){return isStandardArguments(value)?!0:value!==null&&typeof value=="object"&&typeof value.length=="number"&&value.length>=0&&$toString(value)!=="[object Array]"&&$toString(value.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},33655:module=>{"use strict";var fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return!1}},tryFunctionObject=function(value){try{return isES6ClassFn(value)?!1:(fnToStr.call(value),!0)}catch{return!1}},toStr=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr.call(all)===toStr.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>"u"||typeof value=="object"))try{var str=toStr.call(value);return(str===ddaClass||str===ddaClass2||str===ddaClass3||str===objectClass)&&value("")==null}catch{}return!1})}module.exports=reflectApply?function(value){if(isDDA(value))return!0;if(!value||typeof value!="function"&&typeof value!="object")return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return!0;if(!value||typeof value!="function"&&typeof value!="object")return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return strClass!==fnClass&&strClass!==genClass&&!/^\[object HTML/.test(strClass)?!1:tryFunctionObject(value)}},8451:module=>{"use strict";module.exports=decimal;function decimal(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=48&&code<=57}},89141:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var toStr=Object.prototype.toString,fnToStr=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag=__webpack_require__(47388)(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction;module.exports=function(fn){if(typeof fn!="function")return!1;if(isFnRegex.test(fnToStr.call(fn)))return!0;if(!hasToStringTag){var str=toStr.call(fn);return str==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var generatorFunc=getGeneratorFunc();GeneratorFunction=generatorFunc?getProto(generatorFunc):!1}return getProto(fn)===GeneratorFunction}},29401:module=>{"use strict";module.exports=hexadecimal;function hexadecimal(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},2612:module=>{"use strict";module.exports=function(value){return value!==value}},65757:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callBind=__webpack_require__(96350),define=__webpack_require__(89722),implementation=__webpack_require__(2612),getPolyfill=__webpack_require__(79774),shim=__webpack_require__(6928),polyfill=callBind(getPolyfill(),Number);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},79774:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__(2612);module.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:implementation}},6928:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__(89722),getPolyfill=__webpack_require__(79774);module.exports=function(){var polyfill=getPolyfill();return define(Number,{isNaN:polyfill},{isNaN:function(){return Number.isNaN!==polyfill}}),polyfill}},37261:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var whichTypedArray=__webpack_require__(6602);module.exports=function(value){return!!whichTypedArray(value)}},36768:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__(55872).Buffer,__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())})};Object.defineProperty(exports,"__esModule",{value:!0});const fs=__webpack_require__(5010),util_1=__webpack_require__(93585),statAsync=util_1.promisify(fs.stat),openAsync=util_1.promisify(fs.open),closeAsync=util_1.promisify(fs.close),MAX_BYTES=512;function isBinaryFile(file,size){return __awaiter(this,void 0,void 0,function*(){if(isString(file)){const stat=yield statAsync(file);isStatFile(stat);const fileDescriptor=yield openAsync(file,"r"),allocBuffer=Buffer.alloc(MAX_BYTES);return new Promise((fulfill,reject)=>{fs.read(fileDescriptor,allocBuffer,0,MAX_BYTES,0,(err,bytesRead,_)=>{closeAsync(fileDescriptor),err?reject(err):fulfill(isBinaryCheck(allocBuffer,bytesRead))})})}else return size===void 0&&(size=file.length),isBinaryCheck(file,size)})}exports.isBinaryFile=isBinaryFile;function isBinaryFileSync(file,size){if(isString(file)){const stat=fs.statSync(file);isStatFile(stat);const fileDescriptor=fs.openSync(file,"r"),allocBuffer=Buffer.alloc(MAX_BYTES),bytesRead=fs.readSync(fileDescriptor,allocBuffer,0,MAX_BYTES,0);return fs.closeSync(fileDescriptor),isBinaryCheck(allocBuffer,bytesRead)}else return size===void 0&&(size=file.length),isBinaryCheck(file,size)}exports.isBinaryFileSync=isBinaryFileSync;function isBinaryCheck(fileBuffer,bytesRead){if(bytesRead===0)return!1;let suspiciousBytes=0;const totalBytes=Math.min(bytesRead,MAX_BYTES);if(bytesRead>=3&&fileBuffer[0]===239&&fileBuffer[1]===187&&fileBuffer[2]===191||bytesRead>=4&&fileBuffer[0]===0&&fileBuffer[1]===0&&fileBuffer[2]===254&&fileBuffer[3]===255||bytesRead>=4&&fileBuffer[0]===255&&fileBuffer[1]===254&&fileBuffer[2]===0&&fileBuffer[3]===0||bytesRead>=4&&fileBuffer[0]===132&&fileBuffer[1]===49&&fileBuffer[2]===149&&fileBuffer[3]===51)return!1;if(totalBytes>=5&&fileBuffer.slice(0,5).toString()==="%PDF-")return!0;if(bytesRead>=2&&fileBuffer[0]===254&&fileBuffer[1]===255||bytesRead>=2&&fileBuffer[0]===255&&fileBuffer[1]===254)return!1;for(let i=0;i<totalBytes;i++){if(fileBuffer[i]===0)return!0;if((fileBuffer[i]<7||fileBuffer[i]>14)&&(fileBuffer[i]<32||fileBuffer[i]>127)){if(fileBuffer[i]>193&&fileBuffer[i]<224&&i+1<totalBytes){if(i++,fileBuffer[i]>127&&fileBuffer[i]<192)continue}else if(fileBuffer[i]>223&&fileBuffer[i]<240&&i+2<totalBytes&&(i++,fileBuffer[i]>127&&fileBuffer[i]<192&&fileBuffer[i+1]>127&&fileBuffer[i+1]<192)){i++;continue}if(suspiciousBytes++,i>32&&suspiciousBytes*100/totalBytes>10)return!0}}return suspiciousBytes*100/totalBytes>10}function isString(x){return typeof x=="string"}function isStatFile(stat){if(!stat.isFile())throw new Error("Path provided was not a file!")}},38419:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>JavascriptTimeAgo,intlDateTimeFormatSupported:()=>intlDateTimeFormatSupported,intlDateTimeFormatSupportedLocale:()=>intlDateTimeFormatSupportedLocale});var defaultLocale="en",localesData={};function getDefaultLocale(){return defaultLocale}function setDefaultLocale(locale){defaultLocale=locale}function getLocaleData(locale){return localesData[locale]}function addLocaleData(localeData){if(!localeData)throw new Error("No locale data passed");localesData[localeData.locale]=localeData}function resolveLocale(locale){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},localeMatcher=options.localeMatcher||"lookup";switch(localeMatcher){case"lookup":return resolveLocaleLookup(locale);case"best fit":return resolveLocaleLookup(locale);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(localeMatcher))}}function resolveLocaleLookup(locale){if(getLocaleData(locale))return locale;for(var parts=locale.split("-");locale.length>1;)if(parts.pop(),locale=parts.join("-"),getLocaleData(locale))return locale}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;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,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var UNITS=["second","minute","hour","day","week","month","quarter","year"],NUMERIC_VALUES=["auto","always"],STYLE_VALUES=["long","short","narrow"],RelativeTimeFormat=function(){function RelativeTimeFormat2(){var locales=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_classCallCheck(this,RelativeTimeFormat2),_defineProperty(this,"numeric","always"),_defineProperty(this,"style","long"),_defineProperty(this,"localeMatcher","lookup");var numeric=options.numeric,style=options.style,localeMatcher=options.localeMatcher;if(numeric){if(NUMERIC_VALUES.indexOf(numeric)<0)throw new RangeError('Invalid "numeric" option: '.concat(numeric));this.numeric=numeric}if(style){if(STYLE_VALUES.indexOf(style)<0)throw new RangeError('Invalid "style" option: '.concat(style));this.style=style}if(localeMatcher&&(this.localeMatcher=localeMatcher),typeof locales=="string"&&(locales=[locales]),locales.push(getDefaultLocale()),this.locale=RelativeTimeFormat2.supportedLocalesOf(locales,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new TypeError("No supported locale was found");this.locale=resolveLocale(this.locale,{localeMatcher:this.localeMatcher}),typeof Intl<"u"&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale))}return _createClass(RelativeTimeFormat2,[{key:"format",value:function(value,unit){return this.getRule(value,unit).replace("{0}",this.formatNumber(Math.abs(value)))}},{key:"formatToParts",value:function(value,unit){var rule=this.getRule(value,unit),valueIndex=rule.indexOf("{0}");if(valueIndex<0)return[{type:"literal",value:rule}];var parts=[];return valueIndex>0&&parts.push({type:"literal",value:rule.slice(0,valueIndex)}),parts.push({unit,type:"integer",value:this.formatNumber(Math.abs(value))}),valueIndex+3<rule.length-1&&parts.push({type:"literal",value:rule.slice(valueIndex+3)}),parts}},{key:"getRule",value:function(value,unit){if(UNITS.indexOf(unit)<0)throw new RangeError("Unknown time unit: ".concat(unit,"."));var unitRules=getLocaleData(this.locale)[this.style][unit];if(this.numeric==="auto"){if(value===-2||value===-1){var message=unitRules["previous".concat(value===-1?"":"-"+Math.abs(value))];if(message)return message}else if(value===1||value===2){var _message=unitRules["next".concat(value===1?"":"-"+Math.abs(value))];if(_message)return _message}else if(value===0&&unitRules.current)return unitRules.current}var quantifierRules=unitRules[value<=0?"past":"future"];if(typeof quantifierRules=="string")return quantifierRules;var quantify=getLocaleData(this.locale).quantify,quantifier=quantify&&quantify(Math.abs(value));return quantifier=quantifier||"other",quantifierRules[quantifier]||quantifierRules.other}},{key:"formatNumber",value:function(number){return this.numberFormat?this.numberFormat.format(number):String(number)}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric}}}]),RelativeTimeFormat2}();RelativeTimeFormat.supportedLocalesOf=function(locales){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof locales=="string"&&(locales=[locales]),locales.filter(function(locale){return resolveLocale(locale,options)})},RelativeTimeFormat.addLocale=addLocaleData,RelativeTimeFormat.setDefaultLocale=setDefaultLocale,RelativeTimeFormat.getDefaultLocale=getDefaultLocale;function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}function cache_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function cache_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,descriptor.key,descriptor)}}function cache_createClass(Constructor,protoProps,staticProps){return protoProps&&cache_defineProperties(Constructor.prototype,protoProps),staticProps&&cache_defineProperties(Constructor,staticProps),Constructor}function cache_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Cache=function(){function Cache2(){cache_classCallCheck(this,Cache2),cache_defineProperty(this,"cache",{})}return cache_createClass(Cache2,[{key:"get",value:function(){for(var cache=this.cache,_len=arguments.length,keys=new Array(_len),_key=0;_key<_len;_key++)keys[_key]=arguments[_key];for(var _i=0;_i<keys.length;_i++){var key=keys[_i];if(_typeof(cache)!=="object")return;cache=cache[key]}return cache}},{key:"put",value:function(){for(var _len2=arguments.length,keys=new Array(_len2),_key2=0;_key2<_len2;_key2++)keys[_key2]=arguments[_key2];for(var value=keys.pop(),lastKey=keys.pop(),cache=this.cache,_i2=0;_i2<keys.length;_i2++){var key=keys[_i2];_typeof(cache[key])!=="object"&&(cache[key]={}),cache=cache[key]}return cache[lastKey]=value}}]),Cache2}(),minute=60,hour=60*minute,day=24*hour,month=30.44*day,year=146097/400*day;function getStep(gradation,unit){for(var _iterator=gradation,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var step=_ref;if(step.unit===unit)return step}}function getDate(value){return value instanceof Date?value:new Date(value)}const convenient=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45,factor:1,unit:"second"},{threshold:45,factor:60,unit:"minute"},{threshold:2.5*60,factor:60,granularity:5,unit:"minute"},{threshold:22.5*60,factor:30*60,unit:"half-hour"},{threshold:42.5*60,threshold_for_minute:52.5*60,factor:60*60,unit:"hour"},{threshold:20.5/24*day,factor:day,unit:"day"},{threshold:5.5*day,factor:7*day,unit:"week"},{threshold:3.5*7*day,factor:month,unit:"month"},{threshold:10.5*month,factor:year,unit:"year"}];function grade_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?grade_typeof=function(obj2){return typeof obj2}:grade_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},grade_typeof(obj)}function grade(elapsed,now,units){var gradation=arguments.length>3&&arguments[3]!==void 0?arguments[3]:convenient;if(gradation=getAllowedSteps(gradation,units),gradation.length!==0){var i=findGradationStep(elapsed,now,gradation),step=gradation[i];if(i!==-1){if(step.granularity){var amount=Math.round(Math.abs(elapsed)/step.factor/step.granularity)*step.granularity;if(amount===0&&i>0)return gradation[i-1]}return step}}}function getThreshold(fromStep,toStep,now,future){var threshold;if(fromStep&&(fromStep.id||fromStep.unit)&&(threshold=toStep["threshold_for_".concat(fromStep.id||fromStep.unit)]),threshold===void 0&&(threshold=toStep.threshold),typeof threshold=="function"&&(threshold=threshold(now,future)),fromStep&&typeof threshold!="number"){var type=grade_typeof(threshold);throw new Error('Each step of a gradation must have a threshold defined except for the first one. Got "'.concat(threshold,'", ').concat(type,". Step: ").concat(JSON.stringify(toStep)))}return threshold}function findGradationStep(elapsed,now,gradation){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return Math.abs(elapsed)<getThreshold(gradation[i-1],gradation[i],now,elapsed<0)?i-1:i===gradation.length-1?i:findGradationStep(elapsed,now,gradation,i+1)}function getAllowedSteps(gradation,units){return gradation.filter(function(_ref){var unit=_ref.unit;return unit?units.indexOf(unit)>=0:!0})}function locale_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?locale_typeof=function(obj2){return typeof obj2}:locale_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},locale_typeof(obj)}function chooseLocale(locales,isLocaleDataAvailable){for(var _iterator=locales,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var locale=_ref;if(isLocaleDataAvailable(locale))return locale;for(var parts=locale.split("-");parts.length>1;)if(parts.pop(),locale=parts.join("-"),isLocaleDataAvailable(locale))return locale}throw new Error("No locale data has been registered for any of the locales: ".concat(locales.join(", ")))}function intlDateTimeFormatSupportedLocale(locales){if(intlDateTimeFormatSupported())return Intl.DateTimeFormat.supportedLocalesOf(locales)[0]}function intlDateTimeFormatSupported(){var isIntlAvailable=(typeof Intl>"u"?"undefined":locale_typeof(Intl))==="object";return isIntlAvailable&&typeof Intl.DateTimeFormat=="function"}const style_default={gradation:convenient,flavour:["long-convenient","long"],units:["now","minute","hour","day","week","month","year"]},canonical=[{factor:1,unit:"now"},{threshold:.5,factor:1,unit:"second"},{threshold:59.5,factor:60,unit:"minute"},{threshold:59.5*60,factor:60*60,unit:"hour"},{threshold:23.5*60*60,factor:day,unit:"day"},{threshold:6.5*day,factor:7*day,unit:"week"},{threshold:3.5*7*day,factor:month,unit:"month"},{threshold:11.5*month,factor:year,unit:"year"}];function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{},ownKeys=Object.keys(source);typeof Object.getOwnPropertySymbols=="function"&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){twitter_defineProperty(target,key,source[key])})}return target}function twitter_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var formatters={};const twitter={gradation:[_objectSpread({},getStep(canonical,"minute"),{threshold:59.5}),_objectSpread({},getStep(canonical,"hour"),{threshold:59.5*60}),{threshold:day-.5*hour,format:function(value,locale){if(!!intlDateTimeFormatSupported())return formatters[locale]||(formatters[locale]={}),formatters[locale].this_year||(formatters[locale].this_year=new Intl.DateTimeFormat(locale,{month:"short",day:"numeric"})),formatters[locale].this_year.format(getDate(value))}},{threshold:function(now,future){if(future){var nextYear=new Date(new Date(now).getFullYear()+1,0);return(nextYear.getTime()-now)/1e3}else{var thisYear=new Date(new Date(now).getFullYear(),0);return(now-thisYear.getTime())/1e3}},format:function(value,locale){if(!!intlDateTimeFormatSupported())return formatters[locale]||(formatters[locale]={}),formatters[locale].other||(formatters[locale].other=new Intl.DateTimeFormat(locale,{year:"numeric",month:"short",day:"numeric"})),formatters[locale].other.format(getDate(value))}}],flavour:["tiny","short-time","narrow","short"]},style_time={gradation:convenient,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};var LocaleDataStore_defaultLocale="en",LocaleDataStore_localesData={};function LocaleDataStore_getLocaleData(locale){return LocaleDataStore_localesData[locale]}function LocaleDataStore_addLocaleData(localeData){if(!localeData)throw new Error("[javascript-time-ago] No locale data passed.");LocaleDataStore_localesData[localeData.locale]=localeData}function JavascriptTimeAgo_typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?JavascriptTimeAgo_typeof=function(obj2){return typeof obj2}:JavascriptTimeAgo_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},JavascriptTimeAgo_typeof(obj)}function JavascriptTimeAgo_classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function JavascriptTimeAgo_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,descriptor.key,descriptor)}}function JavascriptTimeAgo_createClass(Constructor,protoProps,staticProps){return protoProps&&JavascriptTimeAgo_defineProperties(Constructor.prototype,protoProps),staticProps&&JavascriptTimeAgo_defineProperties(Constructor,staticProps),Constructor}var JavascriptTimeAgo_UNITS=null,JavascriptTimeAgo=function(){function JavascriptTimeAgo2(){var locales=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];JavascriptTimeAgo_classCallCheck(this,JavascriptTimeAgo2),typeof locales=="string"&&(locales=[locales]),this.locale=chooseLocale(locales.concat(RelativeTimeFormat.getDefaultLocale()),LocaleDataStore_getLocaleData),typeof Intl<"u"&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),this.relativeTimeFormatCache=new Cache}return JavascriptTimeAgo_createClass(JavascriptTimeAgo2,[{key:"format",value:function(input){var style=arguments.length>1&&arguments[1]!==void 0?arguments[1]:style_default;if(typeof style=="string")switch(style){case"twitter":style=twitter;break;case"time":style=style_time;break;default:style=style_default}var _getDateAndTimeBeingF=getDateAndTimeBeingFormatted(input),date=_getDateAndTimeBeingF.date,time=_getDateAndTimeBeingF.time,_this$getLocaleData=this.getLocaleData(style.flavour),flavour=_this$getLocaleData.flavour,localeData=_this$getLocaleData.localeData,now=style.now||Date.now(),elapsed=(now-time)/1e3;if(style.custom){var custom=style.custom({now,date,time,elapsed,locale:this.locale});if(custom!==void 0)return custom}var units=getTimeIntervalMeasurementUnits(localeData,style.units);if(units.length===0)return console.error('Units "'.concat(units.join(", "),'" were not found in locale data for "').concat(this.locale,'".')),"";var step=grade(elapsed,now,units,style.gradation);if(!step)return"";if(step.format)return step.format(date||time,this.locale);var unit=step.unit,factor=step.factor,granularity=step.granularity,amount=Math.abs(elapsed)/factor;if(granularity&&(amount=Math.round(amount/granularity)*granularity),unit==="now")return getNowMessage(localeData,-1*Math.sign(elapsed));switch(flavour){case"long":case"short":case"narrow":return this.getFormatter(flavour).format(-1*Math.sign(elapsed)*Math.round(amount),unit);default:return this.formatValue(-1*Math.sign(elapsed)*Math.round(amount),unit,localeData)}}},{key:"formatValue",value:function(value,unit,localeData){return this.getRule(value,unit,localeData).replace("{0}",this.formatNumber(Math.abs(value)))}},{key:"getRule",value:function(value,unit,localeData){var unitRules=localeData[unit];if(typeof unitRules=="string")return unitRules;var quantifierRules=unitRules[value<=0?"past":"future"]||unitRules;if(typeof quantifierRules=="string")return quantifierRules;var quantify=LocaleDataStore_getLocaleData(this.locale).quantify,quantifier=quantify&&quantify(Math.abs(value));return quantifier=quantifier||"other",quantifierRules[quantifier]||quantifierRules.other}},{key:"formatNumber",value:function(number){return this.numberFormat?this.numberFormat.format(number):String(number)}},{key:"getFormatter",value:function(flavor){return this.relativeTimeFormatCache.get(this.locale,flavor)||this.relativeTimeFormatCache.put(this.locale,flavor,new RelativeTimeFormat(this.locale,{style:flavor}))}},{key:"getLocaleData",value:function(){var flavour=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],localeData=LocaleDataStore_getLocaleData(this.locale);typeof flavour=="string"&&(flavour=[flavour]),flavour=flavour.concat("long");for(var _iterator=flavour,_isArray=Array.isArray(_iterator),_i=0,_iterator=_isArray?_iterator:_iterator[Symbol.iterator]();;){var _ref;if(_isArray){if(_i>=_iterator.length)break;_ref=_iterator[_i++]}else{if(_i=_iterator.next(),_i.done)break;_ref=_i.value}var _=_ref;if(localeData[_])return{flavour:_,localeData:localeData[_]}}}}]),JavascriptTimeAgo2}();JavascriptTimeAgo.getDefaultLocale=RelativeTimeFormat.getDefaultLocale,JavascriptTimeAgo.setDefaultLocale=RelativeTimeFormat.setDefaultLocale,JavascriptTimeAgo.addLocale=function(localeData){LocaleDataStore_addLocaleData(localeData),RelativeTimeFormat.addLocale(localeData)},JavascriptTimeAgo.locale=JavascriptTimeAgo.addLocale;function getDateAndTimeBeingFormatted(input){if(input.constructor===Date||isMockedDate(input))return{date:input,time:input.getTime()};if(typeof input=="number")return{time:input};throw new Error("Unsupported relative time formatter input: ".concat(JavascriptTimeAgo_typeof(input),", ").concat(input))}function isMockedDate(object){return JavascriptTimeAgo_typeof(object)==="object"&&typeof object.getTime=="function"}function getTimeIntervalMeasurementUnits(localeData,restrictedSetOfUnits){var units=Object.keys(localeData);return restrictedSetOfUnits&&(units=restrictedSetOfUnits.filter(function(_){return units.indexOf(_)>=0})),(!restrictedSetOfUnits||restrictedSetOfUnits.indexOf("now")>=0)&&units.indexOf("now")<0&&localeData.second.current&&units.unshift("now"),units}function getNowMessage(localeData,value){return localeData.now?typeof localeData.now=="string"?localeData.now:value<=0?localeData.now.past:localeData.now.future:localeData.second.current}},36192:(module,__unused_webpack_exports,__webpack_require__)=>{var locale=__webpack_require__(69540);module.exports={locale:locale.locale,long:locale.long,short:locale.short,narrow:locale.narrow,"short-time":__webpack_require__(14640),"short-convenient":__webpack_require__(25873),"long-time":__webpack_require__(94609),"long-convenient":__webpack_require__(20433),tiny:__webpack_require__(27218),quantify:locale.quantify}},17703:(__unused_webpack_module,exports)=>{"use strict";var __webpack_unused_export__;__webpack_unused_export__=!0,__webpack_unused_export__=void 0;var LF=`
418
- `,CR="\r",LinesAndColumns2=function(){function LinesAndColumns3(string){this.string=string;for(var offsets=[0],offset=0;offset<string.length;)switch(string[offset]){case LF:offset+=LF.length,offsets.push(offset);break;case CR:offset+=CR.length,string[offset]===LF&&(offset+=LF.length),offsets.push(offset);break;default:offset++;break}this.offsets=offsets}return LinesAndColumns3.prototype.locationForIndex=function(index){if(index<0||index>this.string.length)return null;for(var line=0,offsets=this.offsets;offsets[line+1]<=index;)line++;var column=index-offsets[line];return{line,column}},LinesAndColumns3.prototype.indexForLocation=function(location){var line=location.line,column=location.column;return line<0||line>=this.offsets.length||column<0||column>this.lengthOfLine(line)?null:this.offsets[line]+column},LinesAndColumns3.prototype.lengthOfLine=function(line){var offset=this.offsets[line],nextOffset=line===this.offsets.length-1?this.string.length:this.offsets[line+1];return nextOffset-offset},LinesAndColumns3}();__webpack_unused_export__=LinesAndColumns2,__webpack_unused_export__=LinesAndColumns2},30174:(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var LARGE_ARRAY_SIZE=200,FUNC_ERROR_TEXT="Expected a function",HASH_UNDEFINED="__lodash_hash_undefined__",UNORDERED_COMPARE_FLAG=1,PARTIAL_COMPARE_FLAG=2,INFINITY=1/0,MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",promiseTag="[object Promise]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,reLeadingDot=/^\./,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reEscapeChar=/\\(\\)?/g,reIsHostCtor=/^\[object .+?Constructor\]$/,reIsUint=/^(?:0|[1-9]\d*)$/,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var freeGlobal=typeof __webpack_require__.g=="object"&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&!0&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{return freeProcess&&freeProcess.binding("util")}catch{}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function arrayMap(array,iteratee){for(var index=-1,length=array?array.length:0,result=Array(length);++index<length;)result[index]=iteratee(array[index],index,array);return result}function arraySome(array,predicate){for(var index=-1,length=array?array.length:0;++index<length;)if(predicate(array[index],index,array))return!0;return!1}function baseProperty(key){return function(object){return object?.[key]}}function baseSortBy(array,comparer){var length=array.length;for(array.sort(comparer);length--;)array[length]=array[length].value;return array}function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}function baseUnary(func){return function(value){return func(value)}}function getValue(object,key){return object?.[key]}function isHostObject(value){var result=!1;if(value!=null&&typeof value.toString!="function")try{result=!!(value+"")}catch{}return result}function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype,coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}(),funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectToString=objectProto.toString,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Symbol2=root.Symbol,Uint8Array2=root.Uint8Array,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice,nativeKeys=overArg(Object.keys,Object),DataView2=getNative(root,"DataView"),Map2=getNative(root,"Map"),Promise2=getNative(root,"Promise"),Set2=getNative(root,"Set"),WeakMap2=getNative(root,"WeakMap"),nativeCreate=getNative(Object,"create"),dataViewCtorString=toSource(DataView2),mapCtorString=toSource(Map2),promiseCtorString=toSource(Promise2),setCtorString=toSource(Set2),weakMapCtorString=toSource(WeakMap2),symbolProto=Symbol2?Symbol2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function Hash(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{}}function hashDelete(key){return this.has(key)&&delete this.__data__[key]}function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==void 0:hasOwnProperty.call(data,key)}function hashSet(key,value){var data=this.__data__;return data[key]=nativeCreate&&value===void 0?HASH_UNDEFINED:value,this}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;function ListCache(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),!0}function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?data.push([key,value]):data[index][1]=value,this}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(Map2||ListCache),string:new Hash}}function mapCacheDelete(key){return getMapData(this,key).delete(key)}function mapCacheGet(key){return getMapData(this,key).get(key)}function mapCacheHas(key){return getMapData(this,key).has(key)}function mapCacheSet(key,value){return getMapData(this,key).set(key,value),this}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;function SetCache(values){var index=-1,length=values?values.length:0;for(this.__data__=new MapCache;++index<length;)this.add(values[index])}function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED),this}function setCacheHas(value){return this.__data__.has(value)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas;function Stack(entries){this.__data__=new ListCache(entries)}function stackClear(){this.__data__=new ListCache}function stackDelete(key){return this.__data__.delete(key)}function stackGet(key){return this.__data__.get(key)}function stackHas(key){return this.__data__.has(key)}function stackSet(key,value){var cache=this.__data__;if(cache instanceof ListCache){var pairs=cache.__data__;if(!Map2||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this;cache=this.__data__=new MapCache(pairs)}return cache.set(key,value),this}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;function arrayLikeKeys(value,inherited){var result=isArray(value)||isArguments(value)?baseTimes(value.length,String):[],length=result.length,skipIndexes=!!length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key=="length"||isIndex(key,length)))&&result.push(key);return result}function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}var baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor();function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseGet(object,path){path=isKey(path,object)?[path]:castPath(path);for(var index=0,length=path.length;object!=null&&index<length;)object=object[toKey(path[index++])];return index&&index==length?object:void 0}function baseGetTag(value){return objectToString.call(value)}function baseHasIn(object,key){return object!=null&&key in Object(object)}function baseIsEqual(value,other,customizer,bitmask,stack){return value===other?!0:value==null||other==null||!isObject(value)&&!isObjectLike(other)?value!==value&&other!==other:baseIsEqualDeep(value,other,baseIsEqual,customizer,bitmask,stack)}function baseIsEqualDeep(object,other,equalFunc,customizer,bitmask,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;objIsArr||(objTag=getTag(object),objTag=objTag==argsTag?objectTag:objTag),othIsArr||(othTag=getTag(other),othTag=othTag==argsTag?objectTag:othTag);var objIsObj=objTag==objectTag&&!isHostObject(object),othIsObj=othTag==objectTag&&!isHostObject(other),isSameTag=objTag==othTag;if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,equalFunc,customizer,bitmask,stack):equalByTag(object,other,objTag,equalFunc,customizer,bitmask,stack);if(!(bitmask&PARTIAL_COMPARE_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,customizer,bitmask,stack)}}return isSameTag?(stack||(stack=new Stack),equalObjects(object,other,equalFunc,customizer,bitmask,stack)):!1}function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(object==null)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index<length;){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(objValue===void 0&&!(key in object))return!1}else{var stack=new Stack;if(customizer)var result=customizer(objValue,srcValue,key,object,source,stack);if(!(result===void 0?baseIsEqual(srcValue,objValue,customizer,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG,stack):result))return!1}}return!0}function baseIsNative(value){if(!isObject(value)||isMasked(value))return!1;var pattern=isFunction(value)||isHostObject(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objectToString.call(value)]}function baseIteratee(value){return typeof value=="function"?value:value==null?identity:typeof value=="object"?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&key!="constructor"&&result.push(key);return result}function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];return baseEach(collection,function(value,key,collection2){result[++index]=iteratee(value,key,collection2)}),result}function baseMatches(source){var matchData=getMatchData(source);return matchData.length==1&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return objValue===void 0&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,void 0,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG)}}function baseOrderBy(collection,iteratees,orders){var index=-1;iteratees=arrayMap(iteratees.length?iteratees:[identity],baseUnary(baseIteratee));var result=baseMap(collection,function(value,key,collection2){var criteria=arrayMap(iteratees,function(iteratee){return iteratee(value)});return{criteria,index:++index,value}});return baseSortBy(result,function(object,other){return compareMultiple(object,other,orders)})}function basePropertyDeep(path){return function(object){return baseGet(object,path)}}function baseToString(value){if(typeof value=="string")return value;if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function castPath(value){return isArray(value)?value:stringToPath(value)}function compareAscending(value,other){if(value!==other){var valIsDefined=value!==void 0,valIsNull=value===null,valIsReflexive=value===value,valIsSymbol=isSymbol(value),othIsDefined=other!==void 0,othIsNull=other===null,othIsReflexive=other===other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive)return 1;if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value<other||othIsSymbol&&valIsDefined&&valIsReflexive&&!valIsNull&&!valIsSymbol||othIsNull&&valIsDefined&&valIsReflexive||!othIsDefined&&valIsReflexive||!othIsReflexive)return-1}return 0}function compareMultiple(object,other,orders){for(var index=-1,objCriteria=object.criteria,othCriteria=other.criteria,length=objCriteria.length,ordersLength=orders.length;++index<length;){var result=compareAscending(objCriteria[index],othCriteria[index]);if(result){if(index>=ordersLength)return result;var order=orders[index];return result*(order=="desc"?-1:1)}}return object.index-other.index}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(collection==null)return collection;if(!isArrayLike(collection))return eachFunc(collection,iteratee);for(var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);(fromRight?index--:++index<length)&&iteratee(iterable[index],index,iterable)!==!1;);return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(iteratee(iterable[key],key,iterable)===!1)break}return object}}function equalArrays(array,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=!0,seen=bitmask&UNORDERED_COMPARE_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome(other,function(othValue2,othIndex){if(!seen.has(othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,customizer,bitmask,stack)))return seen.add(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,customizer,bitmask,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}function equalByTag(object,other,tag,equalFunc,customizer,bitmask,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array2(object),new Uint8Array2(other)));case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&PARTIAL_COMPARE_FLAG;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=UNORDERED_COMPARE_FLAG,stack.set(object,other);var result=equalArrays(convert(object),convert(other),equalFunc,customizer,bitmask,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}function equalObjects(object,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var stacked=stack.get(object);if(stacked&&stack.get(other))return stacked==other;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,customizer,bitmask,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=="string"?"string":"hash"]:data.map}function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}var getTag=baseGetTag;(DataView2&&getTag(new DataView2(new ArrayBuffer(1)))!=dataViewTag||Map2&&getTag(new Map2)!=mapTag||Promise2&&getTag(Promise2.resolve())!=promiseTag||Set2&&getTag(new Set2)!=setTag||WeakMap2&&getTag(new WeakMap2)!=weakMapTag)&&(getTag=function(value){var result=objectToString.call(value),Ctor=result==objectTag?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):void 0;if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});function hasPath(object,path,hasFunc){path=isKey(path,object)?[path]:castPath(path);for(var result,index=-1,length=path.length;++index<length;){var key=toKey(path[index]);if(!(result=object!=null&&hasFunc(object,key)))break;object=object[key]}if(result)return result;var length=object?object.length:0;return!!length&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}function isIndex(value,length){return length=length??MAX_SAFE_INTEGER,!!length&&(typeof value=="number"||reIsUint.test(value))&&value>-1&&value%1==0&&value<length}function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return type=="number"||type=="symbol"||type=="boolean"||value==null||isSymbol(value)?!0:reIsPlainProp.test(value)||!reIsDeepProp.test(value)||object!=null&&value in Object(object)}function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto;return value===proto}function isStrictComparable(value){return value===value&&!isObject(value)}function matchesStrictComparable(key,srcValue){return function(object){return object==null?!1:object[key]===srcValue&&(srcValue!==void 0||key in Object(object))}}var stringToPath=memoize(function(string){string=toString(string);var result=[];return reLeadingDot.test(string)&&result.push(""),string.replace(rePropName,function(match,number,quote,string2){result.push(quote?string2.replace(reEscapeChar,"$1"):number||match)}),result});function toKey(value){if(typeof value=="string"||isSymbol(value))return value;var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function toSource(func){if(func!=null){try{return funcToString.call(func)}catch{}try{return func+""}catch{}}return""}function orderBy(collection,iteratees,orders,guard){return collection==null?[]:(isArray(iteratees)||(iteratees=iteratees==null?[]:[iteratees]),orders=guard?void 0:orders,isArray(orders)||(orders=orders==null?[]:[orders]),baseOrderBy(collection,iteratees,orders))}function memoize(func,resolver){if(typeof func!="function"||resolver&&typeof resolver!="function")throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result),result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache;function eq(value,other){return value===other||value!==value&&other!==other}function isArguments(value){return isArrayLikeObject(value)&&hasOwnProperty.call(value,"callee")&&(!propertyIsEnumerable.call(value,"callee")||objectToString.call(value)==argsTag)}var isArray=Array.isArray;function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&(type=="object"||type=="function")}function isObjectLike(value){return!!value&&typeof value=="object"}function isSymbol(value){return typeof value=="symbol"||isObjectLike(value)&&objectToString.call(value)==symbolTag}var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function toString(value){return value==null?"":baseToString(value)}function get(object,path,defaultValue){var result=object==null?void 0:baseGet(object,path);return result===void 0?defaultValue:result}function hasIn(object,path){return object!=null&&hasPath(object,path,baseHasIn)}function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function identity(value){return value}function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}module.exports=orderBy},23387:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var low=__webpack_require__(14725);module.exports=low,low.registerLanguage("1c",__webpack_require__(97317)),low.registerLanguage("abnf",__webpack_require__(87058)),low.registerLanguage("accesslog",__webpack_require__(14687)),low.registerLanguage("actionscript",__webpack_require__(19128)),low.registerLanguage("ada",__webpack_require__(96174)),low.registerLanguage("angelscript",__webpack_require__(94896)),low.registerLanguage("apache",__webpack_require__(91666)),low.registerLanguage("applescript",__webpack_require__(20256)),low.registerLanguage("arcade",__webpack_require__(38242)),low.registerLanguage("arduino",__webpack_require__(35614)),low.registerLanguage("armasm",__webpack_require__(85462)),low.registerLanguage("xml",__webpack_require__(5750)),low.registerLanguage("asciidoc",__webpack_require__(56115)),low.registerLanguage("aspectj",__webpack_require__(47950)),low.registerLanguage("autohotkey",__webpack_require__(18145)),low.registerLanguage("autoit",__webpack_require__(30800)),low.registerLanguage("avrasm",__webpack_require__(21907)),low.registerLanguage("awk",__webpack_require__(70166)),low.registerLanguage("axapta",__webpack_require__(22210)),low.registerLanguage("bash",__webpack_require__(17504)),low.registerLanguage("basic",__webpack_require__(53731)),low.registerLanguage("bnf",__webpack_require__(46910)),low.registerLanguage("brainfuck",__webpack_require__(15815)),low.registerLanguage("c-like",__webpack_require__(69477)),low.registerLanguage("c",__webpack_require__(69021)),low.registerLanguage("cal",__webpack_require__(41925)),low.registerLanguage("capnproto",__webpack_require__(6770)),low.registerLanguage("ceylon",__webpack_require__(41831)),low.registerLanguage("clean",__webpack_require__(50122)),low.registerLanguage("clojure",__webpack_require__(50278)),low.registerLanguage("clojure-repl",__webpack_require__(17047)),low.registerLanguage("cmake",__webpack_require__(18870)),low.registerLanguage("coffeescript",__webpack_require__(92318)),low.registerLanguage("coq",__webpack_require__(33526)),low.registerLanguage("cos",__webpack_require__(44899)),low.registerLanguage("cpp",__webpack_require__(32596)),low.registerLanguage("crmsh",__webpack_require__(32424)),low.registerLanguage("crystal",__webpack_require__(68392)),low.registerLanguage("csharp",__webpack_require__(60342)),low.registerLanguage("csp",__webpack_require__(35136)),low.registerLanguage("css",__webpack_require__(66556)),low.registerLanguage("d",__webpack_require__(82762)),low.registerLanguage("markdown",__webpack_require__(91710)),low.registerLanguage("dart",__webpack_require__(91192)),low.registerLanguage("delphi",__webpack_require__(55557)),low.registerLanguage("diff",__webpack_require__(67592)),low.registerLanguage("django",__webpack_require__(18863)),low.registerLanguage("dns",__webpack_require__(37586)),low.registerLanguage("dockerfile",__webpack_require__(20821)),low.registerLanguage("dos",__webpack_require__(31033)),low.registerLanguage("dsconfig",__webpack_require__(69948)),low.registerLanguage("dts",__webpack_require__(92034)),low.registerLanguage("dust",__webpack_require__(13971)),low.registerLanguage("ebnf",__webpack_require__(98469)),low.registerLanguage("elixir",__webpack_require__(95622)),low.registerLanguage("elm",__webpack_require__(84162)),low.registerLanguage("ruby",__webpack_require__(7836)),low.registerLanguage("erb",__webpack_require__(61190)),low.registerLanguage("erlang-repl",__webpack_require__(44704)),low.registerLanguage("erlang",__webpack_require__(59761)),low.registerLanguage("excel",__webpack_require__(35611)),low.registerLanguage("fix",__webpack_require__(18866)),low.registerLanguage("flix",__webpack_require__(86309)),low.registerLanguage("fortran",__webpack_require__(14750)),low.registerLanguage("fsharp",__webpack_require__(87547)),low.registerLanguage("gams",__webpack_require__(42061)),low.registerLanguage("gauss",__webpack_require__(25184)),low.registerLanguage("gcode",__webpack_require__(13745)),low.registerLanguage("gherkin",__webpack_require__(62865)),low.registerLanguage("glsl",__webpack_require__(23395)),low.registerLanguage("gml",__webpack_require__(5153)),low.registerLanguage("go",__webpack_require__(90667)),low.registerLanguage("golo",__webpack_require__(39619)),low.registerLanguage("gradle",__webpack_require__(28659)),low.registerLanguage("groovy",__webpack_require__(24540)),low.registerLanguage("haml",__webpack_require__(73260)),low.registerLanguage("handlebars",__webpack_require__(65777)),low.registerLanguage("haskell",__webpack_require__(22333)),low.registerLanguage("haxe",__webpack_require__(98212)),low.registerLanguage("hsp",__webpack_require__(48363)),low.registerLanguage("htmlbars",__webpack_require__(14275)),low.registerLanguage("http",__webpack_require__(30959)),low.registerLanguage("hy",__webpack_require__(85807)),low.registerLanguage("inform7",__webpack_require__(88040)),low.registerLanguage("ini",__webpack_require__(30942)),low.registerLanguage("irpf90",__webpack_require__(99888)),low.registerLanguage("isbl",__webpack_require__(57183)),low.registerLanguage("java",__webpack_require__(54744)),low.registerLanguage("javascript",__webpack_require__(39787)),low.registerLanguage("jboss-cli",__webpack_require__(95069)),low.registerLanguage("json",__webpack_require__(41078)),low.registerLanguage("julia",__webpack_require__(62951)),low.registerLanguage("julia-repl",__webpack_require__(76167)),low.registerLanguage("kotlin",__webpack_require__(81936)),low.registerLanguage("lasso",__webpack_require__(78109)),low.registerLanguage("latex",__webpack_require__(95313)),low.registerLanguage("ldif",__webpack_require__(91301)),low.registerLanguage("leaf",__webpack_require__(92480)),low.registerLanguage("less",__webpack_require__(95610)),low.registerLanguage("lisp",__webpack_require__(27740)),low.registerLanguage("livecodeserver",__webpack_require__(61598)),low.registerLanguage("livescript",__webpack_require__(94624)),low.registerLanguage("llvm",__webpack_require__(85638)),low.registerLanguage("lsl",__webpack_require__(3351)),low.registerLanguage("lua",__webpack_require__(18727)),low.registerLanguage("makefile",__webpack_require__(36548)),low.registerLanguage("mathematica",__webpack_require__(20313)),low.registerLanguage("matlab",__webpack_require__(83271)),low.registerLanguage("maxima",__webpack_require__(85513)),low.registerLanguage("mel",__webpack_require__(18625)),low.registerLanguage("mercury",__webpack_require__(29230)),low.registerLanguage("mipsasm",__webpack_require__(91106)),low.registerLanguage("mizar",__webpack_require__(29148)),low.registerLanguage("perl",__webpack_require__(48278)),low.registerLanguage("mojolicious",__webpack_require__(84061)),low.registerLanguage("monkey",__webpack_require__(58123)),low.registerLanguage("moonscript",__webpack_require__(12942)),low.registerLanguage("n1ql",__webpack_require__(48062)),low.registerLanguage("nginx",__webpack_require__(40819)),low.registerLanguage("nim",__webpack_require__(13434)),low.registerLanguage("nix",__webpack_require__(41367)),low.registerLanguage("node-repl",__webpack_require__(72134)),low.registerLanguage("nsis",__webpack_require__(67726)),low.registerLanguage("objectivec",__webpack_require__(67353)),low.registerLanguage("ocaml",__webpack_require__(63830)),low.registerLanguage("openscad",__webpack_require__(17925)),low.registerLanguage("oxygene",__webpack_require__(67999)),low.registerLanguage("parser3",__webpack_require__(10540)),low.registerLanguage("pf",__webpack_require__(36455)),low.registerLanguage("pgsql",__webpack_require__(99499)),low.registerLanguage("php",__webpack_require__(36875)),low.registerLanguage("php-template",__webpack_require__(14045)),low.registerLanguage("plaintext",__webpack_require__(80784)),low.registerLanguage("pony",__webpack_require__(67603)),low.registerLanguage("powershell",__webpack_require__(68107)),low.registerLanguage("processing",__webpack_require__(62984)),low.registerLanguage("profile",__webpack_require__(88903)),low.registerLanguage("prolog",__webpack_require__(83782)),low.registerLanguage("properties",__webpack_require__(71511)),low.registerLanguage("protobuf",__webpack_require__(93968)),low.registerLanguage("puppet",__webpack_require__(98232)),low.registerLanguage("purebasic",__webpack_require__(51769)),low.registerLanguage("python",__webpack_require__(44106)),low.registerLanguage("python-repl",__webpack_require__(47985)),low.registerLanguage("q",__webpack_require__(40189)),low.registerLanguage("qml",__webpack_require__(73573)),low.registerLanguage("r",__webpack_require__(48421)),low.registerLanguage("reasonml",__webpack_require__(47223)),low.registerLanguage("rib",__webpack_require__(60699)),low.registerLanguage("roboconf",__webpack_require__(47745)),low.registerLanguage("routeros",__webpack_require__(67290)),low.registerLanguage("rsl",__webpack_require__(31362)),low.registerLanguage("ruleslanguage",__webpack_require__(84438)),low.registerLanguage("rust",__webpack_require__(77077)),low.registerLanguage("sas",__webpack_require__(93711)),low.registerLanguage("scala",__webpack_require__(48433)),low.registerLanguage("scheme",__webpack_require__(56622)),low.registerLanguage("scilab",__webpack_require__(1204)),low.registerLanguage("scss",__webpack_require__(93121)),low.registerLanguage("shell",__webpack_require__(18308)),low.registerLanguage("smali",__webpack_require__(2562)),low.registerLanguage("smalltalk",__webpack_require__(20455)),low.registerLanguage("sml",__webpack_require__(85143)),low.registerLanguage("sqf",__webpack_require__(1811)),low.registerLanguage("sql_more",__webpack_require__(93245)),low.registerLanguage("sql",__webpack_require__(74883)),low.registerLanguage("stan",__webpack_require__(30362)),low.registerLanguage("stata",__webpack_require__(9765)),low.registerLanguage("step21",__webpack_require__(44078)),low.registerLanguage("stylus",__webpack_require__(82601)),low.registerLanguage("subunit",__webpack_require__(87344)),low.registerLanguage("swift",__webpack_require__(54503)),low.registerLanguage("taggerscript",__webpack_require__(75738)),low.registerLanguage("yaml",__webpack_require__(83322)),low.registerLanguage("tap",__webpack_require__(4541)),low.registerLanguage("tcl",__webpack_require__(99645)),low.registerLanguage("thrift",__webpack_require__(14850)),low.registerLanguage("tp",__webpack_require__(15263)),low.registerLanguage("twig",__webpack_require__(54602)),low.registerLanguage("typescript",__webpack_require__(2056)),low.registerLanguage("vala",__webpack_require__(52959)),low.registerLanguage("vbnet",__webpack_require__(74048)),low.registerLanguage("vbscript",__webpack_require__(70616)),low.registerLanguage("vbscript-html",__webpack_require__(85811)),low.registerLanguage("verilog",__webpack_require__(93813)),low.registerLanguage("vhdl",__webpack_require__(73407)),low.registerLanguage("vim",__webpack_require__(1975)),low.registerLanguage("x86asm",__webpack_require__(98761)),low.registerLanguage("xl",__webpack_require__(6386)),low.registerLanguage("xquery",__webpack_require__(10784)),low.registerLanguage("zephir",__webpack_require__(89417))},14725:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var high=__webpack_require__(88467),fault=__webpack_require__(96203);exports.highlight=highlight,exports.highlightAuto=highlightAuto,exports.registerLanguage=registerLanguage,exports.listLanguages=listLanguages,exports.registerAlias=registerAlias,Emitter.prototype.addText=text,Emitter.prototype.addKeyword=addKeyword,Emitter.prototype.addSublanguage=addSublanguage,Emitter.prototype.openNode=open,Emitter.prototype.closeNode=close,Emitter.prototype.closeAllNodes=noop,Emitter.prototype.finalize=noop,Emitter.prototype.toHTML=toHtmlNoop;var defaultPrefix="hljs-";function highlight(name,value,options){var before=high.configure({}),settings=options||{},prefix=settings.prefix,result;if(typeof name!="string")throw fault("Expected `string` for name, got `%s`",name);if(!high.getLanguage(name))throw fault("Unknown language: `%s` is not registered",name);if(typeof value!="string")throw fault("Expected `string` for value, got `%s`",value);if(prefix==null&&(prefix=defaultPrefix),high.configure({__emitter:Emitter,classPrefix:prefix}),result=high.highlight(value,{language:name,ignoreIllegals:!0}),high.configure(before||{}),result.errorRaised)throw result.errorRaised;return{relevance:result.relevance,language:result.language,value:result.emitter.rootNode.children}}function highlightAuto(value,options){var settings=options||{},subset=settings.subset||high.listLanguages(),prefix=settings.prefix,length=subset.length,index=-1,result,secondBest,current,name;if(prefix==null&&(prefix=defaultPrefix),typeof value!="string")throw fault("Expected `string` for value, got `%s`",value);for(secondBest={relevance:0,language:null,value:[]},result={relevance:0,language:null,value:[]};++index<length;)name=subset[index],high.getLanguage(name)&&(current=highlight(name,value,options),current.language=name,current.relevance>secondBest.relevance&&(secondBest=current),current.relevance>result.relevance&&(secondBest=result,result=current));return secondBest.language&&(result.secondBest=secondBest),result}function registerLanguage(name,syntax){high.registerLanguage(name,syntax)}function listLanguages(){return high.listLanguages()}function registerAlias(name,alias){var map=name,key;alias&&(map={},map[name]=alias);for(key in map)high.registerAliases(map[key],{languageName:key})}function Emitter(options){this.options=options,this.rootNode={children:[]},this.stack=[this.rootNode]}function addKeyword(value,name){this.openNode(name),this.addText(value),this.closeNode()}function addSublanguage(other,name){var stack=this.stack,current=stack[stack.length-1],results=other.rootNode.children,node=name?{type:"element",tagName:"span",properties:{className:[name]},children:results}:results;current.children=current.children.concat(node)}function text(value){var stack=this.stack,current,tail;value!==""&&(current=stack[stack.length-1],tail=current.children[current.children.length-1],tail&&tail.type==="text"?tail.value+=value:current.children.push({type:"text",value}))}function open(name){var stack=this.stack,className=this.options.classPrefix+name,current=stack[stack.length-1],child={type:"element",tagName:"span",properties:{className:[className]},children:[]};current.children.push(child),stack.push(child)}function close(){this.stack.pop()}function toHtmlNoop(){return""}function noop(){}},61896:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(56579),encoding_1=__webpack_require__(69215),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Dirent=function(){function Dirent2(){this.name="",this.mode=0}return Dirent2.build=function(link,encoding){var dirent=new Dirent2,mode=link.getNode().mode;return dirent.name=encoding_1.strToEncoding(link.getName(),encoding),dirent.mode=mode,dirent},Dirent2.prototype._checkModeProperty=function(property){return(this.mode&S_IFMT)===property},Dirent2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Dirent2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Dirent2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Dirent2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Dirent2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Dirent2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Dirent2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Dirent2}();exports.Dirent=Dirent,exports.default=Dirent},45166:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(56579),getBigInt_1=__webpack_require__(27918),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Stats=function(){function Stats2(){}return Stats2.build=function(node,bigint){bigint===void 0&&(bigint=!1);var stats=new Stats2,uid=node.uid,gid=node.gid,atime=node.atime,mtime=node.mtime,ctime=node.ctime,getStatNumber=bigint?getBigInt_1.default:function(number){return number};stats.uid=getStatNumber(uid),stats.gid=getStatNumber(gid),stats.rdev=getStatNumber(0),stats.blksize=getStatNumber(4096),stats.ino=getStatNumber(node.ino),stats.size=getStatNumber(node.getSize()),stats.blocks=getStatNumber(1),stats.atime=atime,stats.mtime=mtime,stats.ctime=ctime,stats.birthtime=ctime,stats.atimeMs=getStatNumber(atime.getTime()),stats.mtimeMs=getStatNumber(mtime.getTime());var ctimeMs=getStatNumber(ctime.getTime());return stats.ctimeMs=ctimeMs,stats.birthtimeMs=ctimeMs,stats.dev=getStatNumber(0),stats.mode=getStatNumber(node.mode),stats.nlink=getStatNumber(node.nlink),stats},Stats2.prototype._checkModeProperty=function(property){return(Number(this.mode)&S_IFMT)===property},Stats2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Stats2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Stats2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Stats2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Stats2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Stats2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Stats2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Stats2}();exports.Stats=Stats,exports.default=Stats},56579:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}},69215:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(3534),errors=__webpack_require__(78761);exports.ENCODING_UTF8="utf8";function assertEncoding(encoding){if(encoding&&!buffer_1.Buffer.isEncoding(encoding))throw new errors.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",encoding)}exports.assertEncoding=assertEncoding;function strToEncoding(str,encoding){return!encoding||encoding===exports.ENCODING_UTF8?str:encoding==="buffer"?new buffer_1.Buffer(str):new buffer_1.Buffer(str).toString(encoding)}exports.strToEncoding=strToEncoding},27918:(__unused_webpack_module,exports)=>{typeof BigInt=="function"?exports.default=BigInt:exports.default=function(){throw new Error("BigInt is not supported in this environment.")}},27884:function(module,exports,__webpack_require__){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)};Object.defineProperty(exports,"__esModule",{value:!0});var Stats_1=__webpack_require__(45166),Dirent_1=__webpack_require__(61896),volume_1=__webpack_require__(57965),_a=__webpack_require__(1956),fsSyncMethods=_a.fsSyncMethods,fsAsyncMethods=_a.fsAsyncMethods,constants_1=__webpack_require__(56579),F_OK=constants_1.constants.F_OK,R_OK=constants_1.constants.R_OK,W_OK=constants_1.constants.W_OK,X_OK=constants_1.constants.X_OK;exports.Volume=volume_1.Volume,exports.vol=new volume_1.Volume;function createFsFromVolume(vol){for(var fs={F_OK,R_OK,W_OK,X_OK,constants:constants_1.constants,Stats:Stats_1.default,Dirent:Dirent_1.default},_i=0,fsSyncMethods_1=fsSyncMethods;_i<fsSyncMethods_1.length;_i++){var method=fsSyncMethods_1[_i];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}for(var _a2=0,fsAsyncMethods_1=fsAsyncMethods;_a2<fsAsyncMethods_1.length;_a2++){var method=fsAsyncMethods_1[_a2];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}return fs.StatWatcher=vol.StatWatcher,fs.FSWatcher=vol.FSWatcher,fs.WriteStream=vol.WriteStream,fs.ReadStream=vol.ReadStream,fs.promises=vol.promises,fs._toUnixTimestamp=volume_1.toUnixTimestamp,fs}exports.createFsFromVolume=createFsFromVolume,exports.fs=createFsFromVolume(exports.vol),module.exports=__assign(__assign({},module.exports),exports.fs),module.exports.semantic=!0},3534:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(55872);exports.Buffer=buffer_1.Buffer;function bufferV0P12Ponyfill(arg0){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];return new(buffer_1.Buffer.bind.apply(buffer_1.Buffer,__spreadArrays([void 0,arg0],args)))}var bufferAllocUnsafe=buffer_1.Buffer.allocUnsafe||bufferV0P12Ponyfill;exports.bufferAllocUnsafe=bufferAllocUnsafe;var bufferFrom=buffer_1.Buffer.from||bufferV0P12Ponyfill;exports.bufferFrom=bufferFrom},78761:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var assert=__webpack_require__(48049),util=__webpack_require__(93585),kCode=typeof Symbol>"u"?"_kCode":Symbol("code"),messages={};function makeNodeError(Base){return function(_super){__extends(NodeError,_super);function NodeError(key){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];var _this=_super.call(this,message(key,args))||this;return _this.code=key,_this[kCode]=key,_this.name=_super.prototype.name+" ["+_this[kCode]+"]",_this}return NodeError}(Base)}var AssertionError=function(_super){__extends(AssertionError2,_super);function AssertionError2(options){var _this=this;if(typeof options!="object"||options===null)throw new exports.TypeError("ERR_INVALID_ARG_TYPE","options","object");return options.message?_this=_super.call(this,options.message)||this:_this=_super.call(this,util.inspect(options.actual).slice(0,128)+" "+(options.operator+" "+util.inspect(options.expected).slice(0,128)))||this,_this.generatedMessage=!options.message,_this.name="AssertionError [ERR_ASSERTION]",_this.code="ERR_ASSERTION",_this.actual=options.actual,_this.expected=options.expected,_this.operator=options.operator,exports.Error.captureStackTrace(_this,options.stackStartFunction),_this}return AssertionError2}(__webpack_require__.g.Error);exports.AssertionError=AssertionError;function message(key,args){assert.strictEqual(typeof key,"string");var msg=messages[key];assert(msg,"An invalid error message key was used: "+key+".");var fmt;if(typeof msg=="function")fmt=msg;else{if(fmt=util.format,args===void 0||args.length===0)return msg;args.unshift(msg)}return String(fmt.apply(null,args))}exports.message=message;function E(sym,val){messages[sym]=typeof val=="function"?val:String(val)}exports.E=E,exports.Error=makeNodeError(__webpack_require__.g.Error),exports.TypeError=makeNodeError(__webpack_require__.g.TypeError),exports.RangeError=makeNodeError(__webpack_require__.g.RangeError),E("ERR_ARG_NOT_ITERABLE","%s must be iterable"),E("ERR_ASSERTION","%s"),E("ERR_BUFFER_OUT_OF_BOUNDS",bufferOutOfBounds),E("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),E("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),E("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),E("ERR_DNS_SET_SERVERS_FAILED",function(err,servers){return'c-ares failed to set servers: "'+err+'" ['+servers+"]"}),E("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),E("ERR_ENCODING_NOT_SUPPORTED",function(enc){return'The "'+enc+'" encoding is not supported'}),E("ERR_ENCODING_INVALID_ENCODED_DATA",function(enc){return"The encoded data was not valid for encoding "+enc}),E("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),E("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),E("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),E("ERR_INDEX_OUT_OF_RANGE","Index out of range"),E("ERR_INVALID_ARG_TYPE",invalidArgType),E("ERR_INVALID_ARRAY_LENGTH",function(name,len,actual){return assert.strictEqual(typeof actual,"number"),'The array "'+name+'" (length '+actual+") must be of length "+len+"."}),E("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),E("ERR_INVALID_CALLBACK","Callback must be a function"),E("ERR_INVALID_CHAR","Invalid character in %s"),E("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),E("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),E("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),E("ERR_INVALID_FILE_URL_PATH","File URL path %s"),E("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),E("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),E("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+String(value)+'" is invalid for option "'+name+'"'}),E("ERR_INVALID_OPT_VALUE_ENCODING",function(value){return'The value "'+String(value)+'" is invalid for option "encoding"'}),E("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),E("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),E("ERR_INVALID_THIS",'Value of "this" must be of type %s'),E("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),E("ERR_INVALID_URL","Invalid URL: %s"),E("ERR_INVALID_URL_SCHEME",function(expected){return"The URL must be "+oneOf(expected,"scheme")}),E("ERR_IPC_CHANNEL_CLOSED","Channel closed"),E("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),E("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),E("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),E("ERR_MISSING_ARGS",missingArgs),E("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),E("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),E("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),E("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),E("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),E("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),E("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),E("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),E("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),E("ERR_SOCKET_CANNOT_SEND","Unable to send data"),E("ERR_SOCKET_CLOSED","Socket is closed"),E("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),E("ERR_STDERR_CLOSE","process.stderr cannot be closed"),E("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),E("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),E("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),E("ERR_TLS_DH_PARAM_SIZE",function(size){return"DH parameter size "+size+" is less than 2048"}),E("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),E("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),E("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),E("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),E("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),E("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),E("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),E("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),E("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),E("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl");function invalidArgType(name,expected,actual){assert(name,"name is required");var determiner;expected.includes("not ")?(determiner="must not be",expected=expected.split("not ")[1]):determiner="must be";var msg;if(Array.isArray(name)){var names=name.map(function(val){return'"'+val+'"'}).join(", ");msg="The "+names+" arguments "+determiner+" "+oneOf(expected,"type")}else if(name.includes(" argument"))msg="The "+name+" "+determiner+" "+oneOf(expected,"type");else{var type=name.includes(".")?"property":"argument";msg='The "'+name+'" '+type+" "+determiner+" "+oneOf(expected,"type")}return arguments.length>=3&&(msg+=". Received type "+(actual!==null?typeof actual:"null")),msg}function missingArgs(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map(function(a){return'"'+a+'"'}),len){case 1:msg+=args[0]+" argument";break;case 2:msg+=args[0]+" and "+args[1]+" arguments";break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and "+args[len-1]+" arguments";break}return msg+" must be specified"}function oneOf(expected,thing){if(assert(expected,"expected is required"),assert(typeof thing=="string","thing is required"),Array.isArray(expected)){var len=expected.length;return assert(len>0,"At least one expected value needs to be specified"),expected=expected.map(function(i){return String(i)}),len>2?"one of "+thing+" "+expected.slice(0,len-1).join(", ")+", or "+expected[len-1]:len===2?"one of "+thing+" "+expected[0]+" or "+expected[1]:"of "+thing+" "+expected[0]}else return"of "+thing+" "+String(expected)}function bufferOutOfBounds(name,isWriting){return isWriting?"Attempt to write outside buffer bounds":'"'+name+'" is outside of buffer bounds'}},97695:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var process_1=__webpack_require__(59951),buffer_1=__webpack_require__(3534),constants_1=__webpack_require__(56579),events_1=__webpack_require__(27379),Stats_1=__webpack_require__(45166),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,O_APPEND=constants_1.constants.O_APPEND;exports.SEP="/";var Node2=function(_super){__extends(Node3,_super);function Node3(ino,perm){perm===void 0&&(perm=438);var _this=_super.call(this)||this;return _this.uid=process_1.default.getuid(),_this.gid=process_1.default.getgid(),_this.atime=new Date,_this.mtime=new Date,_this.ctime=new Date,_this.perm=438,_this.mode=S_IFREG,_this.nlink=1,_this.perm=perm,_this.mode|=perm,_this.ino=ino,_this}return Node3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.getBuffer().toString(encoding)},Node3.prototype.setString=function(str){this.buf=buffer_1.bufferFrom(str,"utf8"),this.touch()},Node3.prototype.getBuffer=function(){return this.buf||this.setBuffer(buffer_1.bufferAllocUnsafe(0)),buffer_1.bufferFrom(this.buf)},Node3.prototype.setBuffer=function(buf){this.buf=buffer_1.bufferFrom(buf),this.touch()},Node3.prototype.getSize=function(){return this.buf?this.buf.length:0},Node3.prototype.setModeProperty=function(property){this.mode=this.mode&~S_IFMT|property},Node3.prototype.setIsFile=function(){this.setModeProperty(S_IFREG)},Node3.prototype.setIsDirectory=function(){this.setModeProperty(S_IFDIR)},Node3.prototype.setIsSymlink=function(){this.setModeProperty(S_IFLNK)},Node3.prototype.isFile=function(){return(this.mode&S_IFMT)===S_IFREG},Node3.prototype.isDirectory=function(){return(this.mode&S_IFMT)===S_IFDIR},Node3.prototype.isSymlink=function(){return(this.mode&S_IFMT)===S_IFLNK},Node3.prototype.makeSymlink=function(steps){this.symlink=steps,this.setIsSymlink()},Node3.prototype.write=function(buf,off,len,pos){if(off===void 0&&(off=0),len===void 0&&(len=buf.length),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),pos+len>this.buf.length){var newBuf=buffer_1.bufferAllocUnsafe(pos+len);this.buf.copy(newBuf,0,0,this.buf.length),this.buf=newBuf}return buf.copy(this.buf,pos,off,off+len),this.touch(),len},Node3.prototype.read=function(buf,off,len,pos){off===void 0&&(off=0),len===void 0&&(len=buf.byteLength),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0));var actualLen=len;return actualLen>buf.byteLength&&(actualLen=buf.byteLength),actualLen+pos>this.buf.length&&(actualLen=this.buf.length-pos),this.buf.copy(buf,off,pos,pos+actualLen),actualLen},Node3.prototype.truncate=function(len){if(len===void 0&&(len=0),!len)this.buf=buffer_1.bufferAllocUnsafe(0);else if(this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),len<=this.buf.length)this.buf=this.buf.slice(0,len);else{var buf=buffer_1.bufferAllocUnsafe(0);this.buf.copy(buf),buf.fill(0,len)}this.touch()},Node3.prototype.chmod=function(perm){this.perm=perm,this.mode=this.mode&-512|perm,this.touch()},Node3.prototype.chown=function(uid,gid){this.uid=uid,this.gid=gid,this.touch()},Node3.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},Node3.prototype.canRead=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&4||gid===this.gid&&this.perm&32||uid===this.uid&&this.perm&256)},Node3.prototype.canWrite=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&2||gid===this.gid&&this.perm&16||uid===this.uid&&this.perm&128)},Node3.prototype.del=function(){this.emit("delete",this)},Node3.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},Node3}(events_1.EventEmitter);exports.Node=Node2;var Link=function(_super){__extends(Link2,_super);function Link2(vol,parent,name){var _this=_super.call(this)||this;return _this.children={},_this.steps=[],_this.ino=0,_this.length=0,_this.vol=vol,_this.parent=parent,_this.steps=parent?parent.steps.concat([name]):[name],_this}return Link2.prototype.setNode=function(node){this.node=node,this.ino=node.ino},Link2.prototype.getNode=function(){return this.node},Link2.prototype.createChild=function(name,node){node===void 0&&(node=this.vol.createNode());var link=new Link2(this.vol,this,name);return link.setNode(node),node.isDirectory(),this.setChild(name,link),link},Link2.prototype.setChild=function(name,link){return link===void 0&&(link=new Link2(this.vol,this,name)),this.children[name]=link,link.parent=this,this.length++,this.emit("child:add",link,this),link},Link2.prototype.deleteChild=function(link){delete this.children[link.getName()],this.length--,this.emit("child:delete",link,this)},Link2.prototype.getChild=function(name){if(Object.hasOwnProperty.call(this.children,name))return this.children[name]},Link2.prototype.getPath=function(){return this.steps.join(exports.SEP)},Link2.prototype.getName=function(){return this.steps[this.steps.length-1]},Link2.prototype.walk=function(steps,stop,i){if(stop===void 0&&(stop=steps.length),i===void 0&&(i=0),i>=steps.length)return this;if(i>=stop)return this;var step=steps[i],link=this.getChild(step);return link?link.walk(steps,stop,i+1):null},Link2.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},Link2}(events_1.EventEmitter);exports.Link=Link;var File2=function(){function File3(link,node,flags,fd){this.position=0,this.link=link,this.node=node,this.flags=flags,this.fd=fd}return File3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.node.getString()},File3.prototype.setString=function(str){this.node.setString(str)},File3.prototype.getBuffer=function(){return this.node.getBuffer()},File3.prototype.setBuffer=function(buf){this.node.setBuffer(buf)},File3.prototype.getSize=function(){return this.node.getSize()},File3.prototype.truncate=function(len){this.node.truncate(len)},File3.prototype.seekTo=function(position){this.position=position},File3.prototype.stats=function(){return Stats_1.default.build(this.node)},File3.prototype.write=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.length),typeof position!="number"&&(position=this.position),this.flags&O_APPEND&&(position=this.getSize());var bytes=this.node.write(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.read=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.byteLength),typeof position!="number"&&(position=this.position);var bytes=this.node.read(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.chmod=function(perm){this.node.chmod(perm)},File3.prototype.chown=function(uid,gid){this.node.chown(uid,gid)},File3}();exports.File=File2},59951:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);Object.defineProperty(exports,"__esModule",{value:!0});var maybeReturnProcess=function(){if(typeof process<"u")return process;try{return __webpack_require__(14224)}catch{return}};function createProcess(){var p=maybeReturnProcess()||{};return p.getuid||(p.getuid=function(){return 0}),p.getgid||(p.getgid=function(){return 0}),p.cwd||(p.cwd=function(){return"/"}),p.nextTick||(p.nextTick=__webpack_require__(1663).default),p.emitWarning||(p.emitWarning=function(message,type){console.warn(""+type+(type?": ":"")+message)}),p.env||(p.env={}),p}exports.createProcess=createProcess,exports.default=createProcess()},31958:function(__unused_webpack_module,exports){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});function promisify(vol,fn,getResult){return getResult===void 0&&(getResult=function(input){return input}),function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return new Promise(function(resolve,reject){vol[fn].bind(vol).apply(void 0,__spreadArrays(args,[function(error,result){return error?reject(error):resolve(getResult(result))}]))})}}var FileHandle=function(){function FileHandle2(vol,fd){this.vol=vol,this.fd=fd}return FileHandle2.prototype.appendFile=function(data,options){return promisify(this.vol,"appendFile")(this.fd,data,options)},FileHandle2.prototype.chmod=function(mode){return promisify(this.vol,"fchmod")(this.fd,mode)},FileHandle2.prototype.chown=function(uid,gid){return promisify(this.vol,"fchown")(this.fd,uid,gid)},FileHandle2.prototype.close=function(){return promisify(this.vol,"close")(this.fd)},FileHandle2.prototype.datasync=function(){return promisify(this.vol,"fdatasync")(this.fd)},FileHandle2.prototype.read=function(buffer,offset,length,position){return promisify(this.vol,"read",function(bytesRead){return{bytesRead,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.readFile=function(options){return promisify(this.vol,"readFile")(this.fd,options)},FileHandle2.prototype.stat=function(options){return promisify(this.vol,"fstat")(this.fd,options)},FileHandle2.prototype.sync=function(){return promisify(this.vol,"fsync")(this.fd)},FileHandle2.prototype.truncate=function(len){return promisify(this.vol,"ftruncate")(this.fd,len)},FileHandle2.prototype.utimes=function(atime,mtime){return promisify(this.vol,"futimes")(this.fd,atime,mtime)},FileHandle2.prototype.write=function(buffer,offset,length,position){return promisify(this.vol,"write",function(bytesWritten){return{bytesWritten,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.writeFile=function(data,options){return promisify(this.vol,"writeFile")(this.fd,data,options)},FileHandle2}();exports.FileHandle=FileHandle;function createPromisesApi(vol){return typeof Promise>"u"?null:{FileHandle,access:function(path,mode){return promisify(vol,"access")(path,mode)},appendFile:function(path,data,options){return promisify(vol,"appendFile")(path instanceof FileHandle?path.fd:path,data,options)},chmod:function(path,mode){return promisify(vol,"chmod")(path,mode)},chown:function(path,uid,gid){return promisify(vol,"chown")(path,uid,gid)},copyFile:function(src,dest,flags){return promisify(vol,"copyFile")(src,dest,flags)},lchmod:function(path,mode){return promisify(vol,"lchmod")(path,mode)},lchown:function(path,uid,gid){return promisify(vol,"lchown")(path,uid,gid)},link:function(existingPath,newPath){return promisify(vol,"link")(existingPath,newPath)},lstat:function(path,options){return promisify(vol,"lstat")(path,options)},mkdir:function(path,options){return promisify(vol,"mkdir")(path,options)},mkdtemp:function(prefix,options){return promisify(vol,"mkdtemp")(prefix,options)},open:function(path,flags,mode){return promisify(vol,"open",function(fd){return new FileHandle(vol,fd)})(path,flags,mode)},readdir:function(path,options){return promisify(vol,"readdir")(path,options)},readFile:function(id,options){return promisify(vol,"readFile")(id instanceof FileHandle?id.fd:id,options)},readlink:function(path,options){return promisify(vol,"readlink")(path,options)},realpath:function(path,options){return promisify(vol,"realpath")(path,options)},rename:function(oldPath,newPath){return promisify(vol,"rename")(oldPath,newPath)},rmdir:function(path){return promisify(vol,"rmdir")(path)},stat:function(path,options){return promisify(vol,"stat")(path,options)},symlink:function(target,path,type){return promisify(vol,"symlink")(target,path,type)},truncate:function(path,len){return promisify(vol,"truncate")(path,len)},unlink:function(path){return promisify(vol,"unlink")(path)},utimes:function(path,atime,mtime){return promisify(vol,"utimes")(path,atime,mtime)},writeFile:function(id,data,options){return promisify(vol,"writeFile")(id instanceof FileHandle?id.fd:id,data,options)}}}exports.default=createPromisesApi},1663:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _setImmediate;typeof setImmediate=="function"?_setImmediate=setImmediate.bind(__webpack_require__.g):_setImmediate=setTimeout.bind(__webpack_require__.g),exports.default=_setImmediate},1785:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function setTimeoutUnref(callback,time,args){var ref=setTimeout.apply(null,arguments);return ref&&typeof ref=="object"&&typeof ref.unref=="function"&&ref.unref(),ref}exports.default=setTimeoutUnref},57965:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}(),__spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var pathModule=__webpack_require__(62005),node_1=__webpack_require__(97695),Stats_1=__webpack_require__(45166),Dirent_1=__webpack_require__(61896),buffer_1=__webpack_require__(3534),setImmediate_1=__webpack_require__(1663),process_1=__webpack_require__(59951),setTimeoutUnref_1=__webpack_require__(1785),stream_1=__webpack_require__(76835),constants_1=__webpack_require__(56579),events_1=__webpack_require__(27379),encoding_1=__webpack_require__(69215),errors=__webpack_require__(78761),extend=__webpack_require__(47697).l,util=__webpack_require__(93585),promises_1=__webpack_require__(31958),resolveCrossPlatform=pathModule.resolve,O_RDONLY=constants_1.constants.O_RDONLY,O_WRONLY=constants_1.constants.O_WRONLY,O_RDWR=constants_1.constants.O_RDWR,O_CREAT=constants_1.constants.O_CREAT,O_EXCL=constants_1.constants.O_EXCL,O_TRUNC=constants_1.constants.O_TRUNC,O_APPEND=constants_1.constants.O_APPEND,O_SYNC=constants_1.constants.O_SYNC,F_OK=constants_1.constants.F_OK,COPYFILE_EXCL=constants_1.constants.COPYFILE_EXCL,COPYFILE_FICLONE_FORCE=constants_1.constants.COPYFILE_FICLONE_FORCE,sep,relative;if(pathModule.posix){var posix=pathModule.posix;sep=posix.sep,relative=posix.relative}else sep=pathModule.sep,relative=pathModule.relative;var isWin=process_1.default.platform==="win32",kMinPoolSpace=128,ERRSTR={PATH_STR:"path must be a string or Buffer",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"},ERRSTR_OPTS=function(tipeof){return"Expected options to be either an object or a string, but got "+tipeof+" instead"},ENOENT="ENOENT",EBADF="EBADF",EINVAL="EINVAL",EPERM="EPERM",EPROTO="EPROTO",EEXIST="EEXIST",ENOTDIR="ENOTDIR",EMFILE="EMFILE",EACCES="EACCES",EISDIR="EISDIR",ENOTEMPTY="ENOTEMPTY",ENOSYS="ENOSYS";function formatError(errorCode,func,path,path2){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2="");var pathFormatted="";switch(path&&(pathFormatted=" '"+path+"'"),path2&&(pathFormatted+=" -> '"+path2+"'"),errorCode){case ENOENT:return"ENOENT: no such file or directory, "+func+pathFormatted;case EBADF:return"EBADF: bad file descriptor, "+func+pathFormatted;case EINVAL:return"EINVAL: invalid argument, "+func+pathFormatted;case EPERM:return"EPERM: operation not permitted, "+func+pathFormatted;case EPROTO:return"EPROTO: protocol error, "+func+pathFormatted;case EEXIST:return"EEXIST: file already exists, "+func+pathFormatted;case ENOTDIR:return"ENOTDIR: not a directory, "+func+pathFormatted;case EISDIR:return"EISDIR: illegal operation on a directory, "+func+pathFormatted;case EACCES:return"EACCES: permission denied, "+func+pathFormatted;case ENOTEMPTY:return"ENOTEMPTY: directory not empty, "+func+pathFormatted;case EMFILE:return"EMFILE: too many open files, "+func+pathFormatted;case ENOSYS:return"ENOSYS: function not implemented, "+func+pathFormatted;default:return errorCode+": error occurred, "+func+pathFormatted}}function createError(errorCode,func,path,path2,Constructor){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2=""),Constructor===void 0&&(Constructor=Error);var error=new Constructor(formatError(errorCode,func,path,path2));return error.code=errorCode,error}var FLAGS;(function(FLAGS2){FLAGS2[FLAGS2.r=O_RDONLY]="r",FLAGS2[FLAGS2["r+"]=O_RDWR]="r+",FLAGS2[FLAGS2.rs=O_RDONLY|O_SYNC]="rs",FLAGS2[FLAGS2.sr=FLAGS2.rs]="sr",FLAGS2[FLAGS2["rs+"]=O_RDWR|O_SYNC]="rs+",FLAGS2[FLAGS2["sr+"]=FLAGS2["rs+"]]="sr+",FLAGS2[FLAGS2.w=O_WRONLY|O_CREAT|O_TRUNC]="w",FLAGS2[FLAGS2.wx=O_WRONLY|O_CREAT|O_TRUNC|O_EXCL]="wx",FLAGS2[FLAGS2.xw=FLAGS2.wx]="xw",FLAGS2[FLAGS2["w+"]=O_RDWR|O_CREAT|O_TRUNC]="w+",FLAGS2[FLAGS2["wx+"]=O_RDWR|O_CREAT|O_TRUNC|O_EXCL]="wx+",FLAGS2[FLAGS2["xw+"]=FLAGS2["wx+"]]="xw+",FLAGS2[FLAGS2.a=O_WRONLY|O_APPEND|O_CREAT]="a",FLAGS2[FLAGS2.ax=O_WRONLY|O_APPEND|O_CREAT|O_EXCL]="ax",FLAGS2[FLAGS2.xa=FLAGS2.ax]="xa",FLAGS2[FLAGS2["a+"]=O_RDWR|O_APPEND|O_CREAT]="a+",FLAGS2[FLAGS2["ax+"]=O_RDWR|O_APPEND|O_CREAT|O_EXCL]="ax+",FLAGS2[FLAGS2["xa+"]=FLAGS2["ax+"]]="xa+"})(FLAGS=exports.FLAGS||(exports.FLAGS={}));function flagsToNumber(flags){if(typeof flags=="number")return flags;if(typeof flags=="string"){var flagsNum=FLAGS[flags];if(typeof flagsNum<"u")return flagsNum}throw new errors.TypeError("ERR_INVALID_OPT_VALUE","flags",flags)}exports.flagsToNumber=flagsToNumber;function getOptions(defaults,options){var opts;if(options){var tipeof=typeof options;switch(tipeof){case"string":opts=extend({},defaults,{encoding:options});break;case"object":opts=extend({},defaults,options);break;default:throw TypeError(ERRSTR_OPTS(tipeof))}}else return defaults;return opts.encoding!=="buffer"&&encoding_1.assertEncoding(opts.encoding),opts}function optsGenerator(defaults){return function(options){return getOptions(defaults,options)}}function validateCallback(callback){if(typeof callback!="function")throw TypeError(ERRSTR.CB);return callback}function optsAndCbGenerator(getOpts){return function(options,callback){return typeof options=="function"?[getOpts(),options]:[getOpts(options),validateCallback(callback)]}}var optsDefaults={encoding:"utf8"},getDefaultOpts=optsGenerator(optsDefaults),getDefaultOptsAndCb=optsAndCbGenerator(getDefaultOpts),readFileOptsDefaults={flag:"r"},getReadFileOptions=optsGenerator(readFileOptsDefaults),writeFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.w]},getWriteFileOptions=optsGenerator(writeFileDefaults),appendFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.a]},getAppendFileOpts=optsGenerator(appendFileDefaults),getAppendFileOptsAndCb=optsAndCbGenerator(getAppendFileOpts),realpathDefaults=optsDefaults,getRealpathOptions=optsGenerator(realpathDefaults),getRealpathOptsAndCb=optsAndCbGenerator(getRealpathOptions),mkdirDefaults={mode:511,recursive:!1},getMkdirOptions=function(options){return typeof options=="number"?extend({},mkdirDefaults,{mode:options}):extend({},mkdirDefaults,options)},rmdirDefaults={recursive:!1},getRmdirOptions=function(options){return extend({},rmdirDefaults,options)},readdirDefaults={encoding:"utf8",withFileTypes:!1},getReaddirOptions=optsGenerator(readdirDefaults),getReaddirOptsAndCb=optsAndCbGenerator(getReaddirOptions),statDefaults={bigint:!1},getStatOptions=function(options){return options===void 0&&(options={}),extend({},statDefaults,options)},getStatOptsAndCb=function(options,callback){return typeof options=="function"?[getStatOptions(),options]:[getStatOptions(options),validateCallback(callback)]};function getPathFromURLPosix(url){if(url.hostname!=="")throw new errors.TypeError("ERR_INVALID_FILE_URL_HOST",process_1.default.platform);for(var pathname=url.pathname,n=0;n<pathname.length;n++)if(pathname[n]==="%"){var third=pathname.codePointAt(n+2)|32;if(pathname[n+1]==="2"&&third===102)throw new errors.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(pathname)}function pathToFilename(path){if(typeof path!="string"&&!buffer_1.Buffer.isBuffer(path)){try{if(!(path instanceof __webpack_require__(64442).URL))throw new TypeError(ERRSTR.PATH_STR)}catch{throw new TypeError(ERRSTR.PATH_STR)}path=getPathFromURLPosix(path)}var pathString=String(path);return nullCheck(pathString),pathString}exports.pathToFilename=pathToFilename;var resolve=function(filename,base){return base===void 0&&(base=process_1.default.cwd()),resolveCrossPlatform(base,filename)};if(isWin){var _resolve_1=resolve,unixify_1=__webpack_require__(37414).Z4;resolve=function(filename,base){return unixify_1(_resolve_1(filename,base))}}function filenameToSteps(filename,base){var fullPath=resolve(filename,base),fullPathSansSlash=fullPath.substr(1);return fullPathSansSlash?fullPathSansSlash.split(sep):[]}exports.filenameToSteps=filenameToSteps;function pathToSteps(path){return filenameToSteps(pathToFilename(path))}exports.pathToSteps=pathToSteps;function dataToStr(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data.toString(encoding):data instanceof Uint8Array?buffer_1.bufferFrom(data).toString(encoding):String(data)}exports.dataToStr=dataToStr;function dataToBuffer(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data:data instanceof Uint8Array?buffer_1.bufferFrom(data):buffer_1.bufferFrom(String(data),encoding)}exports.dataToBuffer=dataToBuffer;function bufferToEncoding(buffer,encoding){return!encoding||encoding==="buffer"?buffer:buffer.toString(encoding)}exports.bufferToEncoding=bufferToEncoding;function nullCheck(path,callback){if((""+path).indexOf("\0")!==-1){var er=new Error("Path must be a string without null bytes");if(er.code=ENOENT,typeof callback!="function")throw er;return process_1.default.nextTick(callback,er),!1}return!0}function _modeToNumber(mode,def){if(typeof mode=="number")return mode;if(typeof mode=="string")return parseInt(mode,8);if(def)return modeToNumber(def)}function modeToNumber(mode,def){var result=_modeToNumber(mode,def);if(typeof result!="number"||isNaN(result))throw new TypeError(ERRSTR.MODE_INT);return result}function isFd(path){return path>>>0===path}function validateFd(fd){if(!isFd(fd))throw TypeError(ERRSTR.FD)}function toUnixTimestamp(time){if(typeof time=="string"&&+time==time)return+time;if(time instanceof Date)return time.getTime()/1e3;if(isFinite(time))return time<0?Date.now()/1e3:time;throw new Error("Cannot parse time: "+time)}exports.toUnixTimestamp=toUnixTimestamp;function validateUid(uid){if(typeof uid!="number")throw TypeError(ERRSTR.UID)}function validateGid(gid){if(typeof gid!="number")throw TypeError(ERRSTR.GID)}var Volume=function(){function Volume2(props){props===void 0&&(props={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=promises_1.default(this),this.statWatchers={},this.props=extend({Node:node_1.Node,Link:node_1.Link,File:node_1.File},props);var root=this.createLink();root.setNode(this.createNode(!0));var self2=this;this.StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(){return _super.call(this,self2)||this}return StatWatcher2}(StatWatcher);var _ReadStream=FsReadStream;this.ReadStream=function(_super){__extends(class_1,_super);function class_1(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_1}(_ReadStream);var _WriteStream=FsWriteStream;this.WriteStream=function(_super){__extends(class_2,_super);function class_2(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_2}(_WriteStream),this.FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(){return _super.call(this,self2)||this}return FSWatcher2}(FSWatcher),this.root=root}return Volume2.fromJSON=function(json,cwd){var vol=new Volume2;return vol.fromJSON(json,cwd),vol},Object.defineProperty(Volume2.prototype,"promises",{get:function(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!0,configurable:!0}),Volume2.prototype.createLink=function(parent,name,isDirectory,perm){if(isDirectory===void 0&&(isDirectory=!1),!parent)return new this.props.Link(this,null,"");if(!name)throw new Error("createLink: name cannot be empty");return parent.createChild(name,this.createNode(isDirectory,perm))},Volume2.prototype.deleteLink=function(link){var parent=link.parent;return parent?(parent.deleteChild(link),!0):!1},Volume2.prototype.newInoNumber=function(){var releasedFd=this.releasedInos.pop();return releasedFd||(this.ino=(this.ino+1)%4294967295,this.ino)},Volume2.prototype.newFdNumber=function(){var releasedFd=this.releasedFds.pop();return typeof releasedFd=="number"?releasedFd:Volume2.fd--},Volume2.prototype.createNode=function(isDirectory,perm){isDirectory===void 0&&(isDirectory=!1);var node=new this.props.Node(this.newInoNumber(),perm);return isDirectory&&node.setIsDirectory(),this.inodes[node.ino]=node,node},Volume2.prototype.getNode=function(ino){return this.inodes[ino]},Volume2.prototype.deleteNode=function(node){node.del(),delete this.inodes[node.ino],this.releasedInos.push(node.ino)},Volume2.prototype.genRndStr=function(){var str=(Math.random()+1).toString(36).substr(2,6);return str.length===6?str:this.genRndStr()},Volume2.prototype.getLink=function(steps){return this.root.walk(steps)},Volume2.prototype.getLinkOrThrow=function(filename,funcName){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.getResolvedLink=function(filenameOrSteps){for(var steps=typeof filenameOrSteps=="string"?filenameToSteps(filenameOrSteps):filenameOrSteps,link=this.root,i=0;i<steps.length;){var step=steps[i];if(link=link.getChild(step),!link)return null;var node=link.getNode();if(node.isSymlink()){steps=node.symlink.concat(steps.slice(i+1)),link=this.root,i=0;continue}i++}return link},Volume2.prototype.getResolvedLinkOrThrow=function(filename,funcName){var link=this.getResolvedLink(filename);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.resolveSymlinks=function(link){return this.getResolvedLink(link.steps.slice(1))},Volume2.prototype.getLinkAsDirOrThrow=function(filename,funcName){var link=this.getLinkOrThrow(filename,funcName);if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,filename);return link},Volume2.prototype.getLinkParent=function(steps){return this.root.walk(steps,steps.length-1)},Volume2.prototype.getLinkParentAsDirOrThrow=function(filenameOrSteps,funcName){var steps=filenameOrSteps instanceof Array?filenameOrSteps:filenameToSteps(filenameOrSteps),link=this.getLinkParent(steps);if(!link)throw createError(ENOENT,funcName,sep+steps.join(sep));if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,sep+steps.join(sep));return link},Volume2.prototype.getFileByFd=function(fd){return this.fds[String(fd)]},Volume2.prototype.getFileByFdOrThrow=function(fd,funcName){if(!isFd(fd))throw TypeError(ERRSTR.FD);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,funcName);return file},Volume2.prototype.getNodeByIdOrCreate=function(id,flags,perm){if(typeof id=="number"){var file=this.getFileByFd(id);if(!file)throw Error("File nto found");return file.node}else{var steps=pathToSteps(id),link=this.getLink(steps);if(link)return link.getNode();if(flags&O_CREAT){var dirLink=this.getLinkParent(steps);if(dirLink){var name_1=steps[steps.length-1];return link=this.createLink(dirLink,name_1,!1,perm),link.getNode()}}throw createError(ENOENT,"getNodeByIdOrCreate",pathToFilename(id))}},Volume2.prototype.wrapAsync=function(method,args,callback){var _this=this;validateCallback(callback),setImmediate_1.default(function(){try{callback(null,method.apply(_this,args))}catch(err){callback(err)}})},Volume2.prototype._toJSON=function(link,json,path){var _a;link===void 0&&(link=this.root),json===void 0&&(json={});var isEmpty=!0,children=link.children;link.getNode().isFile()&&(children=(_a={},_a[link.getName()]=link.parent.getChild(link.getName()),_a),link=link.parent);for(var name_2 in children){isEmpty=!1;var child=link.getChild(name_2);if(!child)throw new Error("_toJSON: unexpected undefined");var node=child.getNode();if(node.isFile()){var filename=child.getPath();path&&(filename=relative(path,filename)),json[filename]=node.getString()}else node.isDirectory()&&this._toJSON(child,json,path)}var dirPath=link.getPath();return path&&(dirPath=relative(path,dirPath)),dirPath&&isEmpty&&(json[dirPath]=null),json},Volume2.prototype.toJSON=function(paths,json,isRelative){json===void 0&&(json={}),isRelative===void 0&&(isRelative=!1);var links=[];if(paths){paths instanceof Array||(paths=[paths]);for(var _i=0,paths_1=paths;_i<paths_1.length;_i++){var path=paths_1[_i],filename=pathToFilename(path),link=this.getResolvedLink(filename);!link||links.push(link)}}else links.push(this.root);if(!links.length)return json;for(var _a=0,links_1=links;_a<links_1.length;_a++){var link=links_1[_a];this._toJSON(link,json,isRelative?link.getPath():"")}return json},Volume2.prototype.fromJSON=function(json,cwd){cwd===void 0&&(cwd=process_1.default.cwd());for(var filename in json){var data=json[filename];if(typeof data=="string"){filename=resolve(filename,cwd);var steps=filenameToSteps(filename);if(steps.length>1){var dirname=sep+steps.slice(0,steps.length-1).join(sep);this.mkdirpBase(dirname,511)}this.writeFileSync(filename,data)}else this.mkdirpBase(filename,511)}},Volume2.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},Volume2.prototype.mountSync=function(mountpoint,json){this.fromJSON(json,mountpoint)},Volume2.prototype.openLink=function(link,flagsNum,resolveSymlinks){if(resolveSymlinks===void 0&&(resolveSymlinks=!0),this.openFiles>=this.maxFiles)throw createError(EMFILE,"open",link.getPath());var realLink=link;if(resolveSymlinks&&(realLink=this.resolveSymlinks(link)),!realLink)throw createError(ENOENT,"open",link.getPath());var node=realLink.getNode();if(node.isDirectory()&&flagsNum!==FLAGS.r)throw createError(EISDIR,"open",link.getPath());if(!(flagsNum&O_WRONLY)&&!node.canRead())throw createError(EACCES,"open",link.getPath());flagsNum&O_RDWR;var file=new this.props.File(link,node,flagsNum,this.newFdNumber());return this.fds[file.fd]=file,this.openFiles++,flagsNum&O_TRUNC&&file.truncate(),file},Volume2.prototype.openFile=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var steps=filenameToSteps(filename),link=resolveSymlinks?this.getResolvedLink(steps):this.getLink(steps);if(!link&&flagsNum&O_CREAT){var dirLink=this.getResolvedLink(steps.slice(0,steps.length-1));if(!dirLink)throw createError(ENOENT,"open",sep+steps.join(sep));flagsNum&O_CREAT&&typeof modeNum=="number"&&(link=this.createLink(dirLink,steps[steps.length-1],!1,modeNum))}if(link)return this.openLink(link,flagsNum,resolveSymlinks);throw createError(ENOENT,"open",filename)},Volume2.prototype.openBase=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var file=this.openFile(filename,flagsNum,modeNum,resolveSymlinks);if(!file)throw createError(ENOENT,"open",filename);return file.fd},Volume2.prototype.openSync=function(path,flags,mode){mode===void 0&&(mode=438);var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);return this.openBase(fileName,flagsNum,modeNum)},Volume2.prototype.open=function(path,flags,a,b){var mode=a,callback=b;typeof a=="function"&&(mode=438,callback=a),mode=mode||438;var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);this.wrapAsync(this.openBase,[fileName,flagsNum,modeNum],callback)},Volume2.prototype.closeFile=function(file){!this.fds[file.fd]||(this.openFiles--,delete this.fds[file.fd],this.releasedFds.push(file.fd))},Volume2.prototype.closeSync=function(fd){validateFd(fd);var file=this.getFileByFdOrThrow(fd,"close");this.closeFile(file)},Volume2.prototype.close=function(fd,callback){validateFd(fd),this.wrapAsync(this.closeSync,[fd],callback)},Volume2.prototype.openFileOrGetById=function(id,flagsNum,modeNum){if(typeof id=="number"){var file=this.fds[id];if(!file)throw createError(ENOENT);return file}else return this.openFile(pathToFilename(id),flagsNum,modeNum)},Volume2.prototype.readBase=function(fd,buffer,offset,length,position){var file=this.getFileByFdOrThrow(fd);return file.read(buffer,Number(offset),Number(length),position)},Volume2.prototype.readSync=function(fd,buffer,offset,length,position){return validateFd(fd),this.readBase(fd,buffer,offset,length,position)},Volume2.prototype.read=function(fd,buffer,offset,length,position,callback){var _this=this;if(validateCallback(callback),length===0)return process_1.default.nextTick(function(){callback&&callback(null,0,buffer)});setImmediate_1.default(function(){try{var bytes=_this.readBase(fd,buffer,offset,length,position);callback(null,bytes,buffer)}catch(err){callback(err)}})},Volume2.prototype.readFileBase=function(id,flagsNum,encoding){var result,isUserFd=typeof id=="number",userOwnsFd=isUserFd&&isFd(id),fd;if(userOwnsFd)fd=id;else{var filename=pathToFilename(id),steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(link){var node=link.getNode();if(node.isDirectory())throw createError(EISDIR,"open",link.getPath())}fd=this.openSync(id,flagsNum)}try{result=bufferToEncoding(this.getFileByFdOrThrow(fd).getBuffer(),encoding)}finally{userOwnsFd||this.closeSync(fd)}return result},Volume2.prototype.readFileSync=function(file,options){var opts=getReadFileOptions(options),flagsNum=flagsToNumber(opts.flag);return this.readFileBase(file,flagsNum,opts.encoding)},Volume2.prototype.readFile=function(id,a,b){var _a=optsAndCbGenerator(getReadFileOptions)(a,b),opts=_a[0],callback=_a[1],flagsNum=flagsToNumber(opts.flag);this.wrapAsync(this.readFileBase,[id,flagsNum,opts.encoding],callback)},Volume2.prototype.writeBase=function(fd,buf,offset,length,position){var file=this.getFileByFdOrThrow(fd,"write");return file.write(buf,offset,length,position)},Volume2.prototype.writeSync=function(fd,a,b,c,d){validateFd(fd);var encoding,offset,length,position,isBuffer=typeof a!="string";isBuffer?(offset=(b||0)|0,length=c,position=d):(position=b,encoding=c);var buf=dataToBuffer(a,encoding);return isBuffer?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length),this.writeBase(fd,buf,offset,length,position)},Volume2.prototype.write=function(fd,a,b,c,d,e){var _this=this;validateFd(fd);var offset,length,position,encoding,callback,tipa=typeof a,tipb=typeof b,tipc=typeof c,tipd=typeof d;tipa!=="string"?tipb==="function"?callback=b:tipc==="function"?(offset=b|0,callback=c):tipd==="function"?(offset=b|0,length=c,callback=d):(offset=b|0,length=c,position=d,callback=e):tipb==="function"?callback=b:tipc==="function"?(position=b,callback=c):tipd==="function"&&(position=b,encoding=c,callback=d);var buf=dataToBuffer(a,encoding);tipa!=="string"?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length);var cb=validateCallback(callback);setImmediate_1.default(function(){try{var bytes=_this.writeBase(fd,buf,offset,length,position);tipa!=="string"?cb(null,bytes,buf):cb(null,bytes,a)}catch(err){cb(err)}})},Volume2.prototype.writeFileBase=function(id,buf,flagsNum,modeNum){var isUserFd=typeof id=="number",fd;isUserFd?fd=id:fd=this.openBase(pathToFilename(id),flagsNum,modeNum);var offset=0,length=buf.length,position=flagsNum&O_APPEND?void 0:0;try{for(;length>0;){var written=this.writeSync(fd,buf,offset,length,position);offset+=written,length-=written,position!==void 0&&(position+=written)}}finally{isUserFd||this.closeSync(fd)}},Volume2.prototype.writeFileSync=function(id,data,options){var opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.writeFileBase(id,buf,flagsNum,modeNum)},Volume2.prototype.writeFile=function(id,data,a,b){var options=a,callback=b;typeof a=="function"&&(options=writeFileDefaults,callback=a);var cb=validateCallback(callback),opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.wrapAsync(this.writeFileBase,[id,buf,flagsNum,modeNum],cb)},Volume2.prototype.linkBase=function(filename1,filename2){var steps1=filenameToSteps(filename1),link1=this.getLink(steps1);if(!link1)throw createError(ENOENT,"link",filename1,filename2);var steps2=filenameToSteps(filename2),dir2=this.getLinkParent(steps2);if(!dir2)throw createError(ENOENT,"link",filename1,filename2);var name=steps2[steps2.length-1];if(dir2.getChild(name))throw createError(EEXIST,"link",filename1,filename2);var node=link1.getNode();node.nlink++,dir2.createChild(name,node)},Volume2.prototype.copyFileBase=function(src,dest,flags){var buf=this.readFileSync(src);if(flags&COPYFILE_EXCL&&this.existsSync(dest))throw createError(EEXIST,"copyFile",src,dest);if(flags&COPYFILE_FICLONE_FORCE)throw createError(ENOSYS,"copyFile",src,dest);this.writeFileBase(dest,buf,FLAGS.w,438)},Volume2.prototype.copyFileSync=function(src,dest,flags){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest);return this.copyFileBase(srcFilename,destFilename,(flags||0)|0)},Volume2.prototype.copyFile=function(src,dest,a,b){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest),flags,callback;typeof a=="function"?(flags=0,callback=a):(flags=a,callback=b),validateCallback(callback),this.wrapAsync(this.copyFileBase,[srcFilename,destFilename,flags],callback)},Volume2.prototype.linkSync=function(existingPath,newPath){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.linkBase(existingPathFilename,newPathFilename)},Volume2.prototype.link=function(existingPath,newPath,callback){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.linkBase,[existingPathFilename,newPathFilename],callback)},Volume2.prototype.unlinkBase=function(filename){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,"unlink",filename);if(link.length)throw Error("Dir not empty...");this.deleteLink(link);var node=link.getNode();node.nlink--,node.nlink<=0&&this.deleteNode(node)},Volume2.prototype.unlinkSync=function(path){var filename=pathToFilename(path);this.unlinkBase(filename)},Volume2.prototype.unlink=function(path,callback){var filename=pathToFilename(path);this.wrapAsync(this.unlinkBase,[filename],callback)},Volume2.prototype.symlinkBase=function(targetFilename,pathFilename){var pathSteps=filenameToSteps(pathFilename),dirLink=this.getLinkParent(pathSteps);if(!dirLink)throw createError(ENOENT,"symlink",targetFilename,pathFilename);var name=pathSteps[pathSteps.length-1];if(dirLink.getChild(name))throw createError(EEXIST,"symlink",targetFilename,pathFilename);var symlink=dirLink.createChild(name);return symlink.getNode().makeSymlink(filenameToSteps(targetFilename)),symlink},Volume2.prototype.symlinkSync=function(target,path,type){var targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.symlinkBase(targetFilename,pathFilename)},Volume2.prototype.symlink=function(target,path,a,b){var callback=validateCallback(typeof a=="function"?a:b),targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.wrapAsync(this.symlinkBase,[targetFilename,pathFilename],callback)},Volume2.prototype.realpathBase=function(filename,encoding){var steps=filenameToSteps(filename),realLink=this.getResolvedLink(steps);if(!realLink)throw createError(ENOENT,"realpath",filename);return encoding_1.strToEncoding(realLink.getPath(),encoding)},Volume2.prototype.realpathSync=function(path,options){return this.realpathBase(pathToFilename(path),getRealpathOptions(options).encoding)},Volume2.prototype.realpath=function(path,a,b){var _a=getRealpathOptsAndCb(a,b),opts=_a[0],callback=_a[1],pathFilename=pathToFilename(path);this.wrapAsync(this.realpathBase,[pathFilename,opts.encoding],callback)},Volume2.prototype.lstatBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"lstat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.lstatSync=function(path,options){return this.lstatBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.lstat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.lstatBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.statBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getResolvedLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"stat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.statSync=function(path,options){return this.statBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.stat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.statBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.fstatBase=function(fd,bigint){bigint===void 0&&(bigint=!1);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,"fstat");return Stats_1.default.build(file.node,bigint)},Volume2.prototype.fstatSync=function(fd,options){return this.fstatBase(fd,getStatOptions(options).bigint)},Volume2.prototype.fstat=function(fd,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.fstatBase,[fd,opts.bigint],callback)},Volume2.prototype.renameBase=function(oldPathFilename,newPathFilename){var link=this.getLink(filenameToSteps(oldPathFilename));if(!link)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var newPathSteps=filenameToSteps(newPathFilename),newPathDirLink=this.getLinkParent(newPathSteps);if(!newPathDirLink)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var oldLinkParent=link.parent;oldLinkParent&&oldLinkParent.deleteChild(link);var name=newPathSteps[newPathSteps.length-1];link.steps=__spreadArrays(newPathDirLink.steps,[name]),newPathDirLink.setChild(link.getName(),link)},Volume2.prototype.renameSync=function(oldPath,newPath){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.renameBase(oldPathFilename,newPathFilename)},Volume2.prototype.rename=function(oldPath,newPath,callback){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.renameBase,[oldPathFilename,newPathFilename],callback)},Volume2.prototype.existsBase=function(filename){return!!this.statBase(filename)},Volume2.prototype.existsSync=function(path){try{return this.existsBase(pathToFilename(path))}catch{return!1}},Volume2.prototype.exists=function(path,callback){var _this=this,filename=pathToFilename(path);if(typeof callback!="function")throw Error(ERRSTR.CB);setImmediate_1.default(function(){try{callback(_this.existsBase(filename))}catch{callback(!1)}})},Volume2.prototype.accessBase=function(filename,mode){var link=this.getLinkOrThrow(filename,"access")},Volume2.prototype.accessSync=function(path,mode){mode===void 0&&(mode=F_OK);var filename=pathToFilename(path);mode=mode|0,this.accessBase(filename,mode)},Volume2.prototype.access=function(path,a,b){var mode=F_OK,callback;typeof a!="function"?(mode=a|0,callback=validateCallback(b)):callback=a;var filename=pathToFilename(path);this.wrapAsync(this.accessBase,[filename,mode],callback)},Volume2.prototype.appendFileSync=function(id,data,options){options===void 0&&(options=appendFileDefaults);var opts=getAppendFileOpts(options);(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFileSync(id,data,opts)},Volume2.prototype.appendFile=function(id,data,a,b){var _a=getAppendFileOptsAndCb(a,b),opts=_a[0],callback=_a[1];(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFile(id,data,opts,callback)},Volume2.prototype.readdirBase=function(filename,options){var steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(!link)throw createError(ENOENT,"readdir",filename);var node=link.getNode();if(!node.isDirectory())throw createError(ENOTDIR,"scandir",filename);if(options.withFileTypes){var list_1=[];for(var name_3 in link.children){var child=link.getChild(name_3);!child||list_1.push(Dirent_1.default.build(child,options.encoding))}return!isWin&&options.encoding!=="buffer"&&list_1.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0}),list_1}var list=[];for(var name_4 in link.children)list.push(encoding_1.strToEncoding(name_4,options.encoding));return!isWin&&options.encoding!=="buffer"&&list.sort(),list},Volume2.prototype.readdirSync=function(path,options){var opts=getReaddirOptions(options),filename=pathToFilename(path);return this.readdirBase(filename,opts)},Volume2.prototype.readdir=function(path,a,b){var _a=getReaddirOptsAndCb(a,b),options=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readdirBase,[filename,options],callback)},Volume2.prototype.readlinkBase=function(filename,encoding){var link=this.getLinkOrThrow(filename,"readlink"),node=link.getNode();if(!node.isSymlink())throw createError(EINVAL,"readlink",filename);var str=sep+node.symlink.join(sep);return encoding_1.strToEncoding(str,encoding)},Volume2.prototype.readlinkSync=function(path,options){var opts=getDefaultOpts(options),filename=pathToFilename(path);return this.readlinkBase(filename,opts.encoding)},Volume2.prototype.readlink=function(path,a,b){var _a=getDefaultOptsAndCb(a,b),opts=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readlinkBase,[filename,opts.encoding],callback)},Volume2.prototype.fsyncBase=function(fd){this.getFileByFdOrThrow(fd,"fsync")},Volume2.prototype.fsyncSync=function(fd){this.fsyncBase(fd)},Volume2.prototype.fsync=function(fd,callback){this.wrapAsync(this.fsyncBase,[fd],callback)},Volume2.prototype.fdatasyncBase=function(fd){this.getFileByFdOrThrow(fd,"fdatasync")},Volume2.prototype.fdatasyncSync=function(fd){this.fdatasyncBase(fd)},Volume2.prototype.fdatasync=function(fd,callback){this.wrapAsync(this.fdatasyncBase,[fd],callback)},Volume2.prototype.ftruncateBase=function(fd,len){var file=this.getFileByFdOrThrow(fd,"ftruncate");file.truncate(len)},Volume2.prototype.ftruncateSync=function(fd,len){this.ftruncateBase(fd,len)},Volume2.prototype.ftruncate=function(fd,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);this.wrapAsync(this.ftruncateBase,[fd,len],callback)},Volume2.prototype.truncateBase=function(path,len){var fd=this.openSync(path,"r+");try{this.ftruncateSync(fd,len)}finally{this.closeSync(fd)}},Volume2.prototype.truncateSync=function(id,len){if(isFd(id))return this.ftruncateSync(id,len);this.truncateBase(id,len)},Volume2.prototype.truncate=function(id,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);if(isFd(id))return this.ftruncate(id,len,callback);this.wrapAsync(this.truncateBase,[id,len],callback)},Volume2.prototype.futimesBase=function(fd,atime,mtime){var file=this.getFileByFdOrThrow(fd,"futimes"),node=file.node;node.atime=new Date(atime*1e3),node.mtime=new Date(mtime*1e3)},Volume2.prototype.futimesSync=function(fd,atime,mtime){this.futimesBase(fd,toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.futimes=function(fd,atime,mtime,callback){this.wrapAsync(this.futimesBase,[fd,toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.utimesBase=function(filename,atime,mtime){var fd=this.openSync(filename,"r+");try{this.futimesBase(fd,atime,mtime)}finally{this.closeSync(fd)}},Volume2.prototype.utimesSync=function(path,atime,mtime){this.utimesBase(pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.utimes=function(path,atime,mtime,callback){this.wrapAsync(this.utimesBase,[pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.mkdirBase=function(filename,modeNum){var steps=filenameToSteps(filename);if(!steps.length)throw createError(EISDIR,"mkdir",filename);var dir=this.getLinkParentAsDirOrThrow(filename,"mkdir"),name=steps[steps.length-1];if(dir.getChild(name))throw createError(EEXIST,"mkdir",filename);dir.createChild(name,this.createNode(!0,modeNum))},Volume2.prototype.mkdirpBase=function(filename,modeNum){for(var steps=filenameToSteps(filename),link=this.root,i=0;i<steps.length;i++){var step=steps[i];if(!link.getNode().isDirectory())throw createError(ENOTDIR,"mkdir",link.getPath());var child=link.getChild(step);if(child)if(child.getNode().isDirectory())link=child;else throw createError(ENOTDIR,"mkdir",child.getPath());else link=link.createChild(step,this.createNode(!0,modeNum))}},Volume2.prototype.mkdirSync=function(path,options){var opts=getMkdirOptions(options),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.mkdirpBase(filename,modeNum):this.mkdirBase(filename,modeNum)},Volume2.prototype.mkdir=function(path,a,b){var opts=getMkdirOptions(a),callback=validateCallback(typeof a=="function"?a:b),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.wrapAsync(this.mkdirpBase,[filename,modeNum],callback):this.wrapAsync(this.mkdirBase,[filename,modeNum],callback)},Volume2.prototype.mkdirpSync=function(path,mode){this.mkdirSync(path,{mode,recursive:!0})},Volume2.prototype.mkdirp=function(path,a,b){var mode=typeof a=="function"?void 0:a,callback=validateCallback(typeof a=="function"?a:b);this.mkdir(path,{mode,recursive:!0},callback)},Volume2.prototype.mkdtempBase=function(prefix,encoding,retry){retry===void 0&&(retry=5);var filename=prefix+this.genRndStr();try{return this.mkdirBase(filename,511),encoding_1.strToEncoding(filename,encoding)}catch(err){if(err.code===EEXIST){if(retry>1)return this.mkdtempBase(prefix,encoding,retry-1);throw Error("Could not create temp dir.")}else throw err}},Volume2.prototype.mkdtempSync=function(prefix,options){var encoding=getDefaultOpts(options).encoding;if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");return nullCheck(prefix),this.mkdtempBase(prefix,encoding)},Volume2.prototype.mkdtemp=function(prefix,a,b){var _a=getDefaultOptsAndCb(a,b),encoding=_a[0].encoding,callback=_a[1];if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");!nullCheck(prefix)||this.wrapAsync(this.mkdtempBase,[prefix,encoding],callback)},Volume2.prototype.rmdirBase=function(filename,options){var opts=getRmdirOptions(options),link=this.getLinkAsDirOrThrow(filename,"rmdir");if(link.length&&!opts.recursive)throw createError(ENOTEMPTY,"rmdir",filename);this.deleteLink(link)},Volume2.prototype.rmdirSync=function(path,options){this.rmdirBase(pathToFilename(path),options)},Volume2.prototype.rmdir=function(path,a,b){var opts=getRmdirOptions(a),callback=validateCallback(typeof a=="function"?a:b);this.wrapAsync(this.rmdirBase,[pathToFilename(path),opts],callback)},Volume2.prototype.fchmodBase=function(fd,modeNum){var file=this.getFileByFdOrThrow(fd,"fchmod");file.chmod(modeNum)},Volume2.prototype.fchmodSync=function(fd,mode){this.fchmodBase(fd,modeToNumber(mode))},Volume2.prototype.fchmod=function(fd,mode,callback){this.wrapAsync(this.fchmodBase,[fd,modeToNumber(mode)],callback)},Volume2.prototype.chmodBase=function(filename,modeNum){var fd=this.openSync(filename,"r+");try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.chmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.chmodBase(filename,modeNum)},Volume2.prototype.chmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.chmodBase,[filename,modeNum],callback)},Volume2.prototype.lchmodBase=function(filename,modeNum){var fd=this.openBase(filename,O_RDWR,0,!1);try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.lchmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.lchmodBase(filename,modeNum)},Volume2.prototype.lchmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.lchmodBase,[filename,modeNum],callback)},Volume2.prototype.fchownBase=function(fd,uid,gid){this.getFileByFdOrThrow(fd,"fchown").chown(uid,gid)},Volume2.prototype.fchownSync=function(fd,uid,gid){validateUid(uid),validateGid(gid),this.fchownBase(fd,uid,gid)},Volume2.prototype.fchown=function(fd,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.fchownBase,[fd,uid,gid],callback)},Volume2.prototype.chownBase=function(filename,uid,gid){var link=this.getResolvedLinkOrThrow(filename,"chown"),node=link.getNode();node.chown(uid,gid)},Volume2.prototype.chownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.chownBase(pathToFilename(path),uid,gid)},Volume2.prototype.chown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.chownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.lchownBase=function(filename,uid,gid){this.getLinkOrThrow(filename,"lchown").getNode().chown(uid,gid)},Volume2.prototype.lchownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.lchownBase(pathToFilename(path),uid,gid)},Volume2.prototype.lchown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.lchownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.watchFile=function(path,a,b){var filename=pathToFilename(path),options=a,listener=b;if(typeof options=="function"&&(listener=a,options=null),typeof listener!="function")throw Error('"watchFile()" requires a listener function');var interval=5007,persistent=!0;options&&typeof options=="object"&&(typeof options.interval=="number"&&(interval=options.interval),typeof options.persistent=="boolean"&&(persistent=options.persistent));var watcher=this.statWatchers[filename];return watcher||(watcher=new this.StatWatcher,watcher.start(filename,persistent,interval),this.statWatchers[filename]=watcher),watcher.addListener("change",listener),watcher},Volume2.prototype.unwatchFile=function(path,listener){var filename=pathToFilename(path),watcher=this.statWatchers[filename];!watcher||(typeof listener=="function"?watcher.removeListener("change",listener):watcher.removeAllListeners("change"),watcher.listenerCount("change")===0&&(watcher.stop(),delete this.statWatchers[filename]))},Volume2.prototype.createReadStream=function(path,options){return new this.ReadStream(path,options)},Volume2.prototype.createWriteStream=function(path,options){return new this.WriteStream(path,options)},Volume2.prototype.watch=function(path,options,listener){var filename=pathToFilename(path),givenOptions=options;typeof options=="function"&&(listener=options,givenOptions=null);var _a=getDefaultOpts(givenOptions),persistent=_a.persistent,recursive=_a.recursive,encoding=_a.encoding;persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1);var watcher=new this.FSWatcher;return watcher.start(filename,persistent,recursive,encoding),listener&&watcher.addListener("change",listener),watcher},Volume2.fd=2147483647,Volume2}();exports.Volume=Volume;function emitStop(self2){self2.emit("stop")}var StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(vol){var _this=_super.call(this)||this;return _this.onInterval=function(){try{var stats=_this.vol.statSync(_this.filename);_this.hasChanged(stats)&&(_this.emit("change",stats,_this.prev),_this.prev=stats)}finally{_this.loop()}},_this.vol=vol,_this}return StatWatcher2.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},StatWatcher2.prototype.hasChanged=function(stats){return stats.mtimeMs>this.prev.mtimeMs||stats.nlink!==this.prev.nlink},StatWatcher2.prototype.start=function(path,persistent,interval){persistent===void 0&&(persistent=!0),interval===void 0&&(interval=5007),this.filename=pathToFilename(path),this.setTimeout=persistent?setTimeout:setTimeoutUnref_1.default,this.interval=interval,this.prev=this.vol.statSync(this.filename),this.loop()},StatWatcher2.prototype.stop=function(){clearTimeout(this.timeoutRef),process_1.default.nextTick(emitStop,this)},StatWatcher2}(events_1.EventEmitter);exports.StatWatcher=StatWatcher;var pool;function allocNewPool(poolSize){pool=buffer_1.bufferAllocUnsafe(poolSize),pool.used=0}util.inherits(FsReadStream,stream_1.Readable),exports.ReadStream=FsReadStream;function FsReadStream(vol,path,options){if(!(this instanceof FsReadStream))return new FsReadStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),options.highWaterMark===void 0&&(options.highWaterMark=64*1024),stream_1.Readable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"r":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.end=options.end,this.autoClose=options.autoClose===void 0?!0:options.autoClose,this.pos=void 0,this.bytesRead=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}typeof this.fd!="number"&&this.open(),this.on("end",function(){this.autoClose&&this.destroy&&this.destroy()})}FsReadStream.prototype.open=function(){var self2=this;this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);return}self2.fd=fd,self2.emit("open",fd),self2.read()})},FsReadStream.prototype._read=function(n){if(typeof this.fd!="number")return this.once("open",function(){this._read(n)});if(this.destroyed)return;(!pool||pool.length-pool.used<kMinPoolSpace)&&allocNewPool(this._readableState.highWaterMark);var thisPool=pool,toRead=Math.min(pool.length-pool.used,n),start=pool.used;if(this.pos!==void 0&&(toRead=Math.min(this.end-this.pos+1,toRead)),toRead<=0)return this.push(null);var self2=this;this._vol.read(this.fd,pool,pool.used,toRead,this.pos,onread),this.pos!==void 0&&(this.pos+=toRead),pool.used+=toRead;function onread(er,bytesRead){if(er)self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);else{var b=null;bytesRead>0&&(self2.bytesRead+=bytesRead,b=thisPool.slice(start,start+bytesRead)),self2.push(b)}}},FsReadStream.prototype._destroy=function(err,cb){this.close(function(err2){cb(err||err2)})},FsReadStream.prototype.close=function(cb){var _this=this;if(cb&&this.once("close",cb),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",closeOnOpen);return}return process_1.default.nextTick(function(){return _this.emit("close")})}this.closed=!0,this._vol.close(this.fd,function(er){er?_this.emit("error",er):_this.emit("close")}),this.fd=null};function closeOnOpen(fd){this.close()}util.inherits(FsWriteStream,stream_1.Writable),exports.WriteStream=FsWriteStream;function FsWriteStream(vol,path,options){if(!(this instanceof FsWriteStream))return new FsWriteStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),stream_1.Writable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"w":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.autoClose=options.autoClose===void 0?!0:!!options.autoClose,this.pos=void 0,this.bytesWritten=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}options.encoding&&this.setDefaultEncoding(options.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}FsWriteStream.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",er);return}this.fd=fd,this.emit("open",fd)}.bind(this))},FsWriteStream.prototype._write=function(data,encoding,cb){if(!(data instanceof buffer_1.Buffer))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(data,encoding,cb)});var self2=this;this._vol.write(this.fd,data,0,data.length,this.pos,function(er,bytes){if(er)return self2.autoClose&&self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=data.length)},FsWriteStream.prototype._writev=function(data,cb){if(typeof this.fd!="number")return this.once("open",function(){this._writev(data,cb)});for(var self2=this,len=data.length,chunks=new Array(len),size=0,i=0;i<len;i++){var chunk=data[i].chunk;chunks[i]=chunk,size+=chunk.length}var buf=buffer_1.Buffer.concat(chunks);this._vol.write(this.fd,buf,0,buf.length,this.pos,function(er,bytes){if(er)return self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=size)},FsWriteStream.prototype._destroy=FsReadStream.prototype._destroy,FsWriteStream.prototype.close=FsReadStream.prototype.close,FsWriteStream.prototype.destroySoon=FsWriteStream.prototype.end;var FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(vol){var _this=_super.call(this)||this;return _this._filename="",_this._filenameEncoded="",_this._recursive=!1,_this._encoding=encoding_1.ENCODING_UTF8,_this._onNodeChange=function(){_this._emit("change")},_this._onParentChild=function(link){link.getName()===_this._getName()&&_this._emit("rename")},_this._emit=function(type){_this.emit("change",type,_this._filenameEncoded)},_this._persist=function(){_this._timer=setTimeout(_this._persist,1e6)},_this._vol=vol,_this}return FSWatcher2.prototype._getName=function(){return this._steps[this._steps.length-1]},FSWatcher2.prototype.start=function(path,persistent,recursive,encoding){persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1),encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),this._filename=pathToFilename(path),this._steps=filenameToSteps(this._filename),this._filenameEncoded=encoding_1.strToEncoding(this._filename),this._recursive=recursive,this._encoding=encoding;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(err){var error=new Error("watch "+this._filename+" "+err.code);throw error.code=err.code,error.errno=err.code,error}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var parent=this._link.parent;parent&&(parent.setMaxListeners(parent.getMaxListeners()+1),parent.on("child:delete",this._onParentChild)),persistent&&this._persist()},FSWatcher2.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var parent=this._link.parent;parent&&parent.removeListener("child:delete",this._onParentChild)},FSWatcher2}(events_1.EventEmitter);exports.FSWatcher=FSWatcher},83789:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__)},30829:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__)},29125:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__)},81518:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={row:"row_row__2DVeR"}},30795:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={low:"elevations_low__KWOUs",medium:"elevations_medium__1b7Vc",high:"elevations_high__3bcls"}},84713:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={low:"elevations_low__2Q70V",medium:"elevations_medium__2Ru6o",high:"elevations_high__2BM6h"}},74863:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={sharp:"roundness_sharp__qqMS3",default:"roundness_default__sjeJM",small:"roundness_small__3qiv4",medium:"roundness_medium__1IiFJ",circle:"roundness_circle__2J-GV"}},49611:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dotsLoader:"dots-loader_dotsLoader__2Pozd","scale-down":"dots-loader_scale-down__1YduD"}},51294:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={vanillaButton:"button_vanillaButton__2K-_L"}},4509:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={error:"error_error__2c-_x"}},6322:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={"colTemplate--xs-1":"grid-template_colTemplate--xs-1__1bmNI","colTemplate--sm-1":"grid-template_colTemplate--sm-1__VBYCs","colTemplate--md-1":"grid-template_colTemplate--md-1__PE7pT","colTemplate--l-1":"grid-template_colTemplate--l-1__29gyE","colTemplate--lg-1":"grid-template_colTemplate--lg-1__3DoGH","colTemplate--xl-1":"grid-template_colTemplate--xl-1__20pa3","colTemplate--all-1":"grid-template_colTemplate--all-1__3Uipc","colTemplate--xs-2":"grid-template_colTemplate--xs-2__3a7ep","colTemplate--sm-2":"grid-template_colTemplate--sm-2__24XtX","colTemplate--md-2":"grid-template_colTemplate--md-2__2xZUq","colTemplate--l-2":"grid-template_colTemplate--l-2__2N4v-","colTemplate--lg-2":"grid-template_colTemplate--lg-2__RrxZK","colTemplate--xl-2":"grid-template_colTemplate--xl-2__26hWJ","colTemplate--all-2":"grid-template_colTemplate--all-2__3JbVo","colTemplate--xs-3":"grid-template_colTemplate--xs-3__2E2B6","colTemplate--sm-3":"grid-template_colTemplate--sm-3__et6HA","colTemplate--md-3":"grid-template_colTemplate--md-3__12OEX","colTemplate--l-3":"grid-template_colTemplate--l-3__31JuT","colTemplate--lg-3":"grid-template_colTemplate--lg-3__xwt2H","colTemplate--xl-3":"grid-template_colTemplate--xl-3__2mWeT","colTemplate--all-3":"grid-template_colTemplate--all-3__BgQvg","colTemplate--xs-4":"grid-template_colTemplate--xs-4__1z7CT","colTemplate--sm-4":"grid-template_colTemplate--sm-4__1ACIx","colTemplate--md-4":"grid-template_colTemplate--md-4__1XxKH","colTemplate--l-4":"grid-template_colTemplate--l-4__3poVM","colTemplate--lg-4":"grid-template_colTemplate--lg-4__21vVf","colTemplate--xl-4":"grid-template_colTemplate--xl-4__2QA2R","colTemplate--all-4":"grid-template_colTemplate--all-4__1nzLz","colTemplate--xs-5":"grid-template_colTemplate--xs-5__1jsV3","colTemplate--sm-5":"grid-template_colTemplate--sm-5__22XuL","colTemplate--md-5":"grid-template_colTemplate--md-5__3ez8a","colTemplate--l-5":"grid-template_colTemplate--l-5__38wI6","colTemplate--lg-5":"grid-template_colTemplate--lg-5__2mYeR","colTemplate--xl-5":"grid-template_colTemplate--xl-5__GS7zN","colTemplate--all-5":"grid-template_colTemplate--all-5__3CBFs","colTemplate--xs-6":"grid-template_colTemplate--xs-6__sRH0F","colTemplate--sm-6":"grid-template_colTemplate--sm-6__nvSqH","colTemplate--md-6":"grid-template_colTemplate--md-6__2G-PK","colTemplate--l-6":"grid-template_colTemplate--l-6__3mPou","colTemplate--lg-6":"grid-template_colTemplate--lg-6__1ILTz","colTemplate--xl-6":"grid-template_colTemplate--xl-6__3KmCA","colTemplate--all-6":"grid-template_colTemplate--all-6__2KiMk","colTemplate--xs-7":"grid-template_colTemplate--xs-7__3-YoV","colTemplate--sm-7":"grid-template_colTemplate--sm-7__2GDTQ","colTemplate--md-7":"grid-template_colTemplate--md-7__q86EY","colTemplate--l-7":"grid-template_colTemplate--l-7__3E0w0","colTemplate--lg-7":"grid-template_colTemplate--lg-7__3Am2f","colTemplate--xl-7":"grid-template_colTemplate--xl-7__2DrJm","colTemplate--all-7":"grid-template_colTemplate--all-7__1nQB6","colTemplate--xs-8":"grid-template_colTemplate--xs-8__3GnTH","colTemplate--sm-8":"grid-template_colTemplate--sm-8__3WAZf","colTemplate--md-8":"grid-template_colTemplate--md-8__18pZq","colTemplate--l-8":"grid-template_colTemplate--l-8__wmiYo","colTemplate--lg-8":"grid-template_colTemplate--lg-8__201GM","colTemplate--xl-8":"grid-template_colTemplate--xl-8__9L6wk","colTemplate--all-8":"grid-template_colTemplate--all-8__3fAW6","colTemplate--xs-9":"grid-template_colTemplate--xs-9__3-2HO","colTemplate--sm-9":"grid-template_colTemplate--sm-9__1s23N","colTemplate--md-9":"grid-template_colTemplate--md-9__YhOJY","colTemplate--l-9":"grid-template_colTemplate--l-9__2DLd6","colTemplate--lg-9":"grid-template_colTemplate--lg-9__tEITN","colTemplate--xl-9":"grid-template_colTemplate--xl-9__2e9c_","colTemplate--all-9":"grid-template_colTemplate--all-9__3KgyU","colTemplate--xs-10":"grid-template_colTemplate--xs-10__wMXHc","colTemplate--sm-10":"grid-template_colTemplate--sm-10__827CH","colTemplate--md-10":"grid-template_colTemplate--md-10__2cIWZ","colTemplate--l-10":"grid-template_colTemplate--l-10__19GnH","colTemplate--lg-10":"grid-template_colTemplate--lg-10__yHBMv","colTemplate--xl-10":"grid-template_colTemplate--xl-10__3_XsD","colTemplate--all-10":"grid-template_colTemplate--all-10__1aK9M","colTemplate--xs-11":"grid-template_colTemplate--xs-11__1yC2F","colTemplate--sm-11":"grid-template_colTemplate--sm-11__3YVqp","colTemplate--md-11":"grid-template_colTemplate--md-11__3rur1","colTemplate--l-11":"grid-template_colTemplate--l-11__2UqN8","colTemplate--lg-11":"grid-template_colTemplate--lg-11__22tHV","colTemplate--xl-11":"grid-template_colTemplate--xl-11__297WT","colTemplate--all-11":"grid-template_colTemplate--all-11__23AYC","colTemplate--xs-12":"grid-template_colTemplate--xs-12__2uSOm","colTemplate--sm-12":"grid-template_colTemplate--sm-12__ifheG","colTemplate--md-12":"grid-template_colTemplate--md-12__33HXT","colTemplate--l-12":"grid-template_colTemplate--l-12__3Nzub","colTemplate--lg-12":"grid-template_colTemplate--lg-12__ZaZcI","colTemplate--xl-12":"grid-template_colTemplate--xl-12__1IdhS","colTemplate--all-12":"grid-template_colTemplate--all-12__11Mby"}},63707:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={gridContainer:"grid_gridContainer__Sd_U5"}},146:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={centerColumn:"page-frame_centerColumn__1ewD0",wideColumn:"page-frame_wideColumn__piV4O",textColumn:"page-frame_textColumn__ecQbL"}},48964:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={skeletonContent:"skeleton-design_skeletonContent__WVd3L",line:"skeleton-design_line__3Ctr5",word:"skeleton-design_word__1RgVx",shimmer:"skeleton-design_shimmer__3ibLc",skeleton:"skeleton-design_skeleton__mlV5I",block:"skeleton-design_block__1q8kb",circle:"skeleton-design_circle__3WCCW",placeHolderShimmer:"skeleton-design_placeHolderShimmer__g423G","skeleton-effect-fade":"skeleton-design_skeleton-effect-fade__2FcVU"}},59644:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={skeleton:"skeleton_skeleton__XLcB5",block:"skeleton_block__LnF7C",circle:"skeleton_circle__2R2zC",skeletonContent:"skeleton_skeletonContent__1ebTI",line:"skeleton_line__rq0jJ",word:"skeleton_word__3F6ok"}},52287:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={flexCenter:"flex-center_flexCenter__1oWAc"}},2024:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"abs-container_container__3DRE5",containee:"abs-container_containee__2YHXp"}},64262:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={displacement:"displacement_displacement__xZyVx"}},83450:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"positions_top__9QkuL","top-start":"positions_top-start__1Ydt3","top-end":"positions_top-end__PL3I7",right:"positions_right__1-d9C","right-start":"positions_right-start__3Ev9r","right-end":"positions_right-end__VQ6lo",bottom:"positions_bottom__1R7lM","bottom-start":"positions_bottom-start__1uHY3","bottom-end":"positions_bottom-end__3n8D5",left:"positions_left__1nG7t","left-start":"positions_left-start__11oaz","left-end":"positions_left-end__2sOa9",cover:"positions_cover__3-dyX"}},52614:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"abs-container_container__mj034",containee:"abs-container_containee__WARZP"}},32551:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={displacement:"displacement_displacement__2fioX"}},81174:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"positions_top__EIr1r","top-start":"positions_top-start__2yC4C","top-end":"positions_top-end__NMvDv",right:"positions_right__26tpo","right-start":"positions_right-start__1plW5","right-end":"positions_right-end__11Eag",bottom:"positions_bottom__3hfjU","bottom-start":"positions_bottom-start__1VMAE","bottom-end":"positions_bottom-end__30RsX",left:"positions_left___dgec","left-start":"positions_left-start__20AFS","left-end":"positions_left-end__2gq5I",cover:"positions_cover__1ps_D"}},42261:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bedrock:"background_bedrock__wVnY8",base:"background_base__q-x6A",layer:"background_layer__2w7_o",crust:"background_crust__2GeNv",topping:"background_topping__1a-EX",dent:"background_dent__3Vh0N"}},31314:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bedrock:"background_bedrock__2cXlF",base:"background_base__1MWFH",layer:"background_layer__3pJn0",crust:"background_crust__3cYuK",topping:"background_topping__3AVUv",dent:"background_dent__2pjbP"}},49528:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={card:"card_card__2bqnT"}},85085:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={placeholder:"drawer_placeholder__1zUrV"}},89781:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={placeholder:"drawer_placeholder__3hjya"}},81500:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={hoverSplitter:"splitter_hoverSplitter__ibs9P",highlighter:"splitter_highlighter__T6GwK"}},40966:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={pane:"pane_pane__veuA0"}},43214:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={splitPane:"split-pane_splitPane__3chvd",isDragging:"split-pane_isDragging__2amKx"}},1742:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={splitter:"splitter_splitter__1v8h5"}},61617:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mutedText:"muted-text_mutedText__3IB-P"}},24483:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"text-sizes_xxs__2_cl1",xs:"text-sizes_xs__25v-g",sm:"text-sizes_sm__2aucW",md:"text-sizes_md__15Bm3",lg:"text-sizes_lg__1h5i0",xl:"text-sizes_xl__J0cxN",xxl:"text-sizes_xxl__3A15I"}},49921:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={themedText:"themed-text_themedText__36zoW"}},45499:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={primary:"accent-color_primary__3PeiR",complementary:"accent-color_complementary__Blzf5",impulsive:"accent-color_impulsive__3e3SA",hungry:"accent-color_hungry__1LtFG",success:"accent-color_success__1gipq",process:"accent-color_process__296Ow",emphasized:"accent-color_emphasized__2dgsu",neutral:"accent-color_neutral__2gna2"}},67721:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={brands:"brand-definition_brands__11VLX"}},11826:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={primaryPalette:"color-definition_primaryPalette__2evGB"}},91945:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={darkMod:"dark-theme_darkMod__vMCPC"}},46116:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bookFont:"book-font_bookFont__3TEqD"}},76136:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={headingMargins:"heading-margin-definition_headingMargins__x3ZTG"}},10430:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={shadowTheme:"shadow-definition_shadowTheme__3O_aD"}},36450:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={headingFontSize:"size-definition_headingFontSize__kBO1L",textFontSize:"size-definition_textFontSize__3sn7s"}},16524:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={defaults:"texts_defaults__10H4N"}},41728:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={componentTitle:"component-overview_componentTitle__2CpD-",badgeContainer:"component-overview_badgeContainer__28vDw",subTitle:"component-overview_subTitle__aBgqK",titleRow:"component-overview_titleRow__2nacp",contentTabs:"component-overview_contentTabs__1i4VR",nav:"component-overview_nav__3dlBu",tab:"component-overview_tab__2slfM",copyBox:"component-overview_copyBox__roM7M",title:"component-overview_title__swwBl"}},13563:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={label:"version-label_label__1Ng5i",latest:"version-label_latest__1rRkY",current:"version-label_current__2rAp6",versionLabel:"version-label_versionLabel__3AsAM",emptyLabel:"version-label_emptyLabel__Y7g6c",labelContainer:"version-label_labelContainer__1_QHn"}},30224:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionCard:"composition-card_compositionCard__3zY6b",linkToComposition:"composition-card_linkToComposition__1ro2m",compositionContainer:"composition-card_compositionContainer__vqfxm",title:"composition-card_title__10_0-",compositionCardError:"composition-card_compositionCardError__3ig6y"}},32714:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionsMenuBar:"compositions-menu-bar_compositionsMenuBar__2hqhJ",spacer:"compositions-menu-bar_spacer__2dTyO"}},98709:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={background:"compositions-overview_background__1mR9g"}},22168:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonsHolder:"buttons-plugin_buttonsHolder__3k9m2",clearText:"buttons-plugin_clearText__1SLdd"}},82721:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dropdownPlaceholder:"dropdown_dropdownPlaceholder__28w8T",removePlaceholderBorder:"dropdown_removePlaceholderBorder__3AekH",dropdownMenu:"dropdown_dropdownMenu__13XfX"}},10013:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"menu-item_menuItem__P1JgV",withIcon:"menu-item_withIcon__2IgCl",active:"menu-item_active__ju5n7",interactive:"menu-item_interactive__1bSaJ"}},78393:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"menu-item_menuItem__1Oojd",withIcon:"menu-item_withIcon__1XejK",active:"menu-item_active__3z8s4",interactive:"menu-item_interactive__2cN28"}},84625:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={theme:"base-theme_theme__-K1MO"}},75206:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={circularFont:"circular-font_circularFont__3DWbw"}},19038:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={toggler:"theme-toggler_toggler__xm-Z8"}},65214:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={card:"alert-card_card__s03zo",heading:"alert-card_heading__17jBV",icon:"alert-card_icon__1uCuj",separator:"alert-card_separator__2TMLo"}},12941:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={defaultAvatarBgColor:"ededed",avatar:"styles_avatar__1sNF1",letter:"styles_letter__1dFwT",orgDefault:"styles_orgDefault__HGIf_",avatarImg:"styles_avatarImg__23No4",blob:"styles_blob__1en7n",soloAvatarIcon:"styles_soloAvatarIcon__2Vhtz",default:"styles_default__2aZB8"}},63885:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={notificationIcon:"level-icon_notificationIcon__1SprZ"}},98262:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={emptyCompositions:"empty-box_emptyCompositions__282Ca",innerBorder:"empty-box_innerBorder__1N_WY"}},46863:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={iconButton:"icon-button_iconButton__yOOf8",iconOnly:"icon-button_iconOnly__gYK42",active:"icon-button_active__3hwML",icon:"icon-button_icon__2SxvC",margin:"icon-button_margin__3Sbp7"}},16174:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonSizes:"sizes_buttonSizes__3wT8S"}},58014:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={iconButton:"icon-button_iconButton__1FjVM",iconOnly:"icon-button_iconOnly__1IHib",active:"icon-button_active__3GvbF",withIcon:"icon-button_withIcon__2HaGQ",withoutBorder:"icon-button_withoutBorder__do3AQ",margin:"icon-button_margin__39swR"}},83081:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonSizes:"sizes_buttonSizes__30qCg"}},65811:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={optionButton:"option-button_optionButton__2cNlj",active:"option-button_active__18Lhh"}},98161:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={pillLabel:"pill-label_pillLabel__3sda0"}},58230:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__1cu-N"}},60134:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={a:"letter-bg-colors_a__1bCAX",b:"letter-bg-colors_b__OzeP8",c:"letter-bg-colors_c__vzzSp",d:"letter-bg-colors_d__1Fe-5",e:"letter-bg-colors_e__1fRhW",f:"letter-bg-colors_f__3NnVq",g:"letter-bg-colors_g__2byGp",h:"letter-bg-colors_h__3vpLR",i:"letter-bg-colors_i__1h4Mc",j:"letter-bg-colors_j__3eLF_",k:"letter-bg-colors_k__2dISa",l:"letter-bg-colors_l__3wQSV",m:"letter-bg-colors_m__2ugOl",n:"letter-bg-colors_n__3lmBI",o:"letter-bg-colors_o__Bv1qR",p:"letter-bg-colors_p___JIfu",q:"letter-bg-colors_q__3va24",r:"letter-bg-colors_r__YN4go",s:"letter-bg-colors_s__LvKyb",t:"letter-bg-colors_t__144gx",u:"letter-bg-colors_u__3UCPK",v:"letter-bg-colors_v__Pje0Q",w:"letter-bg-colors_w__3f5I-",x:"letter-bg-colors_x__1uIhW",y:"letter-bg-colors_y__XfsVn",z:"letter-bg-colors_z__Kc019"}},25323:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={a:"letter-colors_a__3Ii_I",b:"letter-colors_b__1erjM",c:"letter-colors_c__8H76E",d:"letter-colors_d__5xdrS",e:"letter-colors_e__mz-8r",f:"letter-colors_f__2cdmc",g:"letter-colors_g__2Qj0v",h:"letter-colors_h__3Izci",i:"letter-colors_i__3FKtz",j:"letter-colors_j__1Y44L",k:"letter-colors_k__KocTw",l:"letter-colors_l__ltY5I",m:"letter-colors_m__DdUHo",n:"letter-colors_n__1LDA3",o:"letter-colors_o__3YqTt",p:"letter-colors_p__3DVOU",q:"letter-colors_q__UcNJ0",r:"letter-colors_r__22UwB",s:"letter-colors_s__rgBYv",t:"letter-colors_t__FZphQ",u:"letter-colors_u__2nUD-",v:"letter-colors_v__1LA9Q",w:"letter-colors_w__3JW59",x:"letter-colors_x__1FNP1",y:"letter-colors_y__F98aU",z:"letter-colors_z__3qGgy"}},96799:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ellipsis:"ellipsis_ellipsis__1KWX-",ellipsisDiv:"ellipsis_ellipsisDiv__2s1yg"}},6327:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"item_menuItem__2h_xL",icon:"item_icon__2g1SN",interactive:"item_interactive__2GFa6",active:"item_active__1jy5V"}},70245:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={messageCard:"message-card_messageCard__bzWej",icon:"message-card_icon__1LvEd",textBox:"message-card_textBox__3YBLn"}},88973:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={success:"status-message-card_success__3ynaH",failure:"status-message-card_failure__7o98S",pending:"status-message-card_pending__2O4Ra",processing:"status-message-card_processing__3kvRc",skipped:"status-message-card_skipped__2oILh",unknown:"status-message-card_unknown__2kTHl"}},42345:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dateTooltip:"time-ago_dateTooltip__2a4nl",dateTooltipContent:"time-ago_dateTooltipContent__3Cx2b"}},11430:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={}},78670:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={column:"react-playground_column__QfKnY",codePane:"react-playground_codePane__1VszT",previewPane:"react-playground_previewPane__3YLGR",error:"react-playground_error__3LDV-",row:"react-playground_row__2KEzr",editor:"react-playground_editor__Cx16x",splitter:"react-playground_splitter__em_1w",previewBox:"react-playground_previewBox__1RoB_",playground:"react-playground_playground__1UuQm"}},75719:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mdxLinkedHeading:"create-heading_mdxLinkedHeading__1-Ld_",mainHeadingStyles:"create-heading_mainHeadingStyles__3mn9H"}},82138:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={snippet:"snippet_snippet__13A6H"}},6921:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mdxContent:"mdx-layout_mdxContent__2ttPo"}},28416:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={link:"external-link_link__2noiz"}},62020:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={overrides:"global_overrides__3gxgV"}},11467:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={heading:"sizes_heading__YfJ7P"}},93293:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={anchor:"anchor_anchor__3k1Mh",anchorIcon:"anchor_anchorIcon__jhpLx"}},83578:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={anchor:"anchor_anchor__QCn-t",anchorIcon:"anchor_anchorIcon__3NY9U"}},9271:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={blockQuote:"block-quote_blockQuote__UQdFm"}},4742:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bold:"bold_bold__GjOPo"}},84965:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={snippetWrapper:"code-snippet_snippetWrapper__17TAF",copyIcon:"code-snippet_copyIcon__3Neoz",codeSnippet:"code-snippet_codeSnippet__12Sz9",copy:"code-snippet_copy__3Gu7H"}},15106:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={copiedMessage:"copied-message_copiedMessage__2hKeY",showMessage:"copied-message_showMessage__20uNy"}},72034:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__132vQ",xs:"heading-sizes_xs__KKpTT",sm:"heading-sizes_sm__P_L9J",md:"heading-sizes_md__3LAcS",lg:"heading-sizes_lg__Yue_z",xl:"heading-sizes_xl__2VQo2",xxl:"heading-sizes_xxl__12rxk"}},58862:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__10zE-",h2:"heading_h2__3rHwE",h3:"heading_h3__2Q4S-",h4:"heading_h4__3DmEH",h5:"heading_h5__qyqiW",h6:"heading_h6__8Y71h"}},40929:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__3hJtp",xs:"heading-sizes_xs__3W1x0",sm:"heading-sizes_sm__3nhIS",md:"heading-sizes_md__2mL4Y",lg:"heading-sizes_lg__RuRFj",xl:"heading-sizes_xl__1ctRT",xxl:"heading-sizes_xxl__3tKsf"}},61097:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__1uj6Q",h2:"heading_h2__1Ye-q",h3:"heading_h3__3QHN7",h4:"heading_h4__33x0l",h5:"heading_h5__1Ozn7",h6:"heading_h6__1Epkq"}},51132:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__3EgRC",xs:"heading-sizes_xs__2N4RG",sm:"heading-sizes_sm__2bp9b",md:"heading-sizes_md__izXun",lg:"heading-sizes_lg__2t_l5",xl:"heading-sizes_xl__1xEte",xxl:"heading-sizes_xxl__2Tpp5"}},31572:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__1hPjz",h2:"heading_h2__3X3iD",h3:"heading_h3__3onXg",h4:"heading_h4__1xpVF",h5:"heading_h5__11W3v",h6:"heading_h6__1bk4H"}},86438:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={img:"image_img__2Ioir"}},6237:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={inlineCode:"inline-code_inlineCode__2vWE7",highlight:"inline-code_highlight__7Gkep"}},18932:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={inlineCode:"inline-code_inlineCode__3htva",highlight:"inline-code_highlight__39Zjt"}},20288:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={italic:"italic_italic__2tKmJ"}},88627:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={labelList:"label-list_labelList__3Jz3r"}},79421:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={label:"label_label__WpSCK"}},44693:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkedHeading:"linked-heading_linkedHeading__3Ak5V",anchor:"linked-heading_anchor__3W1_K",heading:"linked-heading_heading__mFKzJ"}},49582:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkedHeading:"linked-heading_linkedHeading__3BJvr",anchor:"linked-heading_anchor__1unvN",heading:"linked-heading_heading__34Bob"}},16166:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ol:"ol_ol__1_Ii0"}},14458:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={paragraph:"paragraph_paragraph__3nnrz"}},78259:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={paragraph:"paragraph_paragraph__2ElIf"}},74482:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={section:"section_section__2OOTI",sectionMargin:"section_sectionMargin__2-E3q"}},89257:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__148vk"}},21104:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__18fdf"}},78385:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={subTitle:"sub-title_subTitle__3Hsyw"}},82595:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={sup:"sup_sup__1vISY"}},3647:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={table:"base-table_table__t2USR"}},81099:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={td:"td_td__2qJpk"}},8527:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tr:"tr_tr__1D5N1"}},28839:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ul:"ul_ul__16ZqE"}},41155:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={fadeInOut:"fade-in-out_fadeInOut__2tx3x"}},83919:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dropdown:"dropdown_dropdown__19OoL"}},63604:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"arrow-position_top__2UohA",bottom:"arrow-position_bottom__ksXRc",right:"arrow-position_right__2zirM",left:"arrow-position_left__2kcMD",cover:"arrow-position_cover__jK0qo",none:"arrow-position_none__RAlw_"}},20742:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"arrow-shadow_top__3Iy68","top-start":"arrow-shadow_top-start__GsGq9","top-end":"arrow-shadow_top-end__2AZ84",bottom:"arrow-shadow_bottom__SRh28","bottom-start":"arrow-shadow_bottom-start__3kVtj","bottom-end":"arrow-shadow_bottom-end__1HejS",right:"arrow-shadow_right__1ccHd","right-start":"arrow-shadow_right-start__1je4v","right-end":"arrow-shadow_right-end__3B4qL",left:"arrow-shadow_left__2ChhW","left-start":"arrow-shadow_left-start__32eSB","left-end":"arrow-shadow_left-end__TklIQ"}},41949:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={arrow:"arrow_arrow__r9zS3"}},40606:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menu:"tooltip-card_menu__3RzP2"}},3069:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tooltip:"tooltip-drawer_tooltip__2NfCZ",arrow:"tooltip-drawer_arrow__sErK4"}},177:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={link:"link_link__vvL__"}},86899:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"error-fallback_icon__1dp2S",message:"error-fallback_message__f1wRV",errorFallback:"error-fallback_errorFallback__2XuMq",enter:"error-fallback_enter__Yf58T"}},90372:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={keyCombo:"key_keyCombo__17vJb",keycap:"key_keycap__1nF_K",keySequence:"key_keySequence__1VSYP",thenSep:"key_thenSep__3makm"}},47402:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mainDropdown:"main-dropdown_mainDropdown__39wRq",menu:"main-dropdown_menu__D94FT",iconAnchor:"main-dropdown_iconAnchor__3kOgE",icon:"main-dropdown_icon__euv6z",menuBlock:"main-dropdown_menuBlock__2k6Mz",title:"main-dropdown_title__FGB-K",line:"main-dropdown_line__fYon2"}},4909:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"menu-widget-icon_icon__1rur6",widgetMenuIcon:"menu-widget-icon_widgetMenuIcon__2KF-q"}},91814:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={moreInfo:"bit-info_moreInfo__tZRLc"}},51001:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={link:"bottom-link_link__3ztbC"}},42485:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",menu:"dropdown_menu__8vavp",placeholder:"dropdown_placeholder__dQj0A",content:"dropdown_content__3xl2c"}},31408:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",container:"menu_container__3zMs0",top:"menu_top__ef3G5",title:"menu_title__2ElZV",drawer:"menu_drawer__2RnW5",tabs:"menu_tabs__AJKgk",registry:"menu_registry__3uBL-",importContent:"menu_importContent__2Vofh",bottom:"menu_bottom__3dV6T",disabled:"menu_disabled__1IeSs",warnIcon:"menu_warnIcon__1lG-b"}},40517:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={middle:"tab-content_middle__1jaz8",bottom:"tab-content_bottom__viJQl",drawer:"tab-content_drawer__2deiQ",open:"tab-content_open__3SHSg"}},3115:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tab:"tab_tab__2HwlX",active:"tab_active__2DKwg"}},509:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",collapser:"collapser-button_collapser__1piJs",open:"collapser-button_open__1zi2L",circle:"collapser-button_circle__UxM9T",right:"collapser-button_right__2Mzcc",left:"collapser-button_left__31y_2"}},97473:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"lane-info_versionRow__2QqYo",versionTimestamp:"lane-info_versionTimestamp__3NFtf",versionUserAvatar:"lane-info_versionUserAvatar__11pEr",laneIcon:"lane-info_laneIcon__1uIme",version:"lane-info_version__3jRq1",versionName:"lane-info_versionName__3sjf4"}},42465:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={simple:"version-dropdown-placeholder_simple__1AInb",detailed:"version-dropdown-placeholder_detailed__GCIi4",disabled:"version-dropdown-placeholder_disabled__DTdFJ",versionName:"version-dropdown-placeholder_versionName__33zsq",commitMessage:"version-dropdown-placeholder_commitMessage__3GZjN",versionUserAvatar:"version-dropdown-placeholder_versionUserAvatar__1cxCO",loader:"version-dropdown-placeholder_loader__34C-Z"}},48510:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",versionDropdown:"version-dropdown_versionDropdown__2ZrOj",menu:"version-dropdown_menu__12zC1",title:"version-dropdown_title__lMQLy",titleContainer:"version-dropdown_titleContainer__1Cysn",versionContainerRoot:"version-dropdown_versionContainerRoot__2wINU",versionRow:"version-dropdown_versionRow__1zfjg",localVersion:"version-dropdown_localVersion__2BJ_V",versionTimestamp:"version-dropdown_versionTimestamp__2Tpkv",versionUserAvatar:"version-dropdown_versionUserAvatar__2NAV3",laneIcon:"version-dropdown_laneIcon__3GjLH",version:"version-dropdown_version__3UoBK",versionName:"version-dropdown_versionName__1tIqb",withVersions:"version-dropdown_withVersions__GV3yL",tabs:"version-dropdown_tabs__19t7f",tab:"version-dropdown_tab__3fY-4",loading:"version-dropdown_loading__BWFT3",loader:"version-dropdown_loader__kqI-G",versionMenuContainer:"version-dropdown_versionMenuContainer__3dukT",hide:"version-dropdown_hide__3D-l-"}},61578:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"version-info_versionRow__62Skf",versionTimestamp:"version-info_versionTimestamp__1wN-C",versionUserAvatar:"version-info_versionUserAvatar__1ojBx",laneIcon:"version-info_laneIcon__1qQc1",version:"version-info_version__3YI4M",versionName:"version-info_versionName__3E44f",commitMessage:"version-info_commitMessage__3_AFQ",emptyMessage:"version-info_emptyMessage__1sVZj"}},17971:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"component_container__2Ez57"}},34424:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBar:"menu_topBar__13zJm",leftSide:"menu_leftSide__3RABC",navigation:"menu_navigation__2tYOc",desktopNav:"menu_desktopNav__14shR",mobileNav:"menu_mobileNav__3dnRA",rightSide:"menu_rightSide__1vaLp",widget:"menu_widget__3RnZI",useBox:"menu_useBox__3Fr2W",componentVersionMenu:"menu_componentVersionMenu__vtSJw",tab:"menu_tab__2wu-R",topBarNav:"menu_topBarNav__2t463",noBorder:"menu_noBorder__1STII",hideOnMobile:"menu_hideOnMobile__1EtwC"}},69895:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBarLink:"top-bar-nav_topBarLink__f3sRB",active:"top-bar-nav_active__qOCot"}},4821:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionCardSkeleton:"composition-card-skeleton_compositionCardSkeleton__1ukRF",preview:"composition-card-skeleton_preview__2wTwB",block:"composition-card-skeleton_block__3xlFR",bottom:"composition-card-skeleton_bottom__2W4Tw"}},93353:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionPreview:"composition-card_compositionPreview__tCaW6",compositionCard:"composition-card_compositionCard__3Xi6P",icon:"composition-card_icon__Fujug",previewOverlay:"composition-card_previewOverlay__2YwTe",bottom:"composition-card_bottom__322TV",displayName:"composition-card_displayName__3jWYA",link:"composition-card_link__2aTnV"}},20301:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",compositionsPage:"compositions_compositionsPage__2DNbI",compositionPreview:"compositions_compositionPreview__2nOnk",left:"compositions_left__2zLGp",right:"compositions_right__13Q0N",menuBar:"compositions_menuBar__2PU7e",splitter:"compositions_splitter__tCJBw",collapser:"compositions_collapser__2ime2",tabsContainer:"compositions_tabsContainer__3fjBf",tabs:"compositions_tabs__3-8sm",tabContent:"compositions_tabContent__1A6PM",compositions:"compositions_compositions__2u6Wt",openInNewTab:"compositions_openInNewTab__3wGDU",noCompositionsPage:"compositions_noCompositionsPage__2LNR7",title:"compositions_title__1z9Eq",separator:"compositions_separator__1FeFU",buildStatusMessage:"compositions_buildStatusMessage__D9yLd",compositionPanel:"compositions_compositionPanel__-mXkv"}},94765:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkWrapper:"compositions-panel_linkWrapper__ritHb",right:"compositions-panel_right__1ni21",icon:"compositions-panel_icon__200mC",active:"compositions-panel_active__WzR03",box:"compositions-panel_box__3fh5y",codeLink:"compositions-panel_codeLink__2_QfJ",name:"compositions-panel_name__1-eDo",panelLink:"compositions-panel_panelLink__2njWK",tabs:"compositions-panel_tabs__25En1"}},30587:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionGallerySkeleton:"composition-gallery-skeleton_compositionGallerySkeleton__jebLw",title:"composition-gallery-skeleton_title__3gqVP",compositionGalleryGrid:"composition-gallery-skeleton_compositionGalleryGrid__3B7VJ"}},37597:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={carousel:"composition-gallery_carousel__3LAQE",compositionGalleryCard:"composition-gallery_compositionGalleryCard__3NsV2",title:"composition-gallery_title__2_h6o",compositionGallery:"composition-gallery_compositionGallery__2a38E",preview:"composition-gallery_preview__2JyWN"}},84690:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={overviewWrapper:"overview_overviewWrapper__3HMWK",componentOverviewBlock:"overview_componentOverviewBlock__r7j_z",title:"overview_title__1zJLo",legacyPreview:"overview_legacyPreview__2H1lj",compositions:"overview_compositions__1o9tf",readme:"overview_readme__24sXY",readmeSkeleton:"overview_readmeSkeleton__1bZB6",block:"overview_block__2Jjjy",overviewPropsTable:"overview_overviewPropsTable__3BcIx"}},46365:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={preview:"preview_preview__pDl1x"}},27143:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tabContainer:"tabs_tabContainer__3QgQ8",tab:"tabs_tab__HApJa",disabled:"tabs_disabled__cl2Rr",active:"tabs_active__3S4tK"}},72154:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"lane-info_versionRow__1ALU1",versionTimestamp:"lane-info_versionTimestamp__2BmOW",versionUserAvatar:"lane-info_versionUserAvatar__3gd_r",laneIcon:"lane-info_laneIcon__mdCcY",version:"lane-info_version__Q2Rmg",versionName:"lane-info_versionName__1Rjli"}},97276:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={simple:"version-dropdown-placeholder_simple__TwjFa",detailed:"version-dropdown-placeholder_detailed__3GVrd",disabled:"version-dropdown-placeholder_disabled__1TpJK",versionName:"version-dropdown-placeholder_versionName__NFtt9",commitMessage:"version-dropdown-placeholder_commitMessage__1-G6n",versionUserAvatar:"version-dropdown-placeholder_versionUserAvatar__2M3Z2",loader:"version-dropdown-placeholder_loader__2TTe1"}},40926:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",versionDropdown:"version-dropdown_versionDropdown__26zMI",menu:"version-dropdown_menu__3gzq4",title:"version-dropdown_title__3hQ6s",titleContainer:"version-dropdown_titleContainer__3HByT",versionContainerRoot:"version-dropdown_versionContainerRoot__3qX9w",versionRow:"version-dropdown_versionRow__33k0f",localVersion:"version-dropdown_localVersion__1_Kj1",versionTimestamp:"version-dropdown_versionTimestamp__2slIn",versionUserAvatar:"version-dropdown_versionUserAvatar__28p6g",laneIcon:"version-dropdown_laneIcon__3wXox",version:"version-dropdown_version__32b-4",versionName:"version-dropdown_versionName__1MBcM",withVersions:"version-dropdown_withVersions__3soV6",tabs:"version-dropdown_tabs__2kYKG",tab:"version-dropdown_tab__3dSKy",loading:"version-dropdown_loading__VHpGU",loader:"version-dropdown_loader__3s76A",versionMenuContainer:"version-dropdown_versionMenuContainer__2KM1E",hide:"version-dropdown_hide__2llxh"}},63432:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"version-info_versionRow__sk5Vp",versionTimestamp:"version-info_versionTimestamp__m888-",versionUserAvatar:"version-info_versionUserAvatar__l37Sw",laneIcon:"version-info_laneIcon__2hi5u",version:"version-info_version__2P46N",versionName:"version-info_versionName__1u2vs",commitMessage:"version-info_commitMessage__21dib",emptyMessage:"version-info_emptyMessage__1gMR5"}},52076:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"component_container__wKARi"}},4195:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBar:"menu_topBar__1zVDB",leftSide:"menu_leftSide__2QCN9",navigation:"menu_navigation__2VobK",desktopNav:"menu_desktopNav__3ueBm",mobileNav:"menu_mobileNav__2jp2R",rightSide:"menu_rightSide__NGGSx",widget:"menu_widget__2le2h",useBox:"menu_useBox__2ibV5",componentVersionMenu:"menu_componentVersionMenu__1nAMz",tab:"menu_tab__313mY",topBarNav:"menu_topBarNav__3RUac",noBorder:"menu_noBorder__Jr9_p",hideOnMobile:"menu_hideOnMobile__1DK_k"}},23201:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBarLink:"top-bar-nav_topBarLink__2Mg-_",active:"top-bar-nav_active__-Swyn"}},73941:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionCardSkeleton:"composition-card-skeleton_compositionCardSkeleton__2lkvU",preview:"composition-card-skeleton_preview__2liLH",block:"composition-card-skeleton_block__Z6FZE",bottom:"composition-card-skeleton_bottom__1tO_1"}},73441:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionPreview:"composition-card_compositionPreview__3TVxb",compositionCard:"composition-card_compositionCard__3sHyv",icon:"composition-card_icon__1H-Ib",previewOverlay:"composition-card_previewOverlay__1AMju",bottom:"composition-card_bottom__1OcNv",displayName:"composition-card_displayName__1We1l",link:"composition-card_link__234ph"}},74391:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionGallerySkeleton:"composition-gallery-skeleton_compositionGallerySkeleton__1FO9x",title:"composition-gallery-skeleton_title__3dsTo",compositionGalleryGrid:"composition-gallery-skeleton_compositionGalleryGrid__LJakn"}},39811:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={carousel:"composition-gallery_carousel__36_gL",compositionGalleryCard:"composition-gallery_compositionGalleryCard__18Ued",title:"composition-gallery_title__3uNKe",compositionGallery:"composition-gallery_compositionGallery__3cKqD",preview:"composition-gallery_preview__2DrfB"}},14026:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",compositionsPage:"compositions_compositionsPage__2XIGE",compositionPreview:"compositions_compositionPreview__2pQD_",left:"compositions_left__1yoSj",right:"compositions_right__1OzrT",menuBar:"compositions_menuBar__1owlG",splitter:"compositions_splitter__2cJan",collapser:"compositions_collapser__3bIFa",tabsContainer:"compositions_tabsContainer__3HLzI",tabs:"compositions_tabs__2tiBY",tabContent:"compositions_tabContent__2Cklv",compositions:"compositions_compositions__3lEI2",openInNewTab:"compositions_openInNewTab__24wPr",noCompositionsPage:"compositions_noCompositionsPage__3q5mS",title:"compositions_title__1mv6f",separator:"compositions_separator__KJxPc",buildStatusMessage:"compositions_buildStatusMessage__X2Qik",compositionPanel:"compositions_compositionPanel__3rdng"}},77416:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkWrapper:"compositions-panel_linkWrapper__-mm5p",right:"compositions-panel_right__8a-pK",icon:"compositions-panel_icon__2Neha",active:"compositions-panel_active__2_9Nv",box:"compositions-panel_box__37jb9",codeLink:"compositions-panel_codeLink__1J8dt",name:"compositions-panel_name__8GKMN",panelLink:"compositions-panel_panelLink__2iHHl",tabs:"compositions-panel_tabs__qjxZP"}},58742:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={overviewWrapper:"overview_overviewWrapper__1l3gU",componentOverviewBlock:"overview_componentOverviewBlock__1_2hV",title:"overview_title__3ipIL",legacyPreview:"overview_legacyPreview__1y7yd",compositions:"overview_compositions__1juds",readme:"overview_readme__3rLft",readmeSkeleton:"overview_readmeSkeleton__3CGhV",block:"overview_block__3OYy0",overviewPropsTable:"overview_overviewPropsTable__20WTG"}},86259:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tabContainer:"tabs_tabContainer__3ffie",tab:"tabs_tab__1u6Qx",disabled:"tabs_disabled__21PDt",active:"tabs_active__1QtYl"}},52781:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={preview:"preview_preview__1HyM7"}},74293:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionSection:"docs-app_compositionSection__2rAWY",compositionCard:"docs-app_compositionCard__2BFqj",docsMainBlock:"docs-app_docsMainBlock__1Vyyg",heading:"docs-app_heading__25cfc",mdx:"docs-app_mdx__WbON7"}},62954:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"error-fallback_icon__22fU3",message:"error-fallback_message__7TfMY",errorFallback:"error-fallback_errorFallback__3WyiR",enter:"error-fallback_enter__3s9LR"}},3741:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",collapser:"collapser-button_collapser__2qEPm",open:"collapser-button_open__3y1Vb",circle:"collapser-button_circle__2cuYC",right:"collapser-button_right__3kYNA",left:"collapser-button_left__m-Exj"}},18455:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=minimatch,minimatch.Minimatch=Minimatch;const path=(()=>{try{return __webpack_require__(62005)}catch{}})()||{sep:"/"};minimatch.sep=path.sep;const GLOBSTAR=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={},expand=__webpack_require__(43816),plTypes={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qmark="[^/]",star=qmark+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",reSpecials=charSet("().*{}+?[]^$\\!");function charSet(s){return s.split("").reduce(function(set,c){return set[c]=!0,set},{})}const slashSplit=/\/+/;minimatch.filter=filter;function filter(pattern,options){return options=options||{},function(p,i,list){return minimatch(p,pattern,options)}}function ext(a,b){a=a||{},b=b||{};const t={};return Object.keys(a).forEach(function(k){t[k]=a[k]}),Object.keys(b).forEach(function(k){t[k]=b[k]}),t}minimatch.defaults=function(def){if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch;const orig=minimatch,m=function(p,pattern,options){return orig(p,pattern,ext(def,options))};return m.Minimatch=function(pattern,options){return new orig.Minimatch(pattern,ext(def,options))},m.Minimatch.defaults=options=>orig.defaults(ext(def,options)).Minimatch,m.filter=function(pattern,options){return orig.filter(pattern,ext(def,options))},m.defaults=function(options){return orig.defaults(ext(def,options))},m.makeRe=function(pattern,options){return orig.makeRe(pattern,ext(def,options))},m.braceExpand=function(pattern,options){return orig.braceExpand(pattern,ext(def,options))},m.match=function(list,pattern,options){return orig.match(list,pattern,ext(def,options))},m},Minimatch.defaults=function(def){return minimatch.defaults(def).Minimatch};function minimatch(p,pattern,options){return assertValidPattern(pattern),options||(options={}),!options.nocomment&&pattern.charAt(0)==="#"?!1:pattern.trim()===""?p==="":new Minimatch(pattern,options).match(p)}function Minimatch(pattern,options){if(!(this instanceof Minimatch))return new Minimatch(pattern,options);assertValidPattern(pattern),options||(options={}),pattern=pattern.trim(),path.sep!=="/"&&(pattern=pattern.split(path.sep).join("/")),this.options=options,this.set=[],this.pattern=pattern,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}Minimatch.prototype.debug=function(){},Minimatch.prototype.make=make;function make(){if(!this._made){var pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate();var set=this.globSet=this.braceExpand();options.debug&&(this.debug=console.error),this.debug(this.pattern,set),set=this.globParts=set.map(function(s){return s.split(slashSplit)}),this.debug(this.pattern,set),set=set.map(function(s,si,set2){return s.map(this.parse,this)},this),this.debug(this.pattern,set),set=set.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,set),this.set=set}}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var pattern=this.pattern,negate=!1,options=this.options,negateOffset=0;if(!options.nonegate){for(var i=0,l=pattern.length;i<l&&pattern.charAt(i)==="!";i++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.substr(negateOffset)),this.negate=negate}}minimatch.braceExpand=function(pattern,options){return braceExpand(pattern,options)},Minimatch.prototype.braceExpand=braceExpand;function braceExpand(pattern,options){return options||(this instanceof Minimatch?options=this.options:options={}),pattern=typeof pattern>"u"?this.pattern:pattern,assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:expand(pattern)}const MAX_PATTERN_LENGTH=1024*64,assertValidPattern=pattern=>{if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>MAX_PATTERN_LENGTH)throw new TypeError("pattern is too long")};Minimatch.prototype.parse=parse;const SUBPARSE={};function parse(pattern,isSub){assertValidPattern(pattern);var options=this.options;if(!options.noglobstar&&pattern==="**")return GLOBSTAR;if(pattern==="")return"";var re="",hasMagic=!1,escaping=!1,patternListStack=[],negativeLists=[],stateChar,inClass=!1,reClassStart=-1,classStart=-1,patternStart=pattern.charAt(0)==="."?"":options.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",self2=this;function clearStateChar(){if(stateChar){switch(stateChar){case"*":re+=star,hasMagic=!0;break;case"?":re+=qmark,hasMagic=!0;break;default:re+="\\"+stateChar;break}self2.debug("clearStateChar %j %j",stateChar,re),stateChar=!1}}for(var i=0,len=pattern.length,c;i<len&&(c=pattern.charAt(i));i++){if(this.debug("%s %s %s %j",pattern,i,re,c),escaping&&reSpecials[c]){re+="\\"+c,escaping=!1;continue}switch(c){case"/":return!1;case"\\":clearStateChar(),escaping=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",pattern,i,re,c),inClass){this.debug(" in class"),c==="!"&&i===classStart+1&&(c="^"),re+=c;continue}self2.debug("call clearStateChar %j",stateChar),clearStateChar(),stateChar=c,options.noext&&clearStateChar();continue;case"(":if(inClass){re+="(";continue}if(!stateChar){re+="\\(";continue}patternListStack.push({type:stateChar,start:i-1,reStart:re.length,open:plTypes[stateChar].open,close:plTypes[stateChar].close}),re+=stateChar==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",stateChar,re),stateChar=!1;continue;case")":if(inClass||!patternListStack.length){re+="\\)";continue}clearStateChar(),hasMagic=!0;var pl=patternListStack.pop();re+=pl.close,pl.type==="!"&&negativeLists.push(pl),pl.reEnd=re.length;continue;case"|":if(inClass||!patternListStack.length||escaping){re+="\\|",escaping=!1;continue}clearStateChar(),re+="|";continue;case"[":if(clearStateChar(),inClass){re+="\\"+c;continue}inClass=!0,classStart=i,reClassStart=re.length,re+=c;continue;case"]":if(i===classStart+1||!inClass){re+="\\"+c,escaping=!1;continue}if(inClass){var cs=pattern.substring(classStart+1,i);try{RegExp("["+cs+"]")}catch{var sp=this.parse(cs,SUBPARSE);re=re.substr(0,reClassStart)+"\\["+sp[0]+"\\]",hasMagic=hasMagic||sp[1],inClass=!1;continue}}hasMagic=!0,inClass=!1,re+=c;continue;default:clearStateChar(),escaping?escaping=!1:reSpecials[c]&&!(c==="^"&&inClass)&&(re+="\\"),re+=c}}for(inClass&&(cs=pattern.substr(classStart+1),sp=this.parse(cs,SUBPARSE),re=re.substr(0,reClassStart)+"\\["+sp[0],hasMagic=hasMagic||sp[1]),pl=patternListStack.pop();pl;pl=patternListStack.pop()){var tail=re.slice(pl.reStart+pl.open.length);this.debug("setting tail",re,pl),tail=tail.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(_,$1,$2){return $2||($2="\\"),$1+$1+$2+"|"}),this.debug(`tail=%j
418
+ `,CR="\r",LinesAndColumns2=function(){function LinesAndColumns3(string){this.string=string;for(var offsets=[0],offset=0;offset<string.length;)switch(string[offset]){case LF:offset+=LF.length,offsets.push(offset);break;case CR:offset+=CR.length,string[offset]===LF&&(offset+=LF.length),offsets.push(offset);break;default:offset++;break}this.offsets=offsets}return LinesAndColumns3.prototype.locationForIndex=function(index){if(index<0||index>this.string.length)return null;for(var line=0,offsets=this.offsets;offsets[line+1]<=index;)line++;var column=index-offsets[line];return{line,column}},LinesAndColumns3.prototype.indexForLocation=function(location){var line=location.line,column=location.column;return line<0||line>=this.offsets.length||column<0||column>this.lengthOfLine(line)?null:this.offsets[line]+column},LinesAndColumns3.prototype.lengthOfLine=function(line){var offset=this.offsets[line],nextOffset=line===this.offsets.length-1?this.string.length:this.offsets[line+1];return nextOffset-offset},LinesAndColumns3}();__webpack_unused_export__=LinesAndColumns2,__webpack_unused_export__=LinesAndColumns2},30174:(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var LARGE_ARRAY_SIZE=200,FUNC_ERROR_TEXT="Expected a function",HASH_UNDEFINED="__lodash_hash_undefined__",UNORDERED_COMPARE_FLAG=1,PARTIAL_COMPARE_FLAG=2,INFINITY=1/0,MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",promiseTag="[object Promise]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,reLeadingDot=/^\./,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reEscapeChar=/\\(\\)?/g,reIsHostCtor=/^\[object .+?Constructor\]$/,reIsUint=/^(?:0|[1-9]\d*)$/,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var freeGlobal=typeof __webpack_require__.g=="object"&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&!0&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{return freeProcess&&freeProcess.binding("util")}catch{}}(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function arrayMap(array,iteratee){for(var index=-1,length=array?array.length:0,result=Array(length);++index<length;)result[index]=iteratee(array[index],index,array);return result}function arraySome(array,predicate){for(var index=-1,length=array?array.length:0;++index<length;)if(predicate(array[index],index,array))return!0;return!1}function baseProperty(key){return function(object){return object?.[key]}}function baseSortBy(array,comparer){var length=array.length;for(array.sort(comparer);length--;)array[length]=array[length].value;return array}function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index<n;)result[index]=iteratee(index);return result}function baseUnary(func){return function(value){return func(value)}}function getValue(object,key){return object?.[key]}function isHostObject(value){var result=!1;if(value!=null&&typeof value.toString!="function")try{result=!!(value+"")}catch{}return result}function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach(function(value,key){result[++index]=[key,value]}),result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function setToArray(set){var index=-1,result=Array(set.size);return set.forEach(function(value){result[++index]=value}),result}var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype,coreJsData=root["__core-js_shared__"],maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}(),funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,objectToString=objectProto.toString,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Symbol2=root.Symbol,Uint8Array2=root.Uint8Array,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice,nativeKeys=overArg(Object.keys,Object),DataView2=getNative(root,"DataView"),Map2=getNative(root,"Map"),Promise2=getNative(root,"Promise"),Set2=getNative(root,"Set"),WeakMap2=getNative(root,"WeakMap"),nativeCreate=getNative(Object,"create"),dataViewCtorString=toSource(DataView2),mapCtorString=toSource(Map2),promiseCtorString=toSource(Promise2),setCtorString=toSource(Set2),weakMapCtorString=toSource(WeakMap2),symbolProto=Symbol2?Symbol2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function Hash(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{}}function hashDelete(key){return this.has(key)&&delete this.__data__[key]}function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==void 0:hasOwnProperty.call(data,key)}function hashSet(key,value){var data=this.__data__;return data[key]=nativeCreate&&value===void 0?HASH_UNDEFINED:value,this}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;function ListCache(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return!1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),!0}function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?data.push([key,value]):data[index][1]=value,this}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(Map2||ListCache),string:new Hash}}function mapCacheDelete(key){return getMapData(this,key).delete(key)}function mapCacheGet(key){return getMapData(this,key).get(key)}function mapCacheHas(key){return getMapData(this,key).has(key)}function mapCacheSet(key,value){return getMapData(this,key).set(key,value),this}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;function SetCache(values){var index=-1,length=values?values.length:0;for(this.__data__=new MapCache;++index<length;)this.add(values[index])}function setCacheAdd(value){return this.__data__.set(value,HASH_UNDEFINED),this}function setCacheHas(value){return this.__data__.has(value)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd,SetCache.prototype.has=setCacheHas;function Stack(entries){this.__data__=new ListCache(entries)}function stackClear(){this.__data__=new ListCache}function stackDelete(key){return this.__data__.delete(key)}function stackGet(key){return this.__data__.get(key)}function stackHas(key){return this.__data__.has(key)}function stackSet(key,value){var cache=this.__data__;if(cache instanceof ListCache){var pairs=cache.__data__;if(!Map2||pairs.length<LARGE_ARRAY_SIZE-1)return pairs.push([key,value]),this;cache=this.__data__=new MapCache(pairs)}return cache.set(key,value),this}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;function arrayLikeKeys(value,inherited){var result=isArray(value)||isArguments(value)?baseTimes(value.length,String):[],length=result.length,skipIndexes=!!length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key=="length"||isIndex(key,length)))&&result.push(key);return result}function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}var baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor();function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseGet(object,path){path=isKey(path,object)?[path]:castPath(path);for(var index=0,length=path.length;object!=null&&index<length;)object=object[toKey(path[index++])];return index&&index==length?object:void 0}function baseGetTag(value){return objectToString.call(value)}function baseHasIn(object,key){return object!=null&&key in Object(object)}function baseIsEqual(value,other,customizer,bitmask,stack){return value===other?!0:value==null||other==null||!isObject(value)&&!isObjectLike(other)?value!==value&&other!==other:baseIsEqualDeep(value,other,baseIsEqual,customizer,bitmask,stack)}function baseIsEqualDeep(object,other,equalFunc,customizer,bitmask,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;objIsArr||(objTag=getTag(object),objTag=objTag==argsTag?objectTag:objTag),othIsArr||(othTag=getTag(other),othTag=othTag==argsTag?objectTag:othTag);var objIsObj=objTag==objectTag&&!isHostObject(object),othIsObj=othTag==objectTag&&!isHostObject(other),isSameTag=objTag==othTag;if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,equalFunc,customizer,bitmask,stack):equalByTag(object,other,objTag,equalFunc,customizer,bitmask,stack);if(!(bitmask&PARTIAL_COMPARE_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,customizer,bitmask,stack)}}return isSameTag?(stack||(stack=new Stack),equalObjects(object,other,equalFunc,customizer,bitmask,stack)):!1}function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(object==null)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index<length;){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(objValue===void 0&&!(key in object))return!1}else{var stack=new Stack;if(customizer)var result=customizer(objValue,srcValue,key,object,source,stack);if(!(result===void 0?baseIsEqual(srcValue,objValue,customizer,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG,stack):result))return!1}}return!0}function baseIsNative(value){if(!isObject(value)||isMasked(value))return!1;var pattern=isFunction(value)||isHostObject(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objectToString.call(value)]}function baseIteratee(value){return typeof value=="function"?value:value==null?identity:typeof value=="object"?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&key!="constructor"&&result.push(key);return result}function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];return baseEach(collection,function(value,key,collection2){result[++index]=iteratee(value,key,collection2)}),result}function baseMatches(source){var matchData=getMatchData(source);return matchData.length==1&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return objValue===void 0&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,void 0,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG)}}function baseOrderBy(collection,iteratees,orders){var index=-1;iteratees=arrayMap(iteratees.length?iteratees:[identity],baseUnary(baseIteratee));var result=baseMap(collection,function(value,key,collection2){var criteria=arrayMap(iteratees,function(iteratee){return iteratee(value)});return{criteria,index:++index,value}});return baseSortBy(result,function(object,other){return compareMultiple(object,other,orders)})}function basePropertyDeep(path){return function(object){return baseGet(object,path)}}function baseToString(value){if(typeof value=="string")return value;if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function castPath(value){return isArray(value)?value:stringToPath(value)}function compareAscending(value,other){if(value!==other){var valIsDefined=value!==void 0,valIsNull=value===null,valIsReflexive=value===value,valIsSymbol=isSymbol(value),othIsDefined=other!==void 0,othIsNull=other===null,othIsReflexive=other===other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive)return 1;if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value<other||othIsSymbol&&valIsDefined&&valIsReflexive&&!valIsNull&&!valIsSymbol||othIsNull&&valIsDefined&&valIsReflexive||!othIsDefined&&valIsReflexive||!othIsReflexive)return-1}return 0}function compareMultiple(object,other,orders){for(var index=-1,objCriteria=object.criteria,othCriteria=other.criteria,length=objCriteria.length,ordersLength=orders.length;++index<length;){var result=compareAscending(objCriteria[index],othCriteria[index]);if(result){if(index>=ordersLength)return result;var order=orders[index];return result*(order=="desc"?-1:1)}}return object.index-other.index}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(collection==null)return collection;if(!isArrayLike(collection))return eachFunc(collection,iteratee);for(var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);(fromRight?index--:++index<length)&&iteratee(iterable[index],index,iterable)!==!1;);return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(iteratee(iterable[key],key,iterable)===!1)break}return object}}function equalArrays(array,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var stacked=stack.get(array);if(stacked&&stack.get(other))return stacked==other;var index=-1,result=!0,seen=bitmask&UNORDERED_COMPARE_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index<arrLength;){var arrValue=array[index],othValue=other[index];if(customizer)var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack);if(compared!==void 0){if(compared)continue;result=!1;break}if(seen){if(!arraySome(other,function(othValue2,othIndex){if(!seen.has(othIndex)&&(arrValue===othValue2||equalFunc(arrValue,othValue2,customizer,bitmask,stack)))return seen.add(othIndex)})){result=!1;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,customizer,bitmask,stack))){result=!1;break}}return stack.delete(array),stack.delete(other),result}function equalByTag(object,other,tag,equalFunc,customizer,bitmask,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case arrayBufferTag:return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array2(object),new Uint8Array2(other)));case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&PARTIAL_COMPARE_FLAG;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=UNORDERED_COMPARE_FLAG,stack.set(object,other);var result=equalArrays(convert(object),convert(other),equalFunc,customizer,bitmask,stack);return stack.delete(object),result;case symbolTag:if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}function equalObjects(object,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var stacked=stack.get(object);if(stacked&&stack.get(other))return stacked==other;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index<objLength;){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer)var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack);if(!(compared===void 0?objValue===othValue||equalFunc(objValue,othValue,customizer,bitmask,stack):compared)){result=!1;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)&&(result=!1)}return stack.delete(object),stack.delete(other),result}function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=="string"?"string":"hash"]:data.map}function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}var getTag=baseGetTag;(DataView2&&getTag(new DataView2(new ArrayBuffer(1)))!=dataViewTag||Map2&&getTag(new Map2)!=mapTag||Promise2&&getTag(Promise2.resolve())!=promiseTag||Set2&&getTag(new Set2)!=setTag||WeakMap2&&getTag(new WeakMap2)!=weakMapTag)&&(getTag=function(value){var result=objectToString.call(value),Ctor=result==objectTag?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):void 0;if(ctorString)switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return result});function hasPath(object,path,hasFunc){path=isKey(path,object)?[path]:castPath(path);for(var result,index=-1,length=path.length;++index<length;){var key=toKey(path[index]);if(!(result=object!=null&&hasFunc(object,key)))break;object=object[key]}if(result)return result;var length=object?object.length:0;return!!length&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}function isIndex(value,length){return length=length??MAX_SAFE_INTEGER,!!length&&(typeof value=="number"||reIsUint.test(value))&&value>-1&&value%1==0&&value<length}function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return type=="number"||type=="symbol"||type=="boolean"||value==null||isSymbol(value)?!0:reIsPlainProp.test(value)||!reIsDeepProp.test(value)||object!=null&&value in Object(object)}function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto;return value===proto}function isStrictComparable(value){return value===value&&!isObject(value)}function matchesStrictComparable(key,srcValue){return function(object){return object==null?!1:object[key]===srcValue&&(srcValue!==void 0||key in Object(object))}}var stringToPath=memoize(function(string){string=toString(string);var result=[];return reLeadingDot.test(string)&&result.push(""),string.replace(rePropName,function(match,number,quote,string2){result.push(quote?string2.replace(reEscapeChar,"$1"):number||match)}),result});function toKey(value){if(typeof value=="string"||isSymbol(value))return value;var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function toSource(func){if(func!=null){try{return funcToString.call(func)}catch{}try{return func+""}catch{}}return""}function orderBy(collection,iteratees,orders,guard){return collection==null?[]:(isArray(iteratees)||(iteratees=iteratees==null?[]:[iteratees]),orders=guard?void 0:orders,isArray(orders)||(orders=orders==null?[]:[orders]),baseOrderBy(collection,iteratees,orders))}function memoize(func,resolver){if(typeof func!="function"||resolver&&typeof resolver!="function")throw new TypeError(FUNC_ERROR_TEXT);var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result),result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache;function eq(value,other){return value===other||value!==value&&other!==other}function isArguments(value){return isArrayLikeObject(value)&&hasOwnProperty.call(value,"callee")&&(!propertyIsEnumerable.call(value,"callee")||objectToString.call(value)==argsTag)}var isArray=Array.isArray;function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&(type=="object"||type=="function")}function isObjectLike(value){return!!value&&typeof value=="object"}function isSymbol(value){return typeof value=="symbol"||isObjectLike(value)&&objectToString.call(value)==symbolTag}var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function toString(value){return value==null?"":baseToString(value)}function get(object,path,defaultValue){var result=object==null?void 0:baseGet(object,path);return result===void 0?defaultValue:result}function hasIn(object,path){return object!=null&&hasPath(object,path,baseHasIn)}function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function identity(value){return value}function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}module.exports=orderBy},23387:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var low=__webpack_require__(14725);module.exports=low,low.registerLanguage("1c",__webpack_require__(97317)),low.registerLanguage("abnf",__webpack_require__(87058)),low.registerLanguage("accesslog",__webpack_require__(14687)),low.registerLanguage("actionscript",__webpack_require__(19128)),low.registerLanguage("ada",__webpack_require__(96174)),low.registerLanguage("angelscript",__webpack_require__(94896)),low.registerLanguage("apache",__webpack_require__(91666)),low.registerLanguage("applescript",__webpack_require__(20256)),low.registerLanguage("arcade",__webpack_require__(38242)),low.registerLanguage("arduino",__webpack_require__(35614)),low.registerLanguage("armasm",__webpack_require__(85462)),low.registerLanguage("xml",__webpack_require__(5750)),low.registerLanguage("asciidoc",__webpack_require__(56115)),low.registerLanguage("aspectj",__webpack_require__(47950)),low.registerLanguage("autohotkey",__webpack_require__(18145)),low.registerLanguage("autoit",__webpack_require__(30800)),low.registerLanguage("avrasm",__webpack_require__(21907)),low.registerLanguage("awk",__webpack_require__(70166)),low.registerLanguage("axapta",__webpack_require__(22210)),low.registerLanguage("bash",__webpack_require__(17504)),low.registerLanguage("basic",__webpack_require__(53731)),low.registerLanguage("bnf",__webpack_require__(46910)),low.registerLanguage("brainfuck",__webpack_require__(15815)),low.registerLanguage("c-like",__webpack_require__(69477)),low.registerLanguage("c",__webpack_require__(69021)),low.registerLanguage("cal",__webpack_require__(41925)),low.registerLanguage("capnproto",__webpack_require__(6770)),low.registerLanguage("ceylon",__webpack_require__(41831)),low.registerLanguage("clean",__webpack_require__(50122)),low.registerLanguage("clojure",__webpack_require__(50278)),low.registerLanguage("clojure-repl",__webpack_require__(17047)),low.registerLanguage("cmake",__webpack_require__(18870)),low.registerLanguage("coffeescript",__webpack_require__(92318)),low.registerLanguage("coq",__webpack_require__(33526)),low.registerLanguage("cos",__webpack_require__(44899)),low.registerLanguage("cpp",__webpack_require__(32596)),low.registerLanguage("crmsh",__webpack_require__(32424)),low.registerLanguage("crystal",__webpack_require__(68392)),low.registerLanguage("csharp",__webpack_require__(60342)),low.registerLanguage("csp",__webpack_require__(35136)),low.registerLanguage("css",__webpack_require__(66556)),low.registerLanguage("d",__webpack_require__(82762)),low.registerLanguage("markdown",__webpack_require__(91710)),low.registerLanguage("dart",__webpack_require__(91192)),low.registerLanguage("delphi",__webpack_require__(55557)),low.registerLanguage("diff",__webpack_require__(67592)),low.registerLanguage("django",__webpack_require__(18863)),low.registerLanguage("dns",__webpack_require__(37586)),low.registerLanguage("dockerfile",__webpack_require__(20821)),low.registerLanguage("dos",__webpack_require__(31033)),low.registerLanguage("dsconfig",__webpack_require__(69948)),low.registerLanguage("dts",__webpack_require__(92034)),low.registerLanguage("dust",__webpack_require__(13971)),low.registerLanguage("ebnf",__webpack_require__(98469)),low.registerLanguage("elixir",__webpack_require__(95622)),low.registerLanguage("elm",__webpack_require__(84162)),low.registerLanguage("ruby",__webpack_require__(7836)),low.registerLanguage("erb",__webpack_require__(61190)),low.registerLanguage("erlang-repl",__webpack_require__(44704)),low.registerLanguage("erlang",__webpack_require__(59761)),low.registerLanguage("excel",__webpack_require__(35611)),low.registerLanguage("fix",__webpack_require__(18866)),low.registerLanguage("flix",__webpack_require__(86309)),low.registerLanguage("fortran",__webpack_require__(14750)),low.registerLanguage("fsharp",__webpack_require__(87547)),low.registerLanguage("gams",__webpack_require__(42061)),low.registerLanguage("gauss",__webpack_require__(25184)),low.registerLanguage("gcode",__webpack_require__(13745)),low.registerLanguage("gherkin",__webpack_require__(62865)),low.registerLanguage("glsl",__webpack_require__(23395)),low.registerLanguage("gml",__webpack_require__(5153)),low.registerLanguage("go",__webpack_require__(90667)),low.registerLanguage("golo",__webpack_require__(39619)),low.registerLanguage("gradle",__webpack_require__(28659)),low.registerLanguage("groovy",__webpack_require__(24540)),low.registerLanguage("haml",__webpack_require__(73260)),low.registerLanguage("handlebars",__webpack_require__(65777)),low.registerLanguage("haskell",__webpack_require__(22333)),low.registerLanguage("haxe",__webpack_require__(98212)),low.registerLanguage("hsp",__webpack_require__(48363)),low.registerLanguage("htmlbars",__webpack_require__(14275)),low.registerLanguage("http",__webpack_require__(30959)),low.registerLanguage("hy",__webpack_require__(85807)),low.registerLanguage("inform7",__webpack_require__(88040)),low.registerLanguage("ini",__webpack_require__(30942)),low.registerLanguage("irpf90",__webpack_require__(99888)),low.registerLanguage("isbl",__webpack_require__(57183)),low.registerLanguage("java",__webpack_require__(54744)),low.registerLanguage("javascript",__webpack_require__(39787)),low.registerLanguage("jboss-cli",__webpack_require__(95069)),low.registerLanguage("json",__webpack_require__(41078)),low.registerLanguage("julia",__webpack_require__(62951)),low.registerLanguage("julia-repl",__webpack_require__(76167)),low.registerLanguage("kotlin",__webpack_require__(81936)),low.registerLanguage("lasso",__webpack_require__(78109)),low.registerLanguage("latex",__webpack_require__(95313)),low.registerLanguage("ldif",__webpack_require__(91301)),low.registerLanguage("leaf",__webpack_require__(92480)),low.registerLanguage("less",__webpack_require__(95610)),low.registerLanguage("lisp",__webpack_require__(27740)),low.registerLanguage("livecodeserver",__webpack_require__(61598)),low.registerLanguage("livescript",__webpack_require__(94624)),low.registerLanguage("llvm",__webpack_require__(85638)),low.registerLanguage("lsl",__webpack_require__(3351)),low.registerLanguage("lua",__webpack_require__(18727)),low.registerLanguage("makefile",__webpack_require__(36548)),low.registerLanguage("mathematica",__webpack_require__(20313)),low.registerLanguage("matlab",__webpack_require__(83271)),low.registerLanguage("maxima",__webpack_require__(85513)),low.registerLanguage("mel",__webpack_require__(18625)),low.registerLanguage("mercury",__webpack_require__(29230)),low.registerLanguage("mipsasm",__webpack_require__(91106)),low.registerLanguage("mizar",__webpack_require__(29148)),low.registerLanguage("perl",__webpack_require__(48278)),low.registerLanguage("mojolicious",__webpack_require__(84061)),low.registerLanguage("monkey",__webpack_require__(58123)),low.registerLanguage("moonscript",__webpack_require__(12942)),low.registerLanguage("n1ql",__webpack_require__(48062)),low.registerLanguage("nginx",__webpack_require__(40819)),low.registerLanguage("nim",__webpack_require__(13434)),low.registerLanguage("nix",__webpack_require__(41367)),low.registerLanguage("node-repl",__webpack_require__(72134)),low.registerLanguage("nsis",__webpack_require__(67726)),low.registerLanguage("objectivec",__webpack_require__(67353)),low.registerLanguage("ocaml",__webpack_require__(63830)),low.registerLanguage("openscad",__webpack_require__(17925)),low.registerLanguage("oxygene",__webpack_require__(67999)),low.registerLanguage("parser3",__webpack_require__(10540)),low.registerLanguage("pf",__webpack_require__(36455)),low.registerLanguage("pgsql",__webpack_require__(99499)),low.registerLanguage("php",__webpack_require__(36875)),low.registerLanguage("php-template",__webpack_require__(14045)),low.registerLanguage("plaintext",__webpack_require__(80784)),low.registerLanguage("pony",__webpack_require__(67603)),low.registerLanguage("powershell",__webpack_require__(68107)),low.registerLanguage("processing",__webpack_require__(62984)),low.registerLanguage("profile",__webpack_require__(88903)),low.registerLanguage("prolog",__webpack_require__(83782)),low.registerLanguage("properties",__webpack_require__(71511)),low.registerLanguage("protobuf",__webpack_require__(93968)),low.registerLanguage("puppet",__webpack_require__(98232)),low.registerLanguage("purebasic",__webpack_require__(51769)),low.registerLanguage("python",__webpack_require__(44106)),low.registerLanguage("python-repl",__webpack_require__(47985)),low.registerLanguage("q",__webpack_require__(40189)),low.registerLanguage("qml",__webpack_require__(73573)),low.registerLanguage("r",__webpack_require__(48421)),low.registerLanguage("reasonml",__webpack_require__(47223)),low.registerLanguage("rib",__webpack_require__(60699)),low.registerLanguage("roboconf",__webpack_require__(47745)),low.registerLanguage("routeros",__webpack_require__(67290)),low.registerLanguage("rsl",__webpack_require__(31362)),low.registerLanguage("ruleslanguage",__webpack_require__(84438)),low.registerLanguage("rust",__webpack_require__(77077)),low.registerLanguage("sas",__webpack_require__(93711)),low.registerLanguage("scala",__webpack_require__(48433)),low.registerLanguage("scheme",__webpack_require__(56622)),low.registerLanguage("scilab",__webpack_require__(1204)),low.registerLanguage("scss",__webpack_require__(93121)),low.registerLanguage("shell",__webpack_require__(18308)),low.registerLanguage("smali",__webpack_require__(2562)),low.registerLanguage("smalltalk",__webpack_require__(20455)),low.registerLanguage("sml",__webpack_require__(85143)),low.registerLanguage("sqf",__webpack_require__(1811)),low.registerLanguage("sql_more",__webpack_require__(93245)),low.registerLanguage("sql",__webpack_require__(74883)),low.registerLanguage("stan",__webpack_require__(30362)),low.registerLanguage("stata",__webpack_require__(9765)),low.registerLanguage("step21",__webpack_require__(44078)),low.registerLanguage("stylus",__webpack_require__(82601)),low.registerLanguage("subunit",__webpack_require__(87344)),low.registerLanguage("swift",__webpack_require__(54503)),low.registerLanguage("taggerscript",__webpack_require__(75738)),low.registerLanguage("yaml",__webpack_require__(83322)),low.registerLanguage("tap",__webpack_require__(4541)),low.registerLanguage("tcl",__webpack_require__(99645)),low.registerLanguage("thrift",__webpack_require__(14850)),low.registerLanguage("tp",__webpack_require__(15263)),low.registerLanguage("twig",__webpack_require__(54602)),low.registerLanguage("typescript",__webpack_require__(2056)),low.registerLanguage("vala",__webpack_require__(52959)),low.registerLanguage("vbnet",__webpack_require__(74048)),low.registerLanguage("vbscript",__webpack_require__(70616)),low.registerLanguage("vbscript-html",__webpack_require__(85811)),low.registerLanguage("verilog",__webpack_require__(93813)),low.registerLanguage("vhdl",__webpack_require__(73407)),low.registerLanguage("vim",__webpack_require__(1975)),low.registerLanguage("x86asm",__webpack_require__(98761)),low.registerLanguage("xl",__webpack_require__(6386)),low.registerLanguage("xquery",__webpack_require__(10784)),low.registerLanguage("zephir",__webpack_require__(89417))},14725:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var high=__webpack_require__(88467),fault=__webpack_require__(96203);exports.highlight=highlight,exports.highlightAuto=highlightAuto,exports.registerLanguage=registerLanguage,exports.listLanguages=listLanguages,exports.registerAlias=registerAlias,Emitter.prototype.addText=text,Emitter.prototype.addKeyword=addKeyword,Emitter.prototype.addSublanguage=addSublanguage,Emitter.prototype.openNode=open,Emitter.prototype.closeNode=close,Emitter.prototype.closeAllNodes=noop,Emitter.prototype.finalize=noop,Emitter.prototype.toHTML=toHtmlNoop;var defaultPrefix="hljs-";function highlight(name,value,options){var before=high.configure({}),settings=options||{},prefix=settings.prefix,result;if(typeof name!="string")throw fault("Expected `string` for name, got `%s`",name);if(!high.getLanguage(name))throw fault("Unknown language: `%s` is not registered",name);if(typeof value!="string")throw fault("Expected `string` for value, got `%s`",value);if(prefix==null&&(prefix=defaultPrefix),high.configure({__emitter:Emitter,classPrefix:prefix}),result=high.highlight(value,{language:name,ignoreIllegals:!0}),high.configure(before||{}),result.errorRaised)throw result.errorRaised;return{relevance:result.relevance,language:result.language,value:result.emitter.rootNode.children}}function highlightAuto(value,options){var settings=options||{},subset=settings.subset||high.listLanguages(),prefix=settings.prefix,length=subset.length,index=-1,result,secondBest,current,name;if(prefix==null&&(prefix=defaultPrefix),typeof value!="string")throw fault("Expected `string` for value, got `%s`",value);for(secondBest={relevance:0,language:null,value:[]},result={relevance:0,language:null,value:[]};++index<length;)name=subset[index],high.getLanguage(name)&&(current=highlight(name,value,options),current.language=name,current.relevance>secondBest.relevance&&(secondBest=current),current.relevance>result.relevance&&(secondBest=result,result=current));return secondBest.language&&(result.secondBest=secondBest),result}function registerLanguage(name,syntax){high.registerLanguage(name,syntax)}function listLanguages(){return high.listLanguages()}function registerAlias(name,alias){var map=name,key;alias&&(map={},map[name]=alias);for(key in map)high.registerAliases(map[key],{languageName:key})}function Emitter(options){this.options=options,this.rootNode={children:[]},this.stack=[this.rootNode]}function addKeyword(value,name){this.openNode(name),this.addText(value),this.closeNode()}function addSublanguage(other,name){var stack=this.stack,current=stack[stack.length-1],results=other.rootNode.children,node=name?{type:"element",tagName:"span",properties:{className:[name]},children:results}:results;current.children=current.children.concat(node)}function text(value){var stack=this.stack,current,tail;value!==""&&(current=stack[stack.length-1],tail=current.children[current.children.length-1],tail&&tail.type==="text"?tail.value+=value:current.children.push({type:"text",value}))}function open(name){var stack=this.stack,className=this.options.classPrefix+name,current=stack[stack.length-1],child={type:"element",tagName:"span",properties:{className:[className]},children:[]};current.children.push(child),stack.push(child)}function close(){this.stack.pop()}function toHtmlNoop(){return""}function noop(){}},61896:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(56579),encoding_1=__webpack_require__(69215),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Dirent=function(){function Dirent2(){this.name="",this.mode=0}return Dirent2.build=function(link,encoding){var dirent=new Dirent2,mode=link.getNode().mode;return dirent.name=encoding_1.strToEncoding(link.getName(),encoding),dirent.mode=mode,dirent},Dirent2.prototype._checkModeProperty=function(property){return(this.mode&S_IFMT)===property},Dirent2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Dirent2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Dirent2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Dirent2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Dirent2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Dirent2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Dirent2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Dirent2}();exports.Dirent=Dirent,exports.default=Dirent},45166:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(56579),getBigInt_1=__webpack_require__(27918),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Stats=function(){function Stats2(){}return Stats2.build=function(node,bigint){bigint===void 0&&(bigint=!1);var stats=new Stats2,uid=node.uid,gid=node.gid,atime=node.atime,mtime=node.mtime,ctime=node.ctime,getStatNumber=bigint?getBigInt_1.default:function(number){return number};stats.uid=getStatNumber(uid),stats.gid=getStatNumber(gid),stats.rdev=getStatNumber(0),stats.blksize=getStatNumber(4096),stats.ino=getStatNumber(node.ino),stats.size=getStatNumber(node.getSize()),stats.blocks=getStatNumber(1),stats.atime=atime,stats.mtime=mtime,stats.ctime=ctime,stats.birthtime=ctime,stats.atimeMs=getStatNumber(atime.getTime()),stats.mtimeMs=getStatNumber(mtime.getTime());var ctimeMs=getStatNumber(ctime.getTime());return stats.ctimeMs=ctimeMs,stats.birthtimeMs=ctimeMs,stats.dev=getStatNumber(0),stats.mode=getStatNumber(node.mode),stats.nlink=getStatNumber(node.nlink),stats},Stats2.prototype._checkModeProperty=function(property){return(Number(this.mode)&S_IFMT)===property},Stats2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Stats2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Stats2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Stats2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Stats2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Stats2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Stats2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Stats2}();exports.Stats=Stats,exports.default=Stats},56579:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}},69215:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(3534),errors=__webpack_require__(78761);exports.ENCODING_UTF8="utf8";function assertEncoding(encoding){if(encoding&&!buffer_1.Buffer.isEncoding(encoding))throw new errors.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",encoding)}exports.assertEncoding=assertEncoding;function strToEncoding(str,encoding){return!encoding||encoding===exports.ENCODING_UTF8?str:encoding==="buffer"?new buffer_1.Buffer(str):new buffer_1.Buffer(str).toString(encoding)}exports.strToEncoding=strToEncoding},27918:(__unused_webpack_module,exports)=>{typeof BigInt=="function"?exports.default=BigInt:exports.default=function(){throw new Error("BigInt is not supported in this environment.")}},27884:function(module,exports,__webpack_require__){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)};Object.defineProperty(exports,"__esModule",{value:!0});var Stats_1=__webpack_require__(45166),Dirent_1=__webpack_require__(61896),volume_1=__webpack_require__(57965),_a=__webpack_require__(1956),fsSyncMethods=_a.fsSyncMethods,fsAsyncMethods=_a.fsAsyncMethods,constants_1=__webpack_require__(56579),F_OK=constants_1.constants.F_OK,R_OK=constants_1.constants.R_OK,W_OK=constants_1.constants.W_OK,X_OK=constants_1.constants.X_OK;exports.Volume=volume_1.Volume,exports.vol=new volume_1.Volume;function createFsFromVolume(vol){for(var fs={F_OK,R_OK,W_OK,X_OK,constants:constants_1.constants,Stats:Stats_1.default,Dirent:Dirent_1.default},_i=0,fsSyncMethods_1=fsSyncMethods;_i<fsSyncMethods_1.length;_i++){var method=fsSyncMethods_1[_i];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}for(var _a2=0,fsAsyncMethods_1=fsAsyncMethods;_a2<fsAsyncMethods_1.length;_a2++){var method=fsAsyncMethods_1[_a2];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}return fs.StatWatcher=vol.StatWatcher,fs.FSWatcher=vol.FSWatcher,fs.WriteStream=vol.WriteStream,fs.ReadStream=vol.ReadStream,fs.promises=vol.promises,fs._toUnixTimestamp=volume_1.toUnixTimestamp,fs}exports.createFsFromVolume=createFsFromVolume,exports.fs=createFsFromVolume(exports.vol),module.exports=__assign(__assign({},module.exports),exports.fs),module.exports.semantic=!0},3534:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(55872);exports.Buffer=buffer_1.Buffer;function bufferV0P12Ponyfill(arg0){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];return new(buffer_1.Buffer.bind.apply(buffer_1.Buffer,__spreadArrays([void 0,arg0],args)))}var bufferAllocUnsafe=buffer_1.Buffer.allocUnsafe||bufferV0P12Ponyfill;exports.bufferAllocUnsafe=bufferAllocUnsafe;var bufferFrom=buffer_1.Buffer.from||bufferV0P12Ponyfill;exports.bufferFrom=bufferFrom},78761:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var assert=__webpack_require__(48049),util=__webpack_require__(93585),kCode=typeof Symbol>"u"?"_kCode":Symbol("code"),messages={};function makeNodeError(Base){return function(_super){__extends(NodeError,_super);function NodeError(key){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];var _this=_super.call(this,message(key,args))||this;return _this.code=key,_this[kCode]=key,_this.name=_super.prototype.name+" ["+_this[kCode]+"]",_this}return NodeError}(Base)}var AssertionError=function(_super){__extends(AssertionError2,_super);function AssertionError2(options){var _this=this;if(typeof options!="object"||options===null)throw new exports.TypeError("ERR_INVALID_ARG_TYPE","options","object");return options.message?_this=_super.call(this,options.message)||this:_this=_super.call(this,util.inspect(options.actual).slice(0,128)+" "+(options.operator+" "+util.inspect(options.expected).slice(0,128)))||this,_this.generatedMessage=!options.message,_this.name="AssertionError [ERR_ASSERTION]",_this.code="ERR_ASSERTION",_this.actual=options.actual,_this.expected=options.expected,_this.operator=options.operator,exports.Error.captureStackTrace(_this,options.stackStartFunction),_this}return AssertionError2}(__webpack_require__.g.Error);exports.AssertionError=AssertionError;function message(key,args){assert.strictEqual(typeof key,"string");var msg=messages[key];assert(msg,"An invalid error message key was used: "+key+".");var fmt;if(typeof msg=="function")fmt=msg;else{if(fmt=util.format,args===void 0||args.length===0)return msg;args.unshift(msg)}return String(fmt.apply(null,args))}exports.message=message;function E(sym,val){messages[sym]=typeof val=="function"?val:String(val)}exports.E=E,exports.Error=makeNodeError(__webpack_require__.g.Error),exports.TypeError=makeNodeError(__webpack_require__.g.TypeError),exports.RangeError=makeNodeError(__webpack_require__.g.RangeError),E("ERR_ARG_NOT_ITERABLE","%s must be iterable"),E("ERR_ASSERTION","%s"),E("ERR_BUFFER_OUT_OF_BOUNDS",bufferOutOfBounds),E("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),E("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),E("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),E("ERR_DNS_SET_SERVERS_FAILED",function(err,servers){return'c-ares failed to set servers: "'+err+'" ['+servers+"]"}),E("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),E("ERR_ENCODING_NOT_SUPPORTED",function(enc){return'The "'+enc+'" encoding is not supported'}),E("ERR_ENCODING_INVALID_ENCODED_DATA",function(enc){return"The encoded data was not valid for encoding "+enc}),E("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),E("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),E("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),E("ERR_INDEX_OUT_OF_RANGE","Index out of range"),E("ERR_INVALID_ARG_TYPE",invalidArgType),E("ERR_INVALID_ARRAY_LENGTH",function(name,len,actual){return assert.strictEqual(typeof actual,"number"),'The array "'+name+'" (length '+actual+") must be of length "+len+"."}),E("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),E("ERR_INVALID_CALLBACK","Callback must be a function"),E("ERR_INVALID_CHAR","Invalid character in %s"),E("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),E("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),E("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),E("ERR_INVALID_FILE_URL_PATH","File URL path %s"),E("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),E("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),E("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+String(value)+'" is invalid for option "'+name+'"'}),E("ERR_INVALID_OPT_VALUE_ENCODING",function(value){return'The value "'+String(value)+'" is invalid for option "encoding"'}),E("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),E("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),E("ERR_INVALID_THIS",'Value of "this" must be of type %s'),E("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),E("ERR_INVALID_URL","Invalid URL: %s"),E("ERR_INVALID_URL_SCHEME",function(expected){return"The URL must be "+oneOf(expected,"scheme")}),E("ERR_IPC_CHANNEL_CLOSED","Channel closed"),E("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),E("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),E("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),E("ERR_MISSING_ARGS",missingArgs),E("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),E("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),E("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),E("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),E("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),E("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),E("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),E("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),E("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),E("ERR_SOCKET_CANNOT_SEND","Unable to send data"),E("ERR_SOCKET_CLOSED","Socket is closed"),E("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),E("ERR_STDERR_CLOSE","process.stderr cannot be closed"),E("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),E("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),E("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),E("ERR_TLS_DH_PARAM_SIZE",function(size){return"DH parameter size "+size+" is less than 2048"}),E("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),E("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),E("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),E("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),E("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),E("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),E("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),E("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),E("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),E("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl");function invalidArgType(name,expected,actual){assert(name,"name is required");var determiner;expected.includes("not ")?(determiner="must not be",expected=expected.split("not ")[1]):determiner="must be";var msg;if(Array.isArray(name)){var names=name.map(function(val){return'"'+val+'"'}).join(", ");msg="The "+names+" arguments "+determiner+" "+oneOf(expected,"type")}else if(name.includes(" argument"))msg="The "+name+" "+determiner+" "+oneOf(expected,"type");else{var type=name.includes(".")?"property":"argument";msg='The "'+name+'" '+type+" "+determiner+" "+oneOf(expected,"type")}return arguments.length>=3&&(msg+=". Received type "+(actual!==null?typeof actual:"null")),msg}function missingArgs(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map(function(a){return'"'+a+'"'}),len){case 1:msg+=args[0]+" argument";break;case 2:msg+=args[0]+" and "+args[1]+" arguments";break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and "+args[len-1]+" arguments";break}return msg+" must be specified"}function oneOf(expected,thing){if(assert(expected,"expected is required"),assert(typeof thing=="string","thing is required"),Array.isArray(expected)){var len=expected.length;return assert(len>0,"At least one expected value needs to be specified"),expected=expected.map(function(i){return String(i)}),len>2?"one of "+thing+" "+expected.slice(0,len-1).join(", ")+", or "+expected[len-1]:len===2?"one of "+thing+" "+expected[0]+" or "+expected[1]:"of "+thing+" "+expected[0]}else return"of "+thing+" "+String(expected)}function bufferOutOfBounds(name,isWriting){return isWriting?"Attempt to write outside buffer bounds":'"'+name+'" is outside of buffer bounds'}},97695:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var process_1=__webpack_require__(59951),buffer_1=__webpack_require__(3534),constants_1=__webpack_require__(56579),events_1=__webpack_require__(27379),Stats_1=__webpack_require__(45166),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,O_APPEND=constants_1.constants.O_APPEND;exports.SEP="/";var Node2=function(_super){__extends(Node3,_super);function Node3(ino,perm){perm===void 0&&(perm=438);var _this=_super.call(this)||this;return _this.uid=process_1.default.getuid(),_this.gid=process_1.default.getgid(),_this.atime=new Date,_this.mtime=new Date,_this.ctime=new Date,_this.perm=438,_this.mode=S_IFREG,_this.nlink=1,_this.perm=perm,_this.mode|=perm,_this.ino=ino,_this}return Node3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.getBuffer().toString(encoding)},Node3.prototype.setString=function(str){this.buf=buffer_1.bufferFrom(str,"utf8"),this.touch()},Node3.prototype.getBuffer=function(){return this.buf||this.setBuffer(buffer_1.bufferAllocUnsafe(0)),buffer_1.bufferFrom(this.buf)},Node3.prototype.setBuffer=function(buf){this.buf=buffer_1.bufferFrom(buf),this.touch()},Node3.prototype.getSize=function(){return this.buf?this.buf.length:0},Node3.prototype.setModeProperty=function(property){this.mode=this.mode&~S_IFMT|property},Node3.prototype.setIsFile=function(){this.setModeProperty(S_IFREG)},Node3.prototype.setIsDirectory=function(){this.setModeProperty(S_IFDIR)},Node3.prototype.setIsSymlink=function(){this.setModeProperty(S_IFLNK)},Node3.prototype.isFile=function(){return(this.mode&S_IFMT)===S_IFREG},Node3.prototype.isDirectory=function(){return(this.mode&S_IFMT)===S_IFDIR},Node3.prototype.isSymlink=function(){return(this.mode&S_IFMT)===S_IFLNK},Node3.prototype.makeSymlink=function(steps){this.symlink=steps,this.setIsSymlink()},Node3.prototype.write=function(buf,off,len,pos){if(off===void 0&&(off=0),len===void 0&&(len=buf.length),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),pos+len>this.buf.length){var newBuf=buffer_1.bufferAllocUnsafe(pos+len);this.buf.copy(newBuf,0,0,this.buf.length),this.buf=newBuf}return buf.copy(this.buf,pos,off,off+len),this.touch(),len},Node3.prototype.read=function(buf,off,len,pos){off===void 0&&(off=0),len===void 0&&(len=buf.byteLength),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0));var actualLen=len;return actualLen>buf.byteLength&&(actualLen=buf.byteLength),actualLen+pos>this.buf.length&&(actualLen=this.buf.length-pos),this.buf.copy(buf,off,pos,pos+actualLen),actualLen},Node3.prototype.truncate=function(len){if(len===void 0&&(len=0),!len)this.buf=buffer_1.bufferAllocUnsafe(0);else if(this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),len<=this.buf.length)this.buf=this.buf.slice(0,len);else{var buf=buffer_1.bufferAllocUnsafe(0);this.buf.copy(buf),buf.fill(0,len)}this.touch()},Node3.prototype.chmod=function(perm){this.perm=perm,this.mode=this.mode&-512|perm,this.touch()},Node3.prototype.chown=function(uid,gid){this.uid=uid,this.gid=gid,this.touch()},Node3.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},Node3.prototype.canRead=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&4||gid===this.gid&&this.perm&32||uid===this.uid&&this.perm&256)},Node3.prototype.canWrite=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&2||gid===this.gid&&this.perm&16||uid===this.uid&&this.perm&128)},Node3.prototype.del=function(){this.emit("delete",this)},Node3.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},Node3}(events_1.EventEmitter);exports.Node=Node2;var Link=function(_super){__extends(Link2,_super);function Link2(vol,parent,name){var _this=_super.call(this)||this;return _this.children={},_this.steps=[],_this.ino=0,_this.length=0,_this.vol=vol,_this.parent=parent,_this.steps=parent?parent.steps.concat([name]):[name],_this}return Link2.prototype.setNode=function(node){this.node=node,this.ino=node.ino},Link2.prototype.getNode=function(){return this.node},Link2.prototype.createChild=function(name,node){node===void 0&&(node=this.vol.createNode());var link=new Link2(this.vol,this,name);return link.setNode(node),node.isDirectory(),this.setChild(name,link),link},Link2.prototype.setChild=function(name,link){return link===void 0&&(link=new Link2(this.vol,this,name)),this.children[name]=link,link.parent=this,this.length++,this.emit("child:add",link,this),link},Link2.prototype.deleteChild=function(link){delete this.children[link.getName()],this.length--,this.emit("child:delete",link,this)},Link2.prototype.getChild=function(name){if(Object.hasOwnProperty.call(this.children,name))return this.children[name]},Link2.prototype.getPath=function(){return this.steps.join(exports.SEP)},Link2.prototype.getName=function(){return this.steps[this.steps.length-1]},Link2.prototype.walk=function(steps,stop,i){if(stop===void 0&&(stop=steps.length),i===void 0&&(i=0),i>=steps.length)return this;if(i>=stop)return this;var step=steps[i],link=this.getChild(step);return link?link.walk(steps,stop,i+1):null},Link2.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},Link2}(events_1.EventEmitter);exports.Link=Link;var File2=function(){function File3(link,node,flags,fd){this.position=0,this.link=link,this.node=node,this.flags=flags,this.fd=fd}return File3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.node.getString()},File3.prototype.setString=function(str){this.node.setString(str)},File3.prototype.getBuffer=function(){return this.node.getBuffer()},File3.prototype.setBuffer=function(buf){this.node.setBuffer(buf)},File3.prototype.getSize=function(){return this.node.getSize()},File3.prototype.truncate=function(len){this.node.truncate(len)},File3.prototype.seekTo=function(position){this.position=position},File3.prototype.stats=function(){return Stats_1.default.build(this.node)},File3.prototype.write=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.length),typeof position!="number"&&(position=this.position),this.flags&O_APPEND&&(position=this.getSize());var bytes=this.node.write(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.read=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.byteLength),typeof position!="number"&&(position=this.position);var bytes=this.node.read(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.chmod=function(perm){this.node.chmod(perm)},File3.prototype.chown=function(uid,gid){this.node.chown(uid,gid)},File3}();exports.File=File2},59951:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(14224);Object.defineProperty(exports,"__esModule",{value:!0});var maybeReturnProcess=function(){if(typeof process<"u")return process;try{return __webpack_require__(14224)}catch{return}};function createProcess(){var p=maybeReturnProcess()||{};return p.getuid||(p.getuid=function(){return 0}),p.getgid||(p.getgid=function(){return 0}),p.cwd||(p.cwd=function(){return"/"}),p.nextTick||(p.nextTick=__webpack_require__(1663).default),p.emitWarning||(p.emitWarning=function(message,type){console.warn(""+type+(type?": ":"")+message)}),p.env||(p.env={}),p}exports.createProcess=createProcess,exports.default=createProcess()},31958:function(__unused_webpack_module,exports){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});function promisify(vol,fn,getResult){return getResult===void 0&&(getResult=function(input){return input}),function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return new Promise(function(resolve,reject){vol[fn].bind(vol).apply(void 0,__spreadArrays(args,[function(error,result){return error?reject(error):resolve(getResult(result))}]))})}}var FileHandle=function(){function FileHandle2(vol,fd){this.vol=vol,this.fd=fd}return FileHandle2.prototype.appendFile=function(data,options){return promisify(this.vol,"appendFile")(this.fd,data,options)},FileHandle2.prototype.chmod=function(mode){return promisify(this.vol,"fchmod")(this.fd,mode)},FileHandle2.prototype.chown=function(uid,gid){return promisify(this.vol,"fchown")(this.fd,uid,gid)},FileHandle2.prototype.close=function(){return promisify(this.vol,"close")(this.fd)},FileHandle2.prototype.datasync=function(){return promisify(this.vol,"fdatasync")(this.fd)},FileHandle2.prototype.read=function(buffer,offset,length,position){return promisify(this.vol,"read",function(bytesRead){return{bytesRead,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.readFile=function(options){return promisify(this.vol,"readFile")(this.fd,options)},FileHandle2.prototype.stat=function(options){return promisify(this.vol,"fstat")(this.fd,options)},FileHandle2.prototype.sync=function(){return promisify(this.vol,"fsync")(this.fd)},FileHandle2.prototype.truncate=function(len){return promisify(this.vol,"ftruncate")(this.fd,len)},FileHandle2.prototype.utimes=function(atime,mtime){return promisify(this.vol,"futimes")(this.fd,atime,mtime)},FileHandle2.prototype.write=function(buffer,offset,length,position){return promisify(this.vol,"write",function(bytesWritten){return{bytesWritten,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.writeFile=function(data,options){return promisify(this.vol,"writeFile")(this.fd,data,options)},FileHandle2}();exports.FileHandle=FileHandle;function createPromisesApi(vol){return typeof Promise>"u"?null:{FileHandle,access:function(path,mode){return promisify(vol,"access")(path,mode)},appendFile:function(path,data,options){return promisify(vol,"appendFile")(path instanceof FileHandle?path.fd:path,data,options)},chmod:function(path,mode){return promisify(vol,"chmod")(path,mode)},chown:function(path,uid,gid){return promisify(vol,"chown")(path,uid,gid)},copyFile:function(src,dest,flags){return promisify(vol,"copyFile")(src,dest,flags)},lchmod:function(path,mode){return promisify(vol,"lchmod")(path,mode)},lchown:function(path,uid,gid){return promisify(vol,"lchown")(path,uid,gid)},link:function(existingPath,newPath){return promisify(vol,"link")(existingPath,newPath)},lstat:function(path,options){return promisify(vol,"lstat")(path,options)},mkdir:function(path,options){return promisify(vol,"mkdir")(path,options)},mkdtemp:function(prefix,options){return promisify(vol,"mkdtemp")(prefix,options)},open:function(path,flags,mode){return promisify(vol,"open",function(fd){return new FileHandle(vol,fd)})(path,flags,mode)},readdir:function(path,options){return promisify(vol,"readdir")(path,options)},readFile:function(id,options){return promisify(vol,"readFile")(id instanceof FileHandle?id.fd:id,options)},readlink:function(path,options){return promisify(vol,"readlink")(path,options)},realpath:function(path,options){return promisify(vol,"realpath")(path,options)},rename:function(oldPath,newPath){return promisify(vol,"rename")(oldPath,newPath)},rmdir:function(path){return promisify(vol,"rmdir")(path)},stat:function(path,options){return promisify(vol,"stat")(path,options)},symlink:function(target,path,type){return promisify(vol,"symlink")(target,path,type)},truncate:function(path,len){return promisify(vol,"truncate")(path,len)},unlink:function(path){return promisify(vol,"unlink")(path)},utimes:function(path,atime,mtime){return promisify(vol,"utimes")(path,atime,mtime)},writeFile:function(id,data,options){return promisify(vol,"writeFile")(id instanceof FileHandle?id.fd:id,data,options)}}}exports.default=createPromisesApi},1663:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _setImmediate;typeof setImmediate=="function"?_setImmediate=setImmediate.bind(__webpack_require__.g):_setImmediate=setTimeout.bind(__webpack_require__.g),exports.default=_setImmediate},1785:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function setTimeoutUnref(callback,time,args){var ref=setTimeout.apply(null,arguments);return ref&&typeof ref=="object"&&typeof ref.unref=="function"&&ref.unref(),ref}exports.default=setTimeoutUnref},57965:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}(),__spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var pathModule=__webpack_require__(62005),node_1=__webpack_require__(97695),Stats_1=__webpack_require__(45166),Dirent_1=__webpack_require__(61896),buffer_1=__webpack_require__(3534),setImmediate_1=__webpack_require__(1663),process_1=__webpack_require__(59951),setTimeoutUnref_1=__webpack_require__(1785),stream_1=__webpack_require__(76835),constants_1=__webpack_require__(56579),events_1=__webpack_require__(27379),encoding_1=__webpack_require__(69215),errors=__webpack_require__(78761),extend=__webpack_require__(47697).l,util=__webpack_require__(93585),promises_1=__webpack_require__(31958),resolveCrossPlatform=pathModule.resolve,O_RDONLY=constants_1.constants.O_RDONLY,O_WRONLY=constants_1.constants.O_WRONLY,O_RDWR=constants_1.constants.O_RDWR,O_CREAT=constants_1.constants.O_CREAT,O_EXCL=constants_1.constants.O_EXCL,O_TRUNC=constants_1.constants.O_TRUNC,O_APPEND=constants_1.constants.O_APPEND,O_SYNC=constants_1.constants.O_SYNC,F_OK=constants_1.constants.F_OK,COPYFILE_EXCL=constants_1.constants.COPYFILE_EXCL,COPYFILE_FICLONE_FORCE=constants_1.constants.COPYFILE_FICLONE_FORCE,sep,relative;if(pathModule.posix){var posix=pathModule.posix;sep=posix.sep,relative=posix.relative}else sep=pathModule.sep,relative=pathModule.relative;var isWin=process_1.default.platform==="win32",kMinPoolSpace=128,ERRSTR={PATH_STR:"path must be a string or Buffer",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"},ERRSTR_OPTS=function(tipeof){return"Expected options to be either an object or a string, but got "+tipeof+" instead"},ENOENT="ENOENT",EBADF="EBADF",EINVAL="EINVAL",EPERM="EPERM",EPROTO="EPROTO",EEXIST="EEXIST",ENOTDIR="ENOTDIR",EMFILE="EMFILE",EACCES="EACCES",EISDIR="EISDIR",ENOTEMPTY="ENOTEMPTY",ENOSYS="ENOSYS";function formatError(errorCode,func,path,path2){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2="");var pathFormatted="";switch(path&&(pathFormatted=" '"+path+"'"),path2&&(pathFormatted+=" -> '"+path2+"'"),errorCode){case ENOENT:return"ENOENT: no such file or directory, "+func+pathFormatted;case EBADF:return"EBADF: bad file descriptor, "+func+pathFormatted;case EINVAL:return"EINVAL: invalid argument, "+func+pathFormatted;case EPERM:return"EPERM: operation not permitted, "+func+pathFormatted;case EPROTO:return"EPROTO: protocol error, "+func+pathFormatted;case EEXIST:return"EEXIST: file already exists, "+func+pathFormatted;case ENOTDIR:return"ENOTDIR: not a directory, "+func+pathFormatted;case EISDIR:return"EISDIR: illegal operation on a directory, "+func+pathFormatted;case EACCES:return"EACCES: permission denied, "+func+pathFormatted;case ENOTEMPTY:return"ENOTEMPTY: directory not empty, "+func+pathFormatted;case EMFILE:return"EMFILE: too many open files, "+func+pathFormatted;case ENOSYS:return"ENOSYS: function not implemented, "+func+pathFormatted;default:return errorCode+": error occurred, "+func+pathFormatted}}function createError(errorCode,func,path,path2,Constructor){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2=""),Constructor===void 0&&(Constructor=Error);var error=new Constructor(formatError(errorCode,func,path,path2));return error.code=errorCode,error}var FLAGS;(function(FLAGS2){FLAGS2[FLAGS2.r=O_RDONLY]="r",FLAGS2[FLAGS2["r+"]=O_RDWR]="r+",FLAGS2[FLAGS2.rs=O_RDONLY|O_SYNC]="rs",FLAGS2[FLAGS2.sr=FLAGS2.rs]="sr",FLAGS2[FLAGS2["rs+"]=O_RDWR|O_SYNC]="rs+",FLAGS2[FLAGS2["sr+"]=FLAGS2["rs+"]]="sr+",FLAGS2[FLAGS2.w=O_WRONLY|O_CREAT|O_TRUNC]="w",FLAGS2[FLAGS2.wx=O_WRONLY|O_CREAT|O_TRUNC|O_EXCL]="wx",FLAGS2[FLAGS2.xw=FLAGS2.wx]="xw",FLAGS2[FLAGS2["w+"]=O_RDWR|O_CREAT|O_TRUNC]="w+",FLAGS2[FLAGS2["wx+"]=O_RDWR|O_CREAT|O_TRUNC|O_EXCL]="wx+",FLAGS2[FLAGS2["xw+"]=FLAGS2["wx+"]]="xw+",FLAGS2[FLAGS2.a=O_WRONLY|O_APPEND|O_CREAT]="a",FLAGS2[FLAGS2.ax=O_WRONLY|O_APPEND|O_CREAT|O_EXCL]="ax",FLAGS2[FLAGS2.xa=FLAGS2.ax]="xa",FLAGS2[FLAGS2["a+"]=O_RDWR|O_APPEND|O_CREAT]="a+",FLAGS2[FLAGS2["ax+"]=O_RDWR|O_APPEND|O_CREAT|O_EXCL]="ax+",FLAGS2[FLAGS2["xa+"]=FLAGS2["ax+"]]="xa+"})(FLAGS=exports.FLAGS||(exports.FLAGS={}));function flagsToNumber(flags){if(typeof flags=="number")return flags;if(typeof flags=="string"){var flagsNum=FLAGS[flags];if(typeof flagsNum<"u")return flagsNum}throw new errors.TypeError("ERR_INVALID_OPT_VALUE","flags",flags)}exports.flagsToNumber=flagsToNumber;function getOptions(defaults,options){var opts;if(options){var tipeof=typeof options;switch(tipeof){case"string":opts=extend({},defaults,{encoding:options});break;case"object":opts=extend({},defaults,options);break;default:throw TypeError(ERRSTR_OPTS(tipeof))}}else return defaults;return opts.encoding!=="buffer"&&encoding_1.assertEncoding(opts.encoding),opts}function optsGenerator(defaults){return function(options){return getOptions(defaults,options)}}function validateCallback(callback){if(typeof callback!="function")throw TypeError(ERRSTR.CB);return callback}function optsAndCbGenerator(getOpts){return function(options,callback){return typeof options=="function"?[getOpts(),options]:[getOpts(options),validateCallback(callback)]}}var optsDefaults={encoding:"utf8"},getDefaultOpts=optsGenerator(optsDefaults),getDefaultOptsAndCb=optsAndCbGenerator(getDefaultOpts),readFileOptsDefaults={flag:"r"},getReadFileOptions=optsGenerator(readFileOptsDefaults),writeFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.w]},getWriteFileOptions=optsGenerator(writeFileDefaults),appendFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.a]},getAppendFileOpts=optsGenerator(appendFileDefaults),getAppendFileOptsAndCb=optsAndCbGenerator(getAppendFileOpts),realpathDefaults=optsDefaults,getRealpathOptions=optsGenerator(realpathDefaults),getRealpathOptsAndCb=optsAndCbGenerator(getRealpathOptions),mkdirDefaults={mode:511,recursive:!1},getMkdirOptions=function(options){return typeof options=="number"?extend({},mkdirDefaults,{mode:options}):extend({},mkdirDefaults,options)},rmdirDefaults={recursive:!1},getRmdirOptions=function(options){return extend({},rmdirDefaults,options)},readdirDefaults={encoding:"utf8",withFileTypes:!1},getReaddirOptions=optsGenerator(readdirDefaults),getReaddirOptsAndCb=optsAndCbGenerator(getReaddirOptions),statDefaults={bigint:!1},getStatOptions=function(options){return options===void 0&&(options={}),extend({},statDefaults,options)},getStatOptsAndCb=function(options,callback){return typeof options=="function"?[getStatOptions(),options]:[getStatOptions(options),validateCallback(callback)]};function getPathFromURLPosix(url){if(url.hostname!=="")throw new errors.TypeError("ERR_INVALID_FILE_URL_HOST",process_1.default.platform);for(var pathname=url.pathname,n=0;n<pathname.length;n++)if(pathname[n]==="%"){var third=pathname.codePointAt(n+2)|32;if(pathname[n+1]==="2"&&third===102)throw new errors.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(pathname)}function pathToFilename(path){if(typeof path!="string"&&!buffer_1.Buffer.isBuffer(path)){try{if(!(path instanceof __webpack_require__(64442).URL))throw new TypeError(ERRSTR.PATH_STR)}catch{throw new TypeError(ERRSTR.PATH_STR)}path=getPathFromURLPosix(path)}var pathString=String(path);return nullCheck(pathString),pathString}exports.pathToFilename=pathToFilename;var resolve=function(filename,base){return base===void 0&&(base=process_1.default.cwd()),resolveCrossPlatform(base,filename)};if(isWin){var _resolve_1=resolve,unixify_1=__webpack_require__(37414).Z4;resolve=function(filename,base){return unixify_1(_resolve_1(filename,base))}}function filenameToSteps(filename,base){var fullPath=resolve(filename,base),fullPathSansSlash=fullPath.substr(1);return fullPathSansSlash?fullPathSansSlash.split(sep):[]}exports.filenameToSteps=filenameToSteps;function pathToSteps(path){return filenameToSteps(pathToFilename(path))}exports.pathToSteps=pathToSteps;function dataToStr(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data.toString(encoding):data instanceof Uint8Array?buffer_1.bufferFrom(data).toString(encoding):String(data)}exports.dataToStr=dataToStr;function dataToBuffer(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data:data instanceof Uint8Array?buffer_1.bufferFrom(data):buffer_1.bufferFrom(String(data),encoding)}exports.dataToBuffer=dataToBuffer;function bufferToEncoding(buffer,encoding){return!encoding||encoding==="buffer"?buffer:buffer.toString(encoding)}exports.bufferToEncoding=bufferToEncoding;function nullCheck(path,callback){if((""+path).indexOf("\0")!==-1){var er=new Error("Path must be a string without null bytes");if(er.code=ENOENT,typeof callback!="function")throw er;return process_1.default.nextTick(callback,er),!1}return!0}function _modeToNumber(mode,def){if(typeof mode=="number")return mode;if(typeof mode=="string")return parseInt(mode,8);if(def)return modeToNumber(def)}function modeToNumber(mode,def){var result=_modeToNumber(mode,def);if(typeof result!="number"||isNaN(result))throw new TypeError(ERRSTR.MODE_INT);return result}function isFd(path){return path>>>0===path}function validateFd(fd){if(!isFd(fd))throw TypeError(ERRSTR.FD)}function toUnixTimestamp(time){if(typeof time=="string"&&+time==time)return+time;if(time instanceof Date)return time.getTime()/1e3;if(isFinite(time))return time<0?Date.now()/1e3:time;throw new Error("Cannot parse time: "+time)}exports.toUnixTimestamp=toUnixTimestamp;function validateUid(uid){if(typeof uid!="number")throw TypeError(ERRSTR.UID)}function validateGid(gid){if(typeof gid!="number")throw TypeError(ERRSTR.GID)}var Volume=function(){function Volume2(props){props===void 0&&(props={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=promises_1.default(this),this.statWatchers={},this.props=extend({Node:node_1.Node,Link:node_1.Link,File:node_1.File},props);var root=this.createLink();root.setNode(this.createNode(!0));var self2=this;this.StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(){return _super.call(this,self2)||this}return StatWatcher2}(StatWatcher);var _ReadStream=FsReadStream;this.ReadStream=function(_super){__extends(class_1,_super);function class_1(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_1}(_ReadStream);var _WriteStream=FsWriteStream;this.WriteStream=function(_super){__extends(class_2,_super);function class_2(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_2}(_WriteStream),this.FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(){return _super.call(this,self2)||this}return FSWatcher2}(FSWatcher),this.root=root}return Volume2.fromJSON=function(json,cwd){var vol=new Volume2;return vol.fromJSON(json,cwd),vol},Object.defineProperty(Volume2.prototype,"promises",{get:function(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!0,configurable:!0}),Volume2.prototype.createLink=function(parent,name,isDirectory,perm){if(isDirectory===void 0&&(isDirectory=!1),!parent)return new this.props.Link(this,null,"");if(!name)throw new Error("createLink: name cannot be empty");return parent.createChild(name,this.createNode(isDirectory,perm))},Volume2.prototype.deleteLink=function(link){var parent=link.parent;return parent?(parent.deleteChild(link),!0):!1},Volume2.prototype.newInoNumber=function(){var releasedFd=this.releasedInos.pop();return releasedFd||(this.ino=(this.ino+1)%4294967295,this.ino)},Volume2.prototype.newFdNumber=function(){var releasedFd=this.releasedFds.pop();return typeof releasedFd=="number"?releasedFd:Volume2.fd--},Volume2.prototype.createNode=function(isDirectory,perm){isDirectory===void 0&&(isDirectory=!1);var node=new this.props.Node(this.newInoNumber(),perm);return isDirectory&&node.setIsDirectory(),this.inodes[node.ino]=node,node},Volume2.prototype.getNode=function(ino){return this.inodes[ino]},Volume2.prototype.deleteNode=function(node){node.del(),delete this.inodes[node.ino],this.releasedInos.push(node.ino)},Volume2.prototype.genRndStr=function(){var str=(Math.random()+1).toString(36).substr(2,6);return str.length===6?str:this.genRndStr()},Volume2.prototype.getLink=function(steps){return this.root.walk(steps)},Volume2.prototype.getLinkOrThrow=function(filename,funcName){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.getResolvedLink=function(filenameOrSteps){for(var steps=typeof filenameOrSteps=="string"?filenameToSteps(filenameOrSteps):filenameOrSteps,link=this.root,i=0;i<steps.length;){var step=steps[i];if(link=link.getChild(step),!link)return null;var node=link.getNode();if(node.isSymlink()){steps=node.symlink.concat(steps.slice(i+1)),link=this.root,i=0;continue}i++}return link},Volume2.prototype.getResolvedLinkOrThrow=function(filename,funcName){var link=this.getResolvedLink(filename);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.resolveSymlinks=function(link){return this.getResolvedLink(link.steps.slice(1))},Volume2.prototype.getLinkAsDirOrThrow=function(filename,funcName){var link=this.getLinkOrThrow(filename,funcName);if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,filename);return link},Volume2.prototype.getLinkParent=function(steps){return this.root.walk(steps,steps.length-1)},Volume2.prototype.getLinkParentAsDirOrThrow=function(filenameOrSteps,funcName){var steps=filenameOrSteps instanceof Array?filenameOrSteps:filenameToSteps(filenameOrSteps),link=this.getLinkParent(steps);if(!link)throw createError(ENOENT,funcName,sep+steps.join(sep));if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,sep+steps.join(sep));return link},Volume2.prototype.getFileByFd=function(fd){return this.fds[String(fd)]},Volume2.prototype.getFileByFdOrThrow=function(fd,funcName){if(!isFd(fd))throw TypeError(ERRSTR.FD);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,funcName);return file},Volume2.prototype.getNodeByIdOrCreate=function(id,flags,perm){if(typeof id=="number"){var file=this.getFileByFd(id);if(!file)throw Error("File nto found");return file.node}else{var steps=pathToSteps(id),link=this.getLink(steps);if(link)return link.getNode();if(flags&O_CREAT){var dirLink=this.getLinkParent(steps);if(dirLink){var name_1=steps[steps.length-1];return link=this.createLink(dirLink,name_1,!1,perm),link.getNode()}}throw createError(ENOENT,"getNodeByIdOrCreate",pathToFilename(id))}},Volume2.prototype.wrapAsync=function(method,args,callback){var _this=this;validateCallback(callback),setImmediate_1.default(function(){try{callback(null,method.apply(_this,args))}catch(err){callback(err)}})},Volume2.prototype._toJSON=function(link,json,path){var _a;link===void 0&&(link=this.root),json===void 0&&(json={});var isEmpty=!0,children=link.children;link.getNode().isFile()&&(children=(_a={},_a[link.getName()]=link.parent.getChild(link.getName()),_a),link=link.parent);for(var name_2 in children){isEmpty=!1;var child=link.getChild(name_2);if(!child)throw new Error("_toJSON: unexpected undefined");var node=child.getNode();if(node.isFile()){var filename=child.getPath();path&&(filename=relative(path,filename)),json[filename]=node.getString()}else node.isDirectory()&&this._toJSON(child,json,path)}var dirPath=link.getPath();return path&&(dirPath=relative(path,dirPath)),dirPath&&isEmpty&&(json[dirPath]=null),json},Volume2.prototype.toJSON=function(paths,json,isRelative){json===void 0&&(json={}),isRelative===void 0&&(isRelative=!1);var links=[];if(paths){paths instanceof Array||(paths=[paths]);for(var _i=0,paths_1=paths;_i<paths_1.length;_i++){var path=paths_1[_i],filename=pathToFilename(path),link=this.getResolvedLink(filename);!link||links.push(link)}}else links.push(this.root);if(!links.length)return json;for(var _a=0,links_1=links;_a<links_1.length;_a++){var link=links_1[_a];this._toJSON(link,json,isRelative?link.getPath():"")}return json},Volume2.prototype.fromJSON=function(json,cwd){cwd===void 0&&(cwd=process_1.default.cwd());for(var filename in json){var data=json[filename];if(typeof data=="string"){filename=resolve(filename,cwd);var steps=filenameToSteps(filename);if(steps.length>1){var dirname=sep+steps.slice(0,steps.length-1).join(sep);this.mkdirpBase(dirname,511)}this.writeFileSync(filename,data)}else this.mkdirpBase(filename,511)}},Volume2.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},Volume2.prototype.mountSync=function(mountpoint,json){this.fromJSON(json,mountpoint)},Volume2.prototype.openLink=function(link,flagsNum,resolveSymlinks){if(resolveSymlinks===void 0&&(resolveSymlinks=!0),this.openFiles>=this.maxFiles)throw createError(EMFILE,"open",link.getPath());var realLink=link;if(resolveSymlinks&&(realLink=this.resolveSymlinks(link)),!realLink)throw createError(ENOENT,"open",link.getPath());var node=realLink.getNode();if(node.isDirectory()&&flagsNum!==FLAGS.r)throw createError(EISDIR,"open",link.getPath());if(!(flagsNum&O_WRONLY)&&!node.canRead())throw createError(EACCES,"open",link.getPath());flagsNum&O_RDWR;var file=new this.props.File(link,node,flagsNum,this.newFdNumber());return this.fds[file.fd]=file,this.openFiles++,flagsNum&O_TRUNC&&file.truncate(),file},Volume2.prototype.openFile=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var steps=filenameToSteps(filename),link=resolveSymlinks?this.getResolvedLink(steps):this.getLink(steps);if(!link&&flagsNum&O_CREAT){var dirLink=this.getResolvedLink(steps.slice(0,steps.length-1));if(!dirLink)throw createError(ENOENT,"open",sep+steps.join(sep));flagsNum&O_CREAT&&typeof modeNum=="number"&&(link=this.createLink(dirLink,steps[steps.length-1],!1,modeNum))}if(link)return this.openLink(link,flagsNum,resolveSymlinks);throw createError(ENOENT,"open",filename)},Volume2.prototype.openBase=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var file=this.openFile(filename,flagsNum,modeNum,resolveSymlinks);if(!file)throw createError(ENOENT,"open",filename);return file.fd},Volume2.prototype.openSync=function(path,flags,mode){mode===void 0&&(mode=438);var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);return this.openBase(fileName,flagsNum,modeNum)},Volume2.prototype.open=function(path,flags,a,b){var mode=a,callback=b;typeof a=="function"&&(mode=438,callback=a),mode=mode||438;var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);this.wrapAsync(this.openBase,[fileName,flagsNum,modeNum],callback)},Volume2.prototype.closeFile=function(file){!this.fds[file.fd]||(this.openFiles--,delete this.fds[file.fd],this.releasedFds.push(file.fd))},Volume2.prototype.closeSync=function(fd){validateFd(fd);var file=this.getFileByFdOrThrow(fd,"close");this.closeFile(file)},Volume2.prototype.close=function(fd,callback){validateFd(fd),this.wrapAsync(this.closeSync,[fd],callback)},Volume2.prototype.openFileOrGetById=function(id,flagsNum,modeNum){if(typeof id=="number"){var file=this.fds[id];if(!file)throw createError(ENOENT);return file}else return this.openFile(pathToFilename(id),flagsNum,modeNum)},Volume2.prototype.readBase=function(fd,buffer,offset,length,position){var file=this.getFileByFdOrThrow(fd);return file.read(buffer,Number(offset),Number(length),position)},Volume2.prototype.readSync=function(fd,buffer,offset,length,position){return validateFd(fd),this.readBase(fd,buffer,offset,length,position)},Volume2.prototype.read=function(fd,buffer,offset,length,position,callback){var _this=this;if(validateCallback(callback),length===0)return process_1.default.nextTick(function(){callback&&callback(null,0,buffer)});setImmediate_1.default(function(){try{var bytes=_this.readBase(fd,buffer,offset,length,position);callback(null,bytes,buffer)}catch(err){callback(err)}})},Volume2.prototype.readFileBase=function(id,flagsNum,encoding){var result,isUserFd=typeof id=="number",userOwnsFd=isUserFd&&isFd(id),fd;if(userOwnsFd)fd=id;else{var filename=pathToFilename(id),steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(link){var node=link.getNode();if(node.isDirectory())throw createError(EISDIR,"open",link.getPath())}fd=this.openSync(id,flagsNum)}try{result=bufferToEncoding(this.getFileByFdOrThrow(fd).getBuffer(),encoding)}finally{userOwnsFd||this.closeSync(fd)}return result},Volume2.prototype.readFileSync=function(file,options){var opts=getReadFileOptions(options),flagsNum=flagsToNumber(opts.flag);return this.readFileBase(file,flagsNum,opts.encoding)},Volume2.prototype.readFile=function(id,a,b){var _a=optsAndCbGenerator(getReadFileOptions)(a,b),opts=_a[0],callback=_a[1],flagsNum=flagsToNumber(opts.flag);this.wrapAsync(this.readFileBase,[id,flagsNum,opts.encoding],callback)},Volume2.prototype.writeBase=function(fd,buf,offset,length,position){var file=this.getFileByFdOrThrow(fd,"write");return file.write(buf,offset,length,position)},Volume2.prototype.writeSync=function(fd,a,b,c,d){validateFd(fd);var encoding,offset,length,position,isBuffer=typeof a!="string";isBuffer?(offset=(b||0)|0,length=c,position=d):(position=b,encoding=c);var buf=dataToBuffer(a,encoding);return isBuffer?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length),this.writeBase(fd,buf,offset,length,position)},Volume2.prototype.write=function(fd,a,b,c,d,e){var _this=this;validateFd(fd);var offset,length,position,encoding,callback,tipa=typeof a,tipb=typeof b,tipc=typeof c,tipd=typeof d;tipa!=="string"?tipb==="function"?callback=b:tipc==="function"?(offset=b|0,callback=c):tipd==="function"?(offset=b|0,length=c,callback=d):(offset=b|0,length=c,position=d,callback=e):tipb==="function"?callback=b:tipc==="function"?(position=b,callback=c):tipd==="function"&&(position=b,encoding=c,callback=d);var buf=dataToBuffer(a,encoding);tipa!=="string"?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length);var cb=validateCallback(callback);setImmediate_1.default(function(){try{var bytes=_this.writeBase(fd,buf,offset,length,position);tipa!=="string"?cb(null,bytes,buf):cb(null,bytes,a)}catch(err){cb(err)}})},Volume2.prototype.writeFileBase=function(id,buf,flagsNum,modeNum){var isUserFd=typeof id=="number",fd;isUserFd?fd=id:fd=this.openBase(pathToFilename(id),flagsNum,modeNum);var offset=0,length=buf.length,position=flagsNum&O_APPEND?void 0:0;try{for(;length>0;){var written=this.writeSync(fd,buf,offset,length,position);offset+=written,length-=written,position!==void 0&&(position+=written)}}finally{isUserFd||this.closeSync(fd)}},Volume2.prototype.writeFileSync=function(id,data,options){var opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.writeFileBase(id,buf,flagsNum,modeNum)},Volume2.prototype.writeFile=function(id,data,a,b){var options=a,callback=b;typeof a=="function"&&(options=writeFileDefaults,callback=a);var cb=validateCallback(callback),opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.wrapAsync(this.writeFileBase,[id,buf,flagsNum,modeNum],cb)},Volume2.prototype.linkBase=function(filename1,filename2){var steps1=filenameToSteps(filename1),link1=this.getLink(steps1);if(!link1)throw createError(ENOENT,"link",filename1,filename2);var steps2=filenameToSteps(filename2),dir2=this.getLinkParent(steps2);if(!dir2)throw createError(ENOENT,"link",filename1,filename2);var name=steps2[steps2.length-1];if(dir2.getChild(name))throw createError(EEXIST,"link",filename1,filename2);var node=link1.getNode();node.nlink++,dir2.createChild(name,node)},Volume2.prototype.copyFileBase=function(src,dest,flags){var buf=this.readFileSync(src);if(flags&COPYFILE_EXCL&&this.existsSync(dest))throw createError(EEXIST,"copyFile",src,dest);if(flags&COPYFILE_FICLONE_FORCE)throw createError(ENOSYS,"copyFile",src,dest);this.writeFileBase(dest,buf,FLAGS.w,438)},Volume2.prototype.copyFileSync=function(src,dest,flags){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest);return this.copyFileBase(srcFilename,destFilename,(flags||0)|0)},Volume2.prototype.copyFile=function(src,dest,a,b){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest),flags,callback;typeof a=="function"?(flags=0,callback=a):(flags=a,callback=b),validateCallback(callback),this.wrapAsync(this.copyFileBase,[srcFilename,destFilename,flags],callback)},Volume2.prototype.linkSync=function(existingPath,newPath){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.linkBase(existingPathFilename,newPathFilename)},Volume2.prototype.link=function(existingPath,newPath,callback){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.linkBase,[existingPathFilename,newPathFilename],callback)},Volume2.prototype.unlinkBase=function(filename){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,"unlink",filename);if(link.length)throw Error("Dir not empty...");this.deleteLink(link);var node=link.getNode();node.nlink--,node.nlink<=0&&this.deleteNode(node)},Volume2.prototype.unlinkSync=function(path){var filename=pathToFilename(path);this.unlinkBase(filename)},Volume2.prototype.unlink=function(path,callback){var filename=pathToFilename(path);this.wrapAsync(this.unlinkBase,[filename],callback)},Volume2.prototype.symlinkBase=function(targetFilename,pathFilename){var pathSteps=filenameToSteps(pathFilename),dirLink=this.getLinkParent(pathSteps);if(!dirLink)throw createError(ENOENT,"symlink",targetFilename,pathFilename);var name=pathSteps[pathSteps.length-1];if(dirLink.getChild(name))throw createError(EEXIST,"symlink",targetFilename,pathFilename);var symlink=dirLink.createChild(name);return symlink.getNode().makeSymlink(filenameToSteps(targetFilename)),symlink},Volume2.prototype.symlinkSync=function(target,path,type){var targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.symlinkBase(targetFilename,pathFilename)},Volume2.prototype.symlink=function(target,path,a,b){var callback=validateCallback(typeof a=="function"?a:b),targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.wrapAsync(this.symlinkBase,[targetFilename,pathFilename],callback)},Volume2.prototype.realpathBase=function(filename,encoding){var steps=filenameToSteps(filename),realLink=this.getResolvedLink(steps);if(!realLink)throw createError(ENOENT,"realpath",filename);return encoding_1.strToEncoding(realLink.getPath(),encoding)},Volume2.prototype.realpathSync=function(path,options){return this.realpathBase(pathToFilename(path),getRealpathOptions(options).encoding)},Volume2.prototype.realpath=function(path,a,b){var _a=getRealpathOptsAndCb(a,b),opts=_a[0],callback=_a[1],pathFilename=pathToFilename(path);this.wrapAsync(this.realpathBase,[pathFilename,opts.encoding],callback)},Volume2.prototype.lstatBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"lstat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.lstatSync=function(path,options){return this.lstatBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.lstat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.lstatBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.statBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getResolvedLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"stat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.statSync=function(path,options){return this.statBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.stat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.statBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.fstatBase=function(fd,bigint){bigint===void 0&&(bigint=!1);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,"fstat");return Stats_1.default.build(file.node,bigint)},Volume2.prototype.fstatSync=function(fd,options){return this.fstatBase(fd,getStatOptions(options).bigint)},Volume2.prototype.fstat=function(fd,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.fstatBase,[fd,opts.bigint],callback)},Volume2.prototype.renameBase=function(oldPathFilename,newPathFilename){var link=this.getLink(filenameToSteps(oldPathFilename));if(!link)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var newPathSteps=filenameToSteps(newPathFilename),newPathDirLink=this.getLinkParent(newPathSteps);if(!newPathDirLink)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var oldLinkParent=link.parent;oldLinkParent&&oldLinkParent.deleteChild(link);var name=newPathSteps[newPathSteps.length-1];link.steps=__spreadArrays(newPathDirLink.steps,[name]),newPathDirLink.setChild(link.getName(),link)},Volume2.prototype.renameSync=function(oldPath,newPath){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.renameBase(oldPathFilename,newPathFilename)},Volume2.prototype.rename=function(oldPath,newPath,callback){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.renameBase,[oldPathFilename,newPathFilename],callback)},Volume2.prototype.existsBase=function(filename){return!!this.statBase(filename)},Volume2.prototype.existsSync=function(path){try{return this.existsBase(pathToFilename(path))}catch{return!1}},Volume2.prototype.exists=function(path,callback){var _this=this,filename=pathToFilename(path);if(typeof callback!="function")throw Error(ERRSTR.CB);setImmediate_1.default(function(){try{callback(_this.existsBase(filename))}catch{callback(!1)}})},Volume2.prototype.accessBase=function(filename,mode){var link=this.getLinkOrThrow(filename,"access")},Volume2.prototype.accessSync=function(path,mode){mode===void 0&&(mode=F_OK);var filename=pathToFilename(path);mode=mode|0,this.accessBase(filename,mode)},Volume2.prototype.access=function(path,a,b){var mode=F_OK,callback;typeof a!="function"?(mode=a|0,callback=validateCallback(b)):callback=a;var filename=pathToFilename(path);this.wrapAsync(this.accessBase,[filename,mode],callback)},Volume2.prototype.appendFileSync=function(id,data,options){options===void 0&&(options=appendFileDefaults);var opts=getAppendFileOpts(options);(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFileSync(id,data,opts)},Volume2.prototype.appendFile=function(id,data,a,b){var _a=getAppendFileOptsAndCb(a,b),opts=_a[0],callback=_a[1];(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFile(id,data,opts,callback)},Volume2.prototype.readdirBase=function(filename,options){var steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(!link)throw createError(ENOENT,"readdir",filename);var node=link.getNode();if(!node.isDirectory())throw createError(ENOTDIR,"scandir",filename);if(options.withFileTypes){var list_1=[];for(var name_3 in link.children){var child=link.getChild(name_3);!child||list_1.push(Dirent_1.default.build(child,options.encoding))}return!isWin&&options.encoding!=="buffer"&&list_1.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0}),list_1}var list=[];for(var name_4 in link.children)list.push(encoding_1.strToEncoding(name_4,options.encoding));return!isWin&&options.encoding!=="buffer"&&list.sort(),list},Volume2.prototype.readdirSync=function(path,options){var opts=getReaddirOptions(options),filename=pathToFilename(path);return this.readdirBase(filename,opts)},Volume2.prototype.readdir=function(path,a,b){var _a=getReaddirOptsAndCb(a,b),options=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readdirBase,[filename,options],callback)},Volume2.prototype.readlinkBase=function(filename,encoding){var link=this.getLinkOrThrow(filename,"readlink"),node=link.getNode();if(!node.isSymlink())throw createError(EINVAL,"readlink",filename);var str=sep+node.symlink.join(sep);return encoding_1.strToEncoding(str,encoding)},Volume2.prototype.readlinkSync=function(path,options){var opts=getDefaultOpts(options),filename=pathToFilename(path);return this.readlinkBase(filename,opts.encoding)},Volume2.prototype.readlink=function(path,a,b){var _a=getDefaultOptsAndCb(a,b),opts=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readlinkBase,[filename,opts.encoding],callback)},Volume2.prototype.fsyncBase=function(fd){this.getFileByFdOrThrow(fd,"fsync")},Volume2.prototype.fsyncSync=function(fd){this.fsyncBase(fd)},Volume2.prototype.fsync=function(fd,callback){this.wrapAsync(this.fsyncBase,[fd],callback)},Volume2.prototype.fdatasyncBase=function(fd){this.getFileByFdOrThrow(fd,"fdatasync")},Volume2.prototype.fdatasyncSync=function(fd){this.fdatasyncBase(fd)},Volume2.prototype.fdatasync=function(fd,callback){this.wrapAsync(this.fdatasyncBase,[fd],callback)},Volume2.prototype.ftruncateBase=function(fd,len){var file=this.getFileByFdOrThrow(fd,"ftruncate");file.truncate(len)},Volume2.prototype.ftruncateSync=function(fd,len){this.ftruncateBase(fd,len)},Volume2.prototype.ftruncate=function(fd,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);this.wrapAsync(this.ftruncateBase,[fd,len],callback)},Volume2.prototype.truncateBase=function(path,len){var fd=this.openSync(path,"r+");try{this.ftruncateSync(fd,len)}finally{this.closeSync(fd)}},Volume2.prototype.truncateSync=function(id,len){if(isFd(id))return this.ftruncateSync(id,len);this.truncateBase(id,len)},Volume2.prototype.truncate=function(id,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);if(isFd(id))return this.ftruncate(id,len,callback);this.wrapAsync(this.truncateBase,[id,len],callback)},Volume2.prototype.futimesBase=function(fd,atime,mtime){var file=this.getFileByFdOrThrow(fd,"futimes"),node=file.node;node.atime=new Date(atime*1e3),node.mtime=new Date(mtime*1e3)},Volume2.prototype.futimesSync=function(fd,atime,mtime){this.futimesBase(fd,toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.futimes=function(fd,atime,mtime,callback){this.wrapAsync(this.futimesBase,[fd,toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.utimesBase=function(filename,atime,mtime){var fd=this.openSync(filename,"r+");try{this.futimesBase(fd,atime,mtime)}finally{this.closeSync(fd)}},Volume2.prototype.utimesSync=function(path,atime,mtime){this.utimesBase(pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.utimes=function(path,atime,mtime,callback){this.wrapAsync(this.utimesBase,[pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.mkdirBase=function(filename,modeNum){var steps=filenameToSteps(filename);if(!steps.length)throw createError(EISDIR,"mkdir",filename);var dir=this.getLinkParentAsDirOrThrow(filename,"mkdir"),name=steps[steps.length-1];if(dir.getChild(name))throw createError(EEXIST,"mkdir",filename);dir.createChild(name,this.createNode(!0,modeNum))},Volume2.prototype.mkdirpBase=function(filename,modeNum){for(var steps=filenameToSteps(filename),link=this.root,i=0;i<steps.length;i++){var step=steps[i];if(!link.getNode().isDirectory())throw createError(ENOTDIR,"mkdir",link.getPath());var child=link.getChild(step);if(child)if(child.getNode().isDirectory())link=child;else throw createError(ENOTDIR,"mkdir",child.getPath());else link=link.createChild(step,this.createNode(!0,modeNum))}},Volume2.prototype.mkdirSync=function(path,options){var opts=getMkdirOptions(options),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.mkdirpBase(filename,modeNum):this.mkdirBase(filename,modeNum)},Volume2.prototype.mkdir=function(path,a,b){var opts=getMkdirOptions(a),callback=validateCallback(typeof a=="function"?a:b),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.wrapAsync(this.mkdirpBase,[filename,modeNum],callback):this.wrapAsync(this.mkdirBase,[filename,modeNum],callback)},Volume2.prototype.mkdirpSync=function(path,mode){this.mkdirSync(path,{mode,recursive:!0})},Volume2.prototype.mkdirp=function(path,a,b){var mode=typeof a=="function"?void 0:a,callback=validateCallback(typeof a=="function"?a:b);this.mkdir(path,{mode,recursive:!0},callback)},Volume2.prototype.mkdtempBase=function(prefix,encoding,retry){retry===void 0&&(retry=5);var filename=prefix+this.genRndStr();try{return this.mkdirBase(filename,511),encoding_1.strToEncoding(filename,encoding)}catch(err){if(err.code===EEXIST){if(retry>1)return this.mkdtempBase(prefix,encoding,retry-1);throw Error("Could not create temp dir.")}else throw err}},Volume2.prototype.mkdtempSync=function(prefix,options){var encoding=getDefaultOpts(options).encoding;if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");return nullCheck(prefix),this.mkdtempBase(prefix,encoding)},Volume2.prototype.mkdtemp=function(prefix,a,b){var _a=getDefaultOptsAndCb(a,b),encoding=_a[0].encoding,callback=_a[1];if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");!nullCheck(prefix)||this.wrapAsync(this.mkdtempBase,[prefix,encoding],callback)},Volume2.prototype.rmdirBase=function(filename,options){var opts=getRmdirOptions(options),link=this.getLinkAsDirOrThrow(filename,"rmdir");if(link.length&&!opts.recursive)throw createError(ENOTEMPTY,"rmdir",filename);this.deleteLink(link)},Volume2.prototype.rmdirSync=function(path,options){this.rmdirBase(pathToFilename(path),options)},Volume2.prototype.rmdir=function(path,a,b){var opts=getRmdirOptions(a),callback=validateCallback(typeof a=="function"?a:b);this.wrapAsync(this.rmdirBase,[pathToFilename(path),opts],callback)},Volume2.prototype.fchmodBase=function(fd,modeNum){var file=this.getFileByFdOrThrow(fd,"fchmod");file.chmod(modeNum)},Volume2.prototype.fchmodSync=function(fd,mode){this.fchmodBase(fd,modeToNumber(mode))},Volume2.prototype.fchmod=function(fd,mode,callback){this.wrapAsync(this.fchmodBase,[fd,modeToNumber(mode)],callback)},Volume2.prototype.chmodBase=function(filename,modeNum){var fd=this.openSync(filename,"r+");try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.chmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.chmodBase(filename,modeNum)},Volume2.prototype.chmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.chmodBase,[filename,modeNum],callback)},Volume2.prototype.lchmodBase=function(filename,modeNum){var fd=this.openBase(filename,O_RDWR,0,!1);try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.lchmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.lchmodBase(filename,modeNum)},Volume2.prototype.lchmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.lchmodBase,[filename,modeNum],callback)},Volume2.prototype.fchownBase=function(fd,uid,gid){this.getFileByFdOrThrow(fd,"fchown").chown(uid,gid)},Volume2.prototype.fchownSync=function(fd,uid,gid){validateUid(uid),validateGid(gid),this.fchownBase(fd,uid,gid)},Volume2.prototype.fchown=function(fd,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.fchownBase,[fd,uid,gid],callback)},Volume2.prototype.chownBase=function(filename,uid,gid){var link=this.getResolvedLinkOrThrow(filename,"chown"),node=link.getNode();node.chown(uid,gid)},Volume2.prototype.chownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.chownBase(pathToFilename(path),uid,gid)},Volume2.prototype.chown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.chownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.lchownBase=function(filename,uid,gid){this.getLinkOrThrow(filename,"lchown").getNode().chown(uid,gid)},Volume2.prototype.lchownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.lchownBase(pathToFilename(path),uid,gid)},Volume2.prototype.lchown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.lchownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.watchFile=function(path,a,b){var filename=pathToFilename(path),options=a,listener=b;if(typeof options=="function"&&(listener=a,options=null),typeof listener!="function")throw Error('"watchFile()" requires a listener function');var interval=5007,persistent=!0;options&&typeof options=="object"&&(typeof options.interval=="number"&&(interval=options.interval),typeof options.persistent=="boolean"&&(persistent=options.persistent));var watcher=this.statWatchers[filename];return watcher||(watcher=new this.StatWatcher,watcher.start(filename,persistent,interval),this.statWatchers[filename]=watcher),watcher.addListener("change",listener),watcher},Volume2.prototype.unwatchFile=function(path,listener){var filename=pathToFilename(path),watcher=this.statWatchers[filename];!watcher||(typeof listener=="function"?watcher.removeListener("change",listener):watcher.removeAllListeners("change"),watcher.listenerCount("change")===0&&(watcher.stop(),delete this.statWatchers[filename]))},Volume2.prototype.createReadStream=function(path,options){return new this.ReadStream(path,options)},Volume2.prototype.createWriteStream=function(path,options){return new this.WriteStream(path,options)},Volume2.prototype.watch=function(path,options,listener){var filename=pathToFilename(path),givenOptions=options;typeof options=="function"&&(listener=options,givenOptions=null);var _a=getDefaultOpts(givenOptions),persistent=_a.persistent,recursive=_a.recursive,encoding=_a.encoding;persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1);var watcher=new this.FSWatcher;return watcher.start(filename,persistent,recursive,encoding),listener&&watcher.addListener("change",listener),watcher},Volume2.fd=2147483647,Volume2}();exports.Volume=Volume;function emitStop(self2){self2.emit("stop")}var StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(vol){var _this=_super.call(this)||this;return _this.onInterval=function(){try{var stats=_this.vol.statSync(_this.filename);_this.hasChanged(stats)&&(_this.emit("change",stats,_this.prev),_this.prev=stats)}finally{_this.loop()}},_this.vol=vol,_this}return StatWatcher2.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},StatWatcher2.prototype.hasChanged=function(stats){return stats.mtimeMs>this.prev.mtimeMs||stats.nlink!==this.prev.nlink},StatWatcher2.prototype.start=function(path,persistent,interval){persistent===void 0&&(persistent=!0),interval===void 0&&(interval=5007),this.filename=pathToFilename(path),this.setTimeout=persistent?setTimeout:setTimeoutUnref_1.default,this.interval=interval,this.prev=this.vol.statSync(this.filename),this.loop()},StatWatcher2.prototype.stop=function(){clearTimeout(this.timeoutRef),process_1.default.nextTick(emitStop,this)},StatWatcher2}(events_1.EventEmitter);exports.StatWatcher=StatWatcher;var pool;function allocNewPool(poolSize){pool=buffer_1.bufferAllocUnsafe(poolSize),pool.used=0}util.inherits(FsReadStream,stream_1.Readable),exports.ReadStream=FsReadStream;function FsReadStream(vol,path,options){if(!(this instanceof FsReadStream))return new FsReadStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),options.highWaterMark===void 0&&(options.highWaterMark=64*1024),stream_1.Readable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"r":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.end=options.end,this.autoClose=options.autoClose===void 0?!0:options.autoClose,this.pos=void 0,this.bytesRead=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}typeof this.fd!="number"&&this.open(),this.on("end",function(){this.autoClose&&this.destroy&&this.destroy()})}FsReadStream.prototype.open=function(){var self2=this;this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);return}self2.fd=fd,self2.emit("open",fd),self2.read()})},FsReadStream.prototype._read=function(n){if(typeof this.fd!="number")return this.once("open",function(){this._read(n)});if(this.destroyed)return;(!pool||pool.length-pool.used<kMinPoolSpace)&&allocNewPool(this._readableState.highWaterMark);var thisPool=pool,toRead=Math.min(pool.length-pool.used,n),start=pool.used;if(this.pos!==void 0&&(toRead=Math.min(this.end-this.pos+1,toRead)),toRead<=0)return this.push(null);var self2=this;this._vol.read(this.fd,pool,pool.used,toRead,this.pos,onread),this.pos!==void 0&&(this.pos+=toRead),pool.used+=toRead;function onread(er,bytesRead){if(er)self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);else{var b=null;bytesRead>0&&(self2.bytesRead+=bytesRead,b=thisPool.slice(start,start+bytesRead)),self2.push(b)}}},FsReadStream.prototype._destroy=function(err,cb){this.close(function(err2){cb(err||err2)})},FsReadStream.prototype.close=function(cb){var _this=this;if(cb&&this.once("close",cb),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",closeOnOpen);return}return process_1.default.nextTick(function(){return _this.emit("close")})}this.closed=!0,this._vol.close(this.fd,function(er){er?_this.emit("error",er):_this.emit("close")}),this.fd=null};function closeOnOpen(fd){this.close()}util.inherits(FsWriteStream,stream_1.Writable),exports.WriteStream=FsWriteStream;function FsWriteStream(vol,path,options){if(!(this instanceof FsWriteStream))return new FsWriteStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),stream_1.Writable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"w":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.autoClose=options.autoClose===void 0?!0:!!options.autoClose,this.pos=void 0,this.bytesWritten=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}options.encoding&&this.setDefaultEncoding(options.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}FsWriteStream.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",er);return}this.fd=fd,this.emit("open",fd)}.bind(this))},FsWriteStream.prototype._write=function(data,encoding,cb){if(!(data instanceof buffer_1.Buffer))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(data,encoding,cb)});var self2=this;this._vol.write(this.fd,data,0,data.length,this.pos,function(er,bytes){if(er)return self2.autoClose&&self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=data.length)},FsWriteStream.prototype._writev=function(data,cb){if(typeof this.fd!="number")return this.once("open",function(){this._writev(data,cb)});for(var self2=this,len=data.length,chunks=new Array(len),size=0,i=0;i<len;i++){var chunk=data[i].chunk;chunks[i]=chunk,size+=chunk.length}var buf=buffer_1.Buffer.concat(chunks);this._vol.write(this.fd,buf,0,buf.length,this.pos,function(er,bytes){if(er)return self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=size)},FsWriteStream.prototype._destroy=FsReadStream.prototype._destroy,FsWriteStream.prototype.close=FsReadStream.prototype.close,FsWriteStream.prototype.destroySoon=FsWriteStream.prototype.end;var FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(vol){var _this=_super.call(this)||this;return _this._filename="",_this._filenameEncoded="",_this._recursive=!1,_this._encoding=encoding_1.ENCODING_UTF8,_this._onNodeChange=function(){_this._emit("change")},_this._onParentChild=function(link){link.getName()===_this._getName()&&_this._emit("rename")},_this._emit=function(type){_this.emit("change",type,_this._filenameEncoded)},_this._persist=function(){_this._timer=setTimeout(_this._persist,1e6)},_this._vol=vol,_this}return FSWatcher2.prototype._getName=function(){return this._steps[this._steps.length-1]},FSWatcher2.prototype.start=function(path,persistent,recursive,encoding){persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1),encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),this._filename=pathToFilename(path),this._steps=filenameToSteps(this._filename),this._filenameEncoded=encoding_1.strToEncoding(this._filename),this._recursive=recursive,this._encoding=encoding;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(err){var error=new Error("watch "+this._filename+" "+err.code);throw error.code=err.code,error.errno=err.code,error}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var parent=this._link.parent;parent&&(parent.setMaxListeners(parent.getMaxListeners()+1),parent.on("child:delete",this._onParentChild)),persistent&&this._persist()},FSWatcher2.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var parent=this._link.parent;parent&&parent.removeListener("child:delete",this._onParentChild)},FSWatcher2}(events_1.EventEmitter);exports.FSWatcher=FSWatcher},83789:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__)},30829:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__)},29125:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__)},81518:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={row:"row_row__2DVeR"}},30795:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={low:"elevations_low__KWOUs",medium:"elevations_medium__1b7Vc",high:"elevations_high__3bcls"}},84713:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={low:"elevations_low__2Q70V",medium:"elevations_medium__2Ru6o",high:"elevations_high__2BM6h"}},74863:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={sharp:"roundness_sharp__qqMS3",default:"roundness_default__sjeJM",small:"roundness_small__3qiv4",medium:"roundness_medium__1IiFJ",circle:"roundness_circle__2J-GV"}},49611:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dotsLoader:"dots-loader_dotsLoader__2Pozd","scale-down":"dots-loader_scale-down__1YduD"}},51294:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={vanillaButton:"button_vanillaButton__2K-_L"}},4509:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={error:"error_error__2c-_x"}},6322:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={"colTemplate--xs-1":"grid-template_colTemplate--xs-1__1bmNI","colTemplate--sm-1":"grid-template_colTemplate--sm-1__VBYCs","colTemplate--md-1":"grid-template_colTemplate--md-1__PE7pT","colTemplate--l-1":"grid-template_colTemplate--l-1__29gyE","colTemplate--lg-1":"grid-template_colTemplate--lg-1__3DoGH","colTemplate--xl-1":"grid-template_colTemplate--xl-1__20pa3","colTemplate--all-1":"grid-template_colTemplate--all-1__3Uipc","colTemplate--xs-2":"grid-template_colTemplate--xs-2__3a7ep","colTemplate--sm-2":"grid-template_colTemplate--sm-2__24XtX","colTemplate--md-2":"grid-template_colTemplate--md-2__2xZUq","colTemplate--l-2":"grid-template_colTemplate--l-2__2N4v-","colTemplate--lg-2":"grid-template_colTemplate--lg-2__RrxZK","colTemplate--xl-2":"grid-template_colTemplate--xl-2__26hWJ","colTemplate--all-2":"grid-template_colTemplate--all-2__3JbVo","colTemplate--xs-3":"grid-template_colTemplate--xs-3__2E2B6","colTemplate--sm-3":"grid-template_colTemplate--sm-3__et6HA","colTemplate--md-3":"grid-template_colTemplate--md-3__12OEX","colTemplate--l-3":"grid-template_colTemplate--l-3__31JuT","colTemplate--lg-3":"grid-template_colTemplate--lg-3__xwt2H","colTemplate--xl-3":"grid-template_colTemplate--xl-3__2mWeT","colTemplate--all-3":"grid-template_colTemplate--all-3__BgQvg","colTemplate--xs-4":"grid-template_colTemplate--xs-4__1z7CT","colTemplate--sm-4":"grid-template_colTemplate--sm-4__1ACIx","colTemplate--md-4":"grid-template_colTemplate--md-4__1XxKH","colTemplate--l-4":"grid-template_colTemplate--l-4__3poVM","colTemplate--lg-4":"grid-template_colTemplate--lg-4__21vVf","colTemplate--xl-4":"grid-template_colTemplate--xl-4__2QA2R","colTemplate--all-4":"grid-template_colTemplate--all-4__1nzLz","colTemplate--xs-5":"grid-template_colTemplate--xs-5__1jsV3","colTemplate--sm-5":"grid-template_colTemplate--sm-5__22XuL","colTemplate--md-5":"grid-template_colTemplate--md-5__3ez8a","colTemplate--l-5":"grid-template_colTemplate--l-5__38wI6","colTemplate--lg-5":"grid-template_colTemplate--lg-5__2mYeR","colTemplate--xl-5":"grid-template_colTemplate--xl-5__GS7zN","colTemplate--all-5":"grid-template_colTemplate--all-5__3CBFs","colTemplate--xs-6":"grid-template_colTemplate--xs-6__sRH0F","colTemplate--sm-6":"grid-template_colTemplate--sm-6__nvSqH","colTemplate--md-6":"grid-template_colTemplate--md-6__2G-PK","colTemplate--l-6":"grid-template_colTemplate--l-6__3mPou","colTemplate--lg-6":"grid-template_colTemplate--lg-6__1ILTz","colTemplate--xl-6":"grid-template_colTemplate--xl-6__3KmCA","colTemplate--all-6":"grid-template_colTemplate--all-6__2KiMk","colTemplate--xs-7":"grid-template_colTemplate--xs-7__3-YoV","colTemplate--sm-7":"grid-template_colTemplate--sm-7__2GDTQ","colTemplate--md-7":"grid-template_colTemplate--md-7__q86EY","colTemplate--l-7":"grid-template_colTemplate--l-7__3E0w0","colTemplate--lg-7":"grid-template_colTemplate--lg-7__3Am2f","colTemplate--xl-7":"grid-template_colTemplate--xl-7__2DrJm","colTemplate--all-7":"grid-template_colTemplate--all-7__1nQB6","colTemplate--xs-8":"grid-template_colTemplate--xs-8__3GnTH","colTemplate--sm-8":"grid-template_colTemplate--sm-8__3WAZf","colTemplate--md-8":"grid-template_colTemplate--md-8__18pZq","colTemplate--l-8":"grid-template_colTemplate--l-8__wmiYo","colTemplate--lg-8":"grid-template_colTemplate--lg-8__201GM","colTemplate--xl-8":"grid-template_colTemplate--xl-8__9L6wk","colTemplate--all-8":"grid-template_colTemplate--all-8__3fAW6","colTemplate--xs-9":"grid-template_colTemplate--xs-9__3-2HO","colTemplate--sm-9":"grid-template_colTemplate--sm-9__1s23N","colTemplate--md-9":"grid-template_colTemplate--md-9__YhOJY","colTemplate--l-9":"grid-template_colTemplate--l-9__2DLd6","colTemplate--lg-9":"grid-template_colTemplate--lg-9__tEITN","colTemplate--xl-9":"grid-template_colTemplate--xl-9__2e9c_","colTemplate--all-9":"grid-template_colTemplate--all-9__3KgyU","colTemplate--xs-10":"grid-template_colTemplate--xs-10__wMXHc","colTemplate--sm-10":"grid-template_colTemplate--sm-10__827CH","colTemplate--md-10":"grid-template_colTemplate--md-10__2cIWZ","colTemplate--l-10":"grid-template_colTemplate--l-10__19GnH","colTemplate--lg-10":"grid-template_colTemplate--lg-10__yHBMv","colTemplate--xl-10":"grid-template_colTemplate--xl-10__3_XsD","colTemplate--all-10":"grid-template_colTemplate--all-10__1aK9M","colTemplate--xs-11":"grid-template_colTemplate--xs-11__1yC2F","colTemplate--sm-11":"grid-template_colTemplate--sm-11__3YVqp","colTemplate--md-11":"grid-template_colTemplate--md-11__3rur1","colTemplate--l-11":"grid-template_colTemplate--l-11__2UqN8","colTemplate--lg-11":"grid-template_colTemplate--lg-11__22tHV","colTemplate--xl-11":"grid-template_colTemplate--xl-11__297WT","colTemplate--all-11":"grid-template_colTemplate--all-11__23AYC","colTemplate--xs-12":"grid-template_colTemplate--xs-12__2uSOm","colTemplate--sm-12":"grid-template_colTemplate--sm-12__ifheG","colTemplate--md-12":"grid-template_colTemplate--md-12__33HXT","colTemplate--l-12":"grid-template_colTemplate--l-12__3Nzub","colTemplate--lg-12":"grid-template_colTemplate--lg-12__ZaZcI","colTemplate--xl-12":"grid-template_colTemplate--xl-12__1IdhS","colTemplate--all-12":"grid-template_colTemplate--all-12__11Mby"}},63707:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={gridContainer:"grid_gridContainer__Sd_U5"}},146:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={centerColumn:"page-frame_centerColumn__1ewD0",wideColumn:"page-frame_wideColumn__piV4O",textColumn:"page-frame_textColumn__ecQbL"}},48964:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={skeletonContent:"skeleton-design_skeletonContent__WVd3L",line:"skeleton-design_line__3Ctr5",word:"skeleton-design_word__1RgVx",shimmer:"skeleton-design_shimmer__3ibLc",skeleton:"skeleton-design_skeleton__mlV5I",block:"skeleton-design_block__1q8kb",circle:"skeleton-design_circle__3WCCW",placeHolderShimmer:"skeleton-design_placeHolderShimmer__g423G","skeleton-effect-fade":"skeleton-design_skeleton-effect-fade__2FcVU"}},59644:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={skeleton:"skeleton_skeleton__XLcB5",block:"skeleton_block__LnF7C",circle:"skeleton_circle__2R2zC",skeletonContent:"skeleton_skeletonContent__1ebTI",line:"skeleton_line__rq0jJ",word:"skeleton_word__3F6ok"}},52287:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={flexCenter:"flex-center_flexCenter__1oWAc"}},2024:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"abs-container_container__3DRE5",containee:"abs-container_containee__2YHXp"}},64262:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={displacement:"displacement_displacement__xZyVx"}},83450:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"positions_top__9QkuL","top-start":"positions_top-start__1Ydt3","top-end":"positions_top-end__PL3I7",right:"positions_right__1-d9C","right-start":"positions_right-start__3Ev9r","right-end":"positions_right-end__VQ6lo",bottom:"positions_bottom__1R7lM","bottom-start":"positions_bottom-start__1uHY3","bottom-end":"positions_bottom-end__3n8D5",left:"positions_left__1nG7t","left-start":"positions_left-start__11oaz","left-end":"positions_left-end__2sOa9",cover:"positions_cover__3-dyX"}},52614:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"abs-container_container__mj034",containee:"abs-container_containee__WARZP"}},32551:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={displacement:"displacement_displacement__2fioX"}},81174:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"positions_top__EIr1r","top-start":"positions_top-start__2yC4C","top-end":"positions_top-end__NMvDv",right:"positions_right__26tpo","right-start":"positions_right-start__1plW5","right-end":"positions_right-end__11Eag",bottom:"positions_bottom__3hfjU","bottom-start":"positions_bottom-start__1VMAE","bottom-end":"positions_bottom-end__30RsX",left:"positions_left___dgec","left-start":"positions_left-start__20AFS","left-end":"positions_left-end__2gq5I",cover:"positions_cover__1ps_D"}},42261:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bedrock:"background_bedrock__wVnY8",base:"background_base__q-x6A",layer:"background_layer__2w7_o",crust:"background_crust__2GeNv",topping:"background_topping__1a-EX",dent:"background_dent__3Vh0N"}},31314:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bedrock:"background_bedrock__2cXlF",base:"background_base__1MWFH",layer:"background_layer__3pJn0",crust:"background_crust__3cYuK",topping:"background_topping__3AVUv",dent:"background_dent__2pjbP"}},49528:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={card:"card_card__2bqnT"}},85085:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={placeholder:"drawer_placeholder__1zUrV"}},89781:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={placeholder:"drawer_placeholder__3hjya"}},81500:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={hoverSplitter:"splitter_hoverSplitter__ibs9P",highlighter:"splitter_highlighter__T6GwK"}},40966:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={pane:"pane_pane__veuA0"}},43214:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={splitPane:"split-pane_splitPane__3chvd",isDragging:"split-pane_isDragging__2amKx"}},1742:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={splitter:"splitter_splitter__1v8h5"}},61617:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mutedText:"muted-text_mutedText__3IB-P"}},24483:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"text-sizes_xxs__2_cl1",xs:"text-sizes_xs__25v-g",sm:"text-sizes_sm__2aucW",md:"text-sizes_md__15Bm3",lg:"text-sizes_lg__1h5i0",xl:"text-sizes_xl__J0cxN",xxl:"text-sizes_xxl__3A15I"}},49921:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={themedText:"themed-text_themedText__36zoW"}},45499:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={primary:"accent-color_primary__3PeiR",complementary:"accent-color_complementary__Blzf5",impulsive:"accent-color_impulsive__3e3SA",hungry:"accent-color_hungry__1LtFG",success:"accent-color_success__1gipq",process:"accent-color_process__296Ow",emphasized:"accent-color_emphasized__2dgsu",neutral:"accent-color_neutral__2gna2"}},67721:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={brands:"brand-definition_brands__11VLX"}},11826:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={primaryPalette:"color-definition_primaryPalette__2evGB"}},91945:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={darkMod:"dark-theme_darkMod__vMCPC"}},46116:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bookFont:"book-font_bookFont__3TEqD"}},76136:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={headingMargins:"heading-margin-definition_headingMargins__x3ZTG"}},10430:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={shadowTheme:"shadow-definition_shadowTheme__3O_aD"}},36450:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={headingFontSize:"size-definition_headingFontSize__kBO1L",textFontSize:"size-definition_textFontSize__3sn7s"}},16524:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={defaults:"texts_defaults__10H4N"}},18012:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={componentTitle:"component-overview_componentTitle__uVWq9",badgeContainer:"component-overview_badgeContainer__7-7Ex",subTitle:"component-overview_subTitle__3S3QN",titleRow:"component-overview_titleRow__QyBH8",contentTabs:"component-overview_contentTabs__2Ecci",nav:"component-overview_nav__2x7B_",tab:"component-overview_tab__SMXMt",copyBox:"component-overview_copyBox__1v6A7",title:"component-overview_title__3US8b"}},13563:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={label:"version-label_label__1Ng5i",latest:"version-label_latest__1rRkY",current:"version-label_current__2rAp6",versionLabel:"version-label_versionLabel__3AsAM",emptyLabel:"version-label_emptyLabel__Y7g6c",labelContainer:"version-label_labelContainer__1_QHn"}},30224:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionCard:"composition-card_compositionCard__3zY6b",linkToComposition:"composition-card_linkToComposition__1ro2m",compositionContainer:"composition-card_compositionContainer__vqfxm",title:"composition-card_title__10_0-",compositionCardError:"composition-card_compositionCardError__3ig6y"}},32714:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionsMenuBar:"compositions-menu-bar_compositionsMenuBar__2hqhJ",spacer:"compositions-menu-bar_spacer__2dTyO"}},98709:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={background:"compositions-overview_background__1mR9g"}},22168:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonsHolder:"buttons-plugin_buttonsHolder__3k9m2",clearText:"buttons-plugin_clearText__1SLdd"}},82721:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dropdownPlaceholder:"dropdown_dropdownPlaceholder__28w8T",removePlaceholderBorder:"dropdown_removePlaceholderBorder__3AekH",dropdownMenu:"dropdown_dropdownMenu__13XfX"}},10013:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"menu-item_menuItem__P1JgV",withIcon:"menu-item_withIcon__2IgCl",active:"menu-item_active__ju5n7",interactive:"menu-item_interactive__1bSaJ"}},78393:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"menu-item_menuItem__1Oojd",withIcon:"menu-item_withIcon__1XejK",active:"menu-item_active__3z8s4",interactive:"menu-item_interactive__2cN28"}},84625:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={theme:"base-theme_theme__-K1MO"}},75206:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={circularFont:"circular-font_circularFont__3DWbw"}},19038:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={toggler:"theme-toggler_toggler__xm-Z8"}},65214:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={card:"alert-card_card__s03zo",heading:"alert-card_heading__17jBV",icon:"alert-card_icon__1uCuj",separator:"alert-card_separator__2TMLo"}},12941:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={defaultAvatarBgColor:"ededed",avatar:"styles_avatar__1sNF1",letter:"styles_letter__1dFwT",orgDefault:"styles_orgDefault__HGIf_",avatarImg:"styles_avatarImg__23No4",blob:"styles_blob__1en7n",soloAvatarIcon:"styles_soloAvatarIcon__2Vhtz",default:"styles_default__2aZB8"}},63885:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={notificationIcon:"level-icon_notificationIcon__1SprZ"}},98262:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={emptyCompositions:"empty-box_emptyCompositions__282Ca",innerBorder:"empty-box_innerBorder__1N_WY"}},46863:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={iconButton:"icon-button_iconButton__yOOf8",iconOnly:"icon-button_iconOnly__gYK42",active:"icon-button_active__3hwML",icon:"icon-button_icon__2SxvC",margin:"icon-button_margin__3Sbp7"}},16174:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonSizes:"sizes_buttonSizes__3wT8S"}},58014:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={iconButton:"icon-button_iconButton__1FjVM",iconOnly:"icon-button_iconOnly__1IHib",active:"icon-button_active__3GvbF",withIcon:"icon-button_withIcon__2HaGQ",withoutBorder:"icon-button_withoutBorder__do3AQ",margin:"icon-button_margin__39swR"}},83081:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={buttonSizes:"sizes_buttonSizes__30qCg"}},65811:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={optionButton:"option-button_optionButton__2cNlj",active:"option-button_active__18Lhh"}},98161:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={pillLabel:"pill-label_pillLabel__3sda0"}},58230:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__1cu-N"}},60134:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={a:"letter-bg-colors_a__1bCAX",b:"letter-bg-colors_b__OzeP8",c:"letter-bg-colors_c__vzzSp",d:"letter-bg-colors_d__1Fe-5",e:"letter-bg-colors_e__1fRhW",f:"letter-bg-colors_f__3NnVq",g:"letter-bg-colors_g__2byGp",h:"letter-bg-colors_h__3vpLR",i:"letter-bg-colors_i__1h4Mc",j:"letter-bg-colors_j__3eLF_",k:"letter-bg-colors_k__2dISa",l:"letter-bg-colors_l__3wQSV",m:"letter-bg-colors_m__2ugOl",n:"letter-bg-colors_n__3lmBI",o:"letter-bg-colors_o__Bv1qR",p:"letter-bg-colors_p___JIfu",q:"letter-bg-colors_q__3va24",r:"letter-bg-colors_r__YN4go",s:"letter-bg-colors_s__LvKyb",t:"letter-bg-colors_t__144gx",u:"letter-bg-colors_u__3UCPK",v:"letter-bg-colors_v__Pje0Q",w:"letter-bg-colors_w__3f5I-",x:"letter-bg-colors_x__1uIhW",y:"letter-bg-colors_y__XfsVn",z:"letter-bg-colors_z__Kc019"}},25323:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={a:"letter-colors_a__3Ii_I",b:"letter-colors_b__1erjM",c:"letter-colors_c__8H76E",d:"letter-colors_d__5xdrS",e:"letter-colors_e__mz-8r",f:"letter-colors_f__2cdmc",g:"letter-colors_g__2Qj0v",h:"letter-colors_h__3Izci",i:"letter-colors_i__3FKtz",j:"letter-colors_j__1Y44L",k:"letter-colors_k__KocTw",l:"letter-colors_l__ltY5I",m:"letter-colors_m__DdUHo",n:"letter-colors_n__1LDA3",o:"letter-colors_o__3YqTt",p:"letter-colors_p__3DVOU",q:"letter-colors_q__UcNJ0",r:"letter-colors_r__22UwB",s:"letter-colors_s__rgBYv",t:"letter-colors_t__FZphQ",u:"letter-colors_u__2nUD-",v:"letter-colors_v__1LA9Q",w:"letter-colors_w__3JW59",x:"letter-colors_x__1FNP1",y:"letter-colors_y__F98aU",z:"letter-colors_z__3qGgy"}},96799:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ellipsis:"ellipsis_ellipsis__1KWX-",ellipsisDiv:"ellipsis_ellipsisDiv__2s1yg"}},6327:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menuItem:"item_menuItem__2h_xL",icon:"item_icon__2g1SN",interactive:"item_interactive__2GFa6",active:"item_active__1jy5V"}},70245:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={messageCard:"message-card_messageCard__bzWej",icon:"message-card_icon__1LvEd",textBox:"message-card_textBox__3YBLn"}},88973:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={success:"status-message-card_success__3ynaH",failure:"status-message-card_failure__7o98S",pending:"status-message-card_pending__2O4Ra",processing:"status-message-card_processing__3kvRc",skipped:"status-message-card_skipped__2oILh",unknown:"status-message-card_unknown__2kTHl"}},42345:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dateTooltip:"time-ago_dateTooltip__2a4nl",dateTooltipContent:"time-ago_dateTooltipContent__3Cx2b"}},11430:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={}},78670:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={column:"react-playground_column__QfKnY",codePane:"react-playground_codePane__1VszT",previewPane:"react-playground_previewPane__3YLGR",error:"react-playground_error__3LDV-",row:"react-playground_row__2KEzr",editor:"react-playground_editor__Cx16x",splitter:"react-playground_splitter__em_1w",previewBox:"react-playground_previewBox__1RoB_",playground:"react-playground_playground__1UuQm"}},75719:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mdxLinkedHeading:"create-heading_mdxLinkedHeading__1-Ld_",mainHeadingStyles:"create-heading_mainHeadingStyles__3mn9H"}},82138:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={snippet:"snippet_snippet__13A6H"}},6921:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mdxContent:"mdx-layout_mdxContent__2ttPo"}},28416:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={link:"external-link_link__2noiz"}},62020:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={overrides:"global_overrides__3gxgV"}},11467:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={heading:"sizes_heading__YfJ7P"}},93293:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={anchor:"anchor_anchor__3k1Mh",anchorIcon:"anchor_anchorIcon__jhpLx"}},83578:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={anchor:"anchor_anchor__QCn-t",anchorIcon:"anchor_anchorIcon__3NY9U"}},9271:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={blockQuote:"block-quote_blockQuote__UQdFm"}},4742:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={bold:"bold_bold__GjOPo"}},84965:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={snippetWrapper:"code-snippet_snippetWrapper__17TAF",copyIcon:"code-snippet_copyIcon__3Neoz",codeSnippet:"code-snippet_codeSnippet__12Sz9",copy:"code-snippet_copy__3Gu7H"}},15106:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={copiedMessage:"copied-message_copiedMessage__2hKeY",showMessage:"copied-message_showMessage__20uNy"}},72034:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__132vQ",xs:"heading-sizes_xs__KKpTT",sm:"heading-sizes_sm__P_L9J",md:"heading-sizes_md__3LAcS",lg:"heading-sizes_lg__Yue_z",xl:"heading-sizes_xl__2VQo2",xxl:"heading-sizes_xxl__12rxk"}},58862:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__10zE-",h2:"heading_h2__3rHwE",h3:"heading_h3__2Q4S-",h4:"heading_h4__3DmEH",h5:"heading_h5__qyqiW",h6:"heading_h6__8Y71h"}},40929:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__3hJtp",xs:"heading-sizes_xs__3W1x0",sm:"heading-sizes_sm__3nhIS",md:"heading-sizes_md__2mL4Y",lg:"heading-sizes_lg__RuRFj",xl:"heading-sizes_xl__1ctRT",xxl:"heading-sizes_xxl__3tKsf"}},61097:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__1uj6Q",h2:"heading_h2__1Ye-q",h3:"heading_h3__3QHN7",h4:"heading_h4__33x0l",h5:"heading_h5__1Ozn7",h6:"heading_h6__1Epkq"}},51132:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={xxs:"heading-sizes_xxs__3EgRC",xs:"heading-sizes_xs__2N4RG",sm:"heading-sizes_sm__2bp9b",md:"heading-sizes_md__izXun",lg:"heading-sizes_lg__2t_l5",xl:"heading-sizes_xl__1xEte",xxl:"heading-sizes_xxl__2Tpp5"}},31572:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={h1:"heading_h1__1hPjz",h2:"heading_h2__3X3iD",h3:"heading_h3__3onXg",h4:"heading_h4__1xpVF",h5:"heading_h5__11W3v",h6:"heading_h6__1bk4H"}},86438:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={img:"image_img__2Ioir"}},6237:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={inlineCode:"inline-code_inlineCode__2vWE7",highlight:"inline-code_highlight__7Gkep"}},18932:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={inlineCode:"inline-code_inlineCode__3htva",highlight:"inline-code_highlight__39Zjt"}},20288:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={italic:"italic_italic__2tKmJ"}},88627:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={labelList:"label-list_labelList__3Jz3r"}},79421:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={label:"label_label__WpSCK"}},44693:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkedHeading:"linked-heading_linkedHeading__3Ak5V",anchor:"linked-heading_anchor__3W1_K",heading:"linked-heading_heading__mFKzJ"}},49582:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkedHeading:"linked-heading_linkedHeading__3BJvr",anchor:"linked-heading_anchor__1unvN",heading:"linked-heading_heading__34Bob"}},16166:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ol:"ol_ol__1_Ii0"}},14458:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={paragraph:"paragraph_paragraph__3nnrz"}},78259:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={paragraph:"paragraph_paragraph__2ElIf"}},74482:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={section:"section_section__2OOTI",sectionMargin:"section_sectionMargin__2-E3q"}},89257:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__148vk"}},21104:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={separator:"separator_separator__18fdf"}},78385:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={subTitle:"sub-title_subTitle__3Hsyw"}},82595:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={sup:"sup_sup__1vISY"}},3647:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={table:"base-table_table__t2USR"}},81099:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={td:"td_td__2qJpk"}},8527:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tr:"tr_tr__1D5N1"}},28839:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={ul:"ul_ul__16ZqE"}},41155:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={fadeInOut:"fade-in-out_fadeInOut__2tx3x"}},83919:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={dropdown:"dropdown_dropdown__19OoL"}},63604:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"arrow-position_top__2UohA",bottom:"arrow-position_bottom__ksXRc",right:"arrow-position_right__2zirM",left:"arrow-position_left__2kcMD",cover:"arrow-position_cover__jK0qo",none:"arrow-position_none__RAlw_"}},20742:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={top:"arrow-shadow_top__3Iy68","top-start":"arrow-shadow_top-start__GsGq9","top-end":"arrow-shadow_top-end__2AZ84",bottom:"arrow-shadow_bottom__SRh28","bottom-start":"arrow-shadow_bottom-start__3kVtj","bottom-end":"arrow-shadow_bottom-end__1HejS",right:"arrow-shadow_right__1ccHd","right-start":"arrow-shadow_right-start__1je4v","right-end":"arrow-shadow_right-end__3B4qL",left:"arrow-shadow_left__2ChhW","left-start":"arrow-shadow_left-start__32eSB","left-end":"arrow-shadow_left-end__TklIQ"}},41949:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={arrow:"arrow_arrow__r9zS3"}},40606:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={menu:"tooltip-card_menu__3RzP2"}},3069:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tooltip:"tooltip-drawer_tooltip__2NfCZ",arrow:"tooltip-drawer_arrow__sErK4"}},177:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={link:"link_link__vvL__"}},86899:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"error-fallback_icon__1dp2S",message:"error-fallback_message__f1wRV",errorFallback:"error-fallback_errorFallback__2XuMq",enter:"error-fallback_enter__Yf58T"}},90372:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={keyCombo:"key_keyCombo__17vJb",keycap:"key_keycap__1nF_K",keySequence:"key_keySequence__1VSYP",thenSep:"key_thenSep__3makm"}},47402:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={mainDropdown:"main-dropdown_mainDropdown__39wRq",menu:"main-dropdown_menu__D94FT",iconAnchor:"main-dropdown_iconAnchor__3kOgE",icon:"main-dropdown_icon__euv6z",menuBlock:"main-dropdown_menuBlock__2k6Mz",title:"main-dropdown_title__FGB-K",line:"main-dropdown_line__fYon2"}},4909:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"menu-widget-icon_icon__1rur6",widgetMenuIcon:"menu-widget-icon_widgetMenuIcon__2KF-q"}},91814:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={moreInfo:"bit-info_moreInfo__tZRLc"}},51001:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={link:"bottom-link_link__3ztbC"}},42485:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",menu:"dropdown_menu__8vavp",placeholder:"dropdown_placeholder__dQj0A",content:"dropdown_content__3xl2c"}},31408:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",container:"menu_container__3zMs0",top:"menu_top__ef3G5",title:"menu_title__2ElZV",drawer:"menu_drawer__2RnW5",tabs:"menu_tabs__AJKgk",registry:"menu_registry__3uBL-",importContent:"menu_importContent__2Vofh",bottom:"menu_bottom__3dV6T",disabled:"menu_disabled__1IeSs",warnIcon:"menu_warnIcon__1lG-b"}},40517:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={middle:"tab-content_middle__1jaz8",bottom:"tab-content_bottom__viJQl",drawer:"tab-content_drawer__2deiQ",open:"tab-content_open__3SHSg"}},3115:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tab:"tab_tab__2HwlX",active:"tab_active__2DKwg"}},509:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",collapser:"collapser-button_collapser__1piJs",open:"collapser-button_open__1zi2L",circle:"collapser-button_circle__UxM9T",right:"collapser-button_right__2Mzcc",left:"collapser-button_left__31y_2"}},14342:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"lane-info_versionRow__11q9X",versionTimestamp:"lane-info_versionTimestamp__3O_Ue",versionUserAvatar:"lane-info_versionUserAvatar__1DOcF",laneIcon:"lane-info_laneIcon__26x1n",version:"lane-info_version__27Ijs",versionName:"lane-info_versionName__3TjrD"}},2630:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={simple:"version-dropdown-placeholder_simple__GrRPW",detailed:"version-dropdown-placeholder_detailed__54E5b",disabled:"version-dropdown-placeholder_disabled__3tMF9",versionName:"version-dropdown-placeholder_versionName__3Flhx",commitMessage:"version-dropdown-placeholder_commitMessage__2UQTj",versionUserAvatar:"version-dropdown-placeholder_versionUserAvatar__1AYsH",loader:"version-dropdown-placeholder_loader__2Fve8"}},69888:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",versionDropdown:"version-dropdown_versionDropdown__3oaXP",menu:"version-dropdown_menu__1bA_6",title:"version-dropdown_title__3QdOG",titleContainer:"version-dropdown_titleContainer__1ElqS",versionContainerRoot:"version-dropdown_versionContainerRoot__2cxQk",versionRow:"version-dropdown_versionRow__12L3m",localVersion:"version-dropdown_localVersion__2sDC5",versionTimestamp:"version-dropdown_versionTimestamp__1v-ek",versionUserAvatar:"version-dropdown_versionUserAvatar__3SF9-",laneIcon:"version-dropdown_laneIcon__2wfpp",version:"version-dropdown_version__1U6rB",versionName:"version-dropdown_versionName__3A_ML",withVersions:"version-dropdown_withVersions__1Y3tJ",tabs:"version-dropdown_tabs__3jUVb",tab:"version-dropdown_tab__1ZubU",loading:"version-dropdown_loading__Yg3a3",loader:"version-dropdown_loader__rpCiR",versionMenuContainer:"version-dropdown_versionMenuContainer__1HPDT",hide:"version-dropdown_hide__41z6J"}},22455:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"version-info_versionRow__11sRm",versionTimestamp:"version-info_versionTimestamp__2nC4l",versionUserAvatar:"version-info_versionUserAvatar__11ySh",laneIcon:"version-info_laneIcon__2abT0",version:"version-info_version__2XMNH",versionName:"version-info_versionName__3ZR_0",commitMessage:"version-info_commitMessage__11IL_",emptyMessage:"version-info_emptyMessage__1pBhk"}},69300:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"component_container__1iPvr"}},18102:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBar:"menu_topBar__395Xu",leftSide:"menu_leftSide__FctEW",navigation:"menu_navigation__2bHaT",desktopNav:"menu_desktopNav__Nc4L1",mobileNav:"menu_mobileNav__2W3XJ",rightSide:"menu_rightSide__3Ft-q",widget:"menu_widget__35WAH",useBox:"menu_useBox__3v1Yr",componentVersionMenu:"menu_componentVersionMenu__2rRza",tab:"menu_tab__wlFjC",topBarNav:"menu_topBarNav__2hGXL",noBorder:"menu_noBorder__3cR_5",hideOnMobile:"menu_hideOnMobile__7ZBk3"}},88733:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBarLink:"top-bar-nav_topBarLink__1HEEC",active:"top-bar-nav_active__sJr85"}},4821:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionCardSkeleton:"composition-card-skeleton_compositionCardSkeleton__1ukRF",preview:"composition-card-skeleton_preview__2wTwB",block:"composition-card-skeleton_block__3xlFR",bottom:"composition-card-skeleton_bottom__2W4Tw"}},93353:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionPreview:"composition-card_compositionPreview__tCaW6",compositionCard:"composition-card_compositionCard__3Xi6P",icon:"composition-card_icon__Fujug",previewOverlay:"composition-card_previewOverlay__2YwTe",bottom:"composition-card_bottom__322TV",displayName:"composition-card_displayName__3jWYA",link:"composition-card_link__2aTnV"}},6675:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",compositionsPage:"compositions_compositionsPage__qt-5W",compositionPreview:"compositions_compositionPreview__2gHMa",left:"compositions_left__2q0vy",right:"compositions_right__1CrVK",menuBar:"compositions_menuBar__3BCoI",splitter:"compositions_splitter__2CXS7",collapser:"compositions_collapser__2O1DS",tabsContainer:"compositions_tabsContainer__mBAQN",tabs:"compositions_tabs__3FA1S",tabContent:"compositions_tabContent__kt52X",compositions:"compositions_compositions__3VqIz",openInNewTab:"compositions_openInNewTab__3Fir7",noCompositionsPage:"compositions_noCompositionsPage__pBBup",title:"compositions_title__2AIsl",separator:"compositions_separator__1vxyy",buildStatusMessage:"compositions_buildStatusMessage__2y2Ax",compositionPanel:"compositions_compositionPanel__38YGa"}},4653:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkWrapper:"compositions-panel_linkWrapper__1Ysmo",right:"compositions-panel_right__uaky-",icon:"compositions-panel_icon__33x_K",active:"compositions-panel_active__2pCDg",box:"compositions-panel_box__u9K39",codeLink:"compositions-panel_codeLink__2KPTu",name:"compositions-panel_name__2FCnM",panelLink:"compositions-panel_panelLink__rGB9u",tabs:"compositions-panel_tabs__1STex"}},30587:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionGallerySkeleton:"composition-gallery-skeleton_compositionGallerySkeleton__jebLw",title:"composition-gallery-skeleton_title__3gqVP",compositionGalleryGrid:"composition-gallery-skeleton_compositionGalleryGrid__3B7VJ"}},37597:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={carousel:"composition-gallery_carousel__3LAQE",compositionGalleryCard:"composition-gallery_compositionGalleryCard__3NsV2",title:"composition-gallery_title__2_h6o",compositionGallery:"composition-gallery_compositionGallery__2a38E",preview:"composition-gallery_preview__2JyWN"}},20490:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={overviewWrapper:"overview_overviewWrapper__1TIZa",componentOverviewBlock:"overview_componentOverviewBlock__oiUSN",title:"overview_title__14B6x",legacyPreview:"overview_legacyPreview__27sv8",compositions:"overview_compositions__6S03W",readme:"overview_readme__Mc2U-",readmeSkeleton:"overview_readmeSkeleton__w3ISk",block:"overview_block__3AYRt",overviewPropsTable:"overview_overviewPropsTable__fsrWY"}},46365:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={preview:"preview_preview__pDl1x"}},27143:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tabContainer:"tabs_tabContainer__3QgQ8",tab:"tabs_tab__HApJa",disabled:"tabs_disabled__cl2Rr",active:"tabs_active__3S4tK"}},72154:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"lane-info_versionRow__1ALU1",versionTimestamp:"lane-info_versionTimestamp__2BmOW",versionUserAvatar:"lane-info_versionUserAvatar__3gd_r",laneIcon:"lane-info_laneIcon__mdCcY",version:"lane-info_version__Q2Rmg",versionName:"lane-info_versionName__1Rjli"}},97276:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={simple:"version-dropdown-placeholder_simple__TwjFa",detailed:"version-dropdown-placeholder_detailed__3GVrd",disabled:"version-dropdown-placeholder_disabled__1TpJK",versionName:"version-dropdown-placeholder_versionName__NFtt9",commitMessage:"version-dropdown-placeholder_commitMessage__1-G6n",versionUserAvatar:"version-dropdown-placeholder_versionUserAvatar__2M3Z2",loader:"version-dropdown-placeholder_loader__2TTe1"}},40926:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",versionDropdown:"version-dropdown_versionDropdown__26zMI",menu:"version-dropdown_menu__3gzq4",title:"version-dropdown_title__3hQ6s",titleContainer:"version-dropdown_titleContainer__3HByT",versionContainerRoot:"version-dropdown_versionContainerRoot__3qX9w",versionRow:"version-dropdown_versionRow__33k0f",localVersion:"version-dropdown_localVersion__1_Kj1",versionTimestamp:"version-dropdown_versionTimestamp__2slIn",versionUserAvatar:"version-dropdown_versionUserAvatar__28p6g",laneIcon:"version-dropdown_laneIcon__3wXox",version:"version-dropdown_version__32b-4",versionName:"version-dropdown_versionName__1MBcM",withVersions:"version-dropdown_withVersions__3soV6",tabs:"version-dropdown_tabs__2kYKG",tab:"version-dropdown_tab__3dSKy",loading:"version-dropdown_loading__VHpGU",loader:"version-dropdown_loader__3s76A",versionMenuContainer:"version-dropdown_versionMenuContainer__2KM1E",hide:"version-dropdown_hide__2llxh"}},63432:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={versionRow:"version-info_versionRow__sk5Vp",versionTimestamp:"version-info_versionTimestamp__m888-",versionUserAvatar:"version-info_versionUserAvatar__l37Sw",laneIcon:"version-info_laneIcon__2hi5u",version:"version-info_version__2P46N",versionName:"version-info_versionName__1u2vs",commitMessage:"version-info_commitMessage__21dib",emptyMessage:"version-info_emptyMessage__1gMR5"}},52076:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={container:"component_container__wKARi"}},4195:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBar:"menu_topBar__1zVDB",leftSide:"menu_leftSide__2QCN9",navigation:"menu_navigation__2VobK",desktopNav:"menu_desktopNav__3ueBm",mobileNav:"menu_mobileNav__2jp2R",rightSide:"menu_rightSide__NGGSx",widget:"menu_widget__2le2h",useBox:"menu_useBox__2ibV5",componentVersionMenu:"menu_componentVersionMenu__1nAMz",tab:"menu_tab__313mY",topBarNav:"menu_topBarNav__3RUac",noBorder:"menu_noBorder__Jr9_p",hideOnMobile:"menu_hideOnMobile__1DK_k"}},23201:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={topBarLink:"top-bar-nav_topBarLink__2Mg-_",active:"top-bar-nav_active__-Swyn"}},73941:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionCardSkeleton:"composition-card-skeleton_compositionCardSkeleton__2lkvU",preview:"composition-card-skeleton_preview__2liLH",block:"composition-card-skeleton_block__Z6FZE",bottom:"composition-card-skeleton_bottom__1tO_1"}},73441:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionPreview:"composition-card_compositionPreview__3TVxb",compositionCard:"composition-card_compositionCard__3sHyv",icon:"composition-card_icon__1H-Ib",previewOverlay:"composition-card_previewOverlay__1AMju",bottom:"composition-card_bottom__1OcNv",displayName:"composition-card_displayName__1We1l",link:"composition-card_link__234ph"}},74391:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionGallerySkeleton:"composition-gallery-skeleton_compositionGallerySkeleton__1FO9x",title:"composition-gallery-skeleton_title__3dsTo",compositionGalleryGrid:"composition-gallery-skeleton_compositionGalleryGrid__LJakn"}},39811:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={carousel:"composition-gallery_carousel__36_gL",compositionGalleryCard:"composition-gallery_compositionGalleryCard__18Ued",title:"composition-gallery_title__3uNKe",compositionGallery:"composition-gallery_compositionGallery__3cKqD",preview:"composition-gallery_preview__2DrfB"}},14026:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",compositionsPage:"compositions_compositionsPage__2XIGE",compositionPreview:"compositions_compositionPreview__2pQD_",left:"compositions_left__1yoSj",right:"compositions_right__1OzrT",menuBar:"compositions_menuBar__1owlG",splitter:"compositions_splitter__2cJan",collapser:"compositions_collapser__3bIFa",tabsContainer:"compositions_tabsContainer__3HLzI",tabs:"compositions_tabs__2tiBY",tabContent:"compositions_tabContent__2Cklv",compositions:"compositions_compositions__3lEI2",openInNewTab:"compositions_openInNewTab__24wPr",noCompositionsPage:"compositions_noCompositionsPage__3q5mS",title:"compositions_title__1mv6f",separator:"compositions_separator__KJxPc",buildStatusMessage:"compositions_buildStatusMessage__X2Qik",compositionPanel:"compositions_compositionPanel__3rdng"}},77416:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={linkWrapper:"compositions-panel_linkWrapper__-mm5p",right:"compositions-panel_right__8a-pK",icon:"compositions-panel_icon__2Neha",active:"compositions-panel_active__2_9Nv",box:"compositions-panel_box__37jb9",codeLink:"compositions-panel_codeLink__1J8dt",name:"compositions-panel_name__8GKMN",panelLink:"compositions-panel_panelLink__2iHHl",tabs:"compositions-panel_tabs__qjxZP"}},58742:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={overviewWrapper:"overview_overviewWrapper__1l3gU",componentOverviewBlock:"overview_componentOverviewBlock__1_2hV",title:"overview_title__3ipIL",legacyPreview:"overview_legacyPreview__1y7yd",compositions:"overview_compositions__1juds",readme:"overview_readme__3rLft",readmeSkeleton:"overview_readmeSkeleton__3CGhV",block:"overview_block__3OYy0",overviewPropsTable:"overview_overviewPropsTable__20WTG"}},86259:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={tabContainer:"tabs_tabContainer__3ffie",tab:"tabs_tab__1u6Qx",disabled:"tabs_disabled__21PDt",active:"tabs_active__1QtYl"}},52781:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={preview:"preview_preview__1HyM7"}},74293:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={compositionSection:"docs-app_compositionSection__2rAWY",compositionCard:"docs-app_compositionCard__2BFqj",docsMainBlock:"docs-app_docsMainBlock__1Vyyg",heading:"docs-app_heading__25cfc",mdx:"docs-app_mdx__WbON7"}},62954:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"error-fallback_icon__22fU3",message:"error-fallback_message__7TfMY",errorFallback:"error-fallback_errorFallback__3WyiR",enter:"error-fallback_enter__3s9LR"}},3741:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={navZIndex:"100",paneSplitterZIndex:"101",topBarZIndex:"102",modalZIndex:"5000",highlighterZIndex:"15500",collapser:"collapser-button_collapser__2qEPm",open:"collapser-button_open__3y1Vb",circle:"collapser-button_circle__2cuYC",right:"collapser-button_right__3kYNA",left:"collapser-button_left__m-Exj"}},18455:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=minimatch,minimatch.Minimatch=Minimatch;const path=(()=>{try{return __webpack_require__(62005)}catch{}})()||{sep:"/"};minimatch.sep=path.sep;const GLOBSTAR=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={},expand=__webpack_require__(43816),plTypes={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},qmark="[^/]",star=qmark+"*?",twoStarDot="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",twoStarNoDot="(?:(?!(?:\\/|^)\\.).)*?",reSpecials=charSet("().*{}+?[]^$\\!");function charSet(s){return s.split("").reduce(function(set,c){return set[c]=!0,set},{})}const slashSplit=/\/+/;minimatch.filter=filter;function filter(pattern,options){return options=options||{},function(p,i,list){return minimatch(p,pattern,options)}}function ext(a,b){a=a||{},b=b||{};const t={};return Object.keys(a).forEach(function(k){t[k]=a[k]}),Object.keys(b).forEach(function(k){t[k]=b[k]}),t}minimatch.defaults=function(def){if(!def||typeof def!="object"||!Object.keys(def).length)return minimatch;const orig=minimatch,m=function(p,pattern,options){return orig(p,pattern,ext(def,options))};return m.Minimatch=function(pattern,options){return new orig.Minimatch(pattern,ext(def,options))},m.Minimatch.defaults=options=>orig.defaults(ext(def,options)).Minimatch,m.filter=function(pattern,options){return orig.filter(pattern,ext(def,options))},m.defaults=function(options){return orig.defaults(ext(def,options))},m.makeRe=function(pattern,options){return orig.makeRe(pattern,ext(def,options))},m.braceExpand=function(pattern,options){return orig.braceExpand(pattern,ext(def,options))},m.match=function(list,pattern,options){return orig.match(list,pattern,ext(def,options))},m},Minimatch.defaults=function(def){return minimatch.defaults(def).Minimatch};function minimatch(p,pattern,options){return assertValidPattern(pattern),options||(options={}),!options.nocomment&&pattern.charAt(0)==="#"?!1:pattern.trim()===""?p==="":new Minimatch(pattern,options).match(p)}function Minimatch(pattern,options){if(!(this instanceof Minimatch))return new Minimatch(pattern,options);assertValidPattern(pattern),options||(options={}),pattern=pattern.trim(),path.sep!=="/"&&(pattern=pattern.split(path.sep).join("/")),this.options=options,this.set=[],this.pattern=pattern,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}Minimatch.prototype.debug=function(){},Minimatch.prototype.make=make;function make(){if(!this._made){var pattern=this.pattern,options=this.options;if(!options.nocomment&&pattern.charAt(0)==="#"){this.comment=!0;return}if(!pattern){this.empty=!0;return}this.parseNegate();var set=this.globSet=this.braceExpand();options.debug&&(this.debug=console.error),this.debug(this.pattern,set),set=this.globParts=set.map(function(s){return s.split(slashSplit)}),this.debug(this.pattern,set),set=set.map(function(s,si,set2){return s.map(this.parse,this)},this),this.debug(this.pattern,set),set=set.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,set),this.set=set}}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var pattern=this.pattern,negate=!1,options=this.options,negateOffset=0;if(!options.nonegate){for(var i=0,l=pattern.length;i<l&&pattern.charAt(i)==="!";i++)negate=!negate,negateOffset++;negateOffset&&(this.pattern=pattern.substr(negateOffset)),this.negate=negate}}minimatch.braceExpand=function(pattern,options){return braceExpand(pattern,options)},Minimatch.prototype.braceExpand=braceExpand;function braceExpand(pattern,options){return options||(this instanceof Minimatch?options=this.options:options={}),pattern=typeof pattern>"u"?this.pattern:pattern,assertValidPattern(pattern),options.nobrace||!/\{(?:(?!\{).)*\}/.test(pattern)?[pattern]:expand(pattern)}const MAX_PATTERN_LENGTH=1024*64,assertValidPattern=pattern=>{if(typeof pattern!="string")throw new TypeError("invalid pattern");if(pattern.length>MAX_PATTERN_LENGTH)throw new TypeError("pattern is too long")};Minimatch.prototype.parse=parse;const SUBPARSE={};function parse(pattern,isSub){assertValidPattern(pattern);var options=this.options;if(!options.noglobstar&&pattern==="**")return GLOBSTAR;if(pattern==="")return"";var re="",hasMagic=!1,escaping=!1,patternListStack=[],negativeLists=[],stateChar,inClass=!1,reClassStart=-1,classStart=-1,patternStart=pattern.charAt(0)==="."?"":options.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",self2=this;function clearStateChar(){if(stateChar){switch(stateChar){case"*":re+=star,hasMagic=!0;break;case"?":re+=qmark,hasMagic=!0;break;default:re+="\\"+stateChar;break}self2.debug("clearStateChar %j %j",stateChar,re),stateChar=!1}}for(var i=0,len=pattern.length,c;i<len&&(c=pattern.charAt(i));i++){if(this.debug("%s %s %s %j",pattern,i,re,c),escaping&&reSpecials[c]){re+="\\"+c,escaping=!1;continue}switch(c){case"/":return!1;case"\\":clearStateChar(),escaping=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",pattern,i,re,c),inClass){this.debug(" in class"),c==="!"&&i===classStart+1&&(c="^"),re+=c;continue}self2.debug("call clearStateChar %j",stateChar),clearStateChar(),stateChar=c,options.noext&&clearStateChar();continue;case"(":if(inClass){re+="(";continue}if(!stateChar){re+="\\(";continue}patternListStack.push({type:stateChar,start:i-1,reStart:re.length,open:plTypes[stateChar].open,close:plTypes[stateChar].close}),re+=stateChar==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",stateChar,re),stateChar=!1;continue;case")":if(inClass||!patternListStack.length){re+="\\)";continue}clearStateChar(),hasMagic=!0;var pl=patternListStack.pop();re+=pl.close,pl.type==="!"&&negativeLists.push(pl),pl.reEnd=re.length;continue;case"|":if(inClass||!patternListStack.length||escaping){re+="\\|",escaping=!1;continue}clearStateChar(),re+="|";continue;case"[":if(clearStateChar(),inClass){re+="\\"+c;continue}inClass=!0,classStart=i,reClassStart=re.length,re+=c;continue;case"]":if(i===classStart+1||!inClass){re+="\\"+c,escaping=!1;continue}if(inClass){var cs=pattern.substring(classStart+1,i);try{RegExp("["+cs+"]")}catch{var sp=this.parse(cs,SUBPARSE);re=re.substr(0,reClassStart)+"\\["+sp[0]+"\\]",hasMagic=hasMagic||sp[1],inClass=!1;continue}}hasMagic=!0,inClass=!1,re+=c;continue;default:clearStateChar(),escaping?escaping=!1:reSpecials[c]&&!(c==="^"&&inClass)&&(re+="\\"),re+=c}}for(inClass&&(cs=pattern.substr(classStart+1),sp=this.parse(cs,SUBPARSE),re=re.substr(0,reClassStart)+"\\["+sp[0],hasMagic=hasMagic||sp[1]),pl=patternListStack.pop();pl;pl=patternListStack.pop()){var tail=re.slice(pl.reStart+pl.open.length);this.debug("setting tail",re,pl),tail=tail.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(_,$1,$2){return $2||($2="\\"),$1+$1+$2+"|"}),this.debug(`tail=%j
419
419
  %s`,tail,tail,pl,re);var t=pl.type==="*"?star:pl.type==="?"?qmark:"\\"+pl.type;hasMagic=!0,re=re.slice(0,pl.reStart)+t+"\\("+tail}clearStateChar(),escaping&&(re+="\\\\");var addPatternStart=!1;switch(re.charAt(0)){case".":case"[":case"(":addPatternStart=!0}for(var n=negativeLists.length-1;n>-1;n--){var nl=negativeLists[n],nlBefore=re.slice(0,nl.reStart),nlFirst=re.slice(nl.reStart,nl.reEnd-8),nlLast=re.slice(nl.reEnd-8,nl.reEnd),nlAfter=re.slice(nl.reEnd);nlLast+=nlAfter;var openParensBefore=nlBefore.split("(").length-1,cleanAfter=nlAfter;for(i=0;i<openParensBefore;i++)cleanAfter=cleanAfter.replace(/\)[+*?]?/,"");nlAfter=cleanAfter;var dollar="";nlAfter===""&&isSub!==SUBPARSE&&(dollar="$");var newRe=nlBefore+nlFirst+nlAfter+dollar+nlLast;re=newRe}if(re!==""&&hasMagic&&(re="(?=.)"+re),addPatternStart&&(re=patternStart+re),isSub===SUBPARSE)return[re,hasMagic];if(!hasMagic)return globUnescape(pattern);var flags=options.nocase?"i":"";try{var regExp=new RegExp("^"+re+"$",flags)}catch{return new RegExp("$.")}return regExp._glob=pattern,regExp._src=re,regExp}minimatch.makeRe=function(pattern,options){return new Minimatch(pattern,options||{}).makeRe()},Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;var set=this.set;if(!set.length)return this.regexp=!1,this.regexp;var options=this.options,twoStar=options.noglobstar?star:options.dot?twoStarDot:twoStarNoDot,flags=options.nocase?"i":"",re=set.map(function(pattern){return pattern.map(function(p){return p===GLOBSTAR?twoStar:typeof p=="string"?regExpEscape(p):p._src}).join("\\/")}).join("|");re="^(?:"+re+")$",this.negate&&(re="^(?!"+re+").*$");try{this.regexp=new RegExp(re,flags)}catch{this.regexp=!1}return this.regexp}minimatch.match=function(list,pattern,options){options=options||{};const mm=new Minimatch(pattern,options);return list=list.filter(function(f){return mm.match(f)}),mm.options.nonull&&!list.length&&list.push(pattern),list},Minimatch.prototype.match=match;function match(f,partial){if(this.debug("match",f,this.pattern),this.comment)return!1;if(this.empty)return f==="";if(f==="/"&&partial)return!0;var options=this.options;path.sep!=="/"&&(f=f.split(path.sep).join("/")),f=f.split(slashSplit),this.debug(this.pattern,"split",f);var set=this.set;this.debug(this.pattern,"set",set);var filename,i;for(i=f.length-1;i>=0&&(filename=f[i],!filename);i--);for(i=0;i<set.length;i++){var pattern=set[i],file=f;options.matchBase&&pattern.length===1&&(file=[filename]);var hit=this.matchOne(file,pattern,partial);if(hit)return options.flipNegate?!0:!this.negate}return options.flipNegate?!1:this.negate}Minimatch.prototype.matchOne=function(file,pattern,partial){var options=this.options;this.debug("matchOne",{this:this,file,pattern}),this.debug("matchOne",file.length,pattern.length);for(var fi=0,pi=0,fl=file.length,pl=pattern.length;fi<fl&&pi<pl;fi++,pi++){this.debug("matchOne loop");var p=pattern[pi],f=file[fi];if(this.debug(pattern,p,f),p===!1)return!1;if(p===GLOBSTAR){this.debug("GLOBSTAR",[pattern,p,f]);var fr=fi,pr=pi+1;if(pr===pl){for(this.debug("** at the end");fi<fl;fi++)if(file[fi]==="."||file[fi]===".."||!options.dot&&file[fi].charAt(0)===".")return!1;return!0}for(;fr<fl;){var swallowee=file[fr];if(this.debug(`
420
420
  globstar while`,file,fr,pattern,pr,swallowee),this.matchOne(file.slice(fr),pattern.slice(pr),partial))return this.debug("globstar found match!",fr,fl,swallowee),!0;if(swallowee==="."||swallowee===".."||!options.dot&&swallowee.charAt(0)==="."){this.debug("dot detected!",file,fr,pattern,pr);break}this.debug("globstar swallow a segment, and continue"),fr++}return!!(partial&&(this.debug(`
421
421
  >>> no match, partial?`,file,fr,pattern,pr),fr===fl))}var hit;if(typeof p=="string"?(options.nocase?hit=f.toLowerCase()===p.toLowerCase():hit=f===p,this.debug("string match",p,f,hit)):(hit=f.match(p),this.debug("pattern match",p,f,hit)),!hit)return!1}if(fi===fl&&pi===pl)return!0;if(fi===fl)return partial;if(pi===pl)return fi===fl-1&&file[fi]==="";throw new Error("wtf?")};function globUnescape(s){return s.replace(/\\(.)/g,"$1")}function regExpEscape(s){return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},85306:(module,__unused_webpack_exports,__webpack_require__)=>{var hasMap=typeof Map=="function"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get=="function"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set=="function"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get=="function"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap=="function"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet=="function"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef=="function"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt=="function"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol=="function"&&typeof Symbol.iterator=="object",toStringTag=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols?"object":"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num=="number"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=__webpack_require__(65660),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;module.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&opts.quoteStyle!=="single"&&opts.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(opts,"maxStringLength")&&(typeof opts.maxStringLength=="number"?opts.maxStringLength<0&&opts.maxStringLength!==1/0:opts.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var customInspect=has(opts,"customInspect")?opts.customInspect:!0;if(typeof customInspect!="boolean"&&customInspect!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(opts,"indent")&&opts.indent!==null&&opts.indent!==" "&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(opts,"numericSeparator")&&typeof opts.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>"u")return"undefined";if(obj===null)return"null";if(typeof obj=="boolean")return obj?"true":"false";if(typeof obj=="string")return inspectString(obj,opts);if(typeof obj=="number"){if(obj===0)return 1/0/obj>0?"0":"-0";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj=="bigint"){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>"u"?5:opts.depth;if(typeof depth>"u"&&(depth=0),depth>=maxDepth&&maxDepth>0&&typeof obj=="object")return isArray(obj)?"[Array]":"[Object]";var indent=getIndent(opts,depth);if(typeof seen>"u")seen=[];else if(indexOf(seen,obj)>=0)return"[Circular]";function inspect(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen),seen.push(from)),noIndent){var newOpts={depth:opts.depth};return has(opts,"quoteStyle")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if(typeof obj=="function"&&!isRegExp(obj)){var name=nameOf(obj),keys=arrObjKeys(obj,inspect);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys.length>0?" { "+$join.call(keys,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return typeof obj=="object"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement(obj)){for(var s="<"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i<attrs.length;i++)s+=" "+attrs[i].name+"="+wrapQuotes(quote(attrs[i].value),"double",opts);return s+=">",obj.childNodes&&obj.childNodes.length&&(s+="..."),s+="</"+$toLowerCase.call(String(obj.nodeName))+">",s}if(isArray(obj)){if(obj.length===0)return"[]";var xs=arrObjKeys(obj,inspect);return indent&&!singleLineValues(xs)?"["+indentedJoin(xs,indent)+"]":"[ "+$join.call(xs,", ")+" ]"}if(isError(obj)){var parts=arrObjKeys(obj,inspect);return!("cause"in Error.prototype)&&"cause"in obj&&!isEnumerable.call(obj,"cause")?"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect(obj.cause),parts),", ")+" }":parts.length===0?"["+String(obj)+"]":"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }"}if(typeof obj=="object"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]=="function"&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if(customInspect!=="symbol"&&typeof obj.inspect=="function")return obj.inspect()}if(isMap(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,function(value,key){mapParts.push(inspect(key,obj,!0)+" => "+inspect(value,obj))}),collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];return setForEach&&setForEach.call(obj,function(value){setParts.push(inspect(value,obj))}),collectionOf("Set",setSize.call(obj),setParts,indent)}if(isWeakMap(obj))return weakCollectionOf("WeakMap");if(isWeakSet(obj))return weakCollectionOf("WeakSet");if(isWeakRef(obj))return weakCollectionOf("WeakRef");if(isNumber(obj))return markBoxed(inspect(Number(obj)));if(isBigInt(obj))return markBoxed(inspect(bigIntValueOf.call(obj)));if(isBoolean(obj))return markBoxed(booleanValueOf.call(obj));if(isString(obj))return markBoxed(inspect(String(obj)));if(typeof window<"u"&&obj===window)return"{ [object Window] }";if(obj===__webpack_require__.g)return"{ [object globalThis] }";if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?"":"null prototype",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr(obj),8,-1):protoTag?"Object":"",constructorTag=isPlainObject||typeof obj.constructor!="function"?"":obj.constructor.name?obj.constructor.name+" ":"",tag=constructorTag+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");return ys.length===0?tag+"{}":indent?tag+"{"+indentedJoin(ys,indent)+"}":tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};function wrapQuotes(s,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)==="double"?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,"&quot;")}function isArray(obj){return toStr(obj)==="[object Array]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isDate(obj){return toStr(obj)==="[object Date]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isRegExp(obj){return toStr(obj)==="[object RegExp]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isError(obj){return toStr(obj)==="[object Error]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isString(obj){return toStr(obj)==="[object String]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isNumber(obj){return toStr(obj)==="[object Number]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isBoolean(obj){return toStr(obj)==="[object Boolean]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isSymbol(obj){if(hasShammedSymbols)return obj&&typeof obj=="object"&&obj instanceof Symbol;if(typeof obj=="symbol")return!0;if(!obj||typeof obj!="object"||!symToString)return!1;try{return symToString.call(obj),!0}catch{}return!1}function isBigInt(obj){if(!obj||typeof obj!="object"||!bigIntValueOf)return!1;try{return bigIntValueOf.call(obj),!0}catch{}return!1}var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr(obj){return objectToString.call(obj)}function nameOf(f){if(f.name)return f.name;var m=$match.call(functionToString.call(f),/^function\s*([\w$]+)/);return m?m[1]:null}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}function isMap(x){if(!mapSize||!x||typeof x!="object")return!1;try{mapSize.call(x);try{setSize.call(x)}catch{return!0}return x instanceof Map}catch{}return!1}function isWeakMap(x){if(!weakMapHas||!x||typeof x!="object")return!1;try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch{return!0}return x instanceof WeakMap}catch{}return!1}function isWeakRef(x){if(!weakRefDeref||!x||typeof x!="object")return!1;try{return weakRefDeref.call(x),!0}catch{}return!1}function isSet(x){if(!setSize||!x||typeof x!="object")return!1;try{setSize.call(x);try{mapSize.call(x)}catch{return!0}return x instanceof Set}catch{}return!1}function isWeakSet(x){if(!weakSetHas||!x||typeof x!="object")return!1;try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch{return!0}return x instanceof WeakSet}catch{}return!1}function isElement(x){return!x||typeof x!="object"?!1:typeof HTMLElement<"u"&&x instanceof HTMLElement?!0:typeof x.nodeName=="string"&&typeof x.getAttribute=="function"}function inspectString(str,opts){if(str.length>opts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s=$replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(s,"single",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return x?"\\"+x:"\\x"+(n<16?"0":"")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type){return type+" { ? }"}function collectionOf(type,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,", ");return type+" ("+size+") {"+joinedEntries+"}"}function singleLineValues(xs){for(var i=0;i<xs.length;i++)if(indexOf(xs[i],`
@@ -867,7 +867,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
867
867
  }
868
868
  }
869
869
  ${exports.docsFields}
870
- `;function useDocs(componentId){var _a,_b;const{data}=(0,client_1.useQuery)(getProperties,{variables:{id:componentId.toString()}});return(_b=(_a=data?.getHost)===null||_a===void 0?void 0:_a.getDocs)===null||_b===void 0?void 0:_b.properties}exports.useDocs=useDocs},82718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultValue=exports.Properties=exports.useDocs=exports.docsFields=void 0;var get_docs_1=__webpack_require__(7122);Object.defineProperty(exports,"docsFields",{enumerable:!0,get:function(){return get_docs_1.docsFields}}),Object.defineProperty(exports,"useDocs",{enumerable:!0,get:function(){return get_docs_1.useDocs}}),Object.defineProperty(exports,"Properties",{enumerable:!0,get:function(){return get_docs_1.Properties}}),Object.defineProperty(exports,"DefaultValue",{enumerable:!0,get:function(){return get_docs_1.DefaultValue}})},28868:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultDocs=void 0;const defaultDocs=exports.defaultDocs={default:()=>null,labels:[],abstract:"",examples:[]}},84723:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return _docsEntities().Doc}}),Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return _docsEntities().DocProp}}),Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return _docsEntities().DocPropList}}),Object.defineProperty(exports,"DocsAspect",{enumerable:!0,get:function(){return _docs().DocsAspect}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}}),exports.default=void 0,Object.defineProperty(exports,"defaultDocs",{enumerable:!0,get:function(){return _docs2().defaultDocs}});function _docs(){const data=__webpack_require__(12825);return _docs=function(){return data},data}function _docsEntities(){const data=__webpack_require__(87628);return _docsEntities=function(){return data},data}function _docs2(){const data=__webpack_require__(28868);return _docs2=function(){return data},data}function _overview(){const data=__webpack_require__(57682);return _overview=function(){return data},data}var _default=exports.default=_docs().DocsAspect},57682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}});function _overview(){const data=__webpack_require__(93294);return _overview=function(){return data},data}},93294:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BadgePosition=void 0,exports.Overview=Overview;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 _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _component(){const data=__webpack_require__(68211);return _component=function(){return data},data}function _previewUi(){const data=__webpack_require__(27699);return _previewUi=function(){return data},data}function _componentUi(){const data=__webpack_require__(54839);return _componentUi=function(){return data},data}function _compositionsPanels(){const data=__webpack_require__(10726);return _compositionsPanels=function(){return data},data}function _baseReactThemes(){const data=__webpack_require__(16375);return _baseReactThemes=function(){return data},data}function _readmeSkeleton(){const data=__webpack_require__(95526);return _readmeSkeleton=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(58742));return _overviewModule=function(){return data},data}const _excluded=["onLoad","style"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}let BadgePosition=exports.BadgePosition=function(BadgePosition2){return BadgePosition2[BadgePosition2.Title=0]="Title",BadgePosition2[BadgePosition2.SubTitle=1]="SubTitle",BadgePosition2[BadgePosition2.Labels=2]="Labels",BadgePosition2[BadgePosition2.Package=3]="Package",BadgePosition2}({});function Overview({titleBadges,overviewOptions,previewProps,getEmptyState,TaggedAPI}){const component=(0,_react().useContext)(_component().ComponentContext),componentDescriptor=(0,_component().useComponentDescriptor)(),{current}=(0,_baseReactThemes().useThemePicker)(),overviewProps=(0,_lodash().flatten)(overviewOptions.values())[0],showHeader=!component.preview?.legacyHeader,EmptyState=getEmptyState&&getEmptyState(),buildFailed=component.buildStatus?.toLowerCase()!=="succeed"&&component?.host==="teambit.scope/scope",isScaling=Boolean(component.preview?.isScaling),includesEnvTemplate=Boolean(component.preview?.includesEnvTemplate),defaultLoadingState=_react().default.useMemo(()=>isScaling&&!includesEnvTemplate,[isScaling,includesEnvTemplate]),[isLoading,setLoading]=(0,_react().useState)(defaultLoadingState),iframeQueryParams=`onlyOverview=${component.preview?.onlyOverview||"false"}&skipIncludes=${component.preview?.skipIncludes||component.preview?.onlyOverview}`,overviewPropsValues=overviewProps&&overviewProps(),themeParams=current?.themeName?`theme=${current?.themeName}`:"",_ref=previewProps||{},{onLoad,style}=_ref,rest=_objectWithoutProperties(_ref,_excluded),onPreviewLoad=_react().default.useCallback((e,props)=>{setLoading(!1),onLoad?.(e,props)},[onLoad]);return _react().default.useEffect(()=>{!isLoading&&defaultLoadingState&&setLoading(!0),isLoading&&!defaultLoadingState&&setLoading(!1)},[component.id.toString(),defaultLoadingState]),_react().default.createElement("div",{className:_overviewModule().default.overviewWrapper,key:`${component.id.toString()}`},showHeader&&_react().default.createElement(_componentUi().ComponentOverview,{className:(0,_classnames().default)(_overviewModule().default.componentOverviewBlock,!isScaling&&_overviewModule().default.legacyPreview),displayName:component.displayName,version:component.version,abstract:component.description,labels:component.labels,packageName:component.packageName,titleBadges:(0,_lodash().flatten)(titleBadges.values()),componentDescriptor,component}),!buildFailed&&_react().default.createElement("div",{className:_overviewModule().default.readme},isLoading&&_react().default.createElement(_readmeSkeleton().ReadmeSkeleton,null,_react().default.createElement(_compositionsPanels().CompositionGallerySkeleton,{compositionsLength:Math.min(component.compositions.length,3)})),_react().default.createElement(_previewUi().ComponentPreview,_extends({onLoad:onPreviewLoad,previewName:"overview",pubsub:!0,queryParams:[iframeQueryParams,themeParams,overviewPropsValues?.queryParams||""],viewport:null,fullContentHeight:!0,disableScroll:!0},rest,{component,style:{width:"100%",height:"100%",minHeight:isScaling?void 0:500}})),component.preview?.onlyOverview&&!isLoading&&_react().default.createElement(_compositionsPanels().CompositionGallery,{component}),component.preview?.onlyOverview&&!isLoading&&TaggedAPI&&_react().default.createElement(TaggedAPI,{componentId:component.id.toString()})),buildFailed&&EmptyState&&_react().default.createElement(EmptyState,null))}},95526:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ReadmeSkeleton=ReadmeSkeleton;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _baseUiLoaders(){const data=__webpack_require__(16623);return _baseUiLoaders=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(58742));return _overviewModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function ReadmeSkeleton({children}){return _react().default.createElement("div",{className:_overviewModule().default.readmeSkeleton},_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"80%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"70%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"40%",style:{marginBottom:40}}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"30%",style:{marginBottom:16}}),_react().default.createElement(_baseUiLoaders().BlockSkeleton,{lines:10,style:{width:"100%",marginBottom:40}}),children)}},33461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(31499);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(7811);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(13655);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},31499:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(59496);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},7811: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.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),lanes_ui_models_lanes_model_1=__webpack_require__(97223),ui_foundation_ui_react_router_use_query_1=__webpack_require__(44514),base_react_navigation_link_1=__webpack_require__(97667),lanes_context_1=__webpack_require__(31499),use_lanes_1=__webpack_require__(13655);function LanesProvider({children,viewedLaneId:viewedIdFromProps,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlFromProps,skipNetworkCall,options:optionsFromProps={},useScope}){var _a;const[lanesState,setLanesState]=(0,react_1.useState)(),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(viewedIdFromProps),{scope}=useScope?.()||{},skip=skipNetworkCall||!!targetLanes,options=(0,react_1.useMemo)(()=>{var _a2,_b,_c;return Object.assign({skip,ids:(_a2=optionsFromProps.ids)!==null&&_a2!==void 0?_a2:viewedLaneId?[viewedLaneId.toString()]:void 0,offset:(_b=optionsFromProps.offset)!==null&&_b!==void 0?_b:0,limit:(_c=optionsFromProps.limit)!==null&&_c!==void 0?_c:10},optionsFromProps)},[skip,optionsFromProps.ids,(_a=optionsFromProps.ids)===null||_a===void 0?void 0:_a.length,viewedLaneId?.toString()]),{lanesModel,loading,hasMore,fetchMoreLanes,offset,limit}=(0,use_lanes_1.useLanes)(targetLanes,skipNetworkCall,options,void 0,scope);(0,react_1.useEffect)(()=>{!loading&&lanesModel&&setLanesState(lanesModel)},[lanesModel,loading]);const updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane),setLanesState(state=>(state?.setViewedOrDefaultLane(lane),state))},[lanesModel]),location=(0,base_react_navigation_link_1.useLocation)(),query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlFromProps?ignoreDerivingFromUrlFromProps.some(fn=>fn(_location)):!1,[]);(0,react_1.useEffect)(()=>{viewedIdFromProps&&updateViewedLane(viewedIdFromProps)},[viewedIdFromProps?.toString()]),(0,react_1.useEffect)(()=>{var _a2,_b;if(ignoreDerivingFromUrl(location))return;const viewedLaneIdToSet=location?.pathname&&lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location?.pathname,query)||void 0||viewedLaneId||((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)||((_b=lanesModel?.lanes.find(lane=>lane.id.isDefault()))===null||_b===void 0?void 0:_b.id);updateViewedLane(viewedLaneIdToSet)},[location?.pathname]),(0,react_1.useEffect)(()=>{setLanesState(existing=>{var _a2,_b;if(!loading&&lanesModel?.lanes.length){const state=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel));return viewedLaneId===void 0&&((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)?state.setViewedOrDefaultLane((_b=lanesModel?.currentLane)===null||_b===void 0?void 0:_b.id):state.setViewedOrDefaultLane(viewedLaneId),state}return existing})},[loading,lanesModel?.lanes.length,viewedLaneId]);const lanesContextModel={lanesModel:lanesState,updateViewedLane,loading,hasMore,fetchMoreLanes,options,offset,limit};return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},13655: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())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.useSearchLanes=void 0;const react_1=__webpack_require__(59496),ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(25338),lanes_ui_models_lanes_model_1=__webpack_require__(97223),client_1=__webpack_require__(97299),lodash_1=__webpack_require__(32699),lanes_context_1=__webpack_require__(31499),GET_LANES=(0,client_1.gql)`
870
+ `;function useDocs(componentId){var _a,_b;const{data}=(0,client_1.useQuery)(getProperties,{variables:{id:componentId.toString()}});return(_b=(_a=data?.getHost)===null||_a===void 0?void 0:_a.getDocs)===null||_b===void 0?void 0:_b.properties}exports.useDocs=useDocs},82718:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultValue=exports.Properties=exports.useDocs=exports.docsFields=void 0;var get_docs_1=__webpack_require__(7122);Object.defineProperty(exports,"docsFields",{enumerable:!0,get:function(){return get_docs_1.docsFields}}),Object.defineProperty(exports,"useDocs",{enumerable:!0,get:function(){return get_docs_1.useDocs}}),Object.defineProperty(exports,"Properties",{enumerable:!0,get:function(){return get_docs_1.Properties}}),Object.defineProperty(exports,"DefaultValue",{enumerable:!0,get:function(){return get_docs_1.DefaultValue}})},28868:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultDocs=void 0;const defaultDocs=exports.defaultDocs={default:()=>null,labels:[],abstract:"",examples:[]}},84723:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Doc",{enumerable:!0,get:function(){return _docsEntities().Doc}}),Object.defineProperty(exports,"DocProp",{enumerable:!0,get:function(){return _docsEntities().DocProp}}),Object.defineProperty(exports,"DocPropList",{enumerable:!0,get:function(){return _docsEntities().DocPropList}}),Object.defineProperty(exports,"DocsAspect",{enumerable:!0,get:function(){return _docs().DocsAspect}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}}),exports.default=void 0,Object.defineProperty(exports,"defaultDocs",{enumerable:!0,get:function(){return _docs2().defaultDocs}});function _docs(){const data=__webpack_require__(12825);return _docs=function(){return data},data}function _docsEntities(){const data=__webpack_require__(87628);return _docsEntities=function(){return data},data}function _docs2(){const data=__webpack_require__(28868);return _docs2=function(){return data},data}function _overview(){const data=__webpack_require__(57682);return _overview=function(){return data},data}var _default=exports.default=_docs().DocsAspect},57682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"BadgePosition",{enumerable:!0,get:function(){return _overview().BadgePosition}}),Object.defineProperty(exports,"Overview",{enumerable:!0,get:function(){return _overview().Overview}});function _overview(){const data=__webpack_require__(93294);return _overview=function(){return data},data}},93294:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.BadgePosition=void 0,exports.Overview=Overview;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 _lodash(){const data=__webpack_require__(32699);return _lodash=function(){return data},data}function _component(){const data=__webpack_require__(68211);return _component=function(){return data},data}function _previewUi(){const data=__webpack_require__(27699);return _previewUi=function(){return data},data}function _componentUi(){const data=__webpack_require__(47530);return _componentUi=function(){return data},data}function _compositionsPanels(){const data=__webpack_require__(10726);return _compositionsPanels=function(){return data},data}function _baseReactThemes(){const data=__webpack_require__(16375);return _baseReactThemes=function(){return data},data}function _readmeSkeleton(){const data=__webpack_require__(95526);return _readmeSkeleton=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(58742));return _overviewModule=function(){return data},data}const _excluded=["onLoad","style"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(e){if(typeof WeakMap!="function")return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e2){return e2?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},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}let BadgePosition=exports.BadgePosition=function(BadgePosition2){return BadgePosition2[BadgePosition2.Title=0]="Title",BadgePosition2[BadgePosition2.SubTitle=1]="SubTitle",BadgePosition2[BadgePosition2.Labels=2]="Labels",BadgePosition2[BadgePosition2.Package=3]="Package",BadgePosition2}({});function Overview({titleBadges,overviewOptions,previewProps,getEmptyState,TaggedAPI}){const component=(0,_react().useContext)(_component().ComponentContext),componentDescriptor=(0,_component().useComponentDescriptor)(),{current}=(0,_baseReactThemes().useThemePicker)(),overviewProps=(0,_lodash().flatten)(overviewOptions.values())[0],showHeader=!component.preview?.legacyHeader,EmptyState=getEmptyState&&getEmptyState(),buildFailed=component.buildStatus?.toLowerCase()!=="succeed"&&component?.host==="teambit.scope/scope",isScaling=Boolean(component.preview?.isScaling),includesEnvTemplate=Boolean(component.preview?.includesEnvTemplate),defaultLoadingState=_react().default.useMemo(()=>isScaling&&!includesEnvTemplate,[isScaling,includesEnvTemplate]),[isLoading,setLoading]=(0,_react().useState)(defaultLoadingState),iframeQueryParams=`onlyOverview=${component.preview?.onlyOverview||"false"}&skipIncludes=${component.preview?.skipIncludes||component.preview?.onlyOverview}`,overviewPropsValues=overviewProps&&overviewProps(),themeParams=current?.themeName?`theme=${current?.themeName}`:"",_ref=previewProps||{},{onLoad,style}=_ref,rest=_objectWithoutProperties(_ref,_excluded),onPreviewLoad=_react().default.useCallback((e,props)=>{setLoading(!1),onLoad?.(e,props)},[onLoad]);return _react().default.useEffect(()=>{!isLoading&&defaultLoadingState&&setLoading(!0),isLoading&&!defaultLoadingState&&setLoading(!1)},[component.id.toString(),defaultLoadingState]),_react().default.createElement("div",{className:_overviewModule().default.overviewWrapper,key:`${component.id.toString()}`},showHeader&&_react().default.createElement(_componentUi().ComponentOverview,{className:(0,_classnames().default)(_overviewModule().default.componentOverviewBlock,!isScaling&&_overviewModule().default.legacyPreview),displayName:component.displayName,version:component.version,abstract:component.description,labels:component.labels,packageName:component.packageName,titleBadges:(0,_lodash().flatten)(titleBadges.values()),componentDescriptor,component}),!buildFailed&&_react().default.createElement("div",{className:_overviewModule().default.readme},isLoading&&_react().default.createElement(_readmeSkeleton().ReadmeSkeleton,null,_react().default.createElement(_compositionsPanels().CompositionGallerySkeleton,{compositionsLength:Math.min(component.compositions.length,3)})),_react().default.createElement(_previewUi().ComponentPreview,_extends({onLoad:onPreviewLoad,previewName:"overview",pubsub:!0,queryParams:[iframeQueryParams,themeParams,overviewPropsValues?.queryParams||""],viewport:null,fullContentHeight:!0,disableScroll:!0},rest,{component,style:{width:"100%",height:"100%",minHeight:isScaling?void 0:500}})),component.preview?.onlyOverview&&!isLoading&&_react().default.createElement(_compositionsPanels().CompositionGallery,{component}),component.preview?.onlyOverview&&!isLoading&&TaggedAPI&&_react().default.createElement(TaggedAPI,{componentId:component.id.toString()})),buildFailed&&EmptyState&&_react().default.createElement(EmptyState,null))}},95526:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ReadmeSkeleton=ReadmeSkeleton;function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _baseUiLoaders(){const data=__webpack_require__(16623);return _baseUiLoaders=function(){return data},data}function _overviewModule(){const data=_interopRequireDefault(__webpack_require__(58742));return _overviewModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function ReadmeSkeleton({children}){return _react().default.createElement("div",{className:_overviewModule().default.readmeSkeleton},_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"80%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"70%"}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"40%",style:{marginBottom:40}}),_react().default.createElement(_baseUiLoaders().LineSkeleton,{width:"30%",style:{marginBottom:16}}),_react().default.createElement(_baseUiLoaders().BlockSkeleton,{lines:10,style:{width:"100%",marginBottom:40}}),children)}},33461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(31499);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(7811);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(13655);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},31499:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(59496);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},7811: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.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(59496)),lanes_ui_models_lanes_model_1=__webpack_require__(97223),ui_foundation_ui_react_router_use_query_1=__webpack_require__(44514),base_react_navigation_link_1=__webpack_require__(97667),lanes_context_1=__webpack_require__(31499),use_lanes_1=__webpack_require__(13655);function LanesProvider({children,viewedLaneId:viewedIdFromProps,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlFromProps,skipNetworkCall,options:optionsFromProps={},useScope}){var _a;const[lanesState,setLanesState]=(0,react_1.useState)(),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(viewedIdFromProps),{scope}=useScope?.()||{},skip=skipNetworkCall||!!targetLanes,options=(0,react_1.useMemo)(()=>{var _a2,_b,_c;return Object.assign({skip,ids:(_a2=optionsFromProps.ids)!==null&&_a2!==void 0?_a2:viewedLaneId?[viewedLaneId.toString()]:void 0,offset:(_b=optionsFromProps.offset)!==null&&_b!==void 0?_b:0,limit:(_c=optionsFromProps.limit)!==null&&_c!==void 0?_c:10},optionsFromProps)},[skip,optionsFromProps.ids,(_a=optionsFromProps.ids)===null||_a===void 0?void 0:_a.length,viewedLaneId?.toString()]),{lanesModel,loading,hasMore,fetchMoreLanes,offset,limit}=(0,use_lanes_1.useLanes)(targetLanes,skipNetworkCall,options,void 0,scope);(0,react_1.useEffect)(()=>{!loading&&lanesModel&&setLanesState(lanesModel)},[lanesModel,loading]);const updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane),setLanesState(state=>(state?.setViewedOrDefaultLane(lane),state))},[lanesModel]),location=(0,base_react_navigation_link_1.useLocation)(),query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlFromProps?ignoreDerivingFromUrlFromProps.some(fn=>fn(_location)):!1,[]);(0,react_1.useEffect)(()=>{viewedIdFromProps&&updateViewedLane(viewedIdFromProps)},[viewedIdFromProps?.toString()]),(0,react_1.useEffect)(()=>{var _a2,_b;if(ignoreDerivingFromUrl(location))return;const viewedLaneIdToSet=location?.pathname&&lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location?.pathname,query)||void 0||viewedLaneId||((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)||((_b=lanesModel?.lanes.find(lane=>lane.id.isDefault()))===null||_b===void 0?void 0:_b.id);updateViewedLane(viewedLaneIdToSet)},[location?.pathname]),(0,react_1.useEffect)(()=>{setLanesState(existing=>{var _a2,_b;if(!loading&&lanesModel?.lanes.length){const state=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel));return viewedLaneId===void 0&&((_a2=lanesModel?.currentLane)===null||_a2===void 0?void 0:_a2.id)?state.setViewedOrDefaultLane((_b=lanesModel?.currentLane)===null||_b===void 0?void 0:_b.id):state.setViewedOrDefaultLane(viewedLaneId),state}return existing})},[loading,lanesModel?.lanes.length,viewedLaneId]);const lanesContextModel={lanesModel:lanesState,updateViewedLane,loading,hasMore,fetchMoreLanes,options,offset,limit};return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},13655: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())})};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.useSearchLanes=void 0;const react_1=__webpack_require__(59496),ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(25338),lanes_ui_models_lanes_model_1=__webpack_require__(97223),client_1=__webpack_require__(97299),lodash_1=__webpack_require__(32699),lanes_context_1=__webpack_require__(31499),GET_LANES=(0,client_1.gql)`
871
871
  query Lanes(
872
872
  $extensionId: String
873
873
  $laneIds: [String!]
@@ -969,7 +969,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
969
969
  id
970
970
  }
971
971
  }
972
- `,useRootLanes=(viewedLaneId,skip,options={},scope)=>{const{ids,offset,limit,sort}=options,{data,fetchMore,loading}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{laneIds:ids,offset,limit,sort,skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0},skip,errorPolicy:"all",fetchPolicy:"cache-and-network"}),lanesModel=(0,react_1.useMemo)(()=>{if(!loading&&!!data)return lanes_ui_models_lanes_model_1.LanesModel.from({data,scope})},[loading,data,viewedLaneId?.toString(),scope]),hasMore=(0,react_1.useMemo)(()=>{var _a,_b,_c,_d,_e,_f;return loading?!0:limit?ids?.length?((_c=(_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.length)!==null&&_c!==void 0?_c:0)===ids.length:((_f=(_e=(_d=data?.lanes)===null||_d===void 0?void 0:_d.list)===null||_e===void 0?void 0:_e.length)!==null&&_f!==void 0?_f:0)>=limit:!1},[loading,data]),fetchMoreLanes=(0,react_1.useCallback)((newOffset,newLimit)=>__awaiter(void 0,void 0,void 0,function*(){var _a,_b;if(hasMore)try{const{data:moreData,networkStatus}=yield fetchMore({variables:{offset:newOffset,limit:newLimit,laneIds:[],skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0}}),loadingMore=networkStatus===3;return!loadingMore&&moreData.lanes?{lanesModel:lanes_ui_models_lanes_model_1.LanesModel.from({data:moreData}),loading:loadingMore,hasMore:((_b=(_a=moreData.lanes.list)===null||_a===void 0?void 0:_a.length)!==null&&_b!==void 0?_b:0)>=newLimit,nextOffset:newOffset+newLimit}:{lanesModel,loading:loadingMore,nextOffset:newOffset,currentLimit:newLimit}}catch(err){return console.error(err),{}}return{lanesModel,loading:!1,hasMore:!1,nextOffset:newOffset,currentLimit:newLimit}}),[hasMore,viewedLaneId?.toString(),lanesModel]);return{loading,lanesModel,fetchMoreLanes,hasMore,offset,limit}},useSearchLanes=(search,skip)=>{const{data:searchData,loading:loadingSearch}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{search,skipViewedLane:!0},skip:skip||!search,errorPolicy:"all",fetchPolicy:"cache-and-network"});return search?{loading:loadingSearch,lanesModel:searchData&&lanes_ui_models_lanes_model_1.LanesModel.from({data:{lanes:Object.assign(Object.assign({},searchData.lanes),{current:void 0,default:void 0})}})}:{}};exports.useSearchLanes=useSearchLanes;const useLanes=(targetLanes,skip,optionsFromProps,useContextFromProps=!0,scope)=>{var _a,_b,_c,_d,_e;const context=(0,lanes_context_1.useLanesContext)()||{},options=optionsFromProps||context?.options,isSameOptions=(0,lodash_1.isEqual)(options,context?.options),useContext=useContextFromProps&&!!context&&isSameOptions,shouldSkip=skip||!!targetLanes||useContext,rootLanesData=useRootLanes((_b=(_a=context?.lanesModel)===null||_a===void 0?void 0:_a.viewedLane)===null||_b===void 0?void 0:_b.id,shouldSkip,options,scope),searchResult=(0,exports.useSearchLanes)(options?.search,shouldSkip);return targetLanes?Object.assign(Object.assign(Object.assign({},context),rootLanesData),{lanesModel:targetLanes,searchResult}):useContext?Object.assign(Object.assign({},context),{searchResult}):((_c=rootLanesData.lanesModel)===null||_c===void 0||_c.setViewedLane((_e=(_d=context?.lanesModel)===null||_d===void 0?void 0:_d.viewedLane)===null||_e===void 0?void 0:_e.id),Object.assign(Object.assign(Object.assign({},context),rootLanesData),{searchResult}))};exports.useLanes=useLanes},97223:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;var lanes_model_1=__webpack_require__(52422);Object.defineProperty(exports,"LanesModel",{enumerable:!0,get:function(){return lanes_model_1.LanesModel}})},52422:(__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__(8839),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}=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}}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.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()}`}},52515:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"PanelUiAspect",{enumerable:!0,get:function(){return _panelUi().PanelUiAspect}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return _tabs().Tab}}),Object.defineProperty(exports,"TabContainer",{enumerable:!0,get:function(){return _tabs().TabContainer}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return _tabs().TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return _tabs().TabPanel}});function _panelUi(){const data=__webpack_require__(9322);return _panelUi=function(){return data},data}function _tabs(){const data=__webpack_require__(63096);return _tabs=function(){return data},data}},9322:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PanelUiAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const PanelUiAspect=exports.PanelUiAspect=_harmony().Aspect.create({id:"teambit.ui-foundation/panels",dependencies:[],defaultConfig:{}})},63096:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=Tab,exports.TabContainer=void 0,exports.TabList=TabList,exports.TabPanel=void 0;function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _reactTabs(){const data=__webpack_require__(35493);return _reactTabs=function(){return data},data}function _tabsModule(){const data=_interopRequireDefault(__webpack_require__(86259));return _tabsModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}const TabContainer=exports.TabContainer=_reactTabs().Tabs;function TabList(props){return _react().default.createElement(_reactTabs().TabList,_extends({},props,{className:(0,_classnames().default)(_tabsModule().default.tabContainer,props.className)}))}TabList.tabsRole="TabList";const TabPanel=exports.TabPanel=_reactTabs().TabPanel;function Tab(props){return _react().default.createElement(_reactTabs().Tab,_extends({},props,{className:(0,_classnames().default)(props.className,_tabsModule().default.tab),selectedClassName:_tabsModule().default.active,disabledClassName:_tabsModule().default.disabled}))}Tab.tabsRole="Tab"},75665:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.computePreviewScale=void 0;function computePreviewScale(width,containerWidth){const scale=containerWidth*.95/width;return scale>1?"scale(1)":`scale(${scale})`}exports.computePreviewScale=computePreviewScale},27699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toPreviewHash=exports.toPreviewServer=exports.toPreviewUrl=exports.ComponentPreview=void 0;var preview_1=__webpack_require__(34874);Object.defineProperty(exports,"ComponentPreview",{enumerable:!0,get:function(){return preview_1.ComponentPreview}});var urls_1=__webpack_require__(99768);Object.defineProperty(exports,"toPreviewUrl",{enumerable:!0,get:function(){return urls_1.toPreviewUrl}}),Object.defineProperty(exports,"toPreviewServer",{enumerable:!0,get:function(){return urls_1.toPreviewServer}}),Object.defineProperty(exports,"toPreviewHash",{enumerable:!0,get:function(){return urls_1.toPreviewHash}})},34874: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.ComponentPreview=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),lodash_1=__webpack_require__(32699),penpal_1=__webpack_require__(63805),pubsub_1=__webpack_require__(23179),urls_1=__webpack_require__(99768),compute_preview_scale_1=__webpack_require__(75665),use_iframe_content_height_1=__webpack_require__(63853),preview_module_scss_1=__importDefault(__webpack_require__(52781));function ComponentPreview(_a){var _b,_c,_d,{component,previewName,className,forceHeight,includeEnv=!0,queryParams,disableScroll=!1,pubsub,innerBottomPadding=0,viewport=1280,fullContentHeight=!1,onLoad,style}=_a,rest=__rest(_a,["component","previewName","className","forceHeight","includeEnv","queryParams","disableScroll","pubsub","innerBottomPadding","viewport","fullContentHeight","onLoad","style"]);const[heightIframeRef,iframeHeight]=(0,use_iframe_content_height_1.useIframeContentHeight)({skip:!1,viewport}),iframeRef=(0,react_1.useRef)(null),[width,setWidth]=(0,react_1.useState)(0),[height,setHeight]=(0,react_1.useState)(0),containerRef=(0,react_1.useRef)(null),isScaling=(_b=component.preview)===null||_b===void 0?void 0:_b.isScaling,currentRef=isScaling?iframeRef:heightIframeRef;(0,pubsub_1.usePubSubIframe)(pubsub?currentRef:void 0),(0,react_1.useEffect)(()=>{!iframeRef.current||(0,penpal_1.connectToChild)({iframe:iframeRef.current,methods:{pub:(event,message)=>{message.type==="preview-size"&&(setWidth(message.data.width),setHeight(message.data.height)),onLoad&&event&&onLoad(event,{height:message.data.height,width:message.data.width})}}})},[iframeRef?.current]);const params=Array.isArray(queryParams)?queryParams.concat(`viewport=${viewport}`):(0,lodash_1.compact)([queryParams,`viewport=${viewport}`]),targetParams=viewport===null?queryParams:params,url=(0,urls_1.toPreviewUrl)(component,previewName,isScaling?targetParams:queryParams,includeEnv),containerWidth=((_c=containerRef.current)===null||_c===void 0?void 0:_c.offsetWidth)||0,containerHeight=((_d=containerRef.current)===null||_d===void 0?void 0:_d.offsetHeight)||0,currentWidth=fullContentHeight?"100%":width||1280,legacyCurrentWidth="100%",targetWidth=typeof currentWidth=="string"?currentWidth:Math.max(currentWidth,containerWidth),targetHeight=height!==0?height:5e3,finalHeight=!fullContentHeight&&targetHeight<containerHeight?containerHeight:targetHeight,defaultLegacyHeight=forceHeight||5e3,legacyIframeHeight=(iframeHeight||0)>400?iframeHeight:defaultLegacyHeight;return react_1.default.createElement("div",{ref:containerRef,className:(0,classnames_1.default)(preview_module_scss_1.default.preview,className),style:{height:forceHeight}},react_1.default.createElement("iframe",Object.assign({},rest,{ref:currentRef,style:Object.assign(Object.assign({},style),{height:forceHeight||(isScaling?finalHeight+innerBottomPadding:legacyIframeHeight),width:isScaling?targetWidth:legacyCurrentWidth,visibility:width===0&&isScaling&&!fullContentHeight?"hidden":void 0,transform:fullContentHeight?"":(0,compute_preview_scale_1.computePreviewScale)(width,containerWidth),border:0,transformOrigin:"top left"}),src:url,scrolling:disableScroll?"no":void 0})))}exports.ComponentPreview=ComponentPreview},99768:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toPreviewHash=exports.toPreviewServer=exports.toPreviewUrl=void 0;const base_ui_utils_string_affix_1=__webpack_require__(65343);function toPreviewUrl(component,previewName,additionalParams,includeEnvId=!0){const serverPath=toPreviewServer(component,previewName),envId=getEnvIdQueryParam(component,includeEnvId),hash=toPreviewHash(component,previewName,envId,additionalParams);return`${serverPath}#${hash}`}exports.toPreviewUrl=toPreviewUrl;function toPreviewServer(component,previewName){var _a,_b;const explicitUrl=(_a=component.server)===null||_a===void 0?void 0:_a.url;return explicitUrl&&!component.server.host?explicitUrl:((_b=component.preview)===null||_b===void 0?void 0:_b.includesEnvTemplate)===!1?toEnvTemplatePreviewUrl(component,previewName):toComponentPreviewUrl(component)}exports.toPreviewServer=toPreviewServer;function getEnvIdQueryParam(component,includeEnvId=!0){var _a,_b,_c,_d;if(!!includeEnvId&&!(((_a=component.server)===null||_a===void 0?void 0:_a.host)||((_b=component.server)===null||_b===void 0?void 0:_b.basePath))&&!!(!((_c=component.server)===null||_c===void 0)&&_c.url))return(_d=component.environment)===null||_d===void 0?void 0:_d.id}function toComponentPreviewUrl(component){var _a,_b;return`${createPrefix((_a=component.server)===null||_a===void 0?void 0:_a.basePath,(_b=component.server)===null||_b===void 0?void 0:_b.host)}/${component.id.toString()}/~aspect/preview/`}function createPrefix(basePath,host){const actualBasePath=basePath||"/api",basePathWithSlash=actualBasePath.startsWith("/")?actualBasePath:`/${actualBasePath}`,hostWithoutSlash=host?.endsWith("/")?host.slice(0,-1):host,prefix=hostWithoutSlash?`${hostWithoutSlash}${basePathWithSlash}`:basePathWithSlash;return prefix.endsWith("/")?prefix.slice(0,-1):prefix}function toEnvTemplatePreviewUrl(component,previewName){var _a,_b,_c;const envId=(_a=component.environment)===null||_a===void 0?void 0:_a.id,search=`compId=${component.id.toString()}`;return`${createPrefix((_b=component.server)===null||_b===void 0?void 0:_b.basePath,(_c=component.server)===null||_c===void 0?void 0:_c.host)}/${envId}/~aspect/env-template/${previewName}/?${search}`}function toPreviewHash(component,previewName,envId,queryParams=""){const previewParam=(0,base_ui_utils_string_affix_1.affix)("preview=",previewName),envIdParam=(0,base_ui_utils_string_affix_1.affix)("env=",envId),hashQuery=[previewParam,envIdParam].concat(queryParams).filter(x=>!!x).join("&");return`${component.id.toString()}${(0,base_ui_utils_string_affix_1.affix)("?",hashQuery)}`}exports.toPreviewHash=toPreviewHash},63853:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useInterval=exports.useIframeContentHeight=void 0;const react_1=__webpack_require__(59496);function useIframeContentHeight({interval=250,skip,viewport}){const iframeRef=(0,react_1.useRef)(null),[iframeHeight,setIframeHeight]=(0,react_1.useState)(0),[iframeWidth,setIframeWidth]=(0,react_1.useState)(0);if(skip)return[iframeRef,void 0,iframeWidth];let first=!0;return useInterval(()=>{var _a;try{const iframe=iframeRef.current;viewport!==null&&(iframe.contentWindow.document.body.style.width="fit-content"),!first&&iframe?.style.height==="5000px"&&(iframe.style.height="100%");const newHeight=iframe.contentWindow.document.body.scrollHeight,newWidth=(_a=iframe?.contentWindow)===null||_a===void 0?void 0:_a.document.body.offsetWidth;setIframeHeight(newHeight),setIframeWidth(newWidth||0),first=!1}catch{}},interval),[iframeRef,iframeHeight,iframeWidth]}exports.useIframeContentHeight=useIframeContentHeight;function useInterval(callback,interval){const savedCallback=(0,react_1.useRef)(()=>callback);(0,react_1.useEffect)(()=>{savedCallback.current=callback}),(0,react_1.useEffect)(()=>{function tick(){savedCallback.current()}if(interval!==null){const id=setInterval(tick,interval);return()=>clearInterval(id)}return()=>{}},[interval])}exports.useInterval=useInterval},61286: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.DocsApp=void 0;const react_1=__importDefault(__webpack_require__(59496)),docs_1=__webpack_require__(84723),react_ui_docs_properties_table_1=__webpack_require__(98077),react_ui_docs_compositions_carousel_1=__webpack_require__(54505),react_ui_docs_docs_content_1=__webpack_require__(90036),docs_theme_1=__webpack_require__(35623),docs_app_module_scss_1=__importDefault(__webpack_require__(74293));function DocsApp({componentId,docs=docs_1.defaultDocs,compositions,context}){const withoutHash=window.location.hash.substring(1),[,after]=withoutHash.split("?"),renderOnlyOverview=new URLSearchParams(after).get("onlyOverview");return react_1.default.createElement(docs_theme_1.DocsTheme,null,react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(react_ui_docs_docs_content_1.DocsContent,{docs,className:docs_app_module_scss_1.default.mdx}),(!renderOnlyOverview||renderOnlyOverview==="false")&&react_1.default.createElement(react_ui_docs_compositions_carousel_1.CompositionsCarousel,{renderingContext:context,compositions,className:docs_app_module_scss_1.default.compositionSection,compositionCardClass:docs_app_module_scss_1.default.compositionCard}),(!renderOnlyOverview||renderOnlyOverview==="false")&&react_1.default.createElement(react_ui_docs_properties_table_1.PropertiesTable,{componentId})))}exports.DocsApp=DocsApp},35623: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.DocsTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_themes_theme_toggler_1=__webpack_require__(85654),design_theme_icons_font_1=__webpack_require__(64452),docs_app_module_scss_1=__importDefault(__webpack_require__(74293));function DocsTheme({children}){const hash=window.location.hash,[,hashQuery]=hash&&hash.split("?"),theme=new URLSearchParams(hashQuery).get("theme")||"light";return react_1.default.createElement(design_themes_theme_toggler_1.ThemeSwitcher,{defaultTheme:theme},react_1.default.createElement(design_theme_icons_font_1.IconFont,{query:"q76y7n"}),react_1.default.createElement("div",{className:(0,classnames_1.default)(docs_app_module_scss_1.default.docsMainBlock)},children))}exports.DocsTheme=DocsTheme},17294: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 react_1=__importDefault(__webpack_require__(59496)),react_dom_1=__importDefault(__webpack_require__(87995)),docs_app_1=__webpack_require__(61286);function DocsRoot({componentId,docs,compositions,context}){react_dom_1.default.render(react_1.default.createElement(docs_app_1.DocsApp,{componentId,docs,compositions,context}),document.getElementById("root"))}DocsRoot.apiObject=!0,exports.default=DocsRoot},79022: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.docsStyles=exports.DocsApp=exports.default=exports.DocsTheme=void 0;var docs_theme_1=__webpack_require__(35623);Object.defineProperty(exports,"DocsTheme",{enumerable:!0,get:function(){return docs_theme_1.DocsTheme}});var docs_app_root_1=__webpack_require__(17294);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(docs_app_root_1).default}});var docs_app_1=__webpack_require__(61286);Object.defineProperty(exports,"DocsApp",{enumerable:!0,get:function(){return docs_app_1.DocsApp}});var docs_app_module_scss_1=__webpack_require__(74293);Object.defineProperty(exports,"docsStyles",{enumerable:!0,get:function(){return __importDefault(docs_app_module_scss_1).default}})},80849: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.ApplyProviders=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_error_boundary_1=__webpack_require__(75340),base_ui_utils_composer_1=__webpack_require__(97383),react_ui_error_fallback_1=__webpack_require__(32334),react_2=__webpack_require__(32750);function ApplyProviders(_a){var{renderingContext,children}=_a,rest=__rest(_a,["renderingContext","children"]);const{providers=[]}=renderingContext.get(react_2.ReactAspect.id)||{};return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:react_ui_error_fallback_1.ErrorFallback},react_1.default.createElement(base_ui_utils_composer_1.Composer,{components:providers},children)))}exports.ApplyProviders=ApplyProviders},95440:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ApplyProviders=void 0;var apply_providers_1=__webpack_require__(80849);Object.defineProperty(exports,"ApplyProviders",{enumerable:!0,get:function(){return apply_providers_1.ApplyProviders}})},84218: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.CompositionsCarousel=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_ui_docs_apply_providers_1=__webpack_require__(95440),compositions_ui_compositions_overview_1=__webpack_require__(88107),documenter_ui_linked_heading_1=__webpack_require__(24259),documenter_ui_section_1=__webpack_require__(1105);function CompositionsCarousel(_a){var{compositions,compositionCardClass,renderingContext}=_a,rest=__rest(_a,["compositions","compositionCardClass","renderingContext"]);return!compositions||Object.keys(compositions).length===0?null:react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,null,"Compositions"),react_1.default.createElement(react_ui_docs_apply_providers_1.ApplyProviders,{renderingContext},react_1.default.createElement(compositions_ui_compositions_overview_1.CompositionsOverview,{compositions,compositionCardClass})))}exports.CompositionsCarousel=CompositionsCarousel},54505:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsCarousel=void 0;var compositions_carousel_1=__webpack_require__(84218);Object.defineProperty(exports,"CompositionsCarousel",{enumerable:!0,get:function(){return compositions_carousel_1.CompositionsCarousel}})},58715: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.DocsContent=void 0;const react_error_boundary_1=__webpack_require__(75340),lodash_1=__webpack_require__(32699),docs_1=__webpack_require__(84723),react_ui_error_fallback_1=__webpack_require__(32334),mdx_ui_mdx_layout_1=__webpack_require__(13359),react_1=__importDefault(__webpack_require__(59496));function DocsContent(_a){var{docs=docs_1.defaultDocs}=_a,rest=__rest(_a,["docs"]);const Content=(0,lodash_1.isFunction)(docs.default)?docs.default:()=>null;return react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:react_ui_error_fallback_1.ErrorFallback},Content.isMDXComponent?react_1.default.createElement(mdx_ui_mdx_layout_1.MDXLayout,Object.assign({},rest),react_1.default.createElement(Content,null)):react_1.default.createElement(Content,null))}exports.DocsContent=DocsContent},90036:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocsContent=void 0;var docs_content_1=__webpack_require__(58715);Object.defineProperty(exports,"DocsContent",{enumerable:!0,get:function(){return docs_content_1.DocsContent}})},98077:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PropertiesTable=void 0;var properties_table_1=__webpack_require__(29784);Object.defineProperty(exports,"PropertiesTable",{enumerable:!0,get:function(){return properties_table_1.PropertiesTable}})},29784: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.PropertiesTable=void 0;const documenter_ui_linked_heading_1=__webpack_require__(24259),documenter_ui_property_table_1=__webpack_require__(41823),documenter_ui_section_1=__webpack_require__(1105),component_ui_hooks_use_fetch_docs_1=__webpack_require__(3635),react_1=__importDefault(__webpack_require__(59496));function PropertiesTable(_a){var{componentId}=_a,rest=__rest(_a,["componentId"]);const{loading,error,data}=(0,component_ui_hooks_use_fetch_docs_1.useFetchDocs)(componentId);if(!data||loading)return null;if(error)return console.error(`failed to fetch docs for ${componentId} in PropertiesTable`,error),null;const{properties}=data.docs;return properties.length===0?react_1.default.createElement("div",null):react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,null,"Properties"),react_1.default.createElement(documenter_ui_property_table_1.PropTable,{rows:properties}))}exports.PropertiesTable=PropertiesTable},16880:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(89140),base_ui_styles_flex_center_1=__webpack_require__(10981),error_fallback_module_scss_1=__importDefault(__webpack_require__(62954));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},32334:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(16880);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},31461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matchPatterns=exports.splitPatterns=void 0;var match_patterns_1=__webpack_require__(36213);Object.defineProperty(exports,"splitPatterns",{enumerable:!0,get:function(){return match_patterns_1.splitPatterns}}),Object.defineProperty(exports,"matchPatterns",{enumerable:!0,get:function(){return match_patterns_1.matchPatterns}})},36213: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.splitPatterns=exports.matchPatterns=void 0;const minimatch_1=__importDefault(__webpack_require__(18455));function matchPatterns(filePath,includePatterns,excludePatterns){const included=includePatterns.some(pattern=>(0,minimatch_1.default)(filePath,pattern)),excluded=excludePatterns.every(pattern=>(0,minimatch_1.default)(filePath,pattern));return included&&excluded}exports.matchPatterns=matchPatterns;function splitPatterns(patterns){return{includePatterns:patterns.filter(pattern=>!pattern.startsWith("!")),excludePatterns:patterns.filter(pattern=>pattern.startsWith("!"))}}exports.splitPatterns=splitPatterns},55044:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.capitalize=void 0;function capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1)}exports.capitalize=capitalize},58315:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.capitalize=void 0;var capitalize_1=__webpack_require__(55044);Object.defineProperty(exports,"capitalize",{enumerable:!0,get:function(){return capitalize_1.capitalize}})},90065: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.Collapser=void 0;const evangelist_elements_icon_1=__webpack_require__(6281),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),design_ui_tooltip_1=__webpack_require__(49142),collapser_button_module_scss_1=__importDefault(__webpack_require__(3741));function Collapser(_a){var{isOpen,tooltipContent,placement="right",onClick,className}=_a,rest=__rest(_a,["isOpen","tooltipContent","placement","onClick","className"]);const icon=`${placement}-rounded-corners`;return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{onClick,className:(0,classnames_1.default)(collapser_button_module_scss_1.default.collapser,collapser_button_module_scss_1.default[placement],isOpen&&collapser_button_module_scss_1.default.open,className)}),react_1.default.createElement("div",{className:collapser_button_module_scss_1.default.circle},react_1.default.createElement("div",null,react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon})))))}exports.Collapser=Collapser},32098:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Collapser=void 0;var collapser_button_1=__webpack_require__(90065);Object.defineProperty(exports,"Collapser",{enumerable:!0,get:function(){return collapser_button_1.Collapser}})},24681:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{SlotRouter:()=>SlotRouter});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),dist=__webpack_require__(67702),lodash=__webpack_require__(32699);function toKey(route){return route.path?route.path:route.index?"/":"."}function SlotRouter({routes:routesFromProps,slot,rootRoutes,children,parentPath}){const jsxRoutes=(routesFromProps||slot&&(0,lodash.flatten)(slot.values())||[]).concat(rootRoutes||[]).map(route=>(0,jsx_runtime.jsx)(dist.AW,{...route},toKey(route)));return parentPath?(0,jsx_runtime.jsx)(dist.Z5,{children:(0,jsx_runtime.jsxs)(dist.AW,{path:parentPath,children:[jsxRoutes,children]})}):(0,jsx_runtime.jsx)(dist.Z5,{children:(0,jsx_runtime.jsxs)(dist.AW,{path:parentPath,children:[jsxRoutes,children]})})}},26773:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var possibleNames=__webpack_require__(41758),g=typeof globalThis>"u"?__webpack_require__.g:globalThis;module.exports=function(){for(var out=[],i=0;i<possibleNames.length;i++)typeof g[possibleNames[i]]=="function"&&(out[out.length]=possibleNames[i]);return out}},97299:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ApolloCache:()=>ApolloCache,ApolloClient:()=>ApolloClient,ApolloConsumer:()=>ApolloConsumer,ApolloError:()=>ApolloError,ApolloLink:()=>ApolloLink,ApolloProvider:()=>ApolloProvider,Cache:()=>Cache_Cache,DocumentType:()=>DocumentType,HttpLink:()=>HttpLink,InMemoryCache:()=>InMemoryCache,MissingFieldError:()=>MissingFieldError,NetworkStatus:()=>NetworkStatus,Observable:()=>Observable,ObservableQuery:()=>ObservableQuery,checkFetcher:()=>checkFetcher,concat:()=>concat,createHttpLink:()=>createHttpLink,createSignalIfSupported:()=>createSignalIfSupported,defaultDataIdFromObject:()=>defaultDataIdFromObject,defaultPrinter:()=>defaultPrinter,disableExperimentalFragmentVariables:()=>disableExperimentalFragmentVariables,disableFragmentWarnings:()=>disableFragmentWarnings,empty:()=>empty,enableExperimentalFragmentVariables:()=>enableExperimentalFragmentVariables,execute:()=>execute,fallbackHttpConfig:()=>fallbackHttpConfig,from:()=>from,fromError:()=>fromError,fromPromise:()=>fromPromise,getApolloContext:()=>getApolloContext,gql:()=>gql,isApolloError:()=>isApolloError,isReference:()=>isReference,makeReference:()=>makeReference,makeVar:()=>makeVar,mergeOptions:()=>mergeOptions,operationName:()=>operationName,parseAndCheckHttpResponse:()=>parseAndCheckHttpResponse,parser:()=>parser_parser,resetApolloContext:()=>getApolloContext,resetCaches:()=>resetCaches,rewriteURIForGET:()=>rewriteURIForGET,selectHttpOptionsAndBody:()=>selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>selectHttpOptionsAndBodyInternal,selectURI:()=>selectURI,serializeFetchParameter:()=>serializeFetchParameter,setLogVerbosity:()=>setVerbosity,split:()=>split,throwServerError:()=>throwServerError,toPromise:()=>toPromise,useApolloClient:()=>useApolloClient,useLazyQuery:()=>useLazyQuery,useMutation:()=>useMutation,useQuery:()=>useQuery,useReactiveVar:()=>useReactiveVar,useSubscription:()=>useSubscription});var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)Object.prototype.hasOwnProperty.call(b2,p)&&(d2[p]=b2[p])},extendStatics(d,b)};function __extends(d,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __2(){this.constructor=d}d.prototype=b===null?Object.create(b):(__2.prototype=b.prototype,new __2)}var __assign=function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)};function __rest(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);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 __decorate(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}function __param(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}}function __esDecorate(ctor,descriptorIn,decorators,contextIn,initializers,extraInitializers){function accept(f){if(f!==void 0&&typeof f!="function")throw new TypeError("Function expected");return f}for(var kind=contextIn.kind,key=kind==="getter"?"get":kind==="setter"?"set":"value",target=!descriptorIn&&ctor?contextIn.static?ctor:ctor.prototype:null,descriptor=descriptorIn||(target?Object.getOwnPropertyDescriptor(target,contextIn.name):{}),_,done=!1,i=decorators.length-1;i>=0;i--){var context={};for(var p in contextIn)context[p]=p==="access"?{}:contextIn[p];for(var p in contextIn.access)context.access[p]=contextIn.access[p];context.addInitializer=function(f){if(done)throw new TypeError("Cannot add initializers after decoration has completed");extraInitializers.push(accept(f||null))};var result=(0,decorators[i])(kind==="accessor"?{get:descriptor.get,set:descriptor.set}:descriptor[key],context);if(kind==="accessor"){if(result===void 0)continue;if(result===null||typeof result!="object")throw new TypeError("Object expected");(_=accept(result.get))&&(descriptor.get=_),(_=accept(result.set))&&(descriptor.set=_),(_=accept(result.init))&&initializers.unshift(_)}else(_=accept(result))&&(kind==="field"?initializers.unshift(_):descriptor[key]=_)}target&&Object.defineProperty(target,contextIn.name,descriptor),done=!0}function __runInitializers(thisArg,initializers,value){for(var useValue=arguments.length>2,i=0;i<initializers.length;i++)value=useValue?initializers[i].call(thisArg,value):initializers[i].call(thisArg);return useValue?value:void 0}function __propKey(x){return typeof x=="symbol"?x:"".concat(x)}function __setFunctionName(f,name,prefix){return typeof name=="symbol"&&(name=name.description?"[".concat(name.description,"]"):""),Object.defineProperty(f,"name",{configurable:!0,value:prefix?"".concat(prefix," ",name):name})}function __metadata(metadataKey,metadataValue){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(metadataKey,metadataValue)}function __awaiter(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())})}function __generator(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");for(;g&&(g=0,op[0]&&(_=0)),_;)try{if(f=1,y&&(t=op[0]&2?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[op[0]&2,t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(t=_.trys,!(t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}}var __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]};function __exportStar(m,o){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(o,p)&&__createBinding(o,m,p)}function __values(o){var s=typeof Symbol=="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,n){var m=typeof Symbol=="function"&&o[Symbol.iterator];if(!m)return o;var i=m.call(o),r,ar=[],e;try{for(;(n===void 0||n-- >0)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar}function __spreadArrays(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r}function __spreadArray(to,from2,pack){if(pack||arguments.length===2)for(var i=0,l=from2.length,ar;i<l;i++)(ar||!(i in from2))&&(ar||(ar=Array.prototype.slice.call(from2,0,i)),ar[i]=from2[i]);return to.concat(ar||Array.prototype.slice.call(from2))}function __await(v){return this instanceof __await?(this.v=v,this):new __await(v)}function __asyncGenerator(thisArg,_arguments,generator){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var g=generator.apply(thisArg,_arguments||[]),i,q=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(n){g[n]&&(i[n]=function(v){return new Promise(function(a,b){q.push([n,v,a,b])>1||resume(n,v)})})}function resume(n,v){try{step(g[n](v))}catch(e){settle(q[0][3],e)}}function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}}function __asyncDelegator(o){var i,p;return i={},verb("next"),verb("throw",function(e){throw e}),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:!1}:f?f(v):v}:f}}function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=o[Symbol.asyncIterator],i;return m?m.call(o):(o=typeof __values=="function"?__values(o):o[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise(function(resolve,reject){v=o[n](v),settle(resolve,reject,v.done,v.value)})}}function settle(resolve,reject,d,v){Promise.resolve(v).then(function(v2){resolve({value:v2,done:d})},reject)}}function __makeTemplateObject(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked}var __setModuleDefault=Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v};function __importStar(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}function __importDefault(mod){return mod&&mod.__esModule?mod:{default:mod}}function __classPrivateFieldGet(receiver,state,kind,f){if(kind==="a"&&!f)throw new TypeError("Private accessor was defined without a getter");if(typeof state=="function"?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot read private member from an object whose class did not declare it");return kind==="m"?f:kind==="a"?f.call(receiver):f?f.value:state.get(receiver)}function __classPrivateFieldSet(receiver,state,value,kind,f){if(kind==="m")throw new TypeError("Private method is not writable");if(kind==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof state=="function"?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot write private member to an object whose class did not declare it");return kind==="a"?f.call(receiver,value):f?f.value=value:state.set(receiver,value),value}function __classPrivateFieldIn(state,receiver){if(receiver===null||typeof receiver!="object"&&typeof receiver!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof state=="function"?receiver===state:state.has(receiver)}function __addDisposableResource(env,value,async){if(value!=null){if(typeof value!="object"&&typeof value!="function")throw new TypeError("Object expected.");var dispose;if(async){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");dispose=value[Symbol.asyncDispose]}if(dispose===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");dispose=value[Symbol.dispose]}if(typeof dispose!="function")throw new TypeError("Object not disposable.");env.stack.push({value,dispose,async})}else async&&env.stack.push({async:!0});return value}var _SuppressedError=typeof SuppressedError=="function"?SuppressedError:function(error,suppressed,message){var e=new Error(message);return e.name="SuppressedError",e.error=error,e.suppressed=suppressed,e};function __disposeResources(env){function fail(e){env.error=env.hasError?new _SuppressedError(e,env.error,"An error was suppressed during disposal."):e,env.hasError=!0}function next(){for(;env.stack.length;){var rec=env.stack.pop();try{var result=rec.dispose&&rec.dispose.call(rec.value);if(rec.async)return Promise.resolve(result).then(next,function(e){return fail(e),next()})}catch(e){fail(e)}}if(env.hasError)throw env.error}return next()}const tslib_es6={__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources};var genericMessage="Invariant Violation",_a=Object.setPrototypeOf,setPrototypeOf=_a===void 0?function(obj,proto){return obj.__proto__=proto,obj}:_a,InvariantError=function(_super){__extends(InvariantError2,_super);function InvariantError2(message){message===void 0&&(message=genericMessage);var _this=_super.call(this,typeof message=="number"?genericMessage+": "+message+" (see https://github.com/apollographql/invariant-packages)":message)||this;return _this.framesToPop=1,_this.name=genericMessage,setPrototypeOf(_this,InvariantError2.prototype),_this}return InvariantError2}(Error);function invariant(condition,message){if(!condition)throw new InvariantError(message)}var verbosityLevels=["debug","log","warn","error","silent"],verbosityLevel=verbosityLevels.indexOf("log");function wrapConsoleMethod(name){return function(){if(verbosityLevels.indexOf(name)>=verbosityLevel){var method=console[name]||console.log;return method.apply(console,arguments)}}}(function(invariant2){invariant2.debug=wrapConsoleMethod("debug"),invariant2.log=wrapConsoleMethod("log"),invariant2.warn=wrapConsoleMethod("warn"),invariant2.error=wrapConsoleMethod("error")})(invariant||(invariant={}));function setVerbosity(level){var old=verbosityLevels[verbosityLevel];return verbosityLevel=Math.max(0,verbosityLevels.indexOf(level)),old}const lib_invariant=null;function maybe(thunk){try{return thunk()}catch{}}const globals_global=maybe(function(){return globalThis})||maybe(function(){return window})||maybe(function(){return self})||maybe(function(){return global})||maybe(function(){return maybe.constructor("return this")()});var __="__",GLOBAL_KEY=[__,__].join("DEV");function getDEV(){try{return Boolean(__DEV__)}catch{return Object.defineProperty(globals_global,GLOBAL_KEY,{value:maybe(function(){return"production"})!=="production",enumerable:!1,configurable:!0,writable:!0}),globals_global[GLOBAL_KEY]}}const DEV=getDEV();var process=__webpack_require__(14224);function process_maybe(thunk){try{return thunk()}catch{}}var safeGlobal=process_maybe(function(){return globalThis})||process_maybe(function(){return window})||process_maybe(function(){return self})||process_maybe(function(){return global})||process_maybe(function(){return process_maybe.constructor("return this")()}),needToRemove=!1;function install(){safeGlobal&&!process_maybe(function(){return"production"})&&!process_maybe(function(){return process})&&(Object.defineProperty(safeGlobal,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),needToRemove=!0)}install();function remove(){needToRemove&&(delete safeGlobal.process,needToRemove=!1)}var source=__webpack_require__(85387);function removeTemporaryGlobals(){return typeof source.H=="function",remove()}function checkDEV(){__DEV__?invariant(typeof DEV=="boolean",DEV):invariant(typeof DEV=="boolean",36)}removeTemporaryGlobals(),checkDEV();function _createForOfIteratorHelperLoose(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(it)return(it=it.call(o)).next.bind(it);if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length=="number"){it&&(o=it);var i=0;return function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
972
+ `,useRootLanes=(viewedLaneId,skip,options={},scope)=>{const{ids,offset,limit,sort}=options,{data,fetchMore,loading}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{laneIds:ids,offset,limit,sort,skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0},skip,errorPolicy:"all",fetchPolicy:"cache-and-network"}),lanesModel=(0,react_1.useMemo)(()=>{if(!loading&&!!data)return lanes_ui_models_lanes_model_1.LanesModel.from({data,scope})},[loading,data,viewedLaneId?.toString(),scope]),hasMore=(0,react_1.useMemo)(()=>{var _a,_b,_c,_d,_e,_f;return loading?!0:limit?ids?.length?((_c=(_b=(_a=data?.lanes)===null||_a===void 0?void 0:_a.list)===null||_b===void 0?void 0:_b.length)!==null&&_c!==void 0?_c:0)===ids.length:((_f=(_e=(_d=data?.lanes)===null||_d===void 0?void 0:_d.list)===null||_e===void 0?void 0:_e.length)!==null&&_f!==void 0?_f:0)>=limit:!1},[loading,data]),fetchMoreLanes=(0,react_1.useCallback)((newOffset,newLimit)=>__awaiter(void 0,void 0,void 0,function*(){var _a,_b;if(hasMore)try{const{data:moreData,networkStatus}=yield fetchMore({variables:{offset:newOffset,limit:newLimit,laneIds:[],skipViewedLane:!viewedLaneId||viewedLaneId.isDefault(),viewedLaneId:viewedLaneId?[viewedLaneId?.toString()]:void 0}}),loadingMore=networkStatus===3;return!loadingMore&&moreData.lanes?{lanesModel:lanes_ui_models_lanes_model_1.LanesModel.from({data:moreData}),loading:loadingMore,hasMore:((_b=(_a=moreData.lanes.list)===null||_a===void 0?void 0:_a.length)!==null&&_b!==void 0?_b:0)>=newLimit,nextOffset:newOffset+newLimit}:{lanesModel,loading:loadingMore,nextOffset:newOffset,currentLimit:newLimit}}catch(err){return console.error(err),{}}return{lanesModel,loading:!1,hasMore:!1,nextOffset:newOffset,currentLimit:newLimit}}),[hasMore,viewedLaneId?.toString(),lanesModel]);return{loading,lanesModel,fetchMoreLanes,hasMore,offset,limit}},useSearchLanes=(search,skip)=>{const{data:searchData,loading:loadingSearch}=(0,ui_foundation_ui_hooks_use_data_query_1.useDataQuery)(GET_LANES,{variables:{search,skipViewedLane:!0},skip:skip||!search,errorPolicy:"all",fetchPolicy:"cache-and-network"});return search?{loading:loadingSearch,lanesModel:searchData&&lanes_ui_models_lanes_model_1.LanesModel.from({data:{lanes:Object.assign(Object.assign({},searchData.lanes),{current:void 0,default:void 0})}})}:{}};exports.useSearchLanes=useSearchLanes;const useLanes=(targetLanes,skip,optionsFromProps,useContextFromProps=!0,scope)=>{var _a,_b,_c,_d,_e;const context=(0,lanes_context_1.useLanesContext)()||{},options=optionsFromProps||context?.options,isSameOptions=(0,lodash_1.isEqual)(options,context?.options),useContext=useContextFromProps&&!!context&&isSameOptions,shouldSkip=skip||!!targetLanes||useContext,rootLanesData=useRootLanes((_b=(_a=context?.lanesModel)===null||_a===void 0?void 0:_a.viewedLane)===null||_b===void 0?void 0:_b.id,shouldSkip,options,scope),searchResult=(0,exports.useSearchLanes)(options?.search,shouldSkip);return targetLanes?Object.assign(Object.assign(Object.assign({},context),rootLanesData),{lanesModel:targetLanes,searchResult}):useContext?Object.assign(Object.assign({},context),{searchResult}):((_c=rootLanesData.lanesModel)===null||_c===void 0||_c.setViewedLane((_e=(_d=context?.lanesModel)===null||_d===void 0?void 0:_d.viewedLane)===null||_e===void 0?void 0:_e.id),Object.assign(Object.assign(Object.assign({},context),rootLanesData),{searchResult}))};exports.useLanes=useLanes},97223:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesModel=void 0;var lanes_model_1=__webpack_require__(52422);Object.defineProperty(exports,"LanesModel",{enumerable:!0,get:function(){return lanes_model_1.LanesModel}})},52422:(__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}=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}}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.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()}`}},52515:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"PanelUiAspect",{enumerable:!0,get:function(){return _panelUi().PanelUiAspect}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return _tabs().Tab}}),Object.defineProperty(exports,"TabContainer",{enumerable:!0,get:function(){return _tabs().TabContainer}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return _tabs().TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return _tabs().TabPanel}});function _panelUi(){const data=__webpack_require__(9322);return _panelUi=function(){return data},data}function _tabs(){const data=__webpack_require__(63096);return _tabs=function(){return data},data}},9322:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PanelUiAspect=void 0;function _harmony(){const data=__webpack_require__(55669);return _harmony=function(){return data},data}const PanelUiAspect=exports.PanelUiAspect=_harmony().Aspect.create({id:"teambit.ui-foundation/panels",dependencies:[],defaultConfig:{}})},63096:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Tab=Tab,exports.TabContainer=void 0,exports.TabList=TabList,exports.TabPanel=void 0;function _classnames(){const data=_interopRequireDefault(__webpack_require__(97754));return _classnames=function(){return data},data}function _react(){const data=_interopRequireDefault(__webpack_require__(59496));return _react=function(){return data},data}function _reactTabs(){const data=__webpack_require__(35493);return _reactTabs=function(){return data},data}function _tabsModule(){const data=_interopRequireDefault(__webpack_require__(86259));return _tabsModule=function(){return data},data}function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}const TabContainer=exports.TabContainer=_reactTabs().Tabs;function TabList(props){return _react().default.createElement(_reactTabs().TabList,_extends({},props,{className:(0,_classnames().default)(_tabsModule().default.tabContainer,props.className)}))}TabList.tabsRole="TabList";const TabPanel=exports.TabPanel=_reactTabs().TabPanel;function Tab(props){return _react().default.createElement(_reactTabs().Tab,_extends({},props,{className:(0,_classnames().default)(props.className,_tabsModule().default.tab),selectedClassName:_tabsModule().default.active,disabledClassName:_tabsModule().default.disabled}))}Tab.tabsRole="Tab"},75665:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.computePreviewScale=void 0;function computePreviewScale(width,containerWidth){const scale=containerWidth*.95/width;return scale>1?"scale(1)":`scale(${scale})`}exports.computePreviewScale=computePreviewScale},27699:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toPreviewHash=exports.toPreviewServer=exports.toPreviewUrl=exports.ComponentPreview=void 0;var preview_1=__webpack_require__(34874);Object.defineProperty(exports,"ComponentPreview",{enumerable:!0,get:function(){return preview_1.ComponentPreview}});var urls_1=__webpack_require__(99768);Object.defineProperty(exports,"toPreviewUrl",{enumerable:!0,get:function(){return urls_1.toPreviewUrl}}),Object.defineProperty(exports,"toPreviewServer",{enumerable:!0,get:function(){return urls_1.toPreviewServer}}),Object.defineProperty(exports,"toPreviewHash",{enumerable:!0,get:function(){return urls_1.toPreviewHash}})},34874: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.ComponentPreview=void 0;const react_1=__importStar(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),lodash_1=__webpack_require__(32699),penpal_1=__webpack_require__(63805),pubsub_1=__webpack_require__(23179),urls_1=__webpack_require__(99768),compute_preview_scale_1=__webpack_require__(75665),use_iframe_content_height_1=__webpack_require__(63853),preview_module_scss_1=__importDefault(__webpack_require__(52781));function ComponentPreview(_a){var _b,_c,_d,{component,previewName,className,forceHeight,includeEnv=!0,queryParams,disableScroll=!1,pubsub,innerBottomPadding=0,viewport=1280,fullContentHeight=!1,onLoad,style}=_a,rest=__rest(_a,["component","previewName","className","forceHeight","includeEnv","queryParams","disableScroll","pubsub","innerBottomPadding","viewport","fullContentHeight","onLoad","style"]);const[heightIframeRef,iframeHeight]=(0,use_iframe_content_height_1.useIframeContentHeight)({skip:!1,viewport}),iframeRef=(0,react_1.useRef)(null),[width,setWidth]=(0,react_1.useState)(0),[height,setHeight]=(0,react_1.useState)(0),containerRef=(0,react_1.useRef)(null),isScaling=(_b=component.preview)===null||_b===void 0?void 0:_b.isScaling,currentRef=isScaling?iframeRef:heightIframeRef;(0,pubsub_1.usePubSubIframe)(pubsub?currentRef:void 0),(0,react_1.useEffect)(()=>{!iframeRef.current||(0,penpal_1.connectToChild)({iframe:iframeRef.current,methods:{pub:(event,message)=>{message.type==="preview-size"&&(setWidth(message.data.width),setHeight(message.data.height)),onLoad&&event&&onLoad(event,{height:message.data.height,width:message.data.width})}}})},[iframeRef?.current]);const params=Array.isArray(queryParams)?queryParams.concat(`viewport=${viewport}`):(0,lodash_1.compact)([queryParams,`viewport=${viewport}`]),targetParams=viewport===null?queryParams:params,url=(0,urls_1.toPreviewUrl)(component,previewName,isScaling?targetParams:queryParams,includeEnv),containerWidth=((_c=containerRef.current)===null||_c===void 0?void 0:_c.offsetWidth)||0,containerHeight=((_d=containerRef.current)===null||_d===void 0?void 0:_d.offsetHeight)||0,currentWidth=fullContentHeight?"100%":width||1280,legacyCurrentWidth="100%",targetWidth=typeof currentWidth=="string"?currentWidth:Math.max(currentWidth,containerWidth),targetHeight=height!==0?height:5e3,finalHeight=!fullContentHeight&&targetHeight<containerHeight?containerHeight:targetHeight,defaultLegacyHeight=forceHeight||5e3,legacyIframeHeight=(iframeHeight||0)>400?iframeHeight:defaultLegacyHeight;return react_1.default.createElement("div",{ref:containerRef,className:(0,classnames_1.default)(preview_module_scss_1.default.preview,className),style:{height:forceHeight}},react_1.default.createElement("iframe",Object.assign({},rest,{ref:currentRef,style:Object.assign(Object.assign({},style),{height:forceHeight||(isScaling?finalHeight+innerBottomPadding:legacyIframeHeight),width:isScaling?targetWidth:legacyCurrentWidth,visibility:width===0&&isScaling&&!fullContentHeight?"hidden":void 0,transform:fullContentHeight?"":(0,compute_preview_scale_1.computePreviewScale)(width,containerWidth),border:0,transformOrigin:"top left"}),src:url,scrolling:disableScroll?"no":void 0})))}exports.ComponentPreview=ComponentPreview},99768:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toPreviewHash=exports.toPreviewServer=exports.toPreviewUrl=void 0;const base_ui_utils_string_affix_1=__webpack_require__(65343);function toPreviewUrl(component,previewName,additionalParams,includeEnvId=!0){const serverPath=toPreviewServer(component,previewName),envId=getEnvIdQueryParam(component,includeEnvId),hash=toPreviewHash(component,previewName,envId,additionalParams);return`${serverPath}#${hash}`}exports.toPreviewUrl=toPreviewUrl;function toPreviewServer(component,previewName){var _a,_b;const explicitUrl=(_a=component.server)===null||_a===void 0?void 0:_a.url;return explicitUrl&&!component.server.host?explicitUrl:((_b=component.preview)===null||_b===void 0?void 0:_b.includesEnvTemplate)===!1?toEnvTemplatePreviewUrl(component,previewName):toComponentPreviewUrl(component)}exports.toPreviewServer=toPreviewServer;function getEnvIdQueryParam(component,includeEnvId=!0){var _a,_b,_c,_d;if(!!includeEnvId&&!(((_a=component.server)===null||_a===void 0?void 0:_a.host)||((_b=component.server)===null||_b===void 0?void 0:_b.basePath))&&!!(!((_c=component.server)===null||_c===void 0)&&_c.url))return(_d=component.environment)===null||_d===void 0?void 0:_d.id}function toComponentPreviewUrl(component){var _a,_b;return`${createPrefix((_a=component.server)===null||_a===void 0?void 0:_a.basePath,(_b=component.server)===null||_b===void 0?void 0:_b.host)}/${component.id.toString()}/~aspect/preview/`}function createPrefix(basePath,host){const actualBasePath=basePath||"/api",basePathWithSlash=actualBasePath.startsWith("/")?actualBasePath:`/${actualBasePath}`,hostWithoutSlash=host?.endsWith("/")?host.slice(0,-1):host,prefix=hostWithoutSlash?`${hostWithoutSlash}${basePathWithSlash}`:basePathWithSlash;return prefix.endsWith("/")?prefix.slice(0,-1):prefix}function toEnvTemplatePreviewUrl(component,previewName){var _a,_b,_c;const envId=(_a=component.environment)===null||_a===void 0?void 0:_a.id,search=`compId=${component.id.toString()}`;return`${createPrefix((_b=component.server)===null||_b===void 0?void 0:_b.basePath,(_c=component.server)===null||_c===void 0?void 0:_c.host)}/${envId}/~aspect/env-template/${previewName}/?${search}`}function toPreviewHash(component,previewName,envId,queryParams=""){const previewParam=(0,base_ui_utils_string_affix_1.affix)("preview=",previewName),envIdParam=(0,base_ui_utils_string_affix_1.affix)("env=",envId),hashQuery=[previewParam,envIdParam].concat(queryParams).filter(x=>!!x).join("&");return`${component.id.toString()}${(0,base_ui_utils_string_affix_1.affix)("?",hashQuery)}`}exports.toPreviewHash=toPreviewHash},63853:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useInterval=exports.useIframeContentHeight=void 0;const react_1=__webpack_require__(59496);function useIframeContentHeight({interval=250,skip,viewport}){const iframeRef=(0,react_1.useRef)(null),[iframeHeight,setIframeHeight]=(0,react_1.useState)(0),[iframeWidth,setIframeWidth]=(0,react_1.useState)(0);if(skip)return[iframeRef,void 0,iframeWidth];let first=!0;return useInterval(()=>{var _a;try{const iframe=iframeRef.current;viewport!==null&&(iframe.contentWindow.document.body.style.width="fit-content"),!first&&iframe?.style.height==="5000px"&&(iframe.style.height="100%");const newHeight=iframe.contentWindow.document.body.scrollHeight,newWidth=(_a=iframe?.contentWindow)===null||_a===void 0?void 0:_a.document.body.offsetWidth;setIframeHeight(newHeight),setIframeWidth(newWidth||0),first=!1}catch{}},interval),[iframeRef,iframeHeight,iframeWidth]}exports.useIframeContentHeight=useIframeContentHeight;function useInterval(callback,interval){const savedCallback=(0,react_1.useRef)(()=>callback);(0,react_1.useEffect)(()=>{savedCallback.current=callback}),(0,react_1.useEffect)(()=>{function tick(){savedCallback.current()}if(interval!==null){const id=setInterval(tick,interval);return()=>clearInterval(id)}return()=>{}},[interval])}exports.useInterval=useInterval},61286: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.DocsApp=void 0;const react_1=__importDefault(__webpack_require__(59496)),docs_1=__webpack_require__(84723),react_ui_docs_properties_table_1=__webpack_require__(98077),react_ui_docs_compositions_carousel_1=__webpack_require__(54505),react_ui_docs_docs_content_1=__webpack_require__(90036),docs_theme_1=__webpack_require__(35623),docs_app_module_scss_1=__importDefault(__webpack_require__(74293));function DocsApp({componentId,docs=docs_1.defaultDocs,compositions,context}){const withoutHash=window.location.hash.substring(1),[,after]=withoutHash.split("?"),renderOnlyOverview=new URLSearchParams(after).get("onlyOverview");return react_1.default.createElement(docs_theme_1.DocsTheme,null,react_1.default.createElement(react_1.default.Fragment,null,react_1.default.createElement(react_ui_docs_docs_content_1.DocsContent,{docs,className:docs_app_module_scss_1.default.mdx}),(!renderOnlyOverview||renderOnlyOverview==="false")&&react_1.default.createElement(react_ui_docs_compositions_carousel_1.CompositionsCarousel,{renderingContext:context,compositions,className:docs_app_module_scss_1.default.compositionSection,compositionCardClass:docs_app_module_scss_1.default.compositionCard}),(!renderOnlyOverview||renderOnlyOverview==="false")&&react_1.default.createElement(react_ui_docs_properties_table_1.PropertiesTable,{componentId})))}exports.DocsApp=DocsApp},35623: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.DocsTheme=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_themes_theme_toggler_1=__webpack_require__(85654),design_theme_icons_font_1=__webpack_require__(64452),docs_app_module_scss_1=__importDefault(__webpack_require__(74293));function DocsTheme({children}){const hash=window.location.hash,[,hashQuery]=hash&&hash.split("?"),theme=new URLSearchParams(hashQuery).get("theme")||"light";return react_1.default.createElement(design_themes_theme_toggler_1.ThemeSwitcher,{defaultTheme:theme},react_1.default.createElement(design_theme_icons_font_1.IconFont,{query:"q76y7n"}),react_1.default.createElement("div",{className:(0,classnames_1.default)(docs_app_module_scss_1.default.docsMainBlock)},children))}exports.DocsTheme=DocsTheme},17294: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 react_1=__importDefault(__webpack_require__(59496)),react_dom_1=__importDefault(__webpack_require__(87995)),docs_app_1=__webpack_require__(61286);function DocsRoot({componentId,docs,compositions,context}){react_dom_1.default.render(react_1.default.createElement(docs_app_1.DocsApp,{componentId,docs,compositions,context}),document.getElementById("root"))}DocsRoot.apiObject=!0,exports.default=DocsRoot},79022: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.docsStyles=exports.DocsApp=exports.default=exports.DocsTheme=void 0;var docs_theme_1=__webpack_require__(35623);Object.defineProperty(exports,"DocsTheme",{enumerable:!0,get:function(){return docs_theme_1.DocsTheme}});var docs_app_root_1=__webpack_require__(17294);Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return __importDefault(docs_app_root_1).default}});var docs_app_1=__webpack_require__(61286);Object.defineProperty(exports,"DocsApp",{enumerable:!0,get:function(){return docs_app_1.DocsApp}});var docs_app_module_scss_1=__webpack_require__(74293);Object.defineProperty(exports,"docsStyles",{enumerable:!0,get:function(){return __importDefault(docs_app_module_scss_1).default}})},80849: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.ApplyProviders=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_error_boundary_1=__webpack_require__(75340),base_ui_utils_composer_1=__webpack_require__(97383),react_ui_error_fallback_1=__webpack_require__(32334),react_2=__webpack_require__(32750);function ApplyProviders(_a){var{renderingContext,children}=_a,rest=__rest(_a,["renderingContext","children"]);const{providers=[]}=renderingContext.get(react_2.ReactAspect.id)||{};return react_1.default.createElement("div",Object.assign({},rest),react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:react_ui_error_fallback_1.ErrorFallback},react_1.default.createElement(base_ui_utils_composer_1.Composer,{components:providers},children)))}exports.ApplyProviders=ApplyProviders},95440:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ApplyProviders=void 0;var apply_providers_1=__webpack_require__(80849);Object.defineProperty(exports,"ApplyProviders",{enumerable:!0,get:function(){return apply_providers_1.ApplyProviders}})},84218: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.CompositionsCarousel=void 0;const react_1=__importDefault(__webpack_require__(59496)),react_ui_docs_apply_providers_1=__webpack_require__(95440),compositions_ui_compositions_overview_1=__webpack_require__(88107),documenter_ui_linked_heading_1=__webpack_require__(24259),documenter_ui_section_1=__webpack_require__(1105);function CompositionsCarousel(_a){var{compositions,compositionCardClass,renderingContext}=_a,rest=__rest(_a,["compositions","compositionCardClass","renderingContext"]);return!compositions||Object.keys(compositions).length===0?null:react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,null,"Compositions"),react_1.default.createElement(react_ui_docs_apply_providers_1.ApplyProviders,{renderingContext},react_1.default.createElement(compositions_ui_compositions_overview_1.CompositionsOverview,{compositions,compositionCardClass})))}exports.CompositionsCarousel=CompositionsCarousel},54505:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CompositionsCarousel=void 0;var compositions_carousel_1=__webpack_require__(84218);Object.defineProperty(exports,"CompositionsCarousel",{enumerable:!0,get:function(){return compositions_carousel_1.CompositionsCarousel}})},58715: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.DocsContent=void 0;const react_error_boundary_1=__webpack_require__(75340),lodash_1=__webpack_require__(32699),docs_1=__webpack_require__(84723),react_ui_error_fallback_1=__webpack_require__(32334),mdx_ui_mdx_layout_1=__webpack_require__(13359),react_1=__importDefault(__webpack_require__(59496));function DocsContent(_a){var{docs=docs_1.defaultDocs}=_a,rest=__rest(_a,["docs"]);const Content=(0,lodash_1.isFunction)(docs.default)?docs.default:()=>null;return react_1.default.createElement(react_error_boundary_1.ErrorBoundary,{FallbackComponent:react_ui_error_fallback_1.ErrorFallback},Content.isMDXComponent?react_1.default.createElement(mdx_ui_mdx_layout_1.MDXLayout,Object.assign({},rest),react_1.default.createElement(Content,null)):react_1.default.createElement(Content,null))}exports.DocsContent=DocsContent},90036:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DocsContent=void 0;var docs_content_1=__webpack_require__(58715);Object.defineProperty(exports,"DocsContent",{enumerable:!0,get:function(){return docs_content_1.DocsContent}})},98077:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PropertiesTable=void 0;var properties_table_1=__webpack_require__(29784);Object.defineProperty(exports,"PropertiesTable",{enumerable:!0,get:function(){return properties_table_1.PropertiesTable}})},29784: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.PropertiesTable=void 0;const documenter_ui_linked_heading_1=__webpack_require__(24259),documenter_ui_property_table_1=__webpack_require__(41823),documenter_ui_section_1=__webpack_require__(1105),component_ui_hooks_use_fetch_docs_1=__webpack_require__(3635),react_1=__importDefault(__webpack_require__(59496));function PropertiesTable(_a){var{componentId}=_a,rest=__rest(_a,["componentId"]);const{loading,error,data}=(0,component_ui_hooks_use_fetch_docs_1.useFetchDocs)(componentId);if(!data||loading)return null;if(error)return console.error(`failed to fetch docs for ${componentId} in PropertiesTable`,error),null;const{properties}=data.docs;return properties.length===0?react_1.default.createElement("div",null):react_1.default.createElement(documenter_ui_section_1.Section,Object.assign({},rest),react_1.default.createElement(documenter_ui_linked_heading_1.LinkedHeading,null,"Properties"),react_1.default.createElement(documenter_ui_property_table_1.PropTable,{rows:properties}))}exports.PropertiesTable=PropertiesTable},16880:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;const react_1=__importDefault(__webpack_require__(59496)),classnames_1=__importDefault(__webpack_require__(97754)),design_ui_icon_button_1=__webpack_require__(89140),base_ui_styles_flex_center_1=__webpack_require__(10981),error_fallback_module_scss_1=__importDefault(__webpack_require__(62954));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},32334:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ErrorFallback=void 0;var error_fallback_1=__webpack_require__(16880);Object.defineProperty(exports,"ErrorFallback",{enumerable:!0,get:function(){return error_fallback_1.ErrorFallback}})},31461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.matchPatterns=exports.splitPatterns=void 0;var match_patterns_1=__webpack_require__(36213);Object.defineProperty(exports,"splitPatterns",{enumerable:!0,get:function(){return match_patterns_1.splitPatterns}}),Object.defineProperty(exports,"matchPatterns",{enumerable:!0,get:function(){return match_patterns_1.matchPatterns}})},36213: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.splitPatterns=exports.matchPatterns=void 0;const minimatch_1=__importDefault(__webpack_require__(18455));function matchPatterns(filePath,includePatterns,excludePatterns){const included=includePatterns.some(pattern=>(0,minimatch_1.default)(filePath,pattern)),excluded=excludePatterns.every(pattern=>(0,minimatch_1.default)(filePath,pattern));return included&&excluded}exports.matchPatterns=matchPatterns;function splitPatterns(patterns){return{includePatterns:patterns.filter(pattern=>!pattern.startsWith("!")),excludePatterns:patterns.filter(pattern=>pattern.startsWith("!"))}}exports.splitPatterns=splitPatterns},55044:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.capitalize=void 0;function capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1)}exports.capitalize=capitalize},58315:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.capitalize=void 0;var capitalize_1=__webpack_require__(55044);Object.defineProperty(exports,"capitalize",{enumerable:!0,get:function(){return capitalize_1.capitalize}})},90065: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.Collapser=void 0;const evangelist_elements_icon_1=__webpack_require__(6281),classnames_1=__importDefault(__webpack_require__(97754)),react_1=__importDefault(__webpack_require__(59496)),design_ui_tooltip_1=__webpack_require__(49142),collapser_button_module_scss_1=__importDefault(__webpack_require__(3741));function Collapser(_a){var{isOpen,tooltipContent,placement="right",onClick,className}=_a,rest=__rest(_a,["isOpen","tooltipContent","placement","onClick","className"]);const icon=`${placement}-rounded-corners`;return react_1.default.createElement(design_ui_tooltip_1.Tooltip,{content:tooltipContent},react_1.default.createElement("div",Object.assign({},rest,{onClick,className:(0,classnames_1.default)(collapser_button_module_scss_1.default.collapser,collapser_button_module_scss_1.default[placement],isOpen&&collapser_button_module_scss_1.default.open,className)}),react_1.default.createElement("div",{className:collapser_button_module_scss_1.default.circle},react_1.default.createElement("div",null,react_1.default.createElement(evangelist_elements_icon_1.Icon,{of:icon})))))}exports.Collapser=Collapser},32098:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Collapser=void 0;var collapser_button_1=__webpack_require__(90065);Object.defineProperty(exports,"Collapser",{enumerable:!0,get:function(){return collapser_button_1.Collapser}})},24681:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{SlotRouter:()=>SlotRouter});var jsx_runtime=__webpack_require__(4637),react=__webpack_require__(59496),dist=__webpack_require__(67702),lodash=__webpack_require__(32699);function toKey(route){return route.path?route.path:route.index?"/":"."}function SlotRouter({routes:routesFromProps,slot,rootRoutes,children,parentPath}){const jsxRoutes=(routesFromProps||slot&&(0,lodash.flatten)(slot.values())||[]).concat(rootRoutes||[]).map(route=>(0,jsx_runtime.jsx)(dist.AW,{...route},toKey(route)));return parentPath?(0,jsx_runtime.jsx)(dist.Z5,{children:(0,jsx_runtime.jsxs)(dist.AW,{path:parentPath,children:[jsxRoutes,children]})}):(0,jsx_runtime.jsx)(dist.Z5,{children:(0,jsx_runtime.jsxs)(dist.AW,{path:parentPath,children:[jsxRoutes,children]})})}},26773:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var possibleNames=__webpack_require__(41758),g=typeof globalThis>"u"?__webpack_require__.g:globalThis;module.exports=function(){for(var out=[],i=0;i<possibleNames.length;i++)typeof g[possibleNames[i]]=="function"&&(out[out.length]=possibleNames[i]);return out}},97299:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ApolloCache:()=>ApolloCache,ApolloClient:()=>ApolloClient,ApolloConsumer:()=>ApolloConsumer,ApolloError:()=>ApolloError,ApolloLink:()=>ApolloLink,ApolloProvider:()=>ApolloProvider,Cache:()=>Cache_Cache,DocumentType:()=>DocumentType,HttpLink:()=>HttpLink,InMemoryCache:()=>InMemoryCache,MissingFieldError:()=>MissingFieldError,NetworkStatus:()=>NetworkStatus,Observable:()=>Observable,ObservableQuery:()=>ObservableQuery,checkFetcher:()=>checkFetcher,concat:()=>concat,createHttpLink:()=>createHttpLink,createSignalIfSupported:()=>createSignalIfSupported,defaultDataIdFromObject:()=>defaultDataIdFromObject,defaultPrinter:()=>defaultPrinter,disableExperimentalFragmentVariables:()=>disableExperimentalFragmentVariables,disableFragmentWarnings:()=>disableFragmentWarnings,empty:()=>empty,enableExperimentalFragmentVariables:()=>enableExperimentalFragmentVariables,execute:()=>execute,fallbackHttpConfig:()=>fallbackHttpConfig,from:()=>from,fromError:()=>fromError,fromPromise:()=>fromPromise,getApolloContext:()=>getApolloContext,gql:()=>gql,isApolloError:()=>isApolloError,isReference:()=>isReference,makeReference:()=>makeReference,makeVar:()=>makeVar,mergeOptions:()=>mergeOptions,operationName:()=>operationName,parseAndCheckHttpResponse:()=>parseAndCheckHttpResponse,parser:()=>parser_parser,resetApolloContext:()=>getApolloContext,resetCaches:()=>resetCaches,rewriteURIForGET:()=>rewriteURIForGET,selectHttpOptionsAndBody:()=>selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>selectHttpOptionsAndBodyInternal,selectURI:()=>selectURI,serializeFetchParameter:()=>serializeFetchParameter,setLogVerbosity:()=>setVerbosity,split:()=>split,throwServerError:()=>throwServerError,toPromise:()=>toPromise,useApolloClient:()=>useApolloClient,useLazyQuery:()=>useLazyQuery,useMutation:()=>useMutation,useQuery:()=>useQuery,useReactiveVar:()=>useReactiveVar,useSubscription:()=>useSubscription});var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)Object.prototype.hasOwnProperty.call(b2,p)&&(d2[p]=b2[p])},extendStatics(d,b)};function __extends(d,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __2(){this.constructor=d}d.prototype=b===null?Object.create(b):(__2.prototype=b.prototype,new __2)}var __assign=function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)};function __rest(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);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 __decorate(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r}function __param(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}}function __esDecorate(ctor,descriptorIn,decorators,contextIn,initializers,extraInitializers){function accept(f){if(f!==void 0&&typeof f!="function")throw new TypeError("Function expected");return f}for(var kind=contextIn.kind,key=kind==="getter"?"get":kind==="setter"?"set":"value",target=!descriptorIn&&ctor?contextIn.static?ctor:ctor.prototype:null,descriptor=descriptorIn||(target?Object.getOwnPropertyDescriptor(target,contextIn.name):{}),_,done=!1,i=decorators.length-1;i>=0;i--){var context={};for(var p in contextIn)context[p]=p==="access"?{}:contextIn[p];for(var p in contextIn.access)context.access[p]=contextIn.access[p];context.addInitializer=function(f){if(done)throw new TypeError("Cannot add initializers after decoration has completed");extraInitializers.push(accept(f||null))};var result=(0,decorators[i])(kind==="accessor"?{get:descriptor.get,set:descriptor.set}:descriptor[key],context);if(kind==="accessor"){if(result===void 0)continue;if(result===null||typeof result!="object")throw new TypeError("Object expected");(_=accept(result.get))&&(descriptor.get=_),(_=accept(result.set))&&(descriptor.set=_),(_=accept(result.init))&&initializers.unshift(_)}else(_=accept(result))&&(kind==="field"?initializers.unshift(_):descriptor[key]=_)}target&&Object.defineProperty(target,contextIn.name,descriptor),done=!0}function __runInitializers(thisArg,initializers,value){for(var useValue=arguments.length>2,i=0;i<initializers.length;i++)value=useValue?initializers[i].call(thisArg,value):initializers[i].call(thisArg);return useValue?value:void 0}function __propKey(x){return typeof x=="symbol"?x:"".concat(x)}function __setFunctionName(f,name,prefix){return typeof name=="symbol"&&(name=name.description?"[".concat(name.description,"]"):""),Object.defineProperty(f,"name",{configurable:!0,value:prefix?"".concat(prefix," ",name):name})}function __metadata(metadataKey,metadataValue){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(metadataKey,metadataValue)}function __awaiter(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())})}function __generator(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");for(;g&&(g=0,op[0]&&(_=0)),_;)try{if(f=1,y&&(t=op[0]&2?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[op[0]&2,t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(t=_.trys,!(t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}}var __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]};function __exportStar(m,o){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(o,p)&&__createBinding(o,m,p)}function __values(o){var s=typeof Symbol=="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&i>=o.length&&(o=void 0),{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,n){var m=typeof Symbol=="function"&&o[Symbol.iterator];if(!m)return o;var i=m.call(o),r,ar=[],e;try{for(;(n===void 0||n-- >0)&&!(r=i.next()).done;)ar.push(r.value)}catch(error){e={error}}finally{try{r&&!r.done&&(m=i.return)&&m.call(i)}finally{if(e)throw e.error}}return ar}function __spread(){for(var ar=[],i=0;i<arguments.length;i++)ar=ar.concat(__read(arguments[i]));return ar}function __spreadArrays(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r}function __spreadArray(to,from2,pack){if(pack||arguments.length===2)for(var i=0,l=from2.length,ar;i<l;i++)(ar||!(i in from2))&&(ar||(ar=Array.prototype.slice.call(from2,0,i)),ar[i]=from2[i]);return to.concat(ar||Array.prototype.slice.call(from2))}function __await(v){return this instanceof __await?(this.v=v,this):new __await(v)}function __asyncGenerator(thisArg,_arguments,generator){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var g=generator.apply(thisArg,_arguments||[]),i,q=[];return i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i;function verb(n){g[n]&&(i[n]=function(v){return new Promise(function(a,b){q.push([n,v,a,b])>1||resume(n,v)})})}function resume(n,v){try{step(g[n](v))}catch(e){settle(q[0][3],e)}}function step(r){r.value instanceof __await?Promise.resolve(r.value.v).then(fulfill,reject):settle(q[0][2],r)}function fulfill(value){resume("next",value)}function reject(value){resume("throw",value)}function settle(f,v){f(v),q.shift(),q.length&&resume(q[0][0],q[0][1])}}function __asyncDelegator(o){var i,p;return i={},verb("next"),verb("throw",function(e){throw e}),verb("return"),i[Symbol.iterator]=function(){return this},i;function verb(n,f){i[n]=o[n]?function(v){return(p=!p)?{value:__await(o[n](v)),done:!1}:f?f(v):v}:f}}function __asyncValues(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m=o[Symbol.asyncIterator],i;return m?m.call(o):(o=typeof __values=="function"?__values(o):o[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(n){i[n]=o[n]&&function(v){return new Promise(function(resolve,reject){v=o[n](v),settle(resolve,reject,v.done,v.value)})}}function settle(resolve,reject,d,v){Promise.resolve(v).then(function(v2){resolve({value:v2,done:d})},reject)}}function __makeTemplateObject(cooked,raw){return Object.defineProperty?Object.defineProperty(cooked,"raw",{value:raw}):cooked.raw=raw,cooked}var __setModuleDefault=Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v};function __importStar(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}function __importDefault(mod){return mod&&mod.__esModule?mod:{default:mod}}function __classPrivateFieldGet(receiver,state,kind,f){if(kind==="a"&&!f)throw new TypeError("Private accessor was defined without a getter");if(typeof state=="function"?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot read private member from an object whose class did not declare it");return kind==="m"?f:kind==="a"?f.call(receiver):f?f.value:state.get(receiver)}function __classPrivateFieldSet(receiver,state,value,kind,f){if(kind==="m")throw new TypeError("Private method is not writable");if(kind==="a"&&!f)throw new TypeError("Private accessor was defined without a setter");if(typeof state=="function"?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot write private member to an object whose class did not declare it");return kind==="a"?f.call(receiver,value):f?f.value=value:state.set(receiver,value),value}function __classPrivateFieldIn(state,receiver){if(receiver===null||typeof receiver!="object"&&typeof receiver!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof state=="function"?receiver===state:state.has(receiver)}function __addDisposableResource(env,value,async){if(value!=null){if(typeof value!="object"&&typeof value!="function")throw new TypeError("Object expected.");var dispose;if(async){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");dispose=value[Symbol.asyncDispose]}if(dispose===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");dispose=value[Symbol.dispose]}if(typeof dispose!="function")throw new TypeError("Object not disposable.");env.stack.push({value,dispose,async})}else async&&env.stack.push({async:!0});return value}var _SuppressedError=typeof SuppressedError=="function"?SuppressedError:function(error,suppressed,message){var e=new Error(message);return e.name="SuppressedError",e.error=error,e.suppressed=suppressed,e};function __disposeResources(env){function fail(e){env.error=env.hasError?new _SuppressedError(e,env.error,"An error was suppressed during disposal."):e,env.hasError=!0}function next(){for(;env.stack.length;){var rec=env.stack.pop();try{var result=rec.dispose&&rec.dispose.call(rec.value);if(rec.async)return Promise.resolve(result).then(next,function(e){return fail(e),next()})}catch(e){fail(e)}}if(env.hasError)throw env.error}return next()}const tslib_es6={__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources};var genericMessage="Invariant Violation",_a=Object.setPrototypeOf,setPrototypeOf=_a===void 0?function(obj,proto){return obj.__proto__=proto,obj}:_a,InvariantError=function(_super){__extends(InvariantError2,_super);function InvariantError2(message){message===void 0&&(message=genericMessage);var _this=_super.call(this,typeof message=="number"?genericMessage+": "+message+" (see https://github.com/apollographql/invariant-packages)":message)||this;return _this.framesToPop=1,_this.name=genericMessage,setPrototypeOf(_this,InvariantError2.prototype),_this}return InvariantError2}(Error);function invariant(condition,message){if(!condition)throw new InvariantError(message)}var verbosityLevels=["debug","log","warn","error","silent"],verbosityLevel=verbosityLevels.indexOf("log");function wrapConsoleMethod(name){return function(){if(verbosityLevels.indexOf(name)>=verbosityLevel){var method=console[name]||console.log;return method.apply(console,arguments)}}}(function(invariant2){invariant2.debug=wrapConsoleMethod("debug"),invariant2.log=wrapConsoleMethod("log"),invariant2.warn=wrapConsoleMethod("warn"),invariant2.error=wrapConsoleMethod("error")})(invariant||(invariant={}));function setVerbosity(level){var old=verbosityLevels[verbosityLevel];return verbosityLevel=Math.max(0,verbosityLevels.indexOf(level)),old}const lib_invariant=null;function maybe(thunk){try{return thunk()}catch{}}const globals_global=maybe(function(){return globalThis})||maybe(function(){return window})||maybe(function(){return self})||maybe(function(){return global})||maybe(function(){return maybe.constructor("return this")()});var __="__",GLOBAL_KEY=[__,__].join("DEV");function getDEV(){try{return Boolean(__DEV__)}catch{return Object.defineProperty(globals_global,GLOBAL_KEY,{value:maybe(function(){return"production"})!=="production",enumerable:!1,configurable:!0,writable:!0}),globals_global[GLOBAL_KEY]}}const DEV=getDEV();var process=__webpack_require__(14224);function process_maybe(thunk){try{return thunk()}catch{}}var safeGlobal=process_maybe(function(){return globalThis})||process_maybe(function(){return window})||process_maybe(function(){return self})||process_maybe(function(){return global})||process_maybe(function(){return process_maybe.constructor("return this")()}),needToRemove=!1;function install(){safeGlobal&&!process_maybe(function(){return"production"})&&!process_maybe(function(){return process})&&(Object.defineProperty(safeGlobal,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),needToRemove=!0)}install();function remove(){needToRemove&&(delete safeGlobal.process,needToRemove=!1)}var source=__webpack_require__(85387);function removeTemporaryGlobals(){return typeof source.H=="function",remove()}function checkDEV(){__DEV__?invariant(typeof DEV=="boolean",DEV):invariant(typeof DEV=="boolean",36)}removeTemporaryGlobals(),checkDEV();function _createForOfIteratorHelperLoose(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(it)return(it=it.call(o)).next.bind(it);if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length=="number"){it&&(o=it);var i=0;return function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
973
973
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}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 _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 _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,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}var hasSymbols=function(){return typeof Symbol=="function"},hasSymbol=function(name){return hasSymbols()&&Boolean(Symbol[name])},getSymbol=function(name){return hasSymbol(name)?Symbol[name]:"@@"+name};hasSymbols()&&!hasSymbol("observable")&&(Symbol.observable=Symbol("observable"));var SymbolIterator=getSymbol("iterator"),SymbolObservable=getSymbol("observable"),SymbolSpecies=getSymbol("species");function getMethod(obj,key){var value=obj[key];if(value!=null){if(typeof value!="function")throw new TypeError(value+" is not a function");return value}}function getSpecies(obj){var ctor=obj.constructor;return ctor!==void 0&&(ctor=ctor[SymbolSpecies],ctor===null&&(ctor=void 0)),ctor!==void 0?ctor:Observable}function isObservable(x){return x instanceof Observable}function hostReportError(e){hostReportError.log?hostReportError.log(e):setTimeout(function(){throw e})}function enqueue(fn){Promise.resolve().then(function(){try{fn()}catch(e){hostReportError(e)}})}function cleanupSubscription(subscription){var cleanup=subscription._cleanup;if(cleanup!==void 0&&(subscription._cleanup=void 0,!!cleanup))try{if(typeof cleanup=="function")cleanup();else{var unsubscribe=getMethod(cleanup,"unsubscribe");unsubscribe&&unsubscribe.call(cleanup)}}catch(e){hostReportError(e)}}function closeSubscription(subscription){subscription._observer=void 0,subscription._queue=void 0,subscription._state="closed"}function flushSubscription(subscription){var queue=subscription._queue;if(!!queue){subscription._queue=void 0,subscription._state="ready";for(var i=0;i<queue.length&&(notifySubscription(subscription,queue[i].type,queue[i].value),subscription._state!=="closed");++i);}}function notifySubscription(subscription,type,value){subscription._state="running";var observer=subscription._observer;try{var m=getMethod(observer,type);switch(type){case"next":m&&m.call(observer,value);break;case"error":if(closeSubscription(subscription),m)m.call(observer,value);else throw value;break;case"complete":closeSubscription(subscription),m&&m.call(observer);break}}catch(e){hostReportError(e)}subscription._state==="closed"?cleanupSubscription(subscription):subscription._state==="running"&&(subscription._state="ready")}function onNotify(subscription,type,value){if(subscription._state!=="closed"){if(subscription._state==="buffering"){subscription._queue.push({type,value});return}if(subscription._state!=="ready"){subscription._state="buffering",subscription._queue=[{type,value}],enqueue(function(){return flushSubscription(subscription)});return}notifySubscription(subscription,type,value)}}var Subscription=function(){function Subscription2(observer,subscriber){this._cleanup=void 0,this._observer=observer,this._queue=void 0,this._state="initializing";var subscriptionObserver=new SubscriptionObserver(this);try{this._cleanup=subscriber.call(void 0,subscriptionObserver)}catch(e){subscriptionObserver.error(e)}this._state==="initializing"&&(this._state="ready")}var _proto=Subscription2.prototype;return _proto.unsubscribe=function(){this._state!=="closed"&&(closeSubscription(this),cleanupSubscription(this))},_createClass(Subscription2,[{key:"closed",get:function(){return this._state==="closed"}}]),Subscription2}(),SubscriptionObserver=function(){function SubscriptionObserver2(subscription){this._subscription=subscription}var _proto2=SubscriptionObserver2.prototype;return _proto2.next=function(value){onNotify(this._subscription,"next",value)},_proto2.error=function(value){onNotify(this._subscription,"error",value)},_proto2.complete=function(){onNotify(this._subscription,"complete")},_createClass(SubscriptionObserver2,[{key:"closed",get:function(){return this._subscription._state==="closed"}}]),SubscriptionObserver2}(),Observable=function(){function Observable2(subscriber){if(!(this instanceof Observable2))throw new TypeError("Observable cannot be called as a function");if(typeof subscriber!="function")throw new TypeError("Observable initializer must be a function");this._subscriber=subscriber}var _proto3=Observable2.prototype;return _proto3.subscribe=function(observer){return(typeof observer!="object"||observer===null)&&(observer={next:observer,error:arguments[1],complete:arguments[2]}),new Subscription(observer,this._subscriber)},_proto3.forEach=function(fn){var _this=this;return new Promise(function(resolve,reject){if(typeof fn!="function"){reject(new TypeError(fn+" is not a function"));return}function done(){subscription.unsubscribe(),resolve()}var subscription=_this.subscribe({next:function(value){try{fn(value,done)}catch(e){reject(e),subscription.unsubscribe()}},error:reject,complete:resolve})})},_proto3.map=function(fn){var _this2=this;if(typeof fn!="function")throw new TypeError(fn+" is not a function");var C=getSpecies(this);return new C(function(observer){return _this2.subscribe({next:function(value){try{value=fn(value)}catch(e){return observer.error(e)}observer.next(value)},error:function(e){observer.error(e)},complete:function(){observer.complete()}})})},_proto3.filter=function(fn){var _this3=this;if(typeof fn!="function")throw new TypeError(fn+" is not a function");var C=getSpecies(this);return new C(function(observer){return _this3.subscribe({next:function(value){try{if(!fn(value))return}catch(e){return observer.error(e)}observer.next(value)},error:function(e){observer.error(e)},complete:function(){observer.complete()}})})},_proto3.reduce=function(fn){var _this4=this;if(typeof fn!="function")throw new TypeError(fn+" is not a function");var C=getSpecies(this),hasSeed=arguments.length>1,hasValue=!1,seed=arguments[1],acc=seed;return new C(function(observer){return _this4.subscribe({next:function(value){var first=!hasValue;if(hasValue=!0,!first||hasSeed)try{acc=fn(acc,value)}catch(e){return observer.error(e)}else acc=value},error:function(e){observer.error(e)},complete:function(){if(!hasValue&&!hasSeed)return observer.error(new TypeError("Cannot reduce an empty sequence"));observer.next(acc),observer.complete()}})})},_proto3.concat=function(){for(var _this5=this,_len=arguments.length,sources=new Array(_len),_key=0;_key<_len;_key++)sources[_key]=arguments[_key];var C=getSpecies(this);return new C(function(observer){var subscription,index=0;function startNext(next){subscription=next.subscribe({next:function(v){observer.next(v)},error:function(e){observer.error(e)},complete:function(){index===sources.length?(subscription=void 0,observer.complete()):startNext(C.from(sources[index++]))}})}return startNext(_this5),function(){subscription&&(subscription.unsubscribe(),subscription=void 0)}})},_proto3.flatMap=function(fn){var _this6=this;if(typeof fn!="function")throw new TypeError(fn+" is not a function");var C=getSpecies(this);return new C(function(observer){var subscriptions=[],outer=_this6.subscribe({next:function(value){if(fn)try{value=fn(value)}catch(e){return observer.error(e)}var inner=C.from(value).subscribe({next:function(value2){observer.next(value2)},error:function(e){observer.error(e)},complete:function(){var i=subscriptions.indexOf(inner);i>=0&&subscriptions.splice(i,1),completeIfDone()}});subscriptions.push(inner)},error:function(e){observer.error(e)},complete:function(){completeIfDone()}});function completeIfDone(){outer.closed&&subscriptions.length===0&&observer.complete()}return function(){subscriptions.forEach(function(s){return s.unsubscribe()}),outer.unsubscribe()}})},_proto3[SymbolObservable]=function(){return this},Observable2.from=function(x){var C=typeof this=="function"?this:Observable2;if(x==null)throw new TypeError(x+" is not an object");var method=getMethod(x,SymbolObservable);if(method){var observable=method.call(x);if(Object(observable)!==observable)throw new TypeError(observable+" is not an object");return isObservable(observable)&&observable.constructor===C?observable:new C(function(observer){return observable.subscribe(observer)})}if(hasSymbol("iterator")&&(method=getMethod(x,SymbolIterator),method))return new C(function(observer){enqueue(function(){if(!observer.closed){for(var _iterator=_createForOfIteratorHelperLoose(method.call(x)),_step;!(_step=_iterator()).done;){var item=_step.value;if(observer.next(item),observer.closed)return}observer.complete()}})});if(Array.isArray(x))return new C(function(observer){enqueue(function(){if(!observer.closed){for(var i=0;i<x.length;++i)if(observer.next(x[i]),observer.closed)return;observer.complete()}})});throw new TypeError(x+" is not observable")},Observable2.of=function(){for(var _len2=arguments.length,items=new Array(_len2),_key2=0;_key2<_len2;_key2++)items[_key2]=arguments[_key2];var C=typeof this=="function"?this:Observable2;return new C(function(observer){enqueue(function(){if(!observer.closed){for(var i=0;i<items.length;++i)if(observer.next(items[i]),observer.closed)return;observer.complete()}})})},_createClass(Observable2,null,[{key:SymbolSpecies,get:function(){return this}}]),Observable2}();hasSymbols()&&Object.defineProperty(Observable,Symbol("extensions"),{value:{symbol:SymbolObservable,hostReportError},configurable:!0});function createOperation(starting,operation){var context=__assign({},starting),setContext=function(next){typeof next=="function"?context=__assign(__assign({},context),next(context)):context=__assign(__assign({},context),next)},getContext=function(){return __assign({},context)};return Object.defineProperty(operation,"setContext",{enumerable:!1,value:setContext}),Object.defineProperty(operation,"getContext",{enumerable:!1,value:getContext}),operation}function isNonNullObject(obj){return obj!==null&&typeof obj=="object"}function getFragmentQueryDocument(document2,fragmentName){var actualFragmentName=fragmentName,fragments=[];document2.definitions.forEach(function(definition){if(definition.kind==="OperationDefinition")throw __DEV__?new InvariantError("Found a ".concat(definition.operation," operation").concat(definition.name?" named '".concat(definition.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new InvariantError(41);definition.kind==="FragmentDefinition"&&fragments.push(definition)}),typeof actualFragmentName>"u"&&(__DEV__?invariant(fragments.length===1,"Found ".concat(fragments.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):invariant(fragments.length===1,42),actualFragmentName=fragments[0].name.value);var query=__assign(__assign({},document2),{definitions:__spreadArray([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:actualFragmentName}}]}}],document2.definitions,!0)});return query}function createFragmentMap(fragments){fragments===void 0&&(fragments=[]);var symTable={};return fragments.forEach(function(fragment){symTable[fragment.name.value]=fragment}),symTable}function getFragmentFromSelection(selection,fragmentMap){switch(selection.kind){case"InlineFragment":return selection;case"FragmentSpread":{var fragment=fragmentMap&&fragmentMap[selection.name.value];return __DEV__?invariant(fragment,"No fragment named ".concat(selection.name.value,".")):invariant(fragment,43),fragment}default:return null}}function makeReference(id){return{__ref:String(id)}}function isReference(obj){return Boolean(obj&&typeof obj=="object"&&typeof obj.__ref=="string")}function isDocumentNode(value){return isNonNullObject(value)&&value.kind==="Document"&&Array.isArray(value.definitions)}function isStringValue(value){return value.kind==="StringValue"}function isBooleanValue(value){return value.kind==="BooleanValue"}function isIntValue(value){return value.kind==="IntValue"}function isFloatValue(value){return value.kind==="FloatValue"}function isVariable(value){return value.kind==="Variable"}function isObjectValue(value){return value.kind==="ObjectValue"}function isListValue(value){return value.kind==="ListValue"}function isEnumValue(value){return value.kind==="EnumValue"}function isNullValue(value){return value.kind==="NullValue"}function valueToObjectRepresentation(argObj,name,value,variables){if(isIntValue(value)||isFloatValue(value))argObj[name.value]=Number(value.value);else if(isBooleanValue(value)||isStringValue(value))argObj[name.value]=value.value;else if(isObjectValue(value)){var nestedArgObj_1={};value.fields.map(function(obj){return valueToObjectRepresentation(nestedArgObj_1,obj.name,obj.value,variables)}),argObj[name.value]=nestedArgObj_1}else if(isVariable(value)){var variableValue=(variables||{})[value.name.value];argObj[name.value]=variableValue}else if(isListValue(value))argObj[name.value]=value.values.map(function(listValue){var nestedArgArrayObj={};return valueToObjectRepresentation(nestedArgArrayObj,name,listValue,variables),nestedArgArrayObj[name.value]});else if(isEnumValue(value))argObj[name.value]=value.value;else if(isNullValue(value))argObj[name.value]=null;else throw __DEV__?new InvariantError('The inline argument "'.concat(name.value,'" of kind "').concat(value.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new InvariantError(52)}function storeKeyNameFromField(field,variables){var directivesObj=null;field.directives&&(directivesObj={},field.directives.forEach(function(directive){directivesObj[directive.name.value]={},directive.arguments&&directive.arguments.forEach(function(_a2){var name=_a2.name,value=_a2.value;return valueToObjectRepresentation(directivesObj[directive.name.value],name,value,variables)})}));var argObj=null;return field.arguments&&field.arguments.length&&(argObj={},field.arguments.forEach(function(_a2){var name=_a2.name,value=_a2.value;return valueToObjectRepresentation(argObj,name,value,variables)})),getStoreKeyName(field.name.value,argObj,directivesObj)}var KNOWN_DIRECTIVES=["connection","include","skip","client","rest","export"],getStoreKeyName=Object.assign(function(fieldName,args,directives){if(args&&directives&&directives.connection&&directives.connection.key)if(directives.connection.filter&&directives.connection.filter.length>0){var filterKeys=directives.connection.filter?directives.connection.filter:[];filterKeys.sort();var filteredArgs_1={};return filterKeys.forEach(function(key){filteredArgs_1[key]=args[key]}),"".concat(directives.connection.key,"(").concat(stringify(filteredArgs_1),")")}else return directives.connection.key;var completeFieldName=fieldName;if(args){var stringifiedArgs=stringify(args);completeFieldName+="(".concat(stringifiedArgs,")")}return directives&&Object.keys(directives).forEach(function(key){KNOWN_DIRECTIVES.indexOf(key)===-1&&(directives[key]&&Object.keys(directives[key]).length?completeFieldName+="@".concat(key,"(").concat(stringify(directives[key]),")"):completeFieldName+="@".concat(key))}),completeFieldName},{setStringify:function(s){var previous=stringify;return stringify=s,previous}}),stringify=function(value){return JSON.stringify(value,stringifyReplacer)};function stringifyReplacer(_key,value){return isNonNullObject(value)&&!Array.isArray(value)&&(value=Object.keys(value).sort().reduce(function(copy,key){return copy[key]=value[key],copy},{})),value}function argumentsObjectFromField(field,variables){if(field.arguments&&field.arguments.length){var argObj_1={};return field.arguments.forEach(function(_a2){var name=_a2.name,value=_a2.value;return valueToObjectRepresentation(argObj_1,name,value,variables)}),argObj_1}return null}function resultKeyNameFromField(field){return field.alias?field.alias.value:field.name.value}function getTypenameFromResult(result,selectionSet,fragmentMap){if(typeof result.__typename=="string")return result.__typename;for(var _i=0,_a2=selectionSet.selections;_i<_a2.length;_i++){var selection=_a2[_i];if(storeUtils_isField(selection)){if(selection.name.value==="__typename")return result[resultKeyNameFromField(selection)]}else{var typename=getTypenameFromResult(result,getFragmentFromSelection(selection,fragmentMap).selectionSet,fragmentMap);if(typeof typename=="string")return typename}}}function storeUtils_isField(selection){return selection.kind==="Field"}function isInlineFragment(selection){return selection.kind==="InlineFragment"}function checkDocument(doc){__DEV__?invariant(doc&&doc.kind==="Document",'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):invariant(doc&&doc.kind==="Document",44);var operations=doc.definitions.filter(function(d){return d.kind!=="FragmentDefinition"}).map(function(definition){if(definition.kind!=="OperationDefinition")throw __DEV__?new InvariantError('Schema type definitions not allowed in queries. Found: "'.concat(definition.kind,'"')):new InvariantError(45);return definition});return __DEV__?invariant(operations.length<=1,"Ambiguous GraphQL document: contains ".concat(operations.length," operations")):invariant(operations.length<=1,46),doc}function getOperationDefinition(doc){return checkDocument(doc),doc.definitions.filter(function(definition){return definition.kind==="OperationDefinition"})[0]}function getOperationName(doc){return doc.definitions.filter(function(definition){return definition.kind==="OperationDefinition"&&definition.name}).map(function(x){return x.name.value})[0]||null}function getFragmentDefinitions(doc){return doc.definitions.filter(function(definition){return definition.kind==="FragmentDefinition"})}function getQueryDefinition(doc){var queryDef=getOperationDefinition(doc);return __DEV__?invariant(queryDef&&queryDef.operation==="query","Must contain a query definition."):invariant(queryDef&&queryDef.operation==="query",47),queryDef}function getFragmentDefinition(doc){__DEV__?invariant(doc.kind==="Document",'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):invariant(doc.kind==="Document",48),__DEV__?invariant(doc.definitions.length<=1,"Fragment must have exactly one definition."):invariant(doc.definitions.length<=1,49);var fragmentDef=doc.definitions[0];return __DEV__?invariant(fragmentDef.kind==="FragmentDefinition","Must be a fragment definition."):invariant(fragmentDef.kind==="FragmentDefinition",50),fragmentDef}function getMainDefinition(queryDoc){checkDocument(queryDoc);for(var fragmentDefinition,_i=0,_a2=queryDoc.definitions;_i<_a2.length;_i++){var definition=_a2[_i];if(definition.kind==="OperationDefinition"){var operation=definition.operation;if(operation==="query"||operation==="mutation"||operation==="subscription")return definition}definition.kind==="FragmentDefinition"&&!fragmentDefinition&&(fragmentDefinition=definition)}if(fragmentDefinition)return fragmentDefinition;throw __DEV__?new InvariantError("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new InvariantError(51)}function getDefaultValues(definition){var defaultValues=Object.create(null),defs=definition&&definition.variableDefinitions;return defs&&defs.length&&defs.forEach(function(def){def.defaultValue&&valueToObjectRepresentation(defaultValues,def.variable.name,def.defaultValue)}),defaultValues}function transformOperation(operation){var transformedOperation={variables:operation.variables||{},extensions:operation.extensions||{},operationName:operation.operationName,query:operation.query};return transformedOperation.operationName||(transformedOperation.operationName=typeof transformedOperation.query!="string"?getOperationName(transformedOperation.query)||void 0:""),transformedOperation}function validateOperation(operation){for(var OPERATION_FIELDS=["query","operationName","variables","extensions","context"],_i=0,_a2=Object.keys(operation);_i<_a2.length;_i++){var key=_a2[_i];if(OPERATION_FIELDS.indexOf(key)<0)throw __DEV__?new InvariantError("illegal argument: ".concat(key)):new InvariantError(24)}return operation}function passthrough(op,forward){return forward?forward(op):Observable.of()}function toLink(handler){return typeof handler=="function"?new ApolloLink(handler):handler}function isTerminating(link){return link.request.length<=1}var LinkError=function(_super){__extends(LinkError2,_super);function LinkError2(message,link){var _this=_super.call(this,message)||this;return _this.link=link,_this}return LinkError2}(Error),ApolloLink=function(){function ApolloLink2(request){request&&(this.request=request)}return ApolloLink2.empty=function(){return new ApolloLink2(function(){return Observable.of()})},ApolloLink2.from=function(links){return links.length===0?ApolloLink2.empty():links.map(toLink).reduce(function(x,y){return x.concat(y)})},ApolloLink2.split=function(test,left,right){var leftLink=toLink(left),rightLink=toLink(right||new ApolloLink2(passthrough));return isTerminating(leftLink)&&isTerminating(rightLink)?new ApolloLink2(function(operation){return test(operation)?leftLink.request(operation)||Observable.of():rightLink.request(operation)||Observable.of()}):new ApolloLink2(function(operation,forward){return test(operation)?leftLink.request(operation,forward)||Observable.of():rightLink.request(operation,forward)||Observable.of()})},ApolloLink2.execute=function(link,operation){return link.request(createOperation(operation.context,transformOperation(validateOperation(operation))))||Observable.of()},ApolloLink2.concat=function(first,second){var firstLink=toLink(first);if(isTerminating(firstLink))return __DEV__&&invariant.warn(new LinkError("You are calling concat on a terminating link, which will have no effect",firstLink)),firstLink;var nextLink=toLink(second);return isTerminating(nextLink)?new ApolloLink2(function(operation){return firstLink.request(operation,function(op){return nextLink.request(op)||Observable.of()})||Observable.of()}):new ApolloLink2(function(operation,forward){return firstLink.request(operation,function(op){return nextLink.request(op,forward)||Observable.of()})||Observable.of()})},ApolloLink2.prototype.split=function(test,left,right){return this.concat(ApolloLink2.split(test,left,right||new ApolloLink2(passthrough)))},ApolloLink2.prototype.concat=function(next){return ApolloLink2.concat(this,next)},ApolloLink2.prototype.request=function(operation,forward){throw __DEV__?new InvariantError("request is not implemented"):new InvariantError(19)},ApolloLink2.prototype.onError=function(error,observer){if(observer&&observer.error)return observer.error(error),!1;throw error},ApolloLink2.prototype.setOnError=function(fn){return this.onError=fn,this},ApolloLink2}(),execute=ApolloLink.execute,version="3.6.9",visitor=__webpack_require__(91545),serializeFetchParameter=function(p,label){var serialized;try{serialized=JSON.stringify(p)}catch(e){var parseError=__DEV__?new InvariantError("Network request failed. ".concat(label," is not serializable: ").concat(e.message)):new InvariantError(21);throw parseError.parseError=e,parseError}return serialized},selectURI=function(operation,fallbackURI){var context=operation.getContext(),contextURI=context.uri;return contextURI||(typeof fallbackURI=="function"?fallbackURI(operation):fallbackURI||"/graphql")},throwServerError=function(response,result,message){var error=new Error(message);throw error.name="ServerError",error.response=response,error.statusCode=response.status,error.result=result,error},parseAndCheckHttpResponse_hasOwnProperty=Object.prototype.hasOwnProperty;function parseAndCheckHttpResponse(operations){return function(response){return response.text().then(function(bodyText){try{return JSON.parse(bodyText)}catch(err){var parseError=err;throw parseError.name="ServerParseError",parseError.response=response,parseError.statusCode=response.status,parseError.bodyText=bodyText,parseError}}).then(function(result){return response.status>=300&&throwServerError(response,result,"Response not successful: Received status code ".concat(response.status)),!Array.isArray(result)&&!parseAndCheckHttpResponse_hasOwnProperty.call(result,"data")&&!parseAndCheckHttpResponse_hasOwnProperty.call(result,"errors")&&throwServerError(response,result,"Server response was missing for query '".concat(Array.isArray(operations)?operations.map(function(op){return op.operationName}):operations.operationName,"'.")),result})}}var checkFetcher=function(fetcher){if(!fetcher&&typeof fetch>"u")throw __DEV__?new InvariantError(`
974
974
  "fetch" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:
975
975